/linux-master/tools/testing/selftests/net/ |
H A D | reuseport_bpf_cpu.c | 40 int opt; local 64 opt = 1; 65 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, 66 sizeof(opt)))
|
H A D | reuseport_dualstack.c | 36 int opt, i; local 60 opt = 1; 61 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, 62 sizeof(opt)))
|
H A D | reuseport_addr_any.c | 40 int opt, i, sz; local 79 opt = 1; 80 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, 81 sizeof(opt)))
|
H A D | reuseport_bpf_numa.c | 36 int opt; local 60 opt = 1; 61 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, 62 sizeof(opt)))
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | with_addr.sh | 9 if getopts ":s" opt; then
|
/linux-master/net/netfilter/ |
H A D | xt_set.c | 31 struct ip_set_adt_opt *opt, int inv) 33 if (ip_set_test(index, skb, par, opt)) 58 ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, 62 return match_set(info->match_set.index, skb, par, &opt, 122 ADT_OPT(opt, xt_family(par), info->match_set.dim, 126 if (opt.flags & IPSET_RETURN_NOMATCH) 127 opt.cmdflags |= IPSET_FLAG_RETURN_NOMATCH; 129 return match_set(info->match_set.index, skb, par, &opt, 170 ADT_OPT(opt, xt_family(par), info->match_set.dim, 177 opt 29 match_set(ip_set_id_t index, const struct sk_buff *skb, const struct xt_action_param *par, struct ip_set_adt_opt *opt, int inv) argument [all...] |
H A D | xt_RATEEST.c | 113 struct nlattr opt; member in struct:__anon3172 153 cfg.opt.nla_len = nla_attr_size(sizeof(cfg.est)); 154 cfg.opt.nla_type = TCA_STATS_RATE_EST; 159 &est->lock, NULL, &cfg.opt);
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_list.c | 337 int opt; local 344 opt = getopt_long(argc, argv, "pr:ld", opts, NULL); 346 if (opt == -1) 349 switch (opt) {
|
/linux-master/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 292 int opt; local 298 while ((opt = getopt(argc, argv, "ts")) != -1) { 299 switch (opt) { 308 printf("unknown option %c\n", opt);
|
/linux-master/tools/thermal/thermal-engine/ |
H A D | thermal-engine.c | 238 int opt; local 252 opt = getopt_long(argc, argv, "l:dhs", long_options, &optindex); 253 if (opt == -1) 256 switch (opt) {
|
/linux-master/tools/perf/util/ |
H A D | record.h | 87 int record__parse_freq(const struct option *opt, const char *str, int unset);
|
H A D | bpf-filter.c | 20 #define __PERF_SAMPLE_TYPE(st, opt) { st, #st, opt } 21 #define PERF_SAMPLE_TYPE(_st, opt) __PERF_SAMPLE_TYPE(PERF_SAMPLE_##_st, opt)
|
H A D | cgroup.h | 36 int parse_cgroups(const struct option *opt, const char *str, int unset);
|
H A D | debug.c | 263 struct sublevel_option *opt = &debug_opts[0]; local 266 while (opt->name) { 267 *opt->value_ptr = -1; 268 opt++;
|
H A D | parse-events.h | 25 /* Arguments encoded in opt->value. */ 30 int parse_events_option(const struct option *opt, const char *str, int unset); 31 int parse_events_option_new_evlist(const struct option *opt, const char *str, int unset); 47 int parse_filter(const struct option *opt, const char *str, int unset); 48 int exclude_perf(const struct option *opt, const char *arg, int unset);
|
/linux-master/include/net/ |
H A D | ioam6.h | 70 void *opt, unsigned int opt_len);
|
/linux-master/net/sched/ |
H A D | act_simple.c | 176 struct tc_defact opt = { local 184 opt.action = d->tcf_action; 185 if (nla_put(skb, TCA_DEF_PARMS, sizeof(opt), &opt) ||
|
H A D | sch_mq.c | 27 struct tc_mq_qopt_offload opt = { local 35 return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQ, &opt); 40 struct tc_mq_qopt_offload opt = { local 49 return qdisc_offload_dump_helper(sch, TC_SETUP_QDISC_MQ, &opt); 67 static int mq_init(struct Qdisc *sch, struct nlattr *opt, argument
|
/linux-master/tools/testing/selftests/kvm/include/aarch64/ |
H A D | processor.h | 142 #define dsb(opt) asm volatile("dsb " #opt : : : "memory") 143 #define dmb(opt) asm volatile("dmb " #opt : : : "memory")
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_list_set.c | 51 struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) 54 struct ip_set_ext *mext = &opt->ext; 56 u32 flags = opt->cmdflags; 60 opt->cmdflags &= ~IPSET_FLAG_MATCH_COUNTERS; 61 if (opt->cmdflags & IPSET_FLAG_SKIP_SUBCOUNTER_UPDATE) 62 opt->cmdflags |= IPSET_FLAG_SKIP_COUNTER_UPDATE; 64 ret = ip_set_test(e->id, skb, par, opt); 76 struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) 86 ret = ip_set_add(e->id, skb, par, opt); 96 struct ip_set_adt_opt *opt, cons 49 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) argument 74 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) argument 94 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, const struct xt_action_param *par, struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) argument 114 list_set_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 [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | dt2801.c | 407 static const struct comedi_lrange *dac_range_lkup(int opt) argument 409 if (opt < 0 || opt >= 5) 411 return dac_range_table[opt]; 414 static const struct comedi_lrange *ai_range_lkup(int type, int opt) argument 418 return (opt) ? 422 return (opt) ? &range_unipolar10 : &range_bipolar10;
|
/linux-master/net/bridge/ |
H A D | br_arp_nd_proxy.c | 258 int na_olen = 8; /* opt hdr + ETH_ALEN for target */ 285 for (i = 0; i < ns_olen - 1; i += (ns->opt[i + 1] << 3)) { 286 if (!ns->opt[i + 1]) { 290 if (ns->opt[i] == ND_OPT_SOURCE_LL_ADDR) { 291 daddr = ns->opt + i + sizeof(struct nd_opt_hdr); 328 ether_addr_copy(&na->opt[2], n->ha); 329 na->opt[0] = ND_OPT_TARGET_LL_ADDR; 330 na->opt[1] = na_olen >> 3;
|
/linux-master/drivers/video/fbdev/geode/ |
H A D | lxfb_core.c | 622 char *opt; local 627 while ((opt = strsep(&options, ",")) != NULL) { 628 if (!*opt) 631 if (!strcmp(opt, "noclear")) 633 else if (!strcmp(opt, "nopanel")) 635 else if (!strcmp(opt, "nocrt")) 638 mode_option = opt;
|
/linux-master/fs/erofs/ |
H A D | internal.h | 116 struct erofs_mount_opts opt; /* options */ member in struct:erofs_sb_info 189 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option) 190 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option) 191 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
|
/linux-master/tools/perf/tests/shell/base_probe/ |
H A D | test_adding_kernel.sh | 35 for opt in "" "-a" "--add"; do 37 $CMD_PERF probe $opt $TEST_PROBE 2> $LOGS_DIR/adding_kernel_add$opt.err 40 ../common/check_all_patterns_found.pl "Added new events?:" "probe:$TEST_PROBE" "on $TEST_PROBE" < $LOGS_DIR/adding_kernel_add$opt.err 43 print_results $PERF_EXIT_CODE $CHECK_EXIT_CODE "adding probe $TEST_PROBE :: $opt"
|