Home
last modified time | relevance | path

Searched refs:family (Results 1 – 25 of 1283) sorted by relevance

12345678910>>...52

/Linux-v5.4/net/netlink/
Dgenetlink.c89 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()
111 const struct genl_family *family) in genl_get_cmd() argument
115 for (i = 0; i < family->n_ops; i++) in genl_get_cmd()
116 if (family->ops[i].cmd == cmd) in genl_get_cmd()
117 return &family->ops[i]; in genl_get_cmd()
184 static int genl_validate_assign_mc_groups(struct genl_family *family) in genl_validate_assign_mc_groups() argument
[all …]
/Linux-v5.4/arch/mips/cavium-octeon/executive/
Docteon-model.c61 const char *family; in octeon_model_get_string_buffer() local
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 = "55"; in octeon_model_get_string_buffer()
295 family = "57"; in octeon_model_get_string_buffer()
[all …]
/Linux-v5.4/drivers/soc/renesas/
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 = &fam_rzg1,
[all …]
/Linux-v5.4/include/net/
Dgenetlink.h78 struct nlattr **genl_family_attrbuf(const struct genl_family *family);
153 int genl_register_family(struct genl_family *family);
154 int genl_unregister_family(const struct genl_family *family);
155 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
159 const struct genl_family *family, int flags, u8 cmd);
184 const struct genl_family *family, in genlmsg_parse_deprecated() argument
189 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
203 const struct genl_family *family, in genlmsg_parse() argument
208 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
238 const struct genl_family *family, in genlmsg_put_reply() argument
[all …]
Dxfrm.h44 #define MODULE_ALIAS_XFRM_MODE(family, encap) \ argument
45 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap))
46 #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ argument
47 MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
48 #define MODULE_ALIAS_XFRM_OFFLOAD_TYPE(family, proto) \ argument
49 MODULE_ALIAS("xfrm-offload-" __stringify(family) "-" __stringify(proto))
137 u8 family; member
177 u16 family; member
310 unsigned short family);
336 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family);
[all …]
Dnetlabel.h404 u16 family,
409 u16 family,
417 u16 family,
424 u16 family,
473 u16 family,
485 u16 family,
488 u16 family,
490 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway);
496 int netlbl_cache_add(const struct sk_buff *skb, u16 family,
506 u16 family, in netlbl_cfg_map_del() argument
[all …]
/Linux-v5.4/security/selinux/include/
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() argument
86 u16 family, in selinux_netlbl_skbuff_getsid() argument
95 u16 family, in selinux_netlbl_skbuff_setsid() argument
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_select_reuseport.c46 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()
229 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data() argument
255 if (family == AF_INET6) { in check_data()
346 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data() argument
[all …]
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_kms.c244 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
269 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
283 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
285 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
287 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
289 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
291 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
293 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
337 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
340 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
[all …]
/Linux-v5.4/security/selinux/
Dnetlabel.c42 u16 family, in selinux_netlbl_sidlookup_cached() argument
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()
189 u16 family, in selinux_netlbl_skbuff_getsid() argument
202 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
204 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_skbuff_getsid()
226 u16 family, in selinux_netlbl_skbuff_setsid() argument
253 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
324 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request() argument
[all …]
Dnetnode.c104 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()
190 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument
197 node = sel_netnode_find(addr, family); in sel_netnode_sid_slow()
205 switch (family) { in sel_netnode_sid_slow()
223 new->nsec.family = family; in sel_netnode_sid_slow()
250 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid() argument
[all …]
/Linux-v5.4/net/xfrm/
Dxfrm_state.c62 unsigned short family) in xfrm_dst_hash() argument
64 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash()
70 unsigned short family) in xfrm_src_hash() argument
72 return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); in xfrm_src_hash()
77 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash() argument
79 return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); in xfrm_spi_hash()
95 x->props.reqid, x->props.family, in xfrm_hash_transfer()
100 x->props.family, in xfrm_hash_transfer()
106 x->id.proto, x->props.family, in xfrm_hash_transfer()
182 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() argument
[all …]
Dxfrm_input.c55 if (WARN_ON(afinfo->family >= ARRAY_SIZE(xfrm_input_afinfo))) in xfrm_input_register_afinfo()
59 if (unlikely(xfrm_input_afinfo[afinfo->family] != NULL)) in xfrm_input_register_afinfo()
62 rcu_assign_pointer(xfrm_input_afinfo[afinfo->family], afinfo); in xfrm_input_register_afinfo()
73 if (likely(xfrm_input_afinfo[afinfo->family] != NULL)) { in xfrm_input_unregister_afinfo()
74 if (unlikely(xfrm_input_afinfo[afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo()
77 RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->family], NULL); in xfrm_input_unregister_afinfo()
85 static const struct xfrm_input_afinfo *xfrm_input_get_afinfo(unsigned int family) in xfrm_input_get_afinfo() argument
89 if (WARN_ON_ONCE(family >= ARRAY_SIZE(xfrm_input_afinfo))) in xfrm_input_get_afinfo()
93 afinfo = rcu_dereference(xfrm_input_afinfo[family]); in xfrm_input_get_afinfo()
99 static int xfrm_rcv_cb(struct sk_buff *skb, unsigned int family, u8 protocol, in xfrm_rcv_cb() argument
[all …]
Dxfrm_hash.h86 u32 reqid, unsigned short family, in __xfrm_dst_hash() argument
89 unsigned int h = family ^ reqid; in __xfrm_dst_hash()
90 switch (family) { in __xfrm_dst_hash()
103 unsigned short family, in __xfrm_src_hash() argument
106 unsigned int h = family; in __xfrm_src_hash()
107 switch (family) { in __xfrm_src_hash()
120 unsigned short family, unsigned int hmask) in __xfrm_spi_hash() argument
123 switch (family) { in __xfrm_spi_hash()
140 unsigned short family, unsigned int hmask, in __sel_hash() argument
147 switch (family) { in __sel_hash()
[all …]
Dxfrm_policy.c112 u16 family; member
170 xfrm_policy_inexact_lookup(struct net *net, u8 type, u16 family, u8 dir,
175 u8 type, u16 family, u8 dir, u32 if_id);
220 unsigned short family) in xfrm_selector_match() argument
222 switch (family) { in xfrm_selector_match()
231 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo() argument
235 if (unlikely(family >= ARRAY_SIZE(xfrm_policy_afinfo))) in xfrm_policy_get_afinfo()
238 afinfo = rcu_dereference(xfrm_policy_afinfo[family]); in xfrm_policy_get_afinfo()
253 int family, u32 mark) in __xfrm_dst_lookup() argument
258 afinfo = xfrm_policy_get_afinfo(family); in __xfrm_dst_lookup()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/arm/omap/
Dl4.txt6 - compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus
7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus
8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus
9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus
10 Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus
11 Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus
12 Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus
13 Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus
14 Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus
15 Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus
[all …]
/Linux-v5.4/tools/power/cpupower/utils/helpers/
Damd.c42 static int get_did(int family, union msr_pstate pstate) in get_did() argument
46 if (family == 0x12) in get_did()
48 else if (family == 0x17 || family == 0x18) in get_did()
56 static int get_cof(int family, union msr_pstate pstate) in get_cof() argument
61 did = get_did(family, pstate); in get_cof()
62 if (family == 0x17 || family == 0x18) { in get_cof()
68 if (family == 0x11) in get_cof()
/Linux-v5.4/tools/testing/selftests/netfilter/
Dnft_nat.sh161 local family=$1
165 if [ $family = "inet" ];then
170 table $family nat {
178 echo "SKIP: Could not add add $family dnat hook"
228 test $lret -eq 0 && echo "PASS: ipv6 ping to ns1 was $family NATted to ns2"
236 local family=$1
240 if [ $family = "inet" ];then
245 table $family nat {
253 if [ $family = "inet" ];then
258 echo "SKIP: Could not add add $family dnat hook"
[all …]
/Linux-v5.4/tools/testing/selftests/net/
Dreuseport_addr_any.c30 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count, in build_rcv_fd() argument
40 switch (family) { in build_rcv_fd()
42 addr4.sin_family = family; in build_rcv_fd()
45 else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) in build_rcv_fd()
55 else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) in build_rcv_fd()
62 error(1, 0, "Unsupported family %d", family); in build_rcv_fd()
71 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd()
97 static int connect_and_send(int family, int proto) in connect_and_send() argument
106 switch (family) { in connect_and_send()
113 if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) in connect_and_send()
[all …]
Dreuseport_bpf_cpu.c34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() argument
42 switch (family) { in build_rcv_group()
56 error(1, 0, "Unsupported family %d", family); in build_rcv_group()
60 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group()
94 static void send_from_cpu(int cpu_id, int family, int proto) in send_from_cpu() argument
102 switch (family) { in send_from_cpu()
126 error(1, 0, "Unsupported family %d", family); in send_from_cpu()
134 fd = socket(family, proto, 0); in send_from_cpu()
184 static void test(int *rcv_fd, int len, int family, int proto) in test() argument
189 build_rcv_group(rcv_fd, len, family, proto); in test()
[all …]
/Linux-v5.4/include/trace/events/
Dneigh.h32 __field(u32, family)
45 __entry->family = tbl->family;
53 if (tbl->family == AF_INET)
59 if (tbl->family == AF_INET6) {
67 __entry->family, __get_str(dev), __entry->entries,
80 __field(u32, family)
105 __entry->family = n->tbl->family;
117 if (n->tbl->family == AF_INET)
123 if (n->tbl->family == AF_INET6) {
145 __entry->family, __get_str(dev),
[all …]
/Linux-v5.4/net/netfilter/
Dxt_socket.c154 static int socket_mt_enable_defrag(struct net *net, int family) in socket_mt_enable_defrag() argument
156 switch (family) { in socket_mt_enable_defrag()
164 WARN_ONCE(1, "Unknown family %d\n", family); in socket_mt_enable_defrag()
173 err = socket_mt_enable_defrag(par->net, par->family); in socket_mt_v1_check()
190 err = socket_mt_enable_defrag(par->net, par->family); in socket_mt_v2_check()
208 err = socket_mt_enable_defrag(par->net, par->family); in socket_mt_v3_check()
223 .family = NFPROTO_IPV4,
232 .family = NFPROTO_IPV4,
244 .family = NFPROTO_IPV6,
256 .family = NFPROTO_IPV4,
[all …]
/Linux-v5.4/arch/arm/mach-hisi/
DKconfig17 bool "Hisilicon Hi36xx family"
25 Support for Hisilicon Hi36xx SoC family
28 bool "Hisilicon HIP01 family"
34 Support for Hisilicon HIP01 SoC family
37 bool "Hisilicon HiP04 Cortex A15 family"
45 Support for Hisilicon HiP04 SoC family
48 bool "Hisilicon X5HD2 family"
56 Support for Hisilicon HIX5HD2 SoC family
/Linux-v5.4/net/netlabel/
Dnetlabel_domainhash.c137 u16 family) in netlbl_domhsh_search() argument
148 netlbl_family_match(iter->family, family) && in netlbl_domhsh_search()
171 u16 family) in netlbl_domhsh_search_def() argument
175 entry = netlbl_domhsh_search(domain, family); in netlbl_domhsh_search_def()
178 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_search_def()
183 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_search_def()
284 if (entry->family != AF_INET && entry->family != AF_INET6 && in netlbl_domhsh_validate()
285 (entry->family != AF_UNSPEC || in netlbl_domhsh_validate()
296 if (entry->family != AF_INET || in netlbl_domhsh_validate()
301 if (entry->family != AF_INET6 || in netlbl_domhsh_validate()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dmicrocode_amd.h47 extern void __init load_ucode_amd_bsp(unsigned int family);
48 extern void load_ucode_amd_ap(unsigned int family);
49 extern int __init save_microcode_in_initrd_amd(unsigned int family);
52 static inline void __init load_ucode_amd_bsp(unsigned int family) {} in load_ucode_amd_bsp() argument
53 static inline void load_ucode_amd_ap(unsigned int family) {} in load_ucode_amd_ap() argument
55 save_microcode_in_initrd_amd(unsigned int family) { return -EINVAL; } in save_microcode_in_initrd_amd() argument

12345678910>>...52