Home
last modified time | relevance | path

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

12345678910>>...12

/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-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-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()
Dnetnode.c104 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) in sel_netnode_find()
190 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow()
250 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid()
/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.c117 u16 family; member
224 unsigned short family) in xfrm_selector_match()
235 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo()
257 int family, u32 mark) in __xfrm_dst_lookup()
278 int family, u32 mark) in xfrm_dst_lookup()
463 unsigned short family, int dir, in __get_hash_thresh()
485 unsigned short family, int dir) in policy_hash_bysel()
505 unsigned short family, int dir) in policy_hash_direct()
739 int family, u8 prefixlen) in xfrm_pol_inexact_addr_use_any_list()
795 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-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
Dmicrocode_amd.h52 static inline void __init load_ucode_amd_bsp(unsigned int family) {} in load_ucode_amd_bsp()
53 static inline void load_ucode_amd_ap(unsigned int family) {} in load_ucode_amd_ap()
55 save_microcode_in_initrd_amd(unsigned int family) { return -EINVAL; } in save_microcode_in_initrd_amd()
/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()
978 u16 family, in netlbl_sock_setattr()
1278 u16 family, in netlbl_skbuff_setattr()
1359 u16 family, in netlbl_skbuff_getattr()
1395 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway) in netlbl_skbuff_err()
1434 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()
Dxfrm.h45 #define MODULE_ALIAS_XFRM_MODE(family, encap) \ argument
47 #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ argument
49 #define MODULE_ALIAS_XFRM_OFFLOAD_TYPE(family, proto) \ argument
139 u8 family; member
179 u16 family; member
357 u8 family; member
382 u8 family; member
428 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto()
529 u16 family; member
545 u16 family; member
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseport_bpf_cpu.c34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group()
94 static void send_from_cpu(int cpu_id, int family, int proto) in send_from_cpu()
184 static void test(int *rcv_fd, int len, int family, int proto) in test()
Dreuseport_bpf_numa.c30 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group()
107 static void send_from_node(int node_id, int family, int proto) in send_from_node()
194 static void test(int *rcv_fd, int len, int family, int proto) in test()
Dreuseport_addr_any.c34 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count, in build_rcv_fd()
101 static int connect_and_send(int family, int proto) in connect_and_send()
194 static void test(int *rcv_fds, int count, int family, int proto, int fd) in test()
/kernel/linux/linux-5.10/security/tomoyo/
Dnetwork.c364 const char *family, const u8 protocol, in tomoyo_audit_net_log()
628 u8 family; in tomoyo_sock_family() local
653 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_listen_permission() local
690 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_connect_permission() local
727 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_bind_permission() local
762 const u8 family = tomoyo_sock_family(sock->sk); in tomoyo_socket_sendmsg_permission() local
/kernel/linux/linux-5.10/net/ipv4/
Dtunnel4.c24 static inline struct xfrm_tunnel __rcu **fam_handlers(unsigned short family) in fam_handlers()
31 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_register()
63 int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family) in xfrm4_tunnel_deregister()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup_kern.c99 __u32 family = 0; in bpf_sk_lookup_uaf() local
114 __u32 family; in bpf_sk_lookup_modptr() local
129 __u32 family; in bpf_sk_lookup_modptr_or_null() local
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c2283 int has_turbo_ratio_group_limits(int family, int model) in has_turbo_ratio_group_limits()
2300 dump_turbo_ratio_limits(int family, int model) in dump_turbo_ratio_limits()
3490 int probe_nhm_msrs(unsigned int family, unsigned int model) in probe_nhm_msrs()
3571 int has_slv_msrs(unsigned int family, unsigned int model) in has_slv_msrs()
3584 int is_dnv(unsigned int family, unsigned int model) in is_dnv()
3596 int is_bdx(unsigned int family, unsigned int model) in is_bdx()
3608 int is_skx(unsigned int family, unsigned int model) in is_skx()
3620 int is_ehl(unsigned int family, unsigned int model) in is_ehl()
3631 int is_jvl(unsigned int family, unsigned int model) in is_jvl()
3643 int has_turbo_ratio_limit(unsigned int family, unsigned int model) in has_turbo_ratio_limit()
[all …]

12345678910>>...12