Home
last modified time | relevance | path

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

12345678910>>...13

/linux/tools/testing/vsock/
H A Dvsock_test.c38 static void test_stream_connection_reset(const struct test_opts *opts) in test_stream_connection_reset()
74 static void test_stream_bind_only_client(const struct test_opts *opts) in test_stream_bind_only_client()
116 static void test_stream_bind_only_server(const struct test_opts *opts) in test_stream_bind_only_server()
131 static void test_stream_client_close_client(const struct test_opts *opts) in test_stream_client_close_client()
145 static void test_stream_client_close_server(const struct test_opts *opts) in test_stream_client_close_server()
166 static void test_stream_server_close_client(const struct test_opts *opts) in test_stream_server_close_client()
187 static void test_stream_server_close_server(const struct test_opts *opts) in test_stream_server_close_server()
206 static void test_stream_multiconn_client(const struct test_opts *opts) in test_stream_multiconn_client()
230 static void test_stream_multiconn_server(const struct test_opts *opts) in test_stream_multiconn_server()
256 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 Duvc_configfs.c345 struct f_uvc_opts *opts; in uvcg_default_processing_bm_controls_store() local
400 struct f_uvc_opts *opts; in uvcg_default_processing_bm_controls_show() local
514 struct f_uvc_opts *opts; in uvcg_default_camera_bm_controls_store() local
570 struct f_uvc_opts *opts; in uvcg_default_camera_bm_controls_show() local
678 struct f_uvc_opts *opts; in uvcg_default_output_b_source_id_show() local
704 struct f_uvc_opts *opts; in uvcg_default_output_b_source_id_store() local
824 struct f_uvc_opts *opts; in uvcg_extension_b_num_controls_store() local
858 struct f_uvc_opts *opts; in uvcg_extension_b_nr_in_pins_store() local
911 struct f_uvc_opts *opts; in uvcg_extension_b_control_size_store() local
961 struct f_uvc_opts *opts; in uvcg_extension_guid_extension_code_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_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 …]
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_hid.c1327 struct f_hid_opts *opts = to_f_hid_opts(item); in hid_attr_release() local
1387 struct f_hid_opts *opts = to_f_hid_opts(item); in f_hid_opts_report_desc_show() local
1401 struct f_hid_opts *opts = to_f_hid_opts(item); in f_hid_opts_report_desc_store() local
1432 struct f_hid_opts *opts = to_f_hid_opts(item); in f_hid_opts_interval_show() local
1445 struct f_hid_opts *opts = to_f_hid_opts(item); in f_hid_opts_interval_store() local
1479 struct f_hid_opts *opts = to_f_hid_opts(item); in f_hid_opts_dev_show() local
1510 struct f_hid_opts *opts; in hidg_free_inst() local
1530 struct f_hid_opts *opts; in hidg_alloc_inst() local
1574 struct f_hid_opts *opts; in hidg_free() local
1596 struct f_hid_opts *opts; in hidg_alloc() local
/linux/tools/lib/bpf/
H A Dbpf.c173 const struct bpf_map_create_opts *opts) in bpf_map_create()
239 struct bpf_prog_load_opts *opts) in bpf_prog_load()
527 const struct bpf_map_batch_opts *opts) in bpf_map_batch_common()
553 const struct bpf_map_batch_opts *opts) in bpf_map_delete_batch()
561 const struct bpf_map_batch_opts *opts) in bpf_map_lookup_batch()
569 const struct bpf_map_batch_opts *opts) in bpf_map_lookup_and_delete_batch()
577 const struct bpf_map_batch_opts *opts) in bpf_map_update_batch()
583 int bpf_obj_pin_opts(int fd, const char *pathname, const struct bpf_obj_pin_opts *opts) in bpf_obj_pin_opts()
612 int bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts) in bpf_obj_get_opts()
641 const struct bpf_prog_attach_opts *opts) in bpf_prog_attach_opts()
[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.c116 static int materialize_bpffs_fd(int fs_fd, struct bpffs_opts *opts) in materialize_bpffs_fd()
281 static void child(int sock_fd, struct bpffs_opts *opts, child_callback_fn callback) in child()
1088 struct bpffs_opts opts = { in test_token() local
1096 struct bpffs_opts opts = { in test_token() local
1103 struct bpffs_opts opts = { in test_token() local
1112 struct bpffs_opts opts = { in test_token() local
1120 struct bpffs_opts opts = { in test_token() local
1129 struct bpffs_opts opts = { in test_token() local
1137 struct bpffs_opts opts = { in test_token() local
1145 struct bpffs_opts opts = { in test_token() local
[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/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...]
/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...]

12345678910>>...13