Searched refs:opts (Results 26 - 50 of 512) sorted by relevance

1234567891011>>

/linux-master/drivers/nvme/host/
H A Dfabrics.c134 if (ctrl->opts->mask & NVMF_OPT_TRADDR)
135 len += scnprintf(buf, size, "traddr=%s", ctrl->opts->traddr);
136 if (ctrl->opts->mask & NVMF_OPT_TRSVCID)
138 (len) ? "," : "", ctrl->opts->trsvcid);
139 if (ctrl->opts->mask & NVMF_OPT_HOST_TRADDR)
141 (len) ? "," : "", ctrl->opts->host_traddr);
142 if (ctrl->opts->mask & NVMF_OPT_HOST_IFACE)
144 (len) ? "," : "", ctrl->opts->host_iface);
388 uuid_copy(&data->hostid, &ctrl->opts->host->id);
390 strscpy(data->subsysnqn, ctrl->opts
616 nvmf_lookup_transport( struct nvmf_ctrl_options *opts) argument
685 nvmf_parse_options(struct nvmf_ctrl_options *opts, const char *buf) argument
1067 nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues, u32 io_queues[HCTX_MAX_TYPES]) argument
1103 struct nvmf_ctrl_options *opts = ctrl->opts; local
1143 nvmf_check_required_opts(struct nvmf_ctrl_options *opts, unsigned int required_opts) argument
1163 nvmf_ip_options_match(struct nvme_ctrl *ctrl, struct nvmf_ctrl_options *opts) argument
1206 nvmf_check_allowed_opts(struct nvmf_ctrl_options *opts, unsigned int allowed_opts) argument
1226 nvmf_free_options(struct nvmf_ctrl_options *opts) argument
1254 struct nvmf_ctrl_options *opts; local
[all...]
H A Dfabrics.h73 * with the parsing opts enum.
174 struct nvmf_ctrl_options *opts);
179 struct nvmf_ctrl_options *opts)
186 strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) ||
187 strcmp(opts->host->nqn, ctrl->opts->host->nqn) ||
188 !uuid_equal(&opts->host->id, &ctrl->opts->host->id))
197 !strcmp(ctrl->opts
178 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, struct nvmf_ctrl_options *opts) argument
210 nvmf_nr_io_queues(struct nvmf_ctrl_options *opts) argument
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Drbtree.c14 LIBBPF_OPTS(bpf_test_run_opts, opts,
26 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_add_nodes), &opts);
28 ASSERT_OK(opts.retval, "rbtree_add_nodes retval");
36 LIBBPF_OPTS(bpf_test_run_opts, opts,
48 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_add_and_remove), &opts);
50 ASSERT_OK(opts.retval, "rbtree_add_and_remove retval");
58 LIBBPF_OPTS(bpf_test_run_opts, opts,
70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_first_and_remove), &opts);
72 ASSERT_OK(opts.retval, "rbtree_first_and_remove retval");
82 LIBBPF_OPTS(bpf_test_run_opts, opts,
[all...]
H A Dlog_buf.c33 LIBBPF_OPTS(bpf_object_open_opts, opts);
47 opts.kernel_log_buf = obj_log_buf;
48 opts.kernel_log_size = log_buf_sz;
49 opts.kernel_log_level = 4; /* for BTF this will turn into 1 */
54 skel = test_log_buf__open_opts(&opts);
101 opts.kernel_log_buf = NULL; /* let everything through into print callback */
102 opts.kernel_log_size = 0;
103 opts.kernel_log_level = 1;
105 skel = test_log_buf__open_opts(&opts);
151 LIBBPF_OPTS(bpf_prog_load_opts, opts);
[all...]
H A Duprobe_multi_test.c153 __test_attach_api(const char *binary, const char *pattern, struct bpf_uprobe_multi_opts *opts, argument
163 opts->retprobe = false;
165 binary, pattern, opts);
169 opts->retprobe = true;
171 binary, pattern, opts);
175 opts->retprobe = false;
177 binary, pattern, opts);
181 opts->retprobe = true;
183 pid, binary, pattern, opts);
187 opts
200 test_attach_api(const char *binary, const char *pattern, struct bpf_uprobe_multi_opts *opts) argument
[all...]
H A Dbpf_cookie.c24 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts);
29 opts.bpf_cookie = 0x1;
30 opts.retprobe = false;
32 SYS_NANOSLEEP_KPROBE_NAME, &opts);
36 opts.bpf_cookie = 0x2;
37 opts.retprobe = false;
39 SYS_NANOSLEEP_KPROBE_NAME, &opts);
44 opts.bpf_cookie = 0x10;
45 opts.retprobe = true;
47 SYS_NANOSLEEP_KPROBE_NAME, &opts);
[all...]
H A Dmap_kptr.c12 LIBBPF_OPTS(bpf_test_run_opts, opts,
25 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref1), &opts);
27 ASSERT_OK(opts.retval, "test_map_kptr_ref1 retval");
28 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref2), &opts);
30 ASSERT_OK(opts.retval, "test_map_kptr_ref2 retval");
55 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts);
57 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval");
63 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts);
65 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval");
70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts);
[all...]
/linux-master/tools/objtool/include/objtool/
H A Dbuiltin.h10 struct opts { struct
43 extern struct opts opts;
/linux-master/tools/lib/bpf/
H A Dbpf.c173 const struct bpf_map_create_opts *opts)
183 if (!OPTS_VALID(opts, bpf_map_create_opts))
193 attr.btf_fd = OPTS_GET(opts, btf_fd, 0);
194 attr.btf_key_type_id = OPTS_GET(opts, btf_key_type_id, 0);
195 attr.btf_value_type_id = OPTS_GET(opts, btf_value_type_id, 0);
196 attr.btf_vmlinux_value_type_id = OPTS_GET(opts, btf_vmlinux_value_type_id, 0);
197 attr.value_type_btf_obj_fd = OPTS_GET(opts, value_type_btf_obj_fd, 0);
199 attr.inner_map_fd = OPTS_GET(opts, inner_map_fd, 0);
200 attr.map_flags = OPTS_GET(opts, map_flags, 0);
201 attr.map_extra = OPTS_GET(opts, map_extr
168 bpf_map_create(enum bpf_map_type map_type, const char *map_name, __u32 key_size, __u32 value_size, __u32 max_entries, const struct bpf_map_create_opts *opts) argument
236 bpf_prog_load(enum bpf_prog_type prog_type, const char *prog_name, const char *license, const struct bpf_insn *insns, size_t insn_cnt, struct bpf_prog_load_opts *opts) argument
523 bpf_map_batch_common(int cmd, int fd, void *in_batch, void *out_batch, void *keys, void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument
551 bpf_map_delete_batch(int fd, const void *keys, __u32 *count, const struct bpf_map_batch_opts *opts) argument
558 bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument
566 bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, void *keys, void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument
575 bpf_map_update_batch(int fd, const void *keys, const void *values, __u32 *count, const struct bpf_map_batch_opts *opts) argument
582 bpf_obj_pin_opts(int fd, const char *pathname, const struct bpf_obj_pin_opts *opts) argument
611 bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts) argument
639 bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, const struct bpf_prog_attach_opts *opts) argument
677 bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, const struct bpf_prog_detach_opts *opts) argument
724 bpf_link_create(int prog_fd, int target_fd, enum bpf_attach_type attach_type, const struct bpf_link_create_opts *opts) argument
889 bpf_link_update(int link_fd, int new_prog_fd, const struct bpf_link_update_opts *opts) argument
928 bpf_prog_query_opts(int target, enum bpf_attach_type type, struct bpf_prog_query_opts *opts) argument
976 bpf_prog_test_run_opts(int prog_fd, struct bpf_test_run_opts *opts) argument
1047 bpf_prog_get_fd_by_id_opts(__u32 id, const struct bpf_get_fd_by_id_opts *opts) argument
1070 bpf_map_get_fd_by_id_opts(__u32 id, const struct bpf_get_fd_by_id_opts *opts) argument
1093 bpf_btf_get_fd_by_id_opts(__u32 id, const struct bpf_get_fd_by_id_opts *opts) argument
1116 bpf_link_get_fd_by_id_opts(__u32 id, const struct bpf_get_fd_by_id_opts *opts) argument
1190 bpf_btf_load(const void *btf_data, size_t btf_size, struct bpf_btf_load_opts *opts) argument
1283 bpf_prog_bind_map(int prog_fd, int map_fd, const struct bpf_prog_bind_opts *opts) argument
1302 bpf_token_create(int bpffs_fd, struct bpf_token_create_opts *opts) argument
[all...]
/linux-master/tools/perf/util/
H A Dparse-sublevel-options.c10 struct sublevel_option *opts)
12 struct sublevel_option *opt = opts;
46 int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts) argument
59 ret = parse_one_sublevel_option(p, opts);
9 parse_one_sublevel_option(const char *str, struct sublevel_option *opts) argument
/linux-master/tools/perf/arch/x86/util/
H A Dintel-bts.c107 struct record_opts *opts)
116 if (opts->auxtrace_sample_mode) {
122 btsr->snapshot_mode = opts->auxtrace_snapshot_mode;
134 opts->full_auxtrace = true;
138 if (opts->auxtrace_snapshot_mode && !opts->full_auxtrace) {
143 if (!opts->full_auxtrace)
146 if (opts->full_auxtrace && !perf_cpu_map__has_any_cpu_or_is_empty(cpus)) {
152 if (opts->auxtrace_snapshot_mode) {
153 if (!opts
105 intel_bts_recording_options(struct auxtrace_record *itr, struct evlist *evlist, struct record_opts *opts) argument
251 intel_bts_parse_snapshot_options(struct auxtrace_record *itr, struct record_opts *opts, const char *str) argument
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dxtlv.h27 int brcmf_xtlv_data_size(int dlen, u16 opts);
29 const u8 *data, u16 opts);
/linux-master/net/mptcp/
H A Doptions.c405 unsigned int *size, struct mptcp_out_options *opts)
414 opts->suboptions = OPTION_MPTCP_MPC_SYN;
415 opts->csum_reqd = mptcp_is_checksum_enabled(sock_net(sk));
416 opts->allow_join_id0 = mptcp_allow_join_id0(sock_net(sk));
422 opts->suboptions = OPTION_MPTCP_MPJ_SYN;
423 opts->join_id = subflow->local_id;
424 opts->token = subflow->remote_token;
425 opts->nonce = subflow->local_nonce;
426 opts->backup = subflow->request_bkup;
446 struct mptcp_out_options *opts)
404 mptcp_syn_options(struct sock *sk, const struct sk_buff *skb, unsigned int *size, struct mptcp_out_options *opts) argument
443 mptcp_established_options_mp(struct sock *sk, struct sk_buff *skb, bool snd_data_fin_enable, unsigned int *size, struct mptcp_out_options *opts) argument
556 mptcp_established_options_dss(struct sock *sk, struct sk_buff *skb, bool snd_data_fin_enable, unsigned int *size, struct mptcp_out_options *opts) argument
649 mptcp_established_options_add_addr(struct sock *sk, struct sk_buff *skb, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
704 mptcp_established_options_rm_addr(struct sock *sk, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
734 mptcp_established_options_mp_prio(struct sock *sk, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
760 mptcp_established_options_rst(struct sock *sk, struct sk_buff *skb, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
779 mptcp_established_options_fastclose(struct sock *sk, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
802 mptcp_established_options_mp_fail(struct sock *sk, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
825 mptcp_established_options(struct sock *sk, struct sk_buff *skb, unsigned int *size, unsigned int remaining, struct mptcp_out_options *opts) argument
896 mptcp_synack_options(const struct request_sock *req, unsigned int *size, struct mptcp_out_options *opts) argument
1344 mptcp_write_options(struct tcphdr *th, __be32 *ptr, struct tcp_sock *tp, struct mptcp_out_options *opts) argument
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnf-queue.c29 static struct options opts; variable in typeref:struct:options
90 if (opts.verbose > 0)
99 if (opts.verbose > 0) {
113 if (opts.count_packets)
227 queue_num = opts.queue_num;
237 flags = opts.gso_enabled ? NFQA_CFG_F_GSO : 0;
248 tv.tv_sec = opts.timeout;
249 if (opts.timeout && setsockopt(mnl_socket_get_fd(nl),
313 if (opts.delay_ms)
314 sleep_ms(opts
[all...]
/linux-master/tools/testing/vsock/
H A Dvsock_uring_test.c58 static void vsock_io_uring_client(const struct test_opts *opts, argument
69 fd = vsock_stream_connect(opts->peer_cid, opts->peer_port);
112 static void vsock_io_uring_server(const struct test_opts *opts, argument
123 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL);
182 void test_stream_uring_server(const struct test_opts *opts) argument
187 vsock_io_uring_server(opts, &test_data_array[i]);
190 void test_stream_uring_client(const struct test_opts *opts) argument
195 vsock_io_uring_client(opts, &test_data_array[i], false);
198 void test_stream_uring_msg_zc_server(const struct test_opts *opts) argument
206 test_stream_uring_msg_zc_client(const struct test_opts *opts) argument
289 struct test_opts opts = { local
[all...]
H A Dvsock_test_zerocopy.c144 static void test_client(const struct test_opts *opts, argument
155 fd = vsock_seqpacket_connect(opts->peer_cid, opts->peer_port);
157 fd = vsock_stream_connect(opts->peer_cid, opts->peer_port);
219 void test_stream_msgzcopy_client(const struct test_opts *opts) argument
224 test_client(opts, &test_data_array[i], false);
227 void test_seqpacket_msgzcopy_client(const struct test_opts *opts) argument
235 test_client(opts, &test_data_array[i], true);
239 static void test_server(const struct test_opts *opts, argument
299 test_stream_msgzcopy_server(const struct test_opts *opts) argument
307 test_seqpacket_msgzcopy_server(const struct test_opts *opts) argument
319 test_stream_msgzcopy_empty_errq_client(const struct test_opts *opts) argument
346 test_stream_msgzcopy_empty_errq_server(const struct test_opts *opts) argument
[all...]
/linux-master/net/netfilter/
H A Dnf_synproxy_core.c29 const struct tcphdr *th, struct synproxy_options *opts)
41 opts->options = 0;
64 opts->mss_option = get_unaligned_be16(ptr);
65 opts->options |= NF_SYNPROXY_OPT_MSS;
70 opts->wscale = *ptr;
71 if (opts->wscale > TCP_MAX_WSCALE)
72 opts->wscale = TCP_MAX_WSCALE;
73 opts->options |= NF_SYNPROXY_OPT_WSCALE;
78 opts->tsval = get_unaligned_be32(ptr);
79 opts
28 synproxy_parse_options(const struct sk_buff *skb, unsigned int doff, const struct tcphdr *th, struct synproxy_options *opts) argument
98 synproxy_options_size(const struct synproxy_options *opts) argument
115 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) argument
152 synproxy_init_timestamp_cookie(const struct nf_synproxy_info *info, struct synproxy_options *opts) argument
173 synproxy_check_timestamp_cookie(struct synproxy_options *opts) argument
447 synproxy_send_client_synack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument
490 synproxy_send_server_syn(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) argument
535 synproxy_send_server_ack(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument
574 synproxy_send_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument
613 synproxy_recv_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) argument
647 struct synproxy_options opts = {}; local
859 synproxy_send_client_synack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument
904 synproxy_send_server_syn_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) argument
949 synproxy_send_server_ack_ipv6(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument
989 synproxy_send_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument
1029 synproxy_recv_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) argument
1064 struct synproxy_options opts = {}; local
[all...]
H A Dnf_conntrack_bpf.c33 * -EINVAL - opts->reserved is not 0
103 u32 tuple_len, struct bpf_ct_opts *opts, u32 opts_len,
110 if (!opts || !bpf_tuple || opts->reserved[0] || opts->reserved[1] ||
114 if (unlikely(opts->netns_id < BPF_F_CURRENT_NETNS))
117 err = bpf_nf_ct_tuple_parse(bpf_tuple, tuple_len, opts->l4proto,
122 err = bpf_nf_ct_tuple_parse(bpf_tuple, tuple_len, opts->l4proto,
127 if (opts->netns_id >= 0) {
128 net = get_net_ns_by_id(net, opts
102 __bpf_nf_ct_alloc_entry(struct net *net, struct bpf_sock_tuple *bpf_tuple, u32 tuple_len, struct bpf_ct_opts *opts, u32 opts_len, u32 timeout) argument
148 __bpf_nf_ct_lookup(struct net *net, struct bpf_sock_tuple *bpf_tuple, u32 tuple_len, struct bpf_ct_opts *opts, u32 opts_len) argument
251 bpf_xdp_ct_alloc(struct xdp_md *xdp_ctx, struct bpf_sock_tuple *bpf_tuple, u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) argument
285 bpf_xdp_ct_lookup(struct xdp_md *xdp_ctx, struct bpf_sock_tuple *bpf_tuple, u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) argument
318 bpf_skb_ct_alloc(struct __sk_buff *skb_ctx, struct bpf_sock_tuple *bpf_tuple, u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) argument
353 bpf_skb_ct_lookup(struct __sk_buff *skb_ctx, struct bpf_sock_tuple *bpf_tuple, u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) argument
[all...]
/linux-master/tools/perf/scripts/python/
H A Dstackcollapse.py58 (opts, args) = parser.parse_args()
62 if opts.include_tid and not opts.include_comm:
64 if opts.include_pid and not opts.include_comm:
77 if opts.tidy_java:
92 if opts.annotate_kernel and dso == '[kernel.kallsyms]':
111 if opts.include_comm:
114 if opts.include_pid:
117 if opts
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_uvc.c654 struct f_uvc_opts *opts; local
659 opts = fi_to_f_uvc_opts(f->fi);
661 opts->streaming_interval = clamp(opts->streaming_interval, 1U, 16U);
662 opts->streaming_maxpacket = clamp(opts->streaming_maxpacket, 1U, 3072U);
663 opts->streaming_maxburst = min(opts->streaming_maxburst, 15U);
666 if (opts->streaming_maxburst &&
667 (opts
871 struct f_uvc_opts *opts = fi_to_f_uvc_opts(f); local
879 struct f_uvc_opts *opts; local
976 struct f_uvc_opts *opts = container_of(f->fi, struct f_uvc_opts, local
1035 struct f_uvc_opts *opts; local
[all...]
H A Df_uac1.c505 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
513 if ((FUIN_EN(opts) && (entity_id == USB_IN_FU_ID)) ||
514 (FUOUT_EN(opts) && (entity_id == USB_OUT_FU_ID))) {
517 if (FUIN_EN(opts) && (entity_id == USB_IN_FU_ID))
556 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
564 if ((FUIN_EN(opts) && (entity_id == USB_IN_FU_ID)) ||
565 (FUOUT_EN(opts) && (entity_id == USB_OUT_FU_ID))) {
568 if (FUIN_EN(opts) && (entity_id == USB_IN_FU_ID))
576 min_db = opts->p_volume_min;
578 min_db = opts
603 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
650 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
697 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
751 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
1067 build_ac_header_desc(struct f_uac1_opts *opts) argument
1098 setup_descriptor(struct f_uac1_opts *opts) argument
1195 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); local
1510 struct f_uac1_opts *opts = to_f_uac1_opts(item); local
1720 struct f_uac1_opts *opts; local
1728 struct f_uac1_opts *opts; local
1769 struct f_uac1_opts *opts; local
1800 struct f_uac1_opts *opts; local
[all...]
/linux-master/tools/testing/selftests/net/
H A Dreuseaddr_ports_exhausted.c83 struct reuse_opts *opts; local
87 opts = &unreusable_opts[i];
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]);
103 struct reuse_opts *opts; local
107 opts = &reusable_opts[i];
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]);
114 if (opts->reuseport[0] && opts
128 struct reuse_opts *opts; local
[all...]
/linux-master/tools/perf/arch/s390/util/
H A Dauxtrace.c49 struct record_opts *opts)
54 opts->full_auxtrace = true;
64 if (!opts->auxtrace_mmap_pages) {
65 if (opts->user_freq != UINT_MAX)
66 factor = (opts->user_freq + DEFAULT_FREQ
69 opts->auxtrace_mmap_pages = roundup_pow_of_two(pages);
77 struct record_opts *opts __maybe_unused,
47 cpumsf_recording_options(struct auxtrace_record *ar __maybe_unused, struct evlist *evlist __maybe_unused, struct record_opts *opts) argument
/linux-master/drivers/hid/bpf/entrypoints/
H A Dentrypoints.lskel.h74 struct bpf_load_and_run_opts opts = {}; local
77 opts.ctx = (struct bpf_loader_ctx *)skel;
78 opts.data_sz = 2856;
79 opts.data = (void *)"\
174 opts.insns_sz = 1192;
175 opts.insns = (void *)"\
216 err = bpf_load_and_run(&opts);
/linux-master/tools/perf/arch/arm64/util/
H A Dhisi-ptt.c64 static int hisi_ptt_set_auxtrace_mmap_page(struct record_opts *opts) argument
68 if (!opts->full_auxtrace)
71 if (opts->full_auxtrace && !opts->auxtrace_mmap_pages) {
73 opts->auxtrace_mmap_pages = MiB(16) / page_size;
75 opts->auxtrace_mmap_pages = KiB(128) / page_size;
76 if (opts->mmap_pages == UINT_MAX)
77 opts->mmap_pages = KiB(256) / page_size;
82 if (opts->auxtrace_mmap_pages) {
83 size_t sz = opts
96 hisi_ptt_recording_options(struct auxtrace_record *itr, struct evlist *evlist, struct record_opts *opts) argument
[all...]

Completed in 210 milliseconds

1234567891011>>