/linux-master/fs/efivarfs/ |
H A D | super.c | 288 int opt; local 290 opt = fs_parse(fc, efivarfs_parameters, param, &result); 291 if (opt < 0) 292 return opt; 294 switch (opt) {
|
/linux-master/fs/coda/ |
H A D | inode.c | 150 int opt; local 152 opt = fs_parse(fc, coda_param_specs, param, &result); 153 if (opt < 0) 154 return opt; 156 switch (opt) {
|
/linux-master/net/sched/ |
H A D | act_connmark.c | 195 struct tc_connmark opt = { local 206 opt.action = ci->tcf_action; 207 opt.zone = parms->zone; 208 if (nla_put(skb, TCA_CONNMARK_PARMS, sizeof(opt), &opt))
|
H A D | sch_codel.c | 103 static int codel_change(struct Qdisc *sch, struct nlattr *opt, argument 111 err = nla_parse_nested_deprecated(tb, TCA_CODEL_MAX, opt, 161 static int codel_init(struct Qdisc *sch, struct nlattr *opt, argument 173 if (opt) { 174 int err = codel_change(sch, opt, extack);
|
H A D | act_police.c | 346 struct tc_police opt = { local 354 opt.action = police->tcf_action; 357 opt.mtu = p->tcfp_mtu; 358 opt.burst = PSCHED_NS2TICKS(p->tcfp_burst); 360 psched_ratecfg_getrate(&opt.rate, &p->rate); 368 psched_ratecfg_getrate(&opt.peakrate, &p->peak); 385 if (nla_put(skb, TCA_POLICE_TBF, sizeof(opt), &opt))
|
H A D | sch_sfb.c | 490 static int sfb_change(struct Qdisc *sch, struct nlattr *opt, argument 500 if (opt) { 501 err = nla_parse_nested_deprecated(tb, TCA_SFB_MAX, opt, 553 static int sfb_init(struct Qdisc *sch, struct nlattr *opt, argument 564 return sfb_change(sch, opt, extack); 571 struct tc_sfb_qopt opt = { local 587 if (nla_put(skb, TCA_SFB_PARMS, sizeof(opt), &opt))
|
/linux-master/fs/jffs2/ |
H A D | super.c | 193 int opt; local 195 opt = fs_parse(fc, jffs2_fs_parameters, param, &result); 196 if (opt < 0) 197 return opt; 199 switch (opt) {
|
/linux-master/net/netfilter/ |
H A D | nft_tunnel.c | 344 struct geneve_opt *opt = (struct geneve_opt *)opts->u.data + opts->len; local 363 opts->len += sizeof(*opt) + data_len; 367 memcpy(opt->opt_data, nla_data(attr), data_len); 368 opt->length = data_len / 4; 369 opt->opt_class = nla_get_be16(tb[NFTA_TUNNEL_KEY_GENEVE_CLASS]); 370 opt->type = nla_get_u8(tb[NFTA_TUNNEL_KEY_GENEVE_TYPE]); 623 struct geneve_opt *opt; local 630 opt = (struct geneve_opt *)opts->u.data + offset; 632 opt->opt_class) || 634 opt [all...] |
/linux-master/net/ipv4/ |
H A D | ip_tunnel_core.c | 493 struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len; local 495 memcpy(opt->opt_data, nla_data(attr), data_len); 496 opt->length = data_len / 4; 498 opt->opt_class = nla_get_be16(attr); 500 opt->type = nla_get_u8(attr); 740 struct geneve_opt *opt; local 749 opt = ip_tunnel_info_opts(tun_info) + offset; 751 opt->opt_class) || 752 nla_put_u8(skb, LWTUNNEL_IP_OPT_GENEVE_TYPE, opt->type) || 753 nla_put(skb, LWTUNNEL_IP_OPT_GENEVE_DATA, opt 873 struct geneve_opt *opt; local [all...] |
H A D | ip_sockglue.c | 76 if (IPCB(skb)->opt.optlen == 0) 79 put_cmsg(msg, SOL_IP, IP_RECVOPTS, IPCB(skb)->opt.optlen, 88 struct ip_options *opt = (struct ip_options *)optbuf; local 90 if (IPCB(skb)->opt.optlen == 0) 93 if (ip_options_echo(net, opt, skb)) { 97 ip_options_undo(opt); 99 put_cmsg(msg, SOL_IP, IP_RETOPTS, opt->optlen, opt->__data); 282 /* Our caller is responsible for freeing ipc->opt */ 283 err = ip_options_get(net, &ipc->opt, 1083 struct ip_options_rcu *old, *opt = NULL; local 1605 struct ip_options *opt = (struct ip_options *)optbuf; local [all...] |
H A D | datagram.c | 117 if (inet_opt && inet_opt->opt.srr) 118 daddr = inet_opt->opt.faddr;
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ipmac.c | 210 enum ipset_adt adt, struct ip_set_adt_opt *opt) 215 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); 218 ip = ntohl(ip4addr(skb, opt->flags & IPSET_DIM_ONE_SRC)); 229 if (opt->flags & IPSET_DIM_TWO_SRC) 237 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); 208 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, enum ipset_adt adt, struct ip_set_adt_opt *opt) argument
|
/linux-master/net/sctp/ |
H A D | bind_addr.c | 315 struct sctp_sock *opt) 324 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) { 426 struct sctp_sock *opt) 446 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) 313 sctp_bind_addr_match(struct sctp_bind_addr *bp, const union sctp_addr *addr, struct sctp_sock *opt) argument 423 sctp_find_unmatch_addr(struct sctp_bind_addr *bp, const union sctp_addr *addrs, int addrcnt, struct sctp_sock *opt) argument
|
/linux-master/net/netrom/ |
H A D | af_netrom.c | 301 unsigned int opt; local 309 if (copy_from_sockptr(&opt, optval, sizeof(opt))) 314 if (opt < 1 || opt > UINT_MAX / HZ) 316 nr->t1 = opt * HZ; 320 if (opt < 1 || opt > UINT_MAX / HZ) 322 nr->t2 = opt * HZ; 326 if (opt < [all...] |
/linux-master/tools/tracing/latency/ |
H A D | latency-collector.c | 179 bool opt[OPTIDX_NR]; member in struct:ftrace_state 237 static int set_trace_opt(const char *opt, bool value); 560 if (state->opt_valid[i] && state->opt[i] != cur[i]) { 561 r = set_trace_opt(optstr[i], state->opt[i]); 564 optstr[i], bool2str(state->opt[i])); 568 bool2str(state->opt[i])); 1234 static char *get_no_opt(const char *opt) argument 1239 s = strlen(opt) + strlen(OPT_NO_PREFIX) + 1; 1243 strcat(no_opt, opt); 1275 static bool get_trace_opt(const char *allopt, const char *opt, boo argument 1308 set_trace_opt(const char *opt, bool value) argument [all...] |
/linux-master/sound/usb/ |
H A D | mixer_scarlett.c | 381 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; local 382 unsigned int items = opt->len; 394 opt->offsets); 403 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; local 405 return snd_ctl_enum_info(uinfo, elem->channels, opt->len, 406 (const char * const *)opt->names); 413 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; local 420 val = clamp(val - opt->start, 0, opt->len-1); 431 struct scarlett_mixer_elem_enum_info *opt local 536 add_new_ctl(struct usb_mixer_interface *mixer, const struct snd_kcontrol_new *ncontrol, usb_mixer_elem_resume_func_t resume, int index, int offset, int num, int val_type, int channels, const char *name, const struct scarlett_mixer_elem_enum_info *opt, struct usb_mixer_elem_info **elem_ret ) argument [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | parallel-perf.py | 306 for opt in args: 308 if m and opt[:2] == f"-{short_name}": 309 if len(opt) == 2: 317 if opt[:n] == f"--{long_name}": 318 if len(opt) == n: 323 elif opt[n] == "=": 328 if m and opt[:1] == "-" and opt[:2] != "--" and short_name in opt: 329 ipos = opt [all...] |
/linux-master/drivers/net/usb/ |
H A D | asix_common.c | 594 u8 opt; local 597 0, 0, 1, &opt, 0) < 0) { 604 if (opt & AX_MONITOR_LINK) 606 if (opt & AX_MONITOR_MAGIC) 613 u8 opt = 0; local 619 opt |= AX_MONITOR_LINK; 621 opt |= AX_MONITOR_MAGIC; 624 opt, 0, 0, NULL, 0) < 0)
|
/linux-master/tools/testing/selftests/cpu-hotplug/ |
H A D | cpu-on-off-test.sh | 179 while getopts ah opt; do 180 case $opt in
|
/linux-master/tools/objtool/ |
H A D | builtin-check.c | 29 static int parse_dump(const struct option *opt, const char *str, int unset) argument 39 static int parse_hacks(const struct option *opt, const char *str, int unset) argument
|
/linux-master/tools/testing/selftests/net/ |
H A D | test_vxlan_nolocalbypass.sh | 181 while getopts ":t:pPvh" opt; do 182 case $opt in
|
H A D | drop_monitor_tests.sh | 137 while getopts ":t:h" opt; do 138 case $opt in
|
/linux-master/tools/perf/tests/ |
H A D | expand-cgroup.c | 149 struct option opt = { local 158 ret = parse_libpfm_events_option(&opt, event_str, 0);
|
/linux-master/tools/perf/ui/browsers/ |
H A D | scripts.c | 49 static int add_script_option(const char *name, const char *opt, argument 55 c->perf, opt, symbol_conf.inline_name ? " --inline" : "",
|
/linux-master/include/linux/ |
H A D | fs_parser.h | 42 u8 opt; /* Option number (returned by fs_parse()) */ member in struct:fs_parameter_spec 110 .opt = OPT, \
|