Home
last modified time | relevance | path

Searched refs:family (Results 1 - 25 of 1853) sorted by relevance

12345678910>>...75

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_policer.c30 int (*init)(struct mlxsw_sp_policer_family *family);
31 void (*fini)(struct mlxsw_sp_policer_family *family);
32 int (*policer_index_alloc)(struct mlxsw_sp_policer_family *family,
34 struct mlxsw_sp_policer * (*policer_index_free)(struct mlxsw_sp_policer_family *family,
36 int (*policer_init)(struct mlxsw_sp_policer_family *family,
38 int (*policer_params_check)(const struct mlxsw_sp_policer_family *family,
74 struct mlxsw_sp_policer_family *family = priv; in mlxsw_sp_policer_single_rate_occ_get() local
76 return atomic_read(&family->policers_count); in mlxsw_sp_policer_single_rate_occ_get()
80 mlxsw_sp_policer_single_rate_family_init(struct mlxsw_sp_policer_family *family) in mlxsw_sp_policer_single_rate_family_init() argument
82 struct mlxsw_core *core = family in mlxsw_sp_policer_single_rate_family_init()
106 mlxsw_sp_policer_single_rate_family_fini(struct mlxsw_sp_policer_family *family) mlxsw_sp_policer_single_rate_family_fini() argument
116 mlxsw_sp_policer_single_rate_index_alloc(struct mlxsw_sp_policer_family *family, struct mlxsw_sp_policer *policer) mlxsw_sp_policer_single_rate_index_alloc() argument
136 mlxsw_sp_policer_single_rate_index_free(struct mlxsw_sp_policer_family *family, u16 policer_index) mlxsw_sp_policer_single_rate_index_free() argument
153 mlxsw_sp_policer_single_rate_init(struct mlxsw_sp_policer_family *family, const struct mlxsw_sp_policer *policer) mlxsw_sp_policer_single_rate_init() argument
169 mlxsw_sp_policer_single_rate_params_check(const struct mlxsw_sp_policer_family *family, const struct mlxsw_sp_policer_params *params, struct netlink_ext_ack *extack) mlxsw_sp_policer_single_rate_params_check() argument
236 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_add() local
277 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_del() local
289 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_drops_counter_get() local
311 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_family_register() local
345 mlxsw_sp_policer_family_unregister(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_policer_family *family) mlxsw_sp_policer_family_unregister() argument
380 struct mlxsw_sp_policer_family *family; mlxsw_sp_policers_init() local
395 struct mlxsw_sp_policer_family *family; mlxsw_sp_policers_fini() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_policer.c30 int (*init)(struct mlxsw_sp_policer_family *family);
31 void (*fini)(struct mlxsw_sp_policer_family *family);
32 int (*policer_index_alloc)(struct mlxsw_sp_policer_family *family,
34 struct mlxsw_sp_policer * (*policer_index_free)(struct mlxsw_sp_policer_family *family,
36 int (*policer_init)(struct mlxsw_sp_policer_family *family,
38 int (*policer_params_check)(const struct mlxsw_sp_policer_family *family,
74 struct mlxsw_sp_policer_family *family = priv; in mlxsw_sp_policer_single_rate_occ_get() local
76 return atomic_read(&family->policers_count); in mlxsw_sp_policer_single_rate_occ_get()
80 mlxsw_sp_policer_single_rate_family_init(struct mlxsw_sp_policer_family *family) in mlxsw_sp_policer_single_rate_family_init() argument
82 struct mlxsw_core *core = family in mlxsw_sp_policer_single_rate_family_init()
106 mlxsw_sp_policer_single_rate_family_fini(struct mlxsw_sp_policer_family *family) mlxsw_sp_policer_single_rate_family_fini() argument
116 mlxsw_sp_policer_single_rate_index_alloc(struct mlxsw_sp_policer_family *family, struct mlxsw_sp_policer *policer) mlxsw_sp_policer_single_rate_index_alloc() argument
136 mlxsw_sp_policer_single_rate_index_free(struct mlxsw_sp_policer_family *family, u16 policer_index) mlxsw_sp_policer_single_rate_index_free() argument
153 mlxsw_sp_policer_single_rate_init(struct mlxsw_sp_policer_family *family, const struct mlxsw_sp_policer *policer) mlxsw_sp_policer_single_rate_init() argument
169 mlxsw_sp_policer_single_rate_params_check(const struct mlxsw_sp_policer_family *family, const struct mlxsw_sp_policer_params *params, struct netlink_ext_ack *extack) mlxsw_sp_policer_single_rate_params_check() argument
236 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_add() local
277 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_del() local
289 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_drops_counter_get() local
311 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_family_register() local
345 mlxsw_sp_policer_family_unregister(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_policer_family *family) mlxsw_sp_policer_family_unregister() argument
380 struct mlxsw_sp_policer_family *family; mlxsw_sp_policers_init() local
395 struct mlxsw_sp_policer_family *family; mlxsw_sp_policers_fini() local
[all...]
/kernel/linux/linux-5.10/net/netlink/
H A Dgenetlink.c78 * also abused this API and relied on family == group ID, we
79 * cater to that by giving it a static family and group ID.
89 static int genl_ctrl_event(int event, const struct genl_family *family,
100 const struct genl_family *family; in genl_family_find_byname() local
103 idr_for_each_entry(&genl_fam_idr, family, id) in genl_family_find_byname()
104 if (strcmp(family->name, name) == 0) in genl_family_find_byname()
105 return family; in genl_family_find_byname()
110 static int genl_get_cmd_cnt(const struct genl_family *family) in genl_get_cmd_cnt() argument
112 return family->n_ops + family in genl_get_cmd_cnt()
115 genl_op_from_full(const struct genl_family *family, unsigned int i, struct genl_ops *op) genl_op_from_full() argument
126 genl_get_cmd_full(u32 cmd, const struct genl_family *family, struct genl_ops *op) genl_get_cmd_full() argument
140 genl_op_from_small(const struct genl_family *family, unsigned int i, struct genl_ops *op) genl_op_from_small() argument
155 genl_get_cmd_small(u32 cmd, const struct genl_family *family, struct genl_ops *op) genl_get_cmd_small() argument
169 genl_get_cmd(u32 cmd, const struct genl_family *family, struct genl_ops *op) genl_get_cmd() argument
177 genl_get_cmd_by_index(unsigned int i, const struct genl_family *family, struct genl_ops *op) genl_get_cmd_by_index() argument
251 genl_validate_assign_mc_groups(struct genl_family *family) genl_validate_assign_mc_groups() argument
329 genl_unregister_mc_groups(const struct genl_family *family) genl_unregister_mc_groups() argument
354 genl_validate_ops(const struct genl_family *family) genl_validate_ops() argument
392 genl_register_family(struct genl_family *family) genl_register_family() argument
461 genl_unregister_family(const struct genl_family *family) genl_unregister_family() argument
496 genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, const struct genl_family *family, int flags, u8 cmd) genlmsg_put() argument
527 genl_family_rcv_msg_attrs_parse(const struct genl_family *family, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, const struct genl_ops *ops, int hdrlen, enum genl_validate_flags no_strict_flag) genl_family_rcv_msg_attrs_parse() argument
563 const struct genl_family *family; global() member
657 genl_family_rcv_msg_dumpit(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, const struct genl_ops *ops, int hdrlen, struct net *net) genl_family_rcv_msg_dumpit() argument
703 genl_family_rcv_msg_doit(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, const struct genl_ops *ops, int hdrlen, struct net *net) genl_family_rcv_msg_doit() argument
750 genl_family_rcv_msg(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack) genl_family_rcv_msg() argument
790 const struct genl_family *family; genl_rcv_msg() local
821 ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) ctrl_fill_info() argument
910 ctrl_fill_mcgrp_info(const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) ctrl_fill_mcgrp_info() argument
978 ctrl_build_family_msg(const struct genl_family *family, u32 portid, int seq, u8 cmd) ctrl_build_family_msg() argument
998 ctrl_build_mcgrp_msg(const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, int seq, u8 cmd) ctrl_build_mcgrp_msg() argument
1072 genl_ctrl_event(int event, const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id) genl_ctrl_event() argument
1369 const struct genl_family *family; genl_bind() local
1489 genlmsg_multicast_allns(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) genlmsg_multicast_allns() argument
1500 genl_notify(const struct genl_family *family, struct sk_buff *skb, struct genl_info *info, u32 group, gfp_t flags) genl_notify() argument
[all...]
/kernel/linux/linux-6.6/net/netlink/
H A Dgenetlink.c55 static void genl_op_lock(const struct genl_family *family) in genl_op_lock() argument
57 if (!family->parallel_ops) in genl_op_lock()
61 static void genl_op_unlock(const struct genl_family *family) in genl_op_unlock() argument
63 if (!family->parallel_ops) in genl_op_unlock()
82 * also abused this API and relied on family == group ID, we
83 * cater to that by giving it a static family and group ID.
99 static int genl_ctrl_event(int event, const struct genl_family *family,
104 genl_op_fill_in_reject_policy(const struct genl_family *family, in genl_op_fill_in_reject_policy() argument
109 if (op->policy || op->cmd < family->resv_start_op) in genl_op_fill_in_reject_policy()
117 genl_op_fill_in_reject_policy_split(const struct genl_family *family, in genl_op_fill_in_reject_policy_split() argument
134 const struct genl_family *family; genl_family_find_byname() local
145 const struct genl_family *family; global() member
154 genl_op_from_full(const struct genl_family *family, unsigned int i, struct genl_ops *op) genl_op_from_full() argument
167 genl_get_cmd_full(u32 cmd, const struct genl_family *family, struct genl_ops *op) genl_get_cmd_full() argument
181 genl_op_from_small(const struct genl_family *family, unsigned int i, struct genl_ops *op) genl_op_from_small() argument
198 genl_get_cmd_small(u32 cmd, const struct genl_family *family, struct genl_ops *op) genl_get_cmd_small() argument
214 const struct genl_family *family = iter->family; genl_op_from_split() local
241 genl_get_cmd_split(u32 cmd, u8 flag, const struct genl_family *family, struct genl_split_ops *op) genl_get_cmd_split() argument
257 genl_cmd_full_to_split(struct genl_split_ops *op, const struct genl_family *family, const struct genl_ops *full, u8 flags) genl_cmd_full_to_split() argument
299 genl_get_cmd(u32 cmd, u8 flags, const struct genl_family *family, struct genl_split_ops *op) genl_get_cmd() argument
322 genl_get_cmd_both(u32 cmd, const struct genl_family *family, struct genl_split_ops *doit, struct genl_split_ops *dumpit) genl_get_cmd_both() argument
334 genl_op_iter_init(const struct genl_family *family, struct genl_op_iter *iter) genl_op_iter_init() argument
349 const struct genl_family *family = iter->family; genl_op_iter_next() local
457 genl_validate_assign_mc_groups(struct genl_family *family) genl_validate_assign_mc_groups() argument
535 genl_unregister_mc_groups(const struct genl_family *family) genl_unregister_mc_groups() argument
568 genl_validate_ops(const struct genl_family *family) genl_validate_ops() argument
645 genl_register_family(struct genl_family *family) genl_register_family() argument
714 genl_unregister_family(const struct genl_family *family) genl_unregister_family() argument
749 genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, const struct genl_family *family, int flags, u8 cmd) genlmsg_put() argument
780 genl_family_rcv_msg_attrs_parse(const struct genl_family *family, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, const struct genl_split_ops *ops, int hdrlen, enum genl_validate_flags no_strict_flag) genl_family_rcv_msg_attrs_parse() argument
816 const struct genl_family *family; global() member
907 genl_family_rcv_msg_dumpit(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, const struct genl_split_ops *ops, int hdrlen, struct net *net) genl_family_rcv_msg_dumpit() argument
938 genl_family_rcv_msg_doit(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack, const struct genl_split_ops *ops, int hdrlen, struct net *net) genl_family_rcv_msg_doit() argument
982 genl_header_check(const struct genl_family *family, struct nlmsghdr *nlh, struct genlmsghdr *hdr, struct netlink_ext_ack *extack) genl_header_check() argument
1012 genl_family_rcv_msg(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack) genl_family_rcv_msg() argument
1058 const struct genl_family *family; genl_rcv_msg() local
1085 ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) ctrl_fill_info() argument
1168 ctrl_fill_mcgrp_info(const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) ctrl_fill_mcgrp_info() argument
1236 ctrl_build_family_msg(const struct genl_family *family, u32 portid, int seq, u8 cmd) ctrl_build_family_msg() argument
1256 ctrl_build_mcgrp_msg(const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, int seq, u8 cmd) ctrl_build_mcgrp_msg() argument
1330 genl_ctrl_event(int event, const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id) genl_ctrl_event() argument
1672 const struct genl_family *family; genl_bind() local
1792 genlmsg_multicast_allns(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) genlmsg_multicast_allns() argument
1804 genl_notify(const struct genl_family *family, struct sk_buff *skb, struct genl_info *info, u32 group, gfp_t flags) genl_notify() argument
[all...]
/kernel/linux/linux-5.10/drivers/soc/renesas/
H A Drenesas-soc.c66 const struct renesas_family *family; member
71 .family = &fam_rza1,
75 .family = &fam_rza2,
80 .family = &fam_rmobile,
85 .family = &fam_rmobile,
90 .family = &fam_rzg1,
95 .family = &fam_rzg1,
100 .family = &fam_rzg1,
105 .family = &fam_rzg1,
110 .family
311 const struct renesas_family *family; renesas_soc_init() local
[all...]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
H A Docteon-model.c61 const char *family; in octeon_model_get_string_buffer() local
191 /* Now figure out the family, the first two digits */ in octeon_model_get_string_buffer()
200 family = "37"; in octeon_model_get_string_buffer()
202 family = "36"; in octeon_model_get_string_buffer()
204 family = "38"; in octeon_model_get_string_buffer()
226 family = "30"; in octeon_model_get_string_buffer()
228 family = "31"; in octeon_model_get_string_buffer()
246 family = "30"; in octeon_model_get_string_buffer()
267 family = "58"; in octeon_model_get_string_buffer()
293 family in octeon_model_get_string_buffer()
[all...]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/
H A Docteon-model.c61 const char *family; in octeon_model_get_string_buffer() local
191 /* Now figure out the family, the first two digits */ in octeon_model_get_string_buffer()
200 family = "37"; in octeon_model_get_string_buffer()
202 family = "36"; in octeon_model_get_string_buffer()
204 family = "38"; in octeon_model_get_string_buffer()
226 family = "30"; in octeon_model_get_string_buffer()
228 family = "31"; in octeon_model_get_string_buffer()
246 family = "30"; in octeon_model_get_string_buffer()
267 family = "58"; in octeon_model_get_string_buffer()
293 family in octeon_model_get_string_buffer()
[all...]
/kernel/linux/linux-6.6/drivers/soc/renesas/
H A Drenesas-soc.c90 const struct renesas_family *family; member
95 .family = &fam_rza1,
99 .family = &fam_rza2,
104 .family = &fam_rmobile,
109 .family = &fam_rmobile,
114 .family = &fam_rzfive,
119 .family = &fam_rzg1,
124 .family = &fam_rzg1,
129 .family = &fam_rzg1,
134 .family
441 const struct renesas_family *family; renesas_soc_init() local
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dgenetlink.h13 * @name: name of the multicast group, names are per-family
27 * struct genl_family - generic netlink family
29 * @name: name of family
33 * @netnsok: set to true if the family can handle network
42 * @mcgrps: multicast groups used by this family
47 * @ops: the operations supported by this family
48 * @n_ops: number of operations supported by this family
49 * @small_ops: the small-struct operations supported by this family
50 * @n_small_ops: number of small-struct operations supported by this family
56 * can be attached at the family leve
109 const struct genl_family *family; global() member
285 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, u8 cmd) genl_info_init_ntf() argument
357 genlmsg_parse_deprecated(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) genlmsg_parse_deprecated() argument
376 genlmsg_parse(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) genlmsg_parse() argument
410 genlmsg_put_reply(struct sk_buff *skb, struct genl_info *info, const struct genl_family *family, int flags, u8 cmd) genlmsg_put_reply() argument
449 genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) genlmsg_multicast_netns() argument
467 genlmsg_multicast(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) genlmsg_multicast() argument
570 genl_set_err(const struct genl_family *family, struct net *net, u32 portid, u32 group, int code) genl_set_err() argument
580 genl_has_listeners(const struct genl_family *family, struct net *net, unsigned int group) genl_has_listeners() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c33 int family, int sotype, int mapfd) in test_insert_invalid()
51 int family, int sotype, int mapfd) in test_insert_opened()
57 s = xsocket(family, sotype, 0); in test_insert_opened()
73 int family, int sotype, int mapfd) in test_insert_bound()
81 init_addr_loopback(family, &addr, &len); in test_insert_bound()
83 s = xsocket(family, sotype, 0); in test_insert_bound()
101 int family, int sotype, int mapfd) in test_insert()
107 s = socket_loopback(family, sotype); in test_insert()
118 int family, int sotype, int mapfd) in test_delete_after_insert()
124 s = socket_loopback(family, sotyp in test_delete_after_insert()
32 test_insert_invalid(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert_invalid() argument
50 test_insert_opened(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert_opened() argument
72 test_insert_bound(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert_bound() argument
100 test_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_insert() argument
117 test_delete_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_delete_after_insert() argument
135 test_delete_after_close(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_delete_after_close() argument
159 test_lookup_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_lookup_after_insert() argument
188 test_lookup_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_lookup_after_delete() argument
212 test_lookup_32_bit_value(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_lookup_32_bit_value() argument
243 test_update_existing(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_update_existing() argument
272 do_destroy_orphan_child(int family, int sotype, int mapfd) do_destroy_orphan_child() argument
303 test_destroy_orphan_child(struct test_sockmap_listen *skel, int family, int sotype, int mapfd) test_destroy_orphan_child() argument
333 test_clone_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_clone_after_delete() argument
370 test_accept_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_accept_after_delete() argument
425 test_accept_before_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_accept_before_delete() argument
487 int family, socktype; connect_accept_thread() local
535 test_syn_recv_insert_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) test_syn_recv_insert_delete() argument
599 test_race_insert_listen(struct test_sockmap_listen *skel __always_unused, int family, int socktype, int mapfd) test_race_insert_listen() argument
674 redir_to_connected(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_connected() argument
727 test_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_connected() argument
752 test_msg_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_connected() argument
770 redir_to_listening(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_listening() argument
829 test_skb_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_listening() argument
854 test_msg_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_listening() argument
872 redir_partial(int family, int sotype, int sock_map, int parser_map) redir_partial() argument
918 test_skb_redir_partial(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_partial() argument
943 test_reuseport_select_listening(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_listening() argument
1012 test_reuseport_select_connected(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_connected() argument
1118 test_reuseport_mixed_groups(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_mixed_groups() argument
1204 family_str(sa_family_t family) family_str() argument
1250 test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_ops() argument
1307 test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_redir() argument
1579 test_reuseport(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_reuseport() argument
1619 inet_socketpair(int family, int type, int *s, int *c) inet_socketpair() argument
1661 udp_redir_to_connected(int family, int sock_mapfd, int verd_mapfd, enum redir_mode mode) udp_redir_to_connected() argument
1713 udp_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) udp_skb_redir_to_connected() argument
1733 test_udp_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family) test_udp_redir() argument
1747 inet_unix_redir_to_connected(int family, int type, int sock_mapfd, int verd_mapfd, enum redir_mode mode) inet_unix_redir_to_connected() argument
1801 inet_unix_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) inet_unix_skb_redir_to_connected() argument
1827 unix_inet_redir_to_connected(int family, int type, int sock_mapfd, int verd_mapfd, enum redir_mode mode) unix_inet_redir_to_connected() argument
1882 unix_inet_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) unix_inet_skb_redir_to_connected() argument
1908 test_udp_unix_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family) test_udp_unix_redir() argument
1923 run_tests(struct test_sockmap_listen *skel, struct bpf_map *map, int family) run_tests() argument
[all...]
H A Dsockmap_ktls.c13 static int tcp_server(int family) in tcp_server() argument
17 s = socket(family, SOCK_STREAM, 0); in tcp_server()
36 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) in test_sockmap_ktls_disconnect_after_delete() argument
42 srv = tcp_server(family); in test_sockmap_ktls_disconnect_after_delete()
50 cli = socket(family, SOCK_STREAM, 0); 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() argument
87 switch (family) { in test_sockmap_ktls_update_fails_when_sock_has_ulp()
97 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
101 s = socket(family, SOCK_STREA in test_sockmap_ktls_update_fails_when_sock_has_ulp()
135 fmt_test_name(const char *subtest_name, int family, enum bpf_map_type map_type) fmt_test_name() argument
149 run_tests(int family, enum bpf_map_type map_type) run_tests() argument
[all...]
H A 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() argument
143 sa->family = family; in sa46_init_loopback()
144 if (sa->family == AF_INET6) in sa46_init_loopback()
150 static void sa46_init_inany(union sa46 *sa, sa_family_t family) in sa46_init_inany() argument
153 sa->family = family; in sa46_init_inany()
154 if (sa->family == AF_INET6) in sa46_init_inany()
237 static void check_data(int type, sa_family_t family, cons argument
374 send_data(int type, sa_family_t family, void *data, size_t len, enum result expected) send_data() argument
396 do_test(int type, sa_family_t family, struct cmd *cmd, enum result expected) do_test() argument
454 test_err_inner_map(int type, sa_family_t family) test_err_inner_map() argument
465 test_err_skb_data(int type, sa_family_t family) test_err_skb_data() argument
471 test_err_sk_select_port(int type, sa_family_t family) test_err_sk_select_port() argument
482 test_pass(int type, sa_family_t family) test_pass() argument
495 test_syncookie(int type, sa_family_t family) test_syncookie() argument
530 test_pass_on_err(int type, sa_family_t family) test_pass_on_err() argument
541 test_detach_bpf(int type, sa_family_t family) test_detach_bpf() argument
594 prepare_sk_fds(int type, sa_family_t family, bool inany) prepare_sk_fds() argument
668 setup_per_test(int type, sa_family_t family, bool inany, bool no_inner_map) setup_per_test() argument
752 family_str(sa_family_t family) family_str() argument
778 test_config(int sotype, sa_family_t family, bool inany) test_config() argument
823 sa_family_t family; test_all() member
[all...]
/kernel/linux/linux-5.10/security/selinux/include/
H A Dnetlabel.h29 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error,
36 u16 family,
40 u16 family,
44 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
45 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
47 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
50 u16 family,
66 u16 family, in selinux_netlbl_err()
86 u16 family, in selinux_netlbl_skbuff_getsid()
95 u16 family, in selinux_netlbl_skbuff_setsid()
65 selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) selinux_netlbl_err() argument
85 selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, u32 *type, u32 *sid) selinux_netlbl_skbuff_getsid() argument
94 selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, u32 sid) selinux_netlbl_skbuff_setsid() argument
106 selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) selinux_netlbl_inet_conn_request() argument
111 selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone() argument
120 selinux_netlbl_socket_post_create(struct sock *sk, u16 family) selinux_netlbl_socket_post_create() argument
125 selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec, struct sk_buff *skb, u16 family, struct common_audit_data *ad) selinux_netlbl_sock_rcv_skb() argument
[all...]
/kernel/linux/linux-6.6/security/selinux/include/
H A Dnetlabel.h29 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error,
36 u16 family,
40 u16 family,
44 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
45 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
47 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
50 u16 family,
66 u16 family, in selinux_netlbl_err()
86 u16 family, in selinux_netlbl_skbuff_getsid()
95 u16 family, in selinux_netlbl_skbuff_setsid()
65 selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) selinux_netlbl_err() argument
85 selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, u32 *type, u32 *sid) selinux_netlbl_skbuff_getsid() argument
94 selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, u32 sid) selinux_netlbl_skbuff_setsid() argument
106 selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) selinux_netlbl_inet_conn_request() argument
111 selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone() argument
120 selinux_netlbl_socket_post_create(struct sock *sk, u16 family) selinux_netlbl_socket_post_create() argument
125 selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec, struct sk_buff *skb, u16 family, struct common_audit_data *ad) selinux_netlbl_sock_rcv_skb() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_kms.c250 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
275 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
289 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
291 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
293 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
295 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
297 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
299 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
343 if (rdev->family > in radeon_info_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_kms.c264 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
289 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
303 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
305 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
307 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
309 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
311 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
313 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
357 if (rdev->family > in radeon_info_ioctl()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dgenetlink.h13 * @name: name of the multicast group, names are per-family
26 * struct genl_family - generic netlink family
27 * @id: protocol family identifier (private)
29 * @name: name of family
33 * @netnsok: set to true if the family can handle network
41 * @mcgrps: multicast groups used by this family
43 * @mcgrp_offset: starting number of multicast group IDs in this family
45 * @ops: the operations supported by this family
46 * @n_ops: number of operations supported by this family
47 * @small_ops: the small-struct operations supported by this family
173 const struct genl_family *family; global() member
214 genlmsg_parse_deprecated(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) genlmsg_parse_deprecated() argument
233 genlmsg_parse(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) genlmsg_parse() argument
267 genlmsg_put_reply(struct sk_buff *skb, struct genl_info *info, const struct genl_family *family, int flags, u8 cmd) genlmsg_put_reply() argument
306 genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) genlmsg_multicast_netns() argument
324 genlmsg_multicast(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) genlmsg_multicast() argument
426 genl_set_err(const struct genl_family *family, struct net *net, u32 portid, u32 group, int code) genl_set_err() argument
436 genl_has_listeners(const struct genl_family *family, struct net *net, unsigned int group) genl_has_listeners() argument
[all...]
/kernel/linux/linux-5.10/security/selinux/
H A Dnetlabel.c42 u16 family, in selinux_netlbl_sidlookup_cached()
52 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
141 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
143 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
163 * @family: the socket family
178 * @family: protocol family
189 u16 family, in selinux_netlbl_skbuff_getsid()
202 rc = netlbl_skbuff_getattr(skb, family, in selinux_netlbl_skbuff_getsid()
41 selinux_netlbl_sidlookup_cached(struct sk_buff *skb, u16 family, struct netlbl_lsm_secattr *secattr, u32 *sid) selinux_netlbl_sidlookup_cached() argument
188 selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, u32 *type, u32 *sid) selinux_netlbl_skbuff_getsid() argument
225 selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, u32 sid) selinux_netlbl_skbuff_setsid() argument
324 selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) selinux_netlbl_inet_conn_request() argument
353 selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone() argument
389 selinux_netlbl_socket_post_create(struct sock *sk, u16 family) selinux_netlbl_socket_post_create() argument
428 selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec, struct sk_buff *skb, u16 family, struct common_audit_data *ad) selinux_netlbl_sock_rcv_skb() argument
[all...]
H A Dnetnode.c55 * family later */
97 * @family: address family
104 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) in sel_netnode_find() argument
109 switch (family) { in sel_netnode_find()
122 if (node->nsec.family == family) in sel_netnode_find()
123 switch (family) { in sel_netnode_find()
150 switch (node->nsec.family) { in sel_netnode_insert()
180 * @family
190 sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) sel_netnode_sid_slow() argument
250 sel_netnode_sid(void *addr, u16 family, u32 *sid) sel_netnode_sid() argument
[all...]
/kernel/linux/linux-6.6/security/selinux/
H A Dnetlabel.c32 * @family: the packet's address family
43 u16 family, in selinux_netlbl_sidlookup_cached()
53 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
131 * @family: the packet's address family
142 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
144 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
182 * @family: protocol family
42 selinux_netlbl_sidlookup_cached(struct sk_buff *skb, u16 family, struct netlbl_lsm_secattr *secattr, u32 *sid) selinux_netlbl_sidlookup_cached() argument
192 selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, u32 *type, u32 *sid) selinux_netlbl_skbuff_getsid() argument
230 selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, u32 sid) selinux_netlbl_skbuff_setsid() argument
328 selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) selinux_netlbl_inet_conn_request() argument
357 selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone() argument
393 selinux_netlbl_socket_post_create(struct sock *sk, u16 family) selinux_netlbl_socket_post_create() argument
432 selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec, struct sk_buff *skb, u16 family, struct common_audit_data *ad) selinux_netlbl_sock_rcv_skb() argument
[all...]
H A Dnetnode.c55 * family later */
96 * @family: address family
103 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) in sel_netnode_find() argument
108 switch (family) { in sel_netnode_find()
121 if (node->nsec.family == family) in sel_netnode_find()
122 switch (family) { in sel_netnode_find()
149 switch (node->nsec.family) { in sel_netnode_insert()
180 * @family
190 sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) sel_netnode_sid_slow() argument
250 sel_netnode_sid(void *addr, u16 family, u32 *sid) sel_netnode_sid() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dcpu_device_id.h14 #include <asm/intel-family.h>
28 * @_family: The family number or X86_FAMILY_ANY
37 * macros of the X86_MATCH_* family. If there is no matching shorthand
45 .family = _family, \
56 * @_family: The family number or X86_FAMILY_ANY
66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \
67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \
71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature
74 * @family: The family numbe
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dcpu_device_id.h14 #include <asm/intel-family.h>
28 * @_family: The family number or X86_FAMILY_ANY
37 * macros of the X86_MATCH_* family. If there is no matching shorthand
45 .family = _family, \
56 * @_family: The family number or X86_FAMILY_ANY
66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \
67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \
71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature
74 * @family: The family numbe
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A 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() argument
152 sa->family = family; in sa46_init_loopback()
153 if (sa->family == AF_INET6) in sa46_init_loopback()
159 static void sa46_init_inany(union sa46 *sa, sa_family_t family) in sa46_init_inany() argument
162 sa->family = family; in sa46_init_inany()
163 if (sa->family == AF_INET6) in sa46_init_inany()
246 static void check_data(int type, sa_family_t family, cons argument
383 send_data(int type, sa_family_t family, void *data, size_t len, enum result expected) send_data() argument
405 do_test(int type, sa_family_t family, struct cmd *cmd, enum result expected) do_test() argument
463 test_err_inner_map(int type, sa_family_t family) test_err_inner_map() argument
474 test_err_skb_data(int type, sa_family_t family) test_err_skb_data() argument
480 test_err_sk_select_port(int type, sa_family_t family) test_err_sk_select_port() argument
491 test_pass(int type, sa_family_t family) test_pass() argument
504 test_syncookie(int type, sa_family_t family) test_syncookie() argument
539 test_pass_on_err(int type, sa_family_t family) test_pass_on_err() argument
550 test_detach_bpf(int type, sa_family_t family) test_detach_bpf() argument
603 prepare_sk_fds(int type, sa_family_t family, bool inany) prepare_sk_fds() argument
677 setup_per_test(int type, sa_family_t family, bool inany, bool no_inner_map) setup_per_test() argument
761 family_str(sa_family_t family) family_str() argument
787 test_config(int sotype, sa_family_t family, bool inany) test_config() argument
832 sa_family_t family; test_all() member
[all...]
H A Dsockmap_listen.c131 #define xsocket(family, sotype, flags) \
133 int __ret = socket(family, sotype, flags); \
252 static void init_addr_loopback(int family, struct sockaddr_storage *ss, in init_addr_loopback() argument
255 switch (family) { in init_addr_loopback()
263 FAIL("unsupported address family %d", family); in init_addr_loopback()
287 static int socket_loopback_reuseport(int family, int sotype, int progfd) in socket_loopback_reuseport() argument
293 init_addr_loopback(family, &addr, &len); in socket_loopback_reuseport()
295 s = xsocket(family, sotype, 0); in socket_loopback_reuseport()
319 static int socket_loopback(int family, in argument
324 test_insert_invalid(int family, int sotype, int mapfd) test_insert_invalid() argument
341 test_insert_opened(int family, int sotype, int mapfd) test_insert_opened() argument
360 test_insert_bound(int family, int sotype, int mapfd) test_insert_bound() argument
387 test_insert(int family, int sotype, int mapfd) test_insert() argument
403 test_delete_after_insert(int family, int sotype, int mapfd) test_delete_after_insert() argument
420 test_delete_after_close(int family, int sotype, int mapfd) test_delete_after_close() argument
443 test_lookup_after_insert(int family, int sotype, int mapfd) test_lookup_after_insert() argument
471 test_lookup_after_delete(int family, int sotype, int mapfd) test_lookup_after_delete() argument
494 test_lookup_32_bit_value(int family, int sotype, int mapfd) test_lookup_32_bit_value() argument
524 test_update_existing(int family, int sotype, int mapfd) test_update_existing() argument
552 test_destroy_orphan_child(int family, int sotype, int mapfd) test_destroy_orphan_child() argument
586 test_clone_after_delete(int family, int sotype, int mapfd) test_clone_after_delete() argument
622 test_accept_after_delete(int family, int sotype, int mapfd) test_accept_after_delete() argument
676 test_accept_before_delete(int family, int sotype, int mapfd) test_accept_before_delete() argument
737 int family, socktype; connect_accept_thread() local
785 test_syn_recv_insert_delete(int family, int sotype, int mapfd) test_syn_recv_insert_delete() argument
848 test_race_insert_listen(int family, int socktype, int mapfd) test_race_insert_listen() argument
922 redir_to_connected(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_connected() argument
1013 test_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_connected() argument
1038 test_msg_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_connected() argument
1056 redir_to_listening(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) redir_to_listening() argument
1124 test_skb_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_skb_redir_to_listening() argument
1149 test_msg_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) test_msg_redir_to_listening() argument
1167 test_reuseport_select_listening(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_listening() argument
1236 test_reuseport_select_connected(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_select_connected() argument
1342 test_reuseport_mixed_groups(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) test_reuseport_mixed_groups() argument
1437 family_str(sa_family_t family) family_str() argument
1479 test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_ops() argument
1535 test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_redir() argument
1566 test_reuseport(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) test_reuseport() argument
1606 run_tests(struct test_sockmap_listen *skel, struct bpf_map *map, int family) run_tests() argument
[all...]

Completed in 21 milliseconds

12345678910>>...75