/linux-master/include/linux/ |
H A D | genetlink.h | 16 #define MODULE_ALIAS_GENL_FAMILY(family)\ 17 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | vortex.c | 15 .family = 5, 22 .family = 6, 26 * have the same family and model id.
|
H A D | umc.c | 15 { .family = 4, .model_names =
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | mptcpify.c | 11 int BPF_PROG(mptcpify, int family, int type, int protocol) argument 13 if ((family == AF_INET || family == AF_INET6) &&
|
H A D | bind_perm.c | 10 static __always_inline int bind_prog(struct bpf_sock_addr *ctx, int family) argument 18 if (sk->family != family)
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_policer.c | 30 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 D | genetlink.c | 55 static void genl_op_lock(const struct genl_family *family) argument 57 if (!family->parallel_ops) 61 static void genl_op_unlock(const struct genl_family *family) argument 63 if (!family->parallel_ops) 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, argument 109 if (op->policy || op->cmd < family->resv_start_op) 117 genl_op_fill_in_reject_policy_split(const struct genl_family *family, argument 134 const struct genl_family *family; local 145 const struct genl_family *family; member in struct:genl_op_iter 154 genl_op_from_full(const struct genl_family *family, unsigned int i, struct genl_ops *op) argument 167 genl_get_cmd_full(u32 cmd, const struct genl_family *family, struct genl_ops *op) argument 181 genl_op_from_small(const struct genl_family *family, unsigned int i, struct genl_ops *op) argument 198 genl_get_cmd_small(u32 cmd, const struct genl_family *family, struct genl_ops *op) argument 214 const struct genl_family *family = iter->family; local 242 genl_get_cmd_split(u32 cmd, u8 flag, const struct genl_family *family, struct genl_split_ops *op) argument 258 genl_cmd_full_to_split(struct genl_split_ops *op, const struct genl_family *family, const struct genl_ops *full, u8 flags) argument 300 genl_get_cmd(u32 cmd, u8 flags, const struct genl_family *family, struct genl_split_ops *op) argument 323 genl_get_cmd_both(u32 cmd, const struct genl_family *family, struct genl_split_ops *doit, struct genl_split_ops *dumpit) argument 335 genl_op_iter_init(const struct genl_family *family, struct genl_op_iter *iter) argument 350 const struct genl_family *family = iter->family; local 458 genl_validate_assign_mc_groups(struct genl_family *family) argument 536 genl_unregister_mc_groups(const struct genl_family *family) argument 569 genl_validate_ops(const struct genl_family *family) argument 634 genl_sk_priv_alloc(struct genl_family *family) argument 648 genl_sk_priv_free(const struct genl_family *family, void *priv) argument 655 genl_sk_privs_alloc(struct genl_family *family) argument 667 genl_sk_privs_free(const struct genl_family *family) argument 682 genl_sk_priv_free_by_sock(struct genl_family *family, struct sock *sk) argument 697 struct genl_family *family; local 721 __genl_sk_priv_get(struct genl_family *family, struct sock *sk) argument 740 genl_sk_priv_get(struct genl_family *family, struct sock *sk) argument 778 genl_register_family(struct genl_family *family) argument 853 genl_unregister_family(const struct genl_family *family) argument 891 genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, const struct genl_family *family, int flags, u8 cmd) argument 922 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 958 const struct genl_family *family; member in struct:genl_start_context 1049 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 1080 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 1124 genl_header_check(const struct genl_family *family, struct nlmsghdr *nlh, struct genlmsghdr *hdr, struct netlink_ext_ack *extack) argument 1154 genl_family_rcv_msg(const struct genl_family *family, struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack) argument 1200 const struct genl_family *family; local 1227 ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, u32 flags, struct sk_buff *skb, u8 cmd) argument 1310 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 1380 ctrl_build_family_msg(const struct genl_family *family, u32 portid, int seq, u8 cmd) argument 1400 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 1474 genl_ctrl_event(int event, const struct genl_family *family, const struct genl_multicast_group *grp, int grp_id) argument 1816 const struct genl_family *family; local 1853 const struct genl_family *family; local 1967 genlmsg_multicast_allns(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument 1979 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 D | netnode.h | 24 int sel_netnode_sid(void *addr, u16 family, u32 *sid);
|
H A D | netlabel.h | 29 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 D | octeon-model.c | 61 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 D | vermagic.h | 14 # error unknown processor family 24 # error unknown processor family
|
/linux-master/arch/x86/include/asm/ |
H A D | cpu_device_id.h | 14 #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...] |
/linux-master/net/ipv4/ |
H A D | netlink.c | 10 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 D | xfrm4_state.c | 14 .family = AF_INET,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | ipsec_fs_roce.h | 12 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/drivers/soc/renesas/ |
H A D | renesas-soc.c | 92 const struct renesas_family *family; member in struct:renesas_soc 97 .family = &fam_rza1, 101 .family = &fam_rza2, 106 .family = &fam_rmobile, 111 .family = &fam_rmobile, 116 .family = &fam_rzfive, 121 .family = &fam_rzg1, 126 .family = &fam_rzg1, 131 .family = &fam_rzg1, 136 .family 460 const struct renesas_family *family; local [all...] |
/linux-master/samples/bpf/ |
H A D | sock_flags.bpf.c | 9 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 D | xdp_tx_iptunnel_common.h | 17 __u16 family; member in struct:vip 30 __u16 family; member in struct:iptnl_info
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_iptunnel_common.h | 17 __u16 family; member in struct:vip 30 __u16 family; member in struct:iptnl_info
|
/linux-master/include/net/ |
H A D | genetlink.h | 18 * @name: name of the multicast group, names are per-family 30 * struct genl_family - generic netlink family 32 * @name: name of family 36 * @netnsok: set to true if the family can handle network 44 * @bind: called when family multicast group is added to a netlink socket 45 * @unbind: called when family multicast group is removed from a netlink socket 47 * @mcgrps: multicast groups used by this family 52 * @ops: the operations supported by this family 53 * @n_ops: number of operations supported by this family 54 * @small_ops: the small-struct operations supported by this family 125 const struct genl_family *family; member in struct:genl_info 301 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, u8 cmd) argument 375 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 394 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 428 genlmsg_put_reply(struct sk_buff *skb, struct genl_info *info, const struct genl_family *family, int flags, u8 cmd) argument 474 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 496 genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument 512 genlmsg_multicast(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument 615 genl_set_err(const struct genl_family *family, struct net *net, u32 portid, u32 group, int code) argument 625 genl_has_listeners(const struct genl_family *family, struct net *net, unsigned int group) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_ktls.c | 13 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...] |
/linux-master/drivers/dma/ti/ |
H A D | k3-psil.c | 21 { .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 D | netnode.c | 55 * 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 D | xt_TRACE.c | 17 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 D | xfrm_hash.h | 86 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...] |