Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.1.9/net/netlink/
Dgenetlink.c92 genl_op_fill_in_reject_policy(const struct genl_family *family, in genl_op_fill_in_reject_policy()
111 const struct genl_family *family; in genl_family_find_byname() local
121 static int genl_get_cmd_cnt(const struct genl_family *family) in genl_get_cmd_cnt()
126 static void genl_op_from_full(const struct genl_family *family, in genl_op_from_full()
139 static int genl_get_cmd_full(u32 cmd, const struct genl_family *family, in genl_get_cmd_full()
153 static void genl_op_from_small(const struct genl_family *family, in genl_op_from_small()
170 static int genl_get_cmd_small(u32 cmd, const struct genl_family *family, in genl_get_cmd_small()
184 static int genl_get_cmd(u32 cmd, const struct genl_family *family, in genl_get_cmd()
193 const struct genl_family *family, in genl_get_cmd_by_index()
266 static int genl_validate_assign_mc_groups(struct genl_family *family) in genl_validate_assign_mc_groups()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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()
362 static void test_insert_bound(int family, int sotype, int mapfd) in test_insert_bound()
389 static void test_insert(int family, int sotype, int mapfd) in test_insert()
405 static void test_delete_after_insert(int family, int sotype, int mapfd) in test_delete_after_insert()
422 static void test_delete_after_close(int family, int sotype, int mapfd) in test_delete_after_close()
[all …]
Dselect_reuseport.c49 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()
237 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data()
374 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
396 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test()
454 static void test_err_inner_map(int type, sa_family_t family) in test_err_inner_map()
465 static void test_err_skb_data(int type, sa_family_t family) in test_err_skb_data()
471 static void test_err_sk_select_port(int type, sa_family_t family) in test_err_sk_select_port()
482 static void test_pass(int type, sa_family_t family) in test_pass()
[all …]
Dsockmap_ktls.c13 static int tcp_server(int family) in tcp_server()
36 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) in test_sockmap_ktls_disconnect_after_delete()
79 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) in test_sockmap_ktls_update_fails_when_sock_has_ulp()
135 static const char *fmt_test_name(const char *subtest_name, int family, in fmt_test_name()
149 static void run_tests(int family, enum bpf_map_type map_type) in run_tests()
/linux-6.1.9/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()
/linux-6.1.9/net/xfrm/
Dxfrm_state.c62 unsigned short family) in xfrm_dst_hash()
70 unsigned short family) in xfrm_src_hash()
77 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash()
203 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type()
249 void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family) in xfrm_unregister_type()
292 static const struct xfrm_type *xfrm_get_type(u8 proto, unsigned short family) in xfrm_get_type()
349 unsigned short family) in xfrm_register_type_offload()
374 unsigned short family) in xfrm_unregister_type_offload()
395 xfrm_get_type_offload(u8 proto, unsigned short family, bool try_load) in xfrm_get_type_offload()
470 static const struct xfrm_mode *xfrm_get_mode(unsigned int encap, int family) in xfrm_get_mode()
[all …]
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 …]
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()
147 unsigned short family, unsigned int hmask, in __sel_hash()
177 unsigned short family, in __addr_hash()
/linux-6.1.9/security/selinux/
Dnetlabel.c43 u16 family, in selinux_netlbl_sidlookup_cached()
143 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err()
190 u16 family, in selinux_netlbl_skbuff_getsid()
227 u16 family, in selinux_netlbl_skbuff_setsid()
326 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request()
356 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
392 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create()
433 u16 family, in selinux_netlbl_sock_rcv_skb()
Dnetnode.c103 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()
/linux-6.1.9/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()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dlsm_cgroup.c51 static __always_inline int real_create(struct socket *sock, int family, in real_create()
85 int BPF_PROG(socket_post_create, struct socket *sock, int family, in BPF_PROG()
94 int BPF_PROG(socket_post_create2, struct socket *sock, int family, in BPF_PROG()
144 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG()
/linux-6.1.9/tools/testing/selftests/bpf/
Dnetwork_helpers.c120 static int start_server_proto(int family, int type, int protocol, in start_server_proto()
133 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server()
139 int start_mptcp_server(int family, const char *addr_str, __u16 port, in start_mptcp_server()
146 int *start_reuseport_server(int family, int type, const char *addr_str, in start_reuseport_server()
342 int make_sockaddr(int family, const char *addr_str, __u16 port, in make_sockaddr()
377 char *ping_command(int family) in ping_command()
/linux-6.1.9/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()
/linux-6.1.9/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
/linux-6.1.9/include/net/
Dgenetlink.h191 const struct genl_family *family; member
233 const struct genl_family *family, in genlmsg_parse_deprecated()
252 const struct genl_family *family, in genlmsg_parse()
287 const struct genl_family *family, in genlmsg_put_reply()
324 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns()
342 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast()
445 static inline int genl_set_err(const struct genl_family *family, in genl_set_err()
455 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
144 u8 family; member
191 u16 family; member
362 u8 family; member
387 u8 family; member
431 static inline int xfrm_af2proto(unsigned int family) in xfrm_af2proto()
532 u16 family; member
548 u16 family; member
[all …]
/linux-6.1.9/net/ceph/
Ddecode.c152 static int get_sockaddr_encoding_len(sa_family_t family) in get_sockaddr_encoding_len()
172 sa_family_t family = get_unaligned(&addr->in_addr.ss_family); in ceph_entity_addr_encoding_len() local
180 sa_family_t family = get_unaligned(&addr->in_addr.ss_family); in ceph_encode_entity_addr() local
/linux-6.1.9/tools/power/x86/turbostat/
Dturbostat.c2512 int has_turbo_ratio_group_limits(int family, int model) in has_turbo_ratio_group_limits()
2534 static void dump_turbo_ratio_limits(int trl_msr_offset, int family, int model) in dump_turbo_ratio_limits()
3699 int probe_nhm_msrs(unsigned int family, unsigned int model) in probe_nhm_msrs()
3787 int has_slv_msrs(unsigned int family, unsigned int model) in has_slv_msrs()
3804 int is_dnv(unsigned int family, unsigned int model) in is_dnv()
3820 int is_bdx(unsigned int family, unsigned int model) in is_bdx()
3836 int is_skx(unsigned int family, unsigned int model) in is_skx()
3852 int is_icx(unsigned int family, unsigned int model) in is_icx()
3868 int is_spr(unsigned int family, unsigned int model) in is_spr()
3884 int is_ehl(unsigned int family, unsigned int model) in is_ehl()
[all …]
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c51 static int init_genl_req(char *data, int family, int cmd, int version) in init_genl_req()
334 u_int16_t family, port; in dsf() local
449 u_int16_t family; in csf() local
625 u_int16_t family; in announce_addr() local
750 u_int16_t family; in add_addr() local
880 u_int16_t family; in del_addr() local
943 uint16_t family = 0; in print_addr() local
1231 u_int16_t family; in add_listener() local
1284 u_int16_t family; in set_flags() local

12345678910>>...12