Searched refs:opt (Results 151 - 175 of 711) sorted by relevance

1234567891011>>

/linux-master/arch/loongarch/include/asm/
H A Dcpu-features.h15 #define cpu_opt(opt) (cpu_data[0].options & (opt))
/linux-master/net/sctp/
H A Dipv6.c161 static int sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
249 rcu_dereference(np->opt),
323 final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final);
383 final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final);
492 struct ipv6_txoptions *opt; local
497 opt = rcu_dereference(np->opt);
498 if (opt) {
499 opt = ipv6_dup_options(newsk, opt);
511 struct ipv6_txoptions *opt; local
951 sctp_inet6_cmp_addr(const union sctp_addr *addr1, const union sctp_addr *addr2, struct sctp_sock *opt) argument
981 sctp_inet6_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) argument
1016 sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) argument
1049 sctp_inet6_supported_addrs(const struct sctp_sock *opt, __be16 *types) argument
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.c54 enum venc_start_opt opt, struct venc_frm_buf *frm_buf,
69 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf,
53 venc_if_encode(struct mtk_vcodec_enc_ctx *ctx, enum venc_start_opt opt, struct venc_frm_buf *frm_buf, struct mtk_vcodec_mem *bs_buf, struct venc_done_result *result) argument
/linux-master/tools/perf/util/
H A Dparse-branch-options.c99 parse_branch_stack(const struct option *opt, const char *str, int unset) argument
101 __u64 *mode = (__u64 *)opt->value;
/linux-master/arch/arm64/kernel/pi/
H A Didreg-override.c242 static int __init find_field(const char *cmdline, char *opt, int len, argument
248 memcpy(opt + len, reg->fields[f].name, flen);
250 opt[len++] = '=';
252 if (memcmp(cmdline, opt, len))
260 char opt[FTR_DESC_NAME_LEN + FTR_DESC_FIELD_LEN + 2]; local
271 // set opt[] to '<name>.'
272 memcpy(opt, reg->name, len);
273 opt[len++] = '.';
282 if (find_field(cmdline, opt, len, reg, f, &v))
/linux-master/net/dccp/
H A Dccid.h63 u8 opt, u8 *val, u8 len);
69 u8 opt, u8 *val, u8 len);
194 * @pkt: type of packet that @opt appears on (RFC 4340, 5.1)
195 * @opt: the CCID-specific option type (RFC 4340, 5.8 and 10.3)
196 * @val: value of @opt
200 u8 pkt, u8 opt, u8 *val, u8 len)
204 return ccid->ccid_ops->ccid_hc_tx_parse_options(sk, pkt, opt, val, len);
212 u8 pkt, u8 opt, u8 *val, u8 len)
216 return ccid->ccid_ops->ccid_hc_rx_parse_options(sk, pkt, opt, val, len);
199 ccid_hc_tx_parse_options(struct ccid *ccid, struct sock *sk, u8 pkt, u8 opt, u8 *val, u8 len) argument
211 ccid_hc_rx_parse_options(struct ccid *ccid, struct sock *sk, u8 pkt, u8 opt, u8 *val, u8 len) argument
H A Dfeat.c243 static const char *dccp_feat_oname(const u8 opt) argument
245 switch (opt) {
288 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \
289 dccp_pr_debug("%s(%s, ", dccp_feat_oname(opt), dccp_feat_fname(feat));\
301 #define dccp_feat_print_opt(opt, feat, val, len, mandatory)
638 u8 opt, type, len, *ptr, nn_in_nbo[DCCP_OPTVAL_MAXLEN]; local
643 opt = dccp_feat_genopt(pos);
664 dccp_feat_print_opt(opt, pos->feat_num, ptr, len, 0);
666 if (dccp_insert_fn_opt(skb, opt, pos->feat_num, ptr, len, rpt))
672 (opt
1107 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) argument
1218 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) argument
1315 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) argument
1404 dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) argument
[all...]
/linux-master/net/ipv6/
H A Dfou6.c75 struct inet6_skb_parm *opt,
82 if (!ipprot->err_handler(skb, opt, type, code, offset, info))
89 static int gue6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
112 ret = gue6_err_proto_handler(IPPROTO_IPIP, skb, opt,
116 ret = gue6_err_proto_handler(IPPROTO_IPV6, skb, opt,
150 opt, type, code, offset, info);
74 gue6_err_proto_handler(int proto, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
H A Dtunnel6.c203 static int tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
209 if (!handler->err_handler(skb, opt, type, code, offset, info))
215 static int tunnel46_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
221 if (!handler->err_handler(skb, opt, type, code, offset, info))
227 static int tunnelmpls6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, argument
233 if (!handler->err_handler(skb, opt, type, code, offset, info))
H A Dndisc.c150 u8 *opt = skb_put(skb, space); local
152 opt[0] = type;
153 opt[1] = space>>3;
155 memset(opt + 2, 0, pad);
156 opt += pad;
159 memcpy(opt+2, data, data_len);
161 opt += data_len;
164 memset(opt, 0, space);
198 struct nd_opt_hdr *opt)
200 return opt
197 ndisc_is_useropt(const struct net_device *dev, struct nd_opt_hdr *opt) argument
220 ndisc_parse_options(const struct net_device *dev, u8 *opt, int opt_len, struct ndisc_options *ndopts) argument
639 u8 *opt = skb_put(skb, 8); local
1188 ndisc_ra_useropt(struct sk_buff *ra, struct nd_opt_hdr *opt) argument
1251 __u8 *opt = (__u8 *)(ra_msg + 1); local
1665 u8 *opt = skb_put(skb, rd_len); local
[all...]
/linux-master/tools/lib/subcmd/
H A Drun-command.c217 int opt)
221 cmd->no_stdin = opt & RUN_COMMAND_NO_STDIN ? 1 : 0;
222 cmd->exec_cmd = opt & RUN_EXEC_CMD ? 1 : 0;
223 cmd->stdout_to_stderr = opt & RUN_COMMAND_STDOUT_TO_STDERR ? 1 : 0;
226 int run_command_v_opt(const char **argv, int opt) argument
229 prepare_run_command_v_opt(&cmd, argv, opt);
215 prepare_run_command_v_opt(struct child_process *cmd, const char **argv, int opt) argument
/linux-master/net/sched/
H A Dsch_tbf.c350 static int tbf_change(struct Qdisc *sch, struct nlattr *opt, argument
365 err = nla_parse_nested_deprecated(tb, TCA_TBF_MAX, opt, tbf_policy,
478 static int tbf_init(struct Qdisc *sch, struct nlattr *opt, argument
486 if (!opt)
491 return tbf_change(sch, opt, extack);
507 struct tc_tbf_qopt opt; local
518 opt.limit = q->limit;
519 psched_ratecfg_getrate(&opt.rate, &q->rate);
521 psched_ratecfg_getrate(&opt.peakrate, &q->peak);
523 memset(&opt
[all...]
H A Dsch_mqprio.c170 struct nlattr *opt,
177 err = nla_parse_nested(tb, TCA_MQPRIO_TC_ENTRY_MAX, opt,
182 if (NL_REQ_ATTR_CHECK(extack, opt, tb, TCA_MQPRIO_TC_ENTRY_INDEX)) {
245 struct nlattr *opt,
248 struct nlattr *nlattr_opt = nla_data(opt) + NLA_ALIGN(sizeof(*qopt));
249 int nlattr_opt_len = nla_len(opt) - NLA_ALIGN(sizeof(*qopt));
347 static int mqprio_init(struct Qdisc *sch, struct nlattr *opt, argument
372 if (!opt || nla_len(opt) < sizeof(*qopt))
381 qopt = nla_data(opt);
169 mqprio_parse_tc_entry(u32 fp[TC_QOPT_MAX_QUEUE], struct nlattr *opt, unsigned long *seen_tcs, struct netlink_ext_ack *extack) argument
244 mqprio_parse_nlattr(struct Qdisc *sch, struct tc_mqprio_qopt *qopt, struct nlattr *opt, struct netlink_ext_ack *extack) argument
488 dump_rates(struct mqprio_sched *priv, struct tc_mqprio_qopt *opt, struct sk_buff *skb) argument
560 struct tc_mqprio_qopt opt = { 0 }; local
[all...]
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c733 struct trusted_key_options *opt)
750 opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1;
764 opt->pcrinfo_len = strlen(args[0].from) / 2;
765 if (opt->pcrinfo_len > MAX_PCRINFO_SIZE)
767 res = hex2bin(opt->pcrinfo, args[0].from,
768 opt->pcrinfo_len);
776 opt->keytype = SEAL_keytype;
777 opt->keyhandle = handle;
782 res = hex2bin(opt->keyauth, args[0].from,
793 opt
732 getoptions(char *c, struct trusted_key_payload *pay, struct trusted_key_options *opt) argument
[all...]
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_net.c115 enum ipset_adt adt, struct ip_set_adt_opt *opt)
122 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
129 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
132 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
289 enum ipset_adt adt, struct ip_set_adt_opt *opt)
296 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
303 ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6);
306 return adtfn(set, &e, &ext, &opt->ext, opt
113 hash_net4_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
287 hash_net6_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...]
H A Dip_set_hash_ipportnet.c136 enum ipset_adt adt, struct ip_set_adt_opt *opt)
143 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
148 if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC,
152 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
153 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2);
156 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
393 enum ipset_adt adt, struct ip_set_adt_opt *opt)
400 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
405 if (!ip_set_get_ip6_port(skb, opt
134 hash_ipportnet4_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
391 hash_ipportnet6_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...]
H A Dip_set_hash_netportnet.c153 enum ipset_adt adt, struct ip_set_adt_opt *opt)
158 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
165 if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC,
169 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]);
170 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1]);
174 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
448 enum ipset_adt adt, struct ip_set_adt_opt *opt)
453 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
460 if (!ip_set_get_ip6_port(skb, opt
151 hash_netportnet4_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
446 hash_netportnet6_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...]
H A Dip_set_hash_netiface.c159 enum ipset_adt adt, struct ip_set_adt_opt *opt)
167 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
172 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip);
176 #define SRCDIR (opt->flags & IPSET_DIM_TWO_SRC)
178 if (opt->cmdflags & IPSET_FLAG_PHYSDEV) {
194 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags);
380 enum ipset_adt adt, struct ip_set_adt_opt *opt)
388 struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set);
393 ip6addrptr(skb, opt
157 hash_netiface4_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
378 hash_netiface6_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/hid/
H A Dhid-wiimote.h129 __u32 opt; member in struct:wiimote_state
299 __u32 opt)
301 return wdata->state.cmd == cmd && wdata->state.opt == opt;
333 __u32 opt)
337 wdata->state.opt = opt;
298 wiimote_cmd_pending(struct wiimote_data *wdata, int cmd, __u32 opt) argument
332 wiimote_cmd_set(struct wiimote_data *wdata, int cmd, __u32 opt) argument
/linux-master/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py271 for opt, arg in opts:
272 if opt == '-h':
275 elif opt in ("-t", "--trace_file"):
279 elif opt in ("-i", "--interval"):
282 elif opt in ("-c", "--cpu"):
284 elif opt in ("-n", "--name"):
287 elif opt in ("-m", "--memory"):
/linux-master/drivers/tty/serial/8250/
H A D8250_ingenic.c90 const char *opt)
99 if (opt) {
102 uart_parse_options(opt, &baud, &parity, &bits, &flow);
130 const char *opt)
134 return ingenic_earlycon_setup_tail(dev, opt);
138 const char *opt)
150 return ingenic_earlycon_setup_tail(dev, opt);
89 ingenic_earlycon_setup_tail(struct earlycon_device *dev, const char *opt) argument
129 ingenic_early_console_setup(struct earlycon_device *dev, const char *opt) argument
137 jz4750_early_console_setup(struct earlycon_device *dev, const char *opt) argument
/linux-master/drivers/net/ethernet/atheros/atlx/
H A Datl2.c2861 static int atl2_validate_option(int *value, struct atl2_option *opt) argument
2867 *value = opt->def;
2871 switch (opt->type) {
2875 printk(KERN_INFO "%s Enabled\n", opt->name);
2878 printk(KERN_INFO "%s Disabled\n", opt->name);
2883 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
2884 printk(KERN_INFO "%s set to %i\n", opt->name, *value);
2889 for (i = 0; i < opt->arg.l.nr; i++) {
2890 ent = &opt
2920 struct atl2_option opt; local
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dsm750.c909 char *opt; local
929 while ((opt = strsep(&src, ":")) != NULL && *opt != 0) {
930 dev_info(&sm750_dev->pdev->dev, "opt=%s\n", opt);
933 if (!strncmp(opt, "swap", strlen("swap"))) {
935 } else if (!strncmp(opt, "nocrt", strlen("nocrt"))) {
937 } else if (!strncmp(opt, "36bit", strlen("36bit"))) {
939 } else if (!strncmp(opt, "18bit", strlen("18bit"))) {
941 } else if (!strncmp(opt, "2
1125 char *opt, *tmp; local
[all...]
/linux-master/include/net/
H A Dipv6.h331 struct ipv6_txoptions *opt; member in struct:ip6_flowlabel
363 struct ipv6_txoptions *opt; member in struct:ipcm6_cookie
387 struct ipv6_txoptions *opt; local
390 opt = rcu_dereference(np->opt);
391 if (opt) {
392 if (!refcount_inc_not_zero(&opt->refcnt))
393 opt = NULL;
395 opt = rcu_pointer_handoff(opt);
401 txopt_put(struct ipv6_txoptions *opt) argument
459 ipv6_fixup_options(struct ipv6_txoptions *opt_space, struct ipv6_txoptions *opt) argument
[all...]
/linux-master/tools/perf/
H A Dbuiltin-probe.c167 static int opt_set_target(const struct option *opt, const char *str, argument
174 if (!strcmp(opt->long_name, "exec"))
176 else if (!strcmp(opt->long_name, "module"))
202 static int opt_set_target_ns(const struct option *opt __maybe_unused,
233 static int opt_show_lines(const struct option *opt, argument
247 params->command = opt->short_name;
253 static int opt_show_vars(const struct option *opt, argument
267 params->command = opt->short_name;
275 static int opt_add_probe_event(const struct option *opt, argument
279 params->command = opt
286 opt_set_filter_with_command(const struct option *opt, const char *str, int unset) argument
[all...]

Completed in 360 milliseconds

1234567891011>>