Home
last modified time | relevance | path

Searched defs:opts (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/tools/testing/vsock/
H A Dvsock_test.c35 static void test_stream_connection_reset(const struct test_opts *opts) in test_stream_connection_reset()
71 static void test_stream_bind_only_client(const struct test_opts *opts) in test_stream_bind_only_client()
113 static void test_stream_bind_only_server(const struct test_opts *opts) in test_stream_bind_only_server()
128 static void test_stream_client_close_client(const struct test_opts *opts) in test_stream_client_close_client()
142 static void test_stream_client_close_server(const struct test_opts *opts) in test_stream_client_close_server()
163 static void test_stream_server_close_client(const struct test_opts *opts) in test_stream_server_close_client()
184 static void test_stream_server_close_server(const struct test_opts *opts) in test_stream_server_close_server()
203 static void test_stream_multiconn_client(const struct test_opts *opts) in test_stream_multiconn_client()
227 static void test_stream_multiconn_server(const struct test_opts *opts) in test_stream_multiconn_server()
253 static void test_msg_peek_client(const struct test_opts *opts, in test_msg_peek_client()
[all …]
H A Dvsock_test_zerocopy.c144 static void test_client(const struct test_opts *opts, in test_client()
219 void test_stream_msgzcopy_client(const struct test_opts *opts) in test_stream_msgzcopy_client()
227 void test_seqpacket_msgzcopy_client(const struct test_opts *opts) in test_seqpacket_msgzcopy_client()
239 static void test_server(const struct test_opts *opts, in test_server()
299 void test_stream_msgzcopy_server(const struct test_opts *opts) in test_stream_msgzcopy_server()
307 void test_seqpacket_msgzcopy_server(const struct test_opts *opts) in test_seqpacket_msgzcopy_server()
319 void test_stream_msgzcopy_empty_errq_client(const struct test_opts *opts) in test_stream_msgzcopy_empty_errq_client()
346 void test_stream_msgzcopy_empty_errq_server(const struct test_opts *opts) in test_stream_msgzcopy_empty_errq_server()
H A Dvsock_uring_test.c58 static void vsock_io_uring_client(const struct test_opts *opts, in vsock_io_uring_client()
112 static void vsock_io_uring_server(const struct test_opts *opts, in vsock_io_uring_server()
182 void test_stream_uring_server(const struct test_opts *opts) in test_stream_uring_server()
190 void test_stream_uring_client(const struct test_opts *opts) in test_stream_uring_client()
198 void test_stream_uring_msg_zc_server(const struct test_opts *opts) in test_stream_uring_msg_zc_server()
206 void test_stream_uring_msg_zc_client(const struct test_opts *opts) in test_stream_uring_msg_zc_client()
289 struct test_opts opts = { in main() local
H A Dvsock_diag_test.c330 static void test_no_sockets(const struct test_opts *opts) in test_no_sockets()
339 static void test_listen_socket_server(const struct test_opts *opts) in test_listen_socket_server()
377 static void test_connect_client(const struct test_opts *opts) in test_connect_client()
402 static void test_connect_server(const struct test_opts *opts) in test_connect_server()
526 struct test_opts opts = { in main() local
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_bpf_nf_fail.c31 struct bpf_ct_opts___local opts = {}; in alloc_release() local
45 struct bpf_ct_opts___local opts = {}; in insert_insert() local
62 struct bpf_ct_opts___local opts = {}; in lookup_insert() local
76 struct bpf_ct_opts___local opts = {}; in write_not_allowlisted_field() local
90 struct bpf_ct_opts___local opts = {}; in set_timeout_after_insert() local
107 struct bpf_ct_opts___local opts = {}; in set_status_after_insert() local
124 struct bpf_ct_opts___local opts = {}; in change_timeout_after_alloc() local
138 struct bpf_ct_opts___local opts = {}; in change_status_after_alloc() local
/linux/net/netfilter/
H A Dnf_synproxy_core.c29 const struct tcphdr *th, struct synproxy_options *opts) in synproxy_parse_options()
98 synproxy_options_size(const struct synproxy_options *opts) in synproxy_options_size()
115 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options()
153 struct synproxy_options *opts) in synproxy_init_timestamp_cookie()
173 synproxy_check_timestamp_cookie(struct synproxy_options *opts) in synproxy_check_timestamp_cookie()
449 const struct synproxy_options *opts) in synproxy_send_client_synack()
492 const struct synproxy_options *opts, u32 recv_seq) in synproxy_send_server_syn()
538 const struct synproxy_options *opts) in synproxy_send_server_ack()
576 const struct synproxy_options *opts) in synproxy_send_client_ack()
615 struct synproxy_options *opts, u32 recv_seq) in synproxy_recv_client_ack()
[all …]
H A Dnf_conntrack_bpf.c109 u32 tuple_len, struct bpf_ct_opts *opts, u32 opts_len, in __bpf_nf_ct_alloc_entry()
174 u32 tuple_len, struct bpf_ct_opts *opts, in __bpf_nf_ct_lookup()
294 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_xdp_ct_alloc()
328 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_xdp_ct_lookup()
361 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_skb_ct_alloc()
396 u32 tuple__sz, struct bpf_ct_opts *opts, u32 opts__sz) in bpf_skb_ct_lookup()
H A Dnft_tunnel.c183 struct nft_tunnel_opts opts; member
258 struct nft_tunnel_opts *opts) in nft_tunnel_obj_vxlan_init() argument
288 struct nft_tunnel_opts *opts) in nft_tunnel_obj_erspan_init() argument
342 nft_tunnel_obj_geneve_init(const struct nlattr * attr,struct nft_tunnel_opts * opts) nft_tunnel_obj_geneve_init() argument
388 nft_tunnel_obj_opts_init(const struct nft_ctx * ctx,const struct nlattr * attr,struct ip_tunnel_info * info,struct nft_tunnel_opts * opts) nft_tunnel_obj_opts_init() argument
583 struct nft_tunnel_opts *opts = &priv->opts; nft_tunnel_opts_dump() local
[all...]
/linux/drivers/usb/gadget/function/
H A Df_sourcesink.c449 struct f_ss_opts *opts; in sourcesink_free_func() local
891 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_pattern_show() local
904 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_pattern_store() local
934 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_interval_show() local
947 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_interval_store() local
977 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxpacket_show() local
990 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxpacket_store() local
1020 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_mult_show() local
1033 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_mult_store() local
1063 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_maxburst_show() local
[all …]
H A Df_uac1.c491 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_cur() local
542 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_min() local
589 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_max() local
636 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in in_rq_res() local
683 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in out_rq_cur_complete() local
737 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in out_rq_cur() local
1053 uac1_ac_header_descriptor *build_ac_header_desc(struct f_uac1_opts *opts) in build_ac_header_desc()
1084 static void setup_descriptor(struct f_uac1_opts *opts) in setup_descriptor()
1181 struct f_uac1_opts *opts = g_audio_to_uac1_opts(audio); in f_audio_validate_opts() local
1510 struct f_uac1_opts *opts = to_f_uac1_opts(item); in f_uac1_attr_release() local
[all …]
H A Df_loopback.c221 struct f_lb_opts *opts; in lb_free_func() local
473 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_qlen_show() local
486 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_qlen_store() local
511 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_bulk_buflen_show() local
524 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_bulk_buflen_store() local
H A Df_serial.c258 struct f_serial_opts *opts = to_f_serial_opts(item); in serial_attr_release() local
308 struct f_serial_opts *opts; in gser_free_inst() local
317 struct f_serial_opts *opts; in gser_alloc_inst() local
376 struct f_serial_opts *opts; in gser_alloc() local
H A Df_uac2.c790 static void setup_headers(struct f_uac2_opts *opts, in setup_headers()
892 static void setup_descriptor(struct f_uac2_opts *opts) in setup_descriptor()
977 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in afunc_validate_opts() local
1528 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in in_rq_cur() local
1605 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in in_rq_range() local
1727 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in out_rq_cur_complete() local
1776 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in out_rq_cur() local
1872 struct f_uac2_opts *opts = to_f_uac2_opts(item); in f_uac2_attr_release() local
2182 struct f_uac2_opts *opts; in afunc_free_inst() local
2190 struct f_uac2_opts *opts; in afunc_alloc_inst() local
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c66 static void do_test(const struct network_helper_opts *opts) in do_test()
82 static int cc_cb(int fd, void *opts) in cc_cb()
94 struct network_helper_opts opts = { in test_cubic() local
119 static int stg_post_socket_cb(int fd, void *opts) in stg_post_socket_cb()
141 struct network_helper_opts opts = { in test_dctcp() local
189 struct network_helper_opts opts = { in test_dctcp_autoattach_map() local
396 struct network_helper_opts opts = { in test_update_ca() local
434 struct network_helper_opts opts = { in test_update_wrong() local
471 struct network_helper_opts opts = { in test_mixed_links() local
583 struct network_helper_opts opts = { in test_cc_cubic() local
H A Dtoken.c115 materialize_bpffs_fd(int fs_fd,struct bpffs_opts * opts) materialize_bpffs_fd() argument
285 child(int sock_fd,struct bpffs_opts * opts,child_callback_fn callback) child() argument
973 struct bpffs_opts opts = { test_token() local
981 struct bpffs_opts opts = { test_token() local
988 struct bpffs_opts opts = { test_token() local
997 struct bpffs_opts opts = { test_token() local
1005 struct bpffs_opts opts = { test_token() local
1014 struct bpffs_opts opts = { test_token() local
1025 struct bpffs_opts opts = { test_token() local
1036 struct bpffs_opts opts = { test_token() local
1047 struct bpffs_opts opts = { test_token() local
[all...]
/linux/tools/lib/bpf/
H A Dbpf.c173 const struct bpf_map_create_opts *opts) in bpf_map_create() argument
239 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) bpf_prog_load() argument
527 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) bpf_map_batch_common() argument
553 bpf_map_delete_batch(int fd,const void * keys,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_delete_batch() argument
561 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) bpf_map_lookup_batch() argument
569 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) bpf_map_lookup_and_delete_batch() argument
577 bpf_map_update_batch(int fd,const void * keys,const void * values,__u32 * count,const struct bpf_map_batch_opts * opts) bpf_map_update_batch() argument
583 bpf_obj_pin_opts(int fd,const char * pathname,const struct bpf_obj_pin_opts * opts) bpf_obj_pin_opts() argument
612 bpf_obj_get_opts(const char * pathname,const struct bpf_obj_get_opts * opts) bpf_obj_get_opts() argument
641 bpf_prog_attach_opts(int prog_fd,int target,enum bpf_attach_type type,const struct bpf_prog_attach_opts * opts) bpf_prog_attach_opts() argument
679 bpf_prog_detach_opts(int prog_fd,int target,enum bpf_attach_type type,const struct bpf_prog_detach_opts * opts) bpf_prog_detach_opts() argument
727 bpf_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type,const struct bpf_link_create_opts * opts) bpf_link_create() argument
894 bpf_link_update(int link_fd,int new_prog_fd,const struct bpf_link_update_opts * opts) bpf_link_update() argument
933 bpf_prog_query_opts(int target,enum bpf_attach_type type,struct bpf_prog_query_opts * opts) bpf_prog_query_opts() argument
980 bpf_prog_test_run_opts(int prog_fd,struct bpf_test_run_opts * opts) bpf_prog_test_run_opts() argument
1052 bpf_prog_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_prog_get_fd_by_id_opts() argument
1075 bpf_map_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_map_get_fd_by_id_opts() argument
1098 bpf_btf_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_btf_get_fd_by_id_opts() argument
1121 bpf_link_get_fd_by_id_opts(__u32 id,const struct bpf_get_fd_by_id_opts * opts) bpf_link_get_fd_by_id_opts() argument
1180 bpf_raw_tracepoint_open_opts(int prog_fd,struct bpf_raw_tp_opts * opts) bpf_raw_tracepoint_open_opts() argument
1205 bpf_btf_load(const void * btf_data,size_t btf_size,struct bpf_btf_load_opts * opts) bpf_btf_load() argument
1299 bpf_prog_bind_map(int prog_fd,int map_fd,const struct bpf_prog_bind_opts * opts) bpf_prog_bind_map() argument
1317 bpf_token_create(int bpffs_fd,struct bpf_token_create_opts * opts) bpf_token_create() argument
[all...]
/linux/net/mptcp/
H A Doptions.c402 unsigned int *size, struct mptcp_out_options *opts) in mptcp_syn_options()
442 struct mptcp_out_options *opts) in mptcp_established_options_mp()
555 struct mptcp_out_options *opts) in mptcp_established_options_dss()
647 struct mptcp_out_options *opts) in mptcp_established_options_add_addr()
711 struct mptcp_out_options *opts) in mptcp_established_options_rm_addr()
741 struct mptcp_out_options *opts) in mptcp_established_options_mp_prio()
767 struct mptcp_out_options *opts) in mptcp_established_options_rst()
786 struct mptcp_out_options *opts) in mptcp_established_options_fastclose()
809 struct mptcp_out_options *opts) in mptcp_established_options_mp_fail()
831 struct mptcp_out_options *opts) in mptcp_established_options()
[all …]
/linux/fs/squashfs/
H A Dsuper.c72 static int squashfs_parse_param_threads_str(const char *str, struct squashfs_mount_opts *opts) in squashfs_parse_param_threads_str()
91 static int squashfs_parse_param_threads_num(const char *str, struct squashfs_mount_opts *opts) in squashfs_parse_param_threads_num()
118 static int squashfs_parse_param_threads(const char *str, struct squashfs_mount_opts *opts) in squashfs_parse_param_threads()
129 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_parse_param() local
182 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_fill_super() local
500 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_reconfigure() local
550 struct squashfs_mount_opts *opts; in squashfs_init_fs_context() local
/linux/tools/lib/subcmd/
H A Dparse-options.c696 static void print_option_help(const struct option *opts, int full) in print_option_help()
807 static struct option *options__order(const struct option *opts) in options__order()
882 const struct option *opts, int full, in usage_with_options_internal()
928 const struct option *opts) in usage_with_options()
935 const struct option *opts, const char *fmt, ...) in usage_with_options_msg()
952 const struct option *opts, in parse_options_usage()
1017 find_option(struct option *opts, int shortopt, const char *longopt) in find_option()
1028 void set_option_flag(struct option *opts, int shortopt, const char *longopt, in set_option_flag()
1038 void set_option_nobuild(struct option *opts, int shortopt, in set_option_nobuild()
/linux/drivers/nvme/host/
H A Dfabrics.c646 struct nvmf_ctrl_options *opts) in nvmf_lookup_transport()
715 static int nvmf_parse_options(struct nvmf_ctrl_options *opts, in nvmf_parse_options()
1123 void nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues, in nvmf_set_io_queues()
1159 struct nvmf_ctrl_options *opts = ctrl->opts; in nvmf_map_queues() local
1199 static int nvmf_check_required_opts(struct nvmf_ctrl_options *opts, in nvmf_check_required_opts()
1220 struct nvmf_ctrl_options *opts) in nvmf_ip_options_match()
1262 static int nvmf_check_allowed_opts(struct nvmf_ctrl_options *opts, in nvmf_check_allowed_opts()
1282 void nvmf_free_options(struct nvmf_ctrl_options *opts) in nvmf_free_options()
1310 struct nvmf_ctrl_options *opts; in nvmf_create_ctrl() local
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dxtlv.c14 static int brcmf_xtlv_header_size(u16 opts) in brcmf_xtlv_header_size()
26 int brcmf_xtlv_data_size(int dlen, u16 opts) in brcmf_xtlv_data_size()
38 const u8 *data, u16 opts) in brcmf_xtlv_pack_header()
/linux/tools/perf/util/
H A Drecord.c95 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain) in evlist__config() argument
150 static int record_opts__config_freq(struct record_opts *opts) in record_opts__config_freq() argument
216 record_opts__config(struct record_opts * opts) record_opts__config() argument
274 struct record_opts *opts = opt->value; record__parse_freq() local
[all...]
H A Dparse-sublevel-options.c10 struct sublevel_option *opts) in parse_one_sublevel_option()
46 int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts) in perf_parse_sublevel_options()
/linux/tools/testing/selftests/net/
H A Dreuseaddr_ports_exhausted.c83 struct reuse_opts *opts; in TEST() local
103 struct reuse_opts *opts; in TEST() local
128 struct reuse_opts *opts; in TEST() local
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c98 const struct network_helper_opts *opts) in start_server_addr() argument
140 start_server_str(int family,int type,const char * addr_str,__u16 port,const struct network_helper_opts * opts) start_server_str() argument
157 struct network_helper_opts opts = { start_server() local
164 reuseport_cb(int fd,void * opts) reuseport_cb() argument
174 struct network_helper_opts opts = { start_reuseport_server() local
261 client_socket(int family,int type,const struct network_helper_opts * opts) client_socket() argument
289 connect_to_addr(int type,const struct sockaddr_storage * addr,socklen_t addrlen,const struct network_helper_opts * opts) connect_to_addr() argument
312 connect_to_addr_str(int family,int type,const char * addr_str,__u16 port,const struct network_helper_opts * opts) connect_to_addr_str() argument
326 connect_to_fd_opts(int server_fd,const struct network_helper_opts * opts) connect_to_fd_opts() argument
352 struct network_helper_opts opts = { connect_to_fd() local
[all...]

1234567891011