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

1234567891011>>

/linux-master/arch/x86/kernel/cpu/
H A Dvortex.c15 .family = 5,
22 .family = 6,
26 * have the same family and model id.
H A Dumc.c15 { .family = 4, .model_names =
/linux-master/tools/testing/selftests/bpf/progs/
H A Dmptcpify.c12 int BPF_PROG(mptcpify, int family, int type, int protocol) argument
17 if ((family == AF_INET || family == AF_INET6) &&
H A Dbind_perm.c10 static __always_inline int bind_prog(struct bpf_sock_addr *ctx, int family) argument
18 if (sk->family != family)
H A Dlsm_cgroup.c51 static __always_inline int real_create(struct socket *sock, int family, argument
58 if (family == AF_PACKET && protocol != 0)
85 int BPF_PROG(socket_post_create, struct socket *sock, int family, argument
89 return real_create(sock, family, protocol);
94 int BPF_PROG(socket_post_create2, struct socket *sock, int family, argument
98 return real_create(sock, family, protocol);
148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) argument
155 if (family == AF_UNIX)
/linux-master/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; local
76 return atomic_read(&family->policers_count);
80 mlxsw_sp_policer_single_rate_family_init(struct mlxsw_sp_policer_family *family) argument
82 struct mlxsw_core *core = family
106 mlxsw_sp_policer_single_rate_family_fini(struct mlxsw_sp_policer_family *family) argument
116 mlxsw_sp_policer_single_rate_index_alloc(struct mlxsw_sp_policer_family *family, struct mlxsw_sp_policer *policer) argument
136 mlxsw_sp_policer_single_rate_index_free(struct mlxsw_sp_policer_family *family, u16 policer_index) argument
153 mlxsw_sp_policer_single_rate_init(struct mlxsw_sp_policer_family *family, const struct mlxsw_sp_policer *policer) 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) argument
236 struct mlxsw_sp_policer_family *family; local
277 struct mlxsw_sp_policer_family *family; local
289 struct mlxsw_sp_policer_family *family; local
311 struct mlxsw_sp_policer_family *family; local
345 mlxsw_sp_policer_family_unregister(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_policer_family *family) argument
380 struct mlxsw_sp_policer_family *family; local
395 struct mlxsw_sp_policer_family *family; local
[all...]
/linux-master/net/netlink/
H A Dgenetlink.c57 static void genl_op_lock(const struct genl_family *family) argument
59 if (!family->parallel_ops)
63 static void genl_op_unlock(const struct genl_family *family) argument
65 if (!family->parallel_ops)
84 * also abused this API and relied on family == group ID, we
85 * cater to that by giving it a static family and group ID.
101 static int genl_ctrl_event(int event, const struct genl_family *family,
106 genl_op_fill_in_reject_policy(const struct genl_family *family, argument
111 if (op->policy || op->cmd < family->resv_start_op)
119 genl_op_fill_in_reject_policy_split(const struct genl_family *family, argument
136 const struct genl_family *family; local
147 const struct genl_family *family; member in struct:genl_op_iter
156 genl_op_from_full(const struct genl_family *family, unsigned int i, struct genl_ops *op) argument
169 genl_get_cmd_full(u32 cmd, const struct genl_family *family, struct genl_ops *op) argument
183 genl_op_from_small(const struct genl_family *family, unsigned int i, struct genl_ops *op) argument
200 genl_get_cmd_small(u32 cmd, const struct genl_family *family, struct genl_ops *op) argument
216 const struct genl_family *family = iter->family; local
244 genl_get_cmd_split(u32 cmd, u8 flag, const struct genl_family *family, struct genl_split_ops *op) argument
260 genl_cmd_full_to_split(struct genl_split_ops *op, const struct genl_family *family, const struct genl_ops *full, u8 flags) argument
302 genl_get_cmd(u32 cmd, u8 flags, const struct genl_family *family, struct genl_split_ops *op) argument
325 genl_get_cmd_both(u32 cmd, const struct genl_family *family, struct genl_split_ops *doit, struct genl_split_ops *dumpit) argument
337 genl_op_iter_init(const struct genl_family *family, struct genl_op_iter *iter) argument
352 const struct genl_family *family = iter->family; local
460 genl_validate_assign_mc_groups(struct genl_family *family) argument
538 genl_unregister_mc_groups(const struct genl_family *family) argument
571 genl_validate_ops(const struct genl_family *family) argument
636 genl_sk_priv_alloc(struct genl_family *family) argument
650 genl_sk_priv_free(const struct genl_family *family, void *priv) argument
657 genl_sk_privs_alloc(struct genl_family *family) argument
669 genl_sk_privs_free(const struct genl_family *family) argument
684 genl_sk_priv_free_by_sock(struct genl_family *family, struct sock *sk) argument
699 struct genl_family *family; local
723 __genl_sk_priv_get(struct genl_family *family, struct sock *sk) argument
742 genl_sk_priv_get(struct genl_family *family, struct sock *sk) argument
780 genl_register_family(struct genl_family *family) argument
855 genl_unregister_family(const struct genl_family *family) argument
893 genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, const struct genl_family *family, int flags, u8 cmd) argument
924 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) argument
960 const struct genl_family *family; member in struct:genl_start_context
1051 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) argument
1082 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) argument
1126 genl_header_check(const struct genl_family *family, struct nlmsghdr *nlh, struct genlmsghdr *hdr, struct netlink_ext_ack *extack) argument
1156 genl_family_rcv_msg(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack) argument
1202 const struct genl_family *family; local
1229 ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) argument
1312 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) argument
1382 ctrl_build_family_msg(const struct genl_family *family, u32 portid, int seq, u8 cmd) argument
1402 ctrl_build_mcgrp_msg(const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id, u32 portid, int seq, u8 cmd) argument
1476 genl_ctrl_event(int event, const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id) argument
1818 const struct genl_family *family; local
1855 const struct genl_family *family; local
1969 genlmsg_multicast_allns(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
1981 genl_notify(const struct genl_family *family, struct sk_buff *skb, struct genl_info *info, u32 group, gfp_t flags) argument
[all...]
/linux-master/security/selinux/include/
H A Dnetnode.h24 int sel_netnode_sid(void *addr, u16 family, u32 *sid);
H A Dnetlabel.h29 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error,
35 int selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, u32 *type,
37 int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, u32 sid);
40 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
41 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
43 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
45 struct sk_buff *skb, u16 family,
59 static inline void selinux_netlbl_err(struct sk_buff *skb, u16 family, argument
77 static inline int selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, argument
84 static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, argument
96 selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) argument
101 selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) argument
110 selinux_netlbl_socket_post_create(struct sock *sk, u16 family) argument
114 selinux_netlbl_sock_rcv_skb(struct sk_security_struct *sksec, struct sk_buff *skb, u16 family, struct common_audit_data *ad) argument
[all...]
/linux-master/arch/mips/cavium-octeon/executive/
H A Docteon-model.c61 const char *family; local
191 /* Now figure out the family, the first two digits */
200 family = "37";
202 family = "36";
204 family = "38";
226 family = "30";
228 family = "31";
246 family = "30";
267 family = "58";
293 family
[all...]
/linux-master/arch/sh/include/asm/
H A Dvermagic.h14 # error unknown processor family
24 # error unknown processor family
/linux-master/drivers/soc/renesas/
H A Drenesas-soc.c96 const struct renesas_family *family; member in struct:renesas_soc
101 .family = &fam_rza1,
105 .family = &fam_rza2,
110 .family = &fam_rmobile,
115 .family = &fam_rmobile,
120 .family = &fam_rzfive,
125 .family = &fam_rzg1,
130 .family = &fam_rzg1,
135 .family = &fam_rzg1,
140 .family
478 const struct renesas_family *family; local
[all...]
/linux-master/net/ipv4/
H A Dnetlink.c10 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, argument
20 if (family != AF_INET)
25 if (family != AF_INET6)
H A Dxfrm4_state.c14 .family = AF_INET,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dipsec_fs_roce.h12 mlx5_ipsec_fs_roce_ft_get(struct mlx5_ipsec_fs *ipsec_roce, u32 family);
14 u32 family, struct mlx5_core_dev *mdev);
19 u32 family, u32 level, u32 prio);
/linux-master/include/net/
H A Dgenetlink.h16 #define MODULE_ALIAS_GENL_FAMILY(family) \
17 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
26 * @name: name of the multicast group, names are per-family
38 * struct genl_family - generic netlink family
40 * @name: name of family
44 * @netnsok: set to true if the family can handle network
52 * @bind: called when family multicast group is added to a netlink socket
53 * @unbind: called when family multicast group is removed from a netlink socket
55 * @mcgrps: multicast groups used by this family
133 const struct genl_family *family; member in struct:genl_info
309 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, u8 cmd) argument
383 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) argument
402 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) argument
436 genlmsg_put_reply(struct sk_buff *skb, struct genl_info *info, const struct genl_family *family, int flags, u8 cmd) argument
482 genlmsg_multicast_netns_filtered(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags, netlink_filter_fn filter, void *filter_data) argument
504 genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
520 genlmsg_multicast(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
623 genl_set_err(const struct genl_family *family, struct net *net, u32 portid, u32 group, int code) argument
633 genl_has_listeners(const struct genl_family *family, struct net *net, unsigned int group) argument
[all...]
/linux-master/samples/bpf/
H A Dsock_flags.bpf.c9 char fmt[] = "socket: family %d type %d protocol %d\n";
15 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol);
21 if (sk->family == AF_INET6 &&
32 char fmt[] = "socket: family %d type %d protocol %d\n";
34 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol);
39 if (sk->family == AF_INET &&
H A Dxdp_tx_iptunnel_common.h17 __u16 family; member in struct:vip
30 __u16 family; member in struct:iptnl_info
/linux-master/tools/testing/selftests/bpf/
H A Dtest_iptunnel_common.h17 __u16 family; member in struct:vip
30 __u16 family; member in struct:iptnl_info
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_ktls.c13 static int tcp_server(int family) argument
17 s = socket(family, SOCK_STREAM, 0);
36 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) argument
42 srv = tcp_server(family);
50 cli = socket(family, SOCK_STREAM, 0);
79 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) argument
87 switch (family) {
97 PRINT_FAIL("unsupported socket family %d", family);
101 s = socket(family, SOCK_STREA
135 fmt_test_name(const char *subtest_name, int family, enum bpf_map_type map_type) argument
149 run_tests(int family, enum bpf_map_type map_type) argument
[all...]
H A Dsockmap_listen.c33 int family, int sotype, int mapfd)
51 int family, int sotype, int mapfd)
57 s = xsocket(family, sotype, 0);
73 int family, int sotype, int mapfd)
81 init_addr_loopback(family, &addr, &len);
83 s = xsocket(family, sotype, 0);
101 int family, int sotype, int mapfd)
107 s = socket_loopback(family, sotype);
118 int family, int sotype, int mapfd)
124 s = socket_loopback(family, sotyp
32 test_insert_invalid(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
50 test_insert_opened(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
72 test_insert_bound(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
100 test_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
117 test_delete_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
135 test_delete_after_close(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
159 test_lookup_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
188 test_lookup_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
212 test_lookup_32_bit_value(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
243 test_update_existing(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
272 do_destroy_orphan_child(int family, int sotype, int mapfd) argument
303 test_destroy_orphan_child(struct test_sockmap_listen *skel, int family, int sotype, int mapfd) argument
333 test_clone_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
370 test_accept_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
425 test_accept_before_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
487 int family, socktype; local
535 test_syn_recv_insert_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
599 test_race_insert_listen(struct test_sockmap_listen *skel __always_unused, int family, int socktype, int mapfd) argument
674 redir_to_connected(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument
727 test_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
752 test_msg_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
770 test_msg_redir_to_connected_with_link(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
788 redir_to_listening(int family, int sotype, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument
847 test_skb_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
872 test_msg_redir_to_listening(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
890 test_msg_redir_to_listening_with_link(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
908 redir_partial(int family, int sotype, int sock_map, int parser_map) argument
954 test_skb_redir_partial(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family, int sotype) argument
979 test_reuseport_select_listening(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) argument
1048 test_reuseport_select_connected(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) argument
1154 test_reuseport_mixed_groups(int family, int sotype, int sock_map, int verd_map, int reuseport_prog) argument
1240 family_str(sa_family_t family) argument
1286 test_ops(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) argument
1343 test_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) argument
1630 test_reuseport(struct test_sockmap_listen *skel, struct bpf_map *map, int family, int sotype) argument
1670 inet_socketpair(int family, int type, int *s, int *c) argument
1712 udp_redir_to_connected(int family, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument
1734 udp_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) argument
1754 test_udp_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family) argument
1768 inet_unix_redir_to_connected(int family, int type, int sock_mapfd, int verd_mapfd, enum redir_mode mode) argument
1792 inet_unix_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) argument
1818 unix_inet_redir_to_connected(int family, int type, int sock_mapfd, int nop_mapfd, int verd_mapfd, enum redir_mode mode) argument
1846 unix_inet_skb_redir_to_connected(struct test_sockmap_listen *skel, struct bpf_map *inner_map, int family) argument
1891 test_udp_unix_redir(struct test_sockmap_listen *skel, struct bpf_map *map, int family) argument
1906 run_tests(struct test_sockmap_listen *skel, struct bpf_map *map, int family) argument
[all...]
/linux-master/drivers/dma/ti/
H A Dk3-psil.c21 { .family = "AM65X", .data = &am654_ep_map },
22 { .family = "J721E", .data = &j721e_ep_map },
23 { .family = "J7200", .data = &j7200_ep_map },
24 { .family = "AM64X", .data = &am64_ep_map },
25 { .family = "J721S2", .data = &j721s2_ep_map },
26 { .family = "AM62X", .data = &am62_ep_map },
27 { .family = "AM62AX", .data = &am62a_ep_map },
28 { .family = "J784S4", .data = &j784s4_ep_map },
29 { .family = "AM62PX", .data = &am62p_ep_map },
30 { .family
[all...]
/linux-master/security/selinux/
H A Dnetnode.c55 * family later */
96 * @family: address family
103 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) argument
108 switch (family) {
121 if (node->nsec.family == family)
122 switch (family) {
149 switch (node->nsec.family) {
180 * @family
190 sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) argument
250 sel_netnode_sid(void *addr, u16 family, u32 *sid) argument
[all...]
/linux-master/net/netfilter/
H A Dxt_TRACE.c17 return nf_logger_find_get(par->family, NF_LOG_TYPE_LOG);
22 nf_logger_put(par->family, NF_LOG_TYPE_LOG);
35 .family = NFPROTO_UNSPEC,
/linux-master/net/xfrm/
H A Dxfrm_hash.h86 u32 reqid, unsigned short family,
89 unsigned int h = family ^ reqid;
90 switch (family) {
103 unsigned short family,
106 unsigned int h = family;
107 switch (family) {
120 unsigned short family, unsigned int hmask)
123 switch (family) {
147 unsigned short family, unsigned int hmask,
154 switch (family) {
84 __xfrm_dst_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, u32 reqid, unsigned short family, unsigned int hmask) argument
101 __xfrm_src_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask) argument
119 __xfrm_spi_hash(const xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family, unsigned int hmask) argument
146 __sel_hash(const struct xfrm_selector *sel, unsigned short family, unsigned int hmask, u8 dbits, u8 sbits) argument
175 __addr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask, u8 dbits, u8 sbits) argument
[all...]

Completed in 383 milliseconds

1234567891011>>