Home
last modified time | relevance | path

Searched defs:family (Results 1 – 25 of 529) sorted by relevance

12345678910>>...22

/kernel/linux/linux-5.10/net/netlink/
Dgenetlink.c100 const struct genl_family *family; in genl_family_find_byname() local
110 static int genl_get_cmd_cnt(const struct genl_family *family) in genl_get_cmd_cnt()
115 static void genl_op_from_full(const struct genl_family *family, in genl_op_from_full()
126 static int genl_get_cmd_full(u32 cmd, const struct genl_family *family, in genl_get_cmd_full()
140 static void genl_op_from_small(const struct genl_family *family, in genl_op_from_small()
155 static int genl_get_cmd_small(u32 cmd, const struct genl_family *family, in genl_get_cmd_small()
169 static int genl_get_cmd(u32 cmd, const struct genl_family *family, in genl_get_cmd()
178 const struct genl_family *family, in genl_get_cmd_by_index()
251 static int genl_validate_assign_mc_groups(struct genl_family *family) in genl_validate_assign_mc_groups()
329 static void genl_unregister_mc_groups(const struct genl_family *family) in genl_unregister_mc_groups()
[all …]
/kernel/linux/linux-5.10/security/selinux/include/
Dnetlabel.h66 u16 family, in selinux_netlbl_err()
86 u16 family, in selinux_netlbl_skbuff_getsid()
95 u16 family, in selinux_netlbl_skbuff_setsid()
107 u16 family) in selinux_netlbl_inet_conn_request()
111 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
121 u16 family) in selinux_netlbl_socket_post_create()
127 u16 family, in selinux_netlbl_sock_rcv_skb()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_policer.c74 struct mlxsw_sp_policer_family *family = priv; in mlxsw_sp_policer_single_rate_occ_get() local
80 mlxsw_sp_policer_single_rate_family_init(struct mlxsw_sp_policer_family *family) in mlxsw_sp_policer_single_rate_family_init()
106 mlxsw_sp_policer_single_rate_family_fini(struct mlxsw_sp_policer_family *family) in mlxsw_sp_policer_single_rate_family_fini()
116 mlxsw_sp_policer_single_rate_index_alloc(struct mlxsw_sp_policer_family *family, in mlxsw_sp_policer_single_rate_index_alloc()
136 mlxsw_sp_policer_single_rate_index_free(struct mlxsw_sp_policer_family *family, in mlxsw_sp_policer_single_rate_index_free()
153 mlxsw_sp_policer_single_rate_init(struct mlxsw_sp_policer_family *family, in mlxsw_sp_policer_single_rate_init()
169 mlxsw_sp_policer_single_rate_params_check(const struct mlxsw_sp_policer_family *family, in mlxsw_sp_policer_single_rate_params_check()
236 struct mlxsw_sp_policer_family *family; in mlxsw_sp_policer_add() local
277 struct mlxsw_sp_policer_family *family; in mlxsw_sp_policer_del() local
289 struct mlxsw_sp_policer_family *family; in mlxsw_sp_policer_drops_counter_get() local
[all …]
/kernel/linux/linux-4.19/security/selinux/include/
Dnetlabel.h80 u16 family, in selinux_netlbl_err()
100 u16 family, in selinux_netlbl_skbuff_getsid()
109 u16 family, in selinux_netlbl_skbuff_setsid()
127 u16 family) in selinux_netlbl_inet_conn_request()
131 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
141 u16 family) in selinux_netlbl_socket_post_create()
147 u16 family, in selinux_netlbl_sock_rcv_skb()
/kernel/linux/linux-4.19/tools/testing/selftests/bpf/
Dtest_select_reuseport.c46 sa_family_t family; member
140 static void sa46_init_loopback(union sa46 *sa, sa_family_t family) in sa46_init_loopback()
150 static void sa46_init_inany(union sa46 *sa, sa_family_t family) in sa46_init_inany()
229 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
346 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
368 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
424 static void test_err_inner_map(int type, sa_family_t family) in test_err_inner_map()
437 static void test_err_skb_data(int type, sa_family_t family) in test_err_skb_data()
445 static void test_err_sk_select_port(int type, sa_family_t family) in test_err_sk_select_port()
458 static void test_pass(int type, sa_family_t family) in test_pass()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c50 sa_family_t family; member
149 static void sa46_init_loopback(union sa46 *sa, sa_family_t family) in sa46_init_loopback()
159 static void sa46_init_inany(union sa46 *sa, sa_family_t family) in sa46_init_inany()
246 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
383 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
405 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
463 static void test_err_inner_map(int type, sa_family_t family) in test_err_inner_map()
474 static void test_err_skb_data(int type, sa_family_t family) in test_err_skb_data()
480 static void test_err_sk_select_port(int type, sa_family_t family) in test_err_sk_select_port()
491 static void test_pass(int type, sa_family_t family) in test_pass()
[all …]
Dsockmap_listen.c131 #define xsocket(family, sotype, flags) \ argument
252 static void init_addr_loopback(int family, struct sockaddr_storage *ss, in init_addr_loopback()
287 static int socket_loopback_reuseport(int family, int sotype, int progfd) in socket_loopback_reuseport()
319 static int socket_loopback(int family, int sotype) in socket_loopback()
324 static void test_insert_invalid(int family, int sotype, int mapfd) in test_insert_invalid()
341 static void test_insert_opened(int family, int sotype, int mapfd) in test_insert_opened()
360 static void test_insert_bound(int family, int sotype, int mapfd) in test_insert_bound()
387 static void test_insert(int family, int sotype, int mapfd) in test_insert()
403 static void test_delete_after_insert(int family, int sotype, int mapfd) in test_delete_after_insert()
420 static void test_delete_after_close(int family, int sotype, int mapfd) in test_delete_after_close()
[all …]
Dsockmap_ktls.c12 static int tcp_server(int family) in tcp_server()
39 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) in test_sockmap_ktls_disconnect_after_delete()
95 static void run_tests(int family, enum bpf_map_type map_type) in run_tests()
/kernel/linux/linux-4.19/net/netlink/
Dgenetlink.c100 const struct genl_family *family; in genl_family_find_byname() local
111 const struct genl_family *family) in genl_get_cmd()
184 static int genl_validate_assign_mc_groups(struct genl_family *family) in genl_validate_assign_mc_groups()
262 static void genl_unregister_mc_groups(const struct genl_family *family) in genl_unregister_mc_groups()
287 static int genl_validate_ops(const struct genl_family *family) in genl_validate_ops()
322 int genl_register_family(struct genl_family *family) in genl_register_family()
404 int genl_unregister_family(const struct genl_family *family) in genl_unregister_family()
442 const struct genl_family *family, int flags, u8 cmd) in genlmsg_put()
501 static int genl_family_rcv_msg(const struct genl_family *family, in genl_family_rcv_msg()
617 const struct genl_family *family; in genl_rcv_msg() local
[all …]
/kernel/linux/linux-5.10/security/selinux/
Dnetlabel.c42 u16 family, in selinux_netlbl_sidlookup_cached()
141 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err()
189 u16 family, in selinux_netlbl_skbuff_getsid()
226 u16 family, in selinux_netlbl_skbuff_setsid()
324 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request()
353 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
389 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create()
430 u16 family, in selinux_netlbl_sock_rcv_skb()
/kernel/linux/linux-4.19/security/selinux/
Dnetlabel.c56 u16 family, in selinux_netlbl_sidlookup_cached()
155 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err()
203 u16 family, in selinux_netlbl_skbuff_getsid()
240 u16 family, in selinux_netlbl_skbuff_setsid()
338 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request()
367 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
403 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create()
444 u16 family, in selinux_netlbl_sock_rcv_skb()
/kernel/linux/linux-4.19/net/xfrm/
Dxfrm_state.c59 unsigned short family) in xfrm_dst_hash()
67 unsigned short family) in xfrm_src_hash()
74 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash()
180 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type()
201 int xfrm_unregister_type(const struct xfrm_type *type, unsigned short family) in xfrm_unregister_type()
222 static const struct xfrm_type *xfrm_get_type(u8 proto, unsigned short family) in xfrm_get_type()
257 unsigned short family) in xfrm_register_type_offload()
279 unsigned short family) in xfrm_unregister_type_offload()
301 xfrm_get_type_offload(u8 proto, unsigned short family, bool try_load) in xfrm_get_type_offload()
334 int xfrm_register_mode(struct xfrm_mode *mode, int family) in xfrm_register_mode()
[all …]
Dxfrm_hash.h87 u32 reqid, unsigned short family, in __xfrm_dst_hash()
104 unsigned short family, in __xfrm_src_hash()
121 unsigned short family, unsigned int hmask) in __xfrm_spi_hash()
141 unsigned short family, unsigned int hmask, in __sel_hash()
171 unsigned short family, in __addr_hash()
Dxfrm_policy.c99 unsigned short family) in xfrm_selector_match()
110 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo()
132 int family, u32 mark) in __xfrm_dst_lookup()
153 int family, u32 mark) in xfrm_dst_lookup()
337 unsigned short family, int dir, in __get_hash_thresh()
359 unsigned short family, int dir) in policy_hash_bysel()
379 unsigned short family, int dir) in policy_hash_direct()
1068 u8 type, u16 family, int dir, u32 if_id) in xfrm_policy_match()
1090 u16 family, u8 dir, in xfrm_policy_lookup_bytype()
1161 u16 family, u8 dir, u32 if_id) in xfrm_policy_lookup()
[all …]
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_state.c61 unsigned short family) in xfrm_dst_hash()
69 unsigned short family) in xfrm_src_hash()
76 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash()
181 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type()
227 void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family) in xfrm_unregister_type()
270 static const struct xfrm_type *xfrm_get_type(u8 proto, unsigned short family) in xfrm_get_type()
327 unsigned short family) in xfrm_register_type_offload()
352 unsigned short family) in xfrm_unregister_type_offload()
373 xfrm_get_type_offload(u8 proto, unsigned short family, bool try_load) in xfrm_get_type_offload()
448 static const struct xfrm_mode *xfrm_get_mode(unsigned int encap, int family) in xfrm_get_mode()
[all …]
Dxfrm_hash.h86 u32 reqid, unsigned short family, in __xfrm_dst_hash()
103 unsigned short family, in __xfrm_src_hash()
120 unsigned short family, unsigned int hmask) in __xfrm_spi_hash()
140 unsigned short family, unsigned int hmask, in __sel_hash()
170 unsigned short family, in __addr_hash()
Dxfrm_policy.c115 u16 family; member
222 unsigned short family) in xfrm_selector_match()
233 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo()
255 int family, u32 mark) in __xfrm_dst_lookup()
276 int family, u32 mark) in xfrm_dst_lookup()
461 unsigned short family, int dir, in __get_hash_thresh()
483 unsigned short family, int dir) in policy_hash_bysel()
503 unsigned short family, int dir) in policy_hash_direct()
737 int family, u8 prefixlen) in xfrm_pol_inexact_addr_use_any_list()
793 u8 prefixlen, u16 family) in xfrm_policy_addr_delta()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dxt_policy.c23 const union nf_inet_addr *a2, unsigned short family) in xt_addr_cmp()
36 unsigned short family) in match_xfrm_state()
53 unsigned short family) in match_policy_in()
83 unsigned short family) in match_policy_out()
Dxt_conntrack.c42 u_int8_t family) in conntrack_mt_origsrc()
51 u_int8_t family) in conntrack_mt_origdst()
60 u_int8_t family) in conntrack_mt_replsrc()
69 u_int8_t family) in conntrack_mt_repldst()
/kernel/linux/linux-4.19/net/netfilter/
Dxt_policy.c26 const union nf_inet_addr *a2, unsigned short family) in xt_addr_cmp()
39 unsigned short family) in match_xfrm_state()
56 unsigned short family) in match_policy_in()
86 unsigned short family) in match_policy_out()
Dxt_conntrack.c45 u_int8_t family) in conntrack_mt_origsrc()
54 u_int8_t family) in conntrack_mt_origdst()
63 u_int8_t family) in conntrack_mt_replsrc()
72 u_int8_t family) in conntrack_mt_repldst()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dcpu_device_id.h66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument
83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ argument
128 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument
144 #define X86_MATCH_VENDOR_FAM(vendor, family, data) \ argument
/kernel/linux/linux-4.19/net/netlabel/
Dnetlabel_kapi.c71 u16 family, in netlbl_cfg_map_del()
110 u16 family, in netlbl_cfg_unlbl_map_add()
226 u16 family, in netlbl_cfg_unlbl_static_add()
269 u16 family, in netlbl_cfg_unlbl_static_del()
990 u16 family, in netlbl_sock_setattr()
1290 u16 family, in netlbl_skbuff_setattr()
1371 u16 family, in netlbl_skbuff_getattr()
1407 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway) in netlbl_skbuff_err()
1446 int netlbl_cache_add(const struct sk_buff *skb, u16 family, in netlbl_cache_add()
/kernel/linux/linux-5.10/net/netlabel/
Dnetlabel_kapi.c57 u16 family, in netlbl_cfg_map_del()
96 u16 family, in netlbl_cfg_unlbl_map_add()
212 u16 family, in netlbl_cfg_unlbl_static_add()
255 u16 family, in netlbl_cfg_unlbl_static_del()
976 u16 family, in netlbl_sock_setattr()
1276 u16 family, in netlbl_skbuff_setattr()
1357 u16 family, in netlbl_skbuff_getattr()
1393 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway) in netlbl_skbuff_err()
1432 int netlbl_cache_add(const struct sk_buff *skb, u16 family, in netlbl_cache_add()
/kernel/linux/linux-5.10/include/net/
Dgenetlink.h170 const struct genl_family *family; member
212 const struct genl_family *family, in genlmsg_parse_deprecated()
231 const struct genl_family *family, in genlmsg_parse()
266 const struct genl_family *family, in genlmsg_put_reply()
303 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns()
321 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast()
423 static inline int genl_set_err(const struct genl_family *family, in genl_set_err()
433 static inline int genl_has_listeners(const struct genl_family *family, in genl_has_listeners()

12345678910>>...22