| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | ip_forward.c | 67 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_finish() local 79 if (unlikely(opt->optlen)) in ip_forward_finish() 91 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward() local 107 if (IPCB(skb)->opt.router_alert && ip_call_ra_chain(skb)) in ip_forward() 126 if (opt->is_strictroute && rt->rt_uses_gateway) in ip_forward() 150 if (IPCB(skb)->flags & IPSKB_DOREDIRECT && !opt->srr && in ip_forward()
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | sch_plug.c | 122 static int plug_init(struct Qdisc *sch, struct nlattr *opt, in plug_init() argument 132 if (opt == NULL) { in plug_init() 136 struct tc_plug_qopt *ctl = nla_data(opt); in plug_init() 138 if (nla_len(opt) < sizeof(*ctl)) in plug_init() 158 static int plug_change(struct Qdisc *sch, struct nlattr *opt, in plug_change() argument 164 if (opt == NULL) in plug_change() 167 msg = nla_data(opt); in plug_change() 168 if (nla_len(opt) < sizeof(*msg)) in plug_change()
|
| H A D | sch_red.c | 188 struct tc_red_qopt_offload opt = { in red_offload() local 197 opt.command = TC_RED_REPLACE; in red_offload() 198 opt.set.min = q->parms.qth_min >> q->parms.Wlog; in red_offload() 199 opt.set.max = q->parms.qth_max >> q->parms.Wlog; in red_offload() 200 opt.set.probability = q->parms.max_P; in red_offload() 201 opt.set.limit = q->limit; in red_offload() 202 opt.set.is_ecn = red_use_ecn(q); in red_offload() 203 opt.set.is_harddrop = red_use_harddrop(q); in red_offload() 204 opt.set.is_nodrop = red_use_nodrop(q); in red_offload() 205 opt.set.qstats = &sch->qstats; in red_offload() [all …]
|
| H A D | sch_cbs.c | 276 const struct tc_cbs_qopt *opt, in cbs_enable_offload() argument 291 cbs.hicredit = opt->hicredit; in cbs_enable_offload() 292 cbs.locredit = opt->locredit; in cbs_enable_offload() 293 cbs.idleslope = opt->idleslope; in cbs_enable_offload() 294 cbs.sendslope = opt->sendslope; in cbs_enable_offload() 360 static int cbs_change(struct Qdisc *sch, struct nlattr *opt, in cbs_change() argument 369 err = nla_parse_nested_deprecated(tb, TCA_CBS_MAX, opt, cbs_policy, in cbs_change() 400 static int cbs_init(struct Qdisc *sch, struct nlattr *opt, in cbs_init() argument 406 if (!opt) { in cbs_init() 429 return cbs_change(sch, opt, extack); in cbs_init() [all …]
|
| H A D | sch_fifo.c | 96 static int __fifo_init(struct Qdisc *sch, struct nlattr *opt, in __fifo_init() argument 102 if (opt == NULL) { in __fifo_init() 110 struct tc_fifo_qopt *ctl = nla_data(opt); in __fifo_init() 112 if (nla_len(opt) < sizeof(*ctl)) in __fifo_init() 131 static int fifo_init(struct Qdisc *sch, struct nlattr *opt, in fifo_init() argument 136 err = __fifo_init(sch, opt, extack); in fifo_init() 144 static int fifo_hd_init(struct Qdisc *sch, struct nlattr *opt, in fifo_hd_init() argument 147 return __fifo_init(sch, opt, extack); in fifo_hd_init() 157 struct tc_fifo_qopt opt = { .limit = sch->limit }; in __fifo_dump() local 159 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) in __fifo_dump()
|
| H A D | sch_sfq.c | 623 static int sfq_change(struct Qdisc *sch, struct nlattr *opt) in sfq_change() argument 626 struct tc_sfq_qopt *ctl = nla_data(opt); in sfq_change() 633 if (opt->nla_len < nla_attr_size(sizeof(*ctl))) in sfq_change() 635 if (opt->nla_len >= nla_attr_size(sizeof(*ctl_v1))) in sfq_change() 636 ctl_v1 = nla_data(opt); in sfq_change() 731 static int sfq_init(struct Qdisc *sch, struct nlattr *opt, in sfq_init() argument 761 if (opt) { in sfq_init() 762 int err = sfq_change(sch, opt); in sfq_init() 792 struct tc_sfq_qopt_v1 opt; in sfq_dump() local 795 memset(&opt, 0, sizeof(opt)); in sfq_dump() [all …]
|
| H A D | em_ipset.c | 53 struct ip_set_adt_opt opt; in em_ipset_match() local 80 opt.family = state.pf; in em_ipset_match() 81 opt.dim = set->dim; in em_ipset_match() 82 opt.flags = set->flags; in em_ipset_match() 83 opt.cmdflags = 0; in em_ipset_match() 84 opt.ext.timeout = ~0u; in em_ipset_match() 100 ret = ip_set_test(set->index, skb, &acpar, &opt); in em_ipset_match()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc/ |
| H A D | 0004-Use-packageconfig-to-detect-mmal-support.patch | 8 the libs and header locations instead of assuming /opt/vc which might 25 - LDFLAGS="${LDFLAGS} -L/opt/vc/lib -lvchostif" 26 - CPPFLAGS="${CPPFLAGS} -isystem /opt/vc/include -isystem /opt/vc/include/interface/vcos/pthreads … 31 - VLC_ADD_LDFLAGS([mmal],[ -L/opt/vc/lib ]) 32 … VLC_ADD_CFLAGS([mmal],[ -isystem /opt/vc/include -isystem /opt/vc/include/interface/vcos/pthre…
|
| /OK3568_Linux_fs/kernel/tools/testing/ktest/ |
| H A D | ktest.pl | 20 my %opt; 516 if (defined($opt{"LOG_FILE"})) { 522 if (defined($opt{"LOG_FILE"})) { 587 return if (defined($opt{$config})); 700 my $rtype = $opt{"REBOOT_TYPE"}; 703 if (!defined($opt{"GRUB_MENU"})) { 786 if (defined($opt{$lvalue})) { 797 $opt{$lvalue} = $prvalue; 863 defined($opt{$2}); 1178 $opt{"NUM_TESTS"} = $test_num; [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ip6_flowlabel.c | 110 kfree(fl->opt); in fl_free_rcu() 120 if (fl_shared_exclusive(fl) || fl->opt) in fl_free() 136 if (fl->opt && fl->share == IPV6_FL_S_EXCL) { in fl_release() 137 struct ipv6_txoptions *opt = fl->opt; in fl_release() local 138 fl->opt = NULL; in fl_release() 139 kfree(opt); in fl_release() 316 struct ipv6_txoptions *fl_opt = fl->opt; in fl6_merge_options() 397 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create() 398 if (!fl->opt) in fl_create() 401 memset(fl->opt, 0, sizeof(*fl->opt)); in fl_create() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/libtalloc/libtalloc/ |
| H A D | options-2.2.0.patch | 33 @@ -25,6 +25,41 @@ def options(opt): 34 opt.PRIVATE_EXTENSION_DEFAULT('') 35 opt.RECURSE('buildtools/wafsamba') 37 + opt.add_option('--with-acl', 40 + opt.add_option('--without-acl', 44 + opt.add_option('--with-attr', 47 + opt.add_option('--without-attr', 51 + opt.add_option('--with-libaio', 54 + opt.add_option('--without-libaio', 58 + opt.add_option('--with-libbsd', [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/dibbler/dibbler/ |
| H A D | dibbler_fix_getSize_crash.patch | 35 TOptList::iterator opt; 37 for (opt = Options.begin(); opt!=Options.end(); ++opt) 39 - pktsize += (*opt)->getSize(); 41 + Log(Info) << "### CPE Debug - Option with type " << (*opt)->getOptType() << LogEnd ; 42 + pktsize += (*opt)->getSize();
|
| /OK3568_Linux_fs/u-boot/board/phytec/phycore_rk3288/ |
| H A D | phycore-rk3288.c | 77 struct rk3288_som opt; in rk3288_board_late_init() local 97 ret = i2c_eeprom_read(dev, 0, (uint8_t *)&opt, in rk3288_board_late_init() 104 if (opt.api_version != 0 || !valid_rk3288_som(&opt)) { in rk3288_board_late_init() 109 if (is_valid_ethaddr(opt.mac)) in rk3288_board_late_init() 110 eth_env_set_enetaddr("ethaddr", opt.mac); in rk3288_board_late_init()
|
| /OK3568_Linux_fs/kernel/drivers/clk/mvebu/ |
| H A D | armada-370.c | 116 u32 opt = ((readl(sar) >> SARL_A370_FAB_FREQ_OPT) & in a370_get_clk_ratio() local 121 *mult = a370_nbclk_ratios[opt][0]; in a370_get_clk_ratio() 122 *div = a370_nbclk_ratios[opt][1]; in a370_get_clk_ratio() 125 *mult = a370_hclk_ratios[opt][0]; in a370_get_clk_ratio() 126 *div = a370_hclk_ratios[opt][1]; in a370_get_clk_ratio() 129 *mult = a370_dramclk_ratios[opt][0]; in a370_get_clk_ratio() 130 *div = a370_dramclk_ratios[opt][1]; in a370_get_clk_ratio()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | kgdboc.c | 402 static int kgdboc_option_setup(char *opt) in kgdboc_option_setup() argument 404 if (!opt) { in kgdboc_option_setup() 409 if (strlen(opt) >= MAX_CONFIG_LEN) { in kgdboc_option_setup() 413 strcpy(config, opt); in kgdboc_option_setup() 422 static int __init kgdboc_early_init(char *opt) in kgdboc_early_init() argument 424 kgdboc_option_setup(opt); in kgdboc_early_init() 521 static int __init kgdboc_earlycon_init(char *opt) in kgdboc_earlycon_init() argument 535 (!opt || !opt[0] || strcmp(con->name, opt) == 0)) in kgdboc_earlycon_init() 551 if (opt) in kgdboc_earlycon_init() 552 strscpy(kgdboc_earlycon_param, opt, in kgdboc_earlycon_init()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | parse-regs-options.c | 13 __parse_regs(const struct option *opt, const char *str, int unset, bool intr) in __parse_regs() argument 15 uint64_t *mode = (uint64_t *)opt->value; in __parse_regs() 90 parse_user_regs(const struct option *opt, const char *str, int unset) in parse_user_regs() argument 92 return __parse_regs(opt, str, unset, false); in parse_user_regs() 96 parse_intr_regs(const struct option *opt, const char *str, int unset) in parse_intr_regs() argument 98 return __parse_regs(opt, str, unset, true); in parse_intr_regs()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/libtdb/libtdb/ |
| H A D | tdb-Add-configure-options-for-packages.patch | 30 @@ -25,6 +25,41 @@ def options(opt): 31 opt.PRIVATE_EXTENSION_DEFAULT('') 32 opt.RECURSE('buildtools/wafsamba') 34 + opt.add_option('--with-acl', 37 + opt.add_option('--without-acl', 41 + opt.add_option('--with-attr', 44 + opt.add_option('--without-attr', 48 + opt.add_option('--with-libaio', 51 + opt.add_option('--without-libaio', 55 + opt.add_option('--with-libbsd', [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/libldb/libldb/ |
| H A D | 0002-ldb-Add-configure-options-for-packages.patch | 32 @@ -25,6 +25,41 @@ def options(opt): 33 opt.PRIVATE_EXTENSION_DEFAULT('') 34 opt.RECURSE('buildtools/wafsamba') 36 + opt.add_option('--with-acl', 39 + opt.add_option('--without-acl', 43 + opt.add_option('--with-attr', 46 + opt.add_option('--without-attr', 50 + opt.add_option('--with-libaio', 53 + opt.add_option('--without-libaio', 57 + opt.add_option('--with-libbsd', [all …]
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpp_opt.h | 41 MPP_RET mpp_opt_init(MppOpt *opt); 42 MPP_RET mpp_opt_deinit(MppOpt opt); 44 MPP_RET mpp_opt_setup(MppOpt opt, void *ctx, RK_S32 node_cnt, RK_S32 opt_cnt); 46 MPP_RET mpp_opt_add(MppOpt opt, MppOptInfo *info); 48 MPP_RET mpp_opt_parse(MppOpt opt, int argc, char **argv);
|
| /OK3568_Linux_fs/yocto/poky/bitbake/contrib/prserv/ |
| H A D | Dockerfile | 35 COPY bin/bitbake-prserv /opt/bbprserv/bin/ 36 COPY lib/prserv /opt/bbprserv/lib/prserv/ 37 COPY lib/bb /opt/bbprserv/lib/bb/ 38 COPY lib/codegen.py /opt/bbprserv/lib/codegen.py 39 COPY lib/ply /opt/bbprserv/lib/ply/ 40 COPY lib/bs4 /opt/bbprserv/lib/bs4/ 42 ENV PATH=$PATH:/opt/bbprserv/bin
|
| /OK3568_Linux_fs/kernel/net/netfilter/ipset/ |
| H A D | ip_set_hash_ipmac.c | 86 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmac4_kadt() argument 90 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ipmac4_kadt() 96 if (opt->flags & IPSET_DIM_TWO_SRC) in hash_ipmac4_kadt() 104 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipmac4_kadt() 106 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipmac4_kadt() 199 enum ipset_adt adt, struct ip_set_adt_opt *opt) in hash_ipmac6_kadt() argument 206 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); in hash_ipmac6_kadt() 212 if (opt->flags & IPSET_DIM_TWO_SRC) in hash_ipmac6_kadt() 220 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); in hash_ipmac6_kadt() 222 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipmac6_kadt()
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | ipv6.c | 125 static int sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in sctp_v6_err() argument 217 res = ip6_xmit(sk, skb, fl6, sk->sk_mark, rcu_dereference(np->opt), in sctp_v6_xmit() 276 final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final); in sctp_v6_get_dst() 336 final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final); in sctp_v6_get_dst() 445 struct ipv6_txoptions *opt; in sctp_v6_copy_ip_options() local 450 opt = rcu_dereference(np->opt); in sctp_v6_copy_ip_options() 451 if (opt) { in sctp_v6_copy_ip_options() 452 opt = ipv6_dup_options(newsk, opt); in sctp_v6_copy_ip_options() 453 if (!opt) in sctp_v6_copy_ip_options() 456 RCU_INIT_POINTER(newnp->opt, opt); in sctp_v6_copy_ip_options() [all …]
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpp_parse_cfg.c | 177 char *opt; in parse_options() local 181 opt = read_cfg_line(cfg); in parse_options() 183 if (opt && opt[0] != '\n' && opt[0] != '[') { in parse_options() 184 type = lookup_opt_type(opt); in parse_options() 188 ea->idx_type = lookup_opt_type(get_opt_value(opt)); in parse_options() 191 sscanf(get_opt_value(opt), "%d", &ea->loop); in parse_options()
|
| /OK3568_Linux_fs/kernel/net/dccp/ |
| H A D | ipv6.c | 67 static int dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, in dccp_v6_err() argument 210 final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), &final); in dccp_v6_send_response() 223 struct ipv6_txoptions *opt; in dccp_v6_send_response() local 230 opt = ireq->ipv6_opt; in dccp_v6_send_response() 231 if (!opt) in dccp_v6_send_response() 232 opt = rcu_dereference(np->opt); in dccp_v6_send_response() 233 err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, in dccp_v6_send_response() 411 struct ipv6_txoptions *opt; in dccp_v6_request_recv_sock() local 437 newnp->opt = NULL; in dccp_v6_request_recv_sock() 509 newnp->opt = NULL; in dccp_v6_request_recv_sock() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_rm.c | 420 _rtw_memcpy(&parm.ssid[0], &prm->q.opt.bcn.ssid, IW_ESSID_MAX_SIZE); in rm_sitesurvey() 453 _rtw_memcpy(&(prm->q.opt.clm.rep_cond), in rm_parse_ch_load_s_elem() 454 &pbody[p+2], sizeof(prm->q.opt.clm.rep_cond)); in rm_parse_ch_load_s_elem() 457 prm->q.opt.clm.rep_cond.cond, in rm_parse_ch_load_s_elem() 458 prm->q.opt.clm.rep_cond.threshold); in rm_parse_ch_load_s_elem() 493 _rtw_memcpy(&(prm->q.opt.nhm.rep_cond), in rm_parse_noise_histo_s_elem() 494 &pbody[p+2], sizeof(prm->q.opt.nhm.rep_cond)); in rm_parse_noise_histo_s_elem() 497 prm->q.opt.nhm.rep_cond.cond, in rm_parse_noise_histo_s_elem() 498 prm->q.opt.nhm.rep_cond.threshold); in rm_parse_noise_histo_s_elem() 528 popt_id = prm->q.opt.bcn.opt_id; in rm_parse_bcn_req_s_elem() [all …]
|