/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_policer.c | 100 family); in mlxsw_sp_policer_single_rate_family_init() 251 err = family->ops->policer_index_alloc(family, policer); in mlxsw_sp_policer_add() 257 err = family->ops->policer_init(family, policer); in mlxsw_sp_policer_add() 268 family->ops->policer_index_free(family, policer->index); in mlxsw_sp_policer_add() 314 family = kmemdup(tmpl, sizeof(*family), GFP_KERNEL); in mlxsw_sp_policer_family_register() 315 if (!family) in mlxsw_sp_policer_family_register() 322 err = family->ops->init(family); in mlxsw_sp_policer_family_register() 326 if (WARN_ON(family->start_index >= family->end_index)) { in mlxsw_sp_policer_family_register() 336 family->ops->fini(family); in mlxsw_sp_policer_family_register() 340 kfree(family); in mlxsw_sp_policer_family_register() [all …]
|
/linux/net/netlink/ |
A D | genetlink.c | 97 return family; in genl_family_find_byname() 104 return family->n_ops + family->n_small_ops; in genl_get_cmd_cnt() 175 else if (i < family->n_ops + family->n_small_ops) in genl_get_cmd_by_index() 176 genl_op_from_small(family, i - family->n_ops, op); in genl_get_cmd_by_index() 350 if (WARN_ON(family->n_ops && !family->ops) || in genl_validate_ops() 351 WARN_ON(family->n_small_ops && !family->small_ops)) in genl_validate_ops() 416 family->id = idr_alloc_cyclic(&genl_fam_idr, family, in genl_register_family() 419 err = family->id; in genl_register_family() 433 &family->mcgrps[i], family->mcgrp_offset + i); in genl_register_family() 588 info->family = ctx->family; in genl_start() [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
A D | octeon-model.c | 204 family = "38"; in octeon_model_get_string_buffer() 226 family = "30"; in octeon_model_get_string_buffer() 246 family = "30"; in octeon_model_get_string_buffer() 267 family = "58"; in octeon_model_get_string_buffer() 318 family = "50"; in octeon_model_get_string_buffer() 327 family = "61"; in octeon_model_get_string_buffer() 338 family = "63"; in octeon_model_get_string_buffer() 353 family = "66"; in octeon_model_get_string_buffer() 368 family = "68"; in octeon_model_get_string_buffer() 412 family = "70"; in octeon_model_get_string_buffer() [all …]
|
/linux/drivers/soc/renesas/ |
A D | renesas-soc.c | 75 .family = &fam_rza1, 79 .family = &fam_rza2, 94 .family = &fam_rzg1, 99 .family = &fam_rzg1, 104 .family = &fam_rzg1, 109 .family = &fam_rzg1, 114 .family = &fam_rzg1, 119 .family = &fam_rzg2, 124 .family = &fam_rzg2, 347 family = soc->family; in renesas_soc_init() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_listen.c | 255 switch (family) { in init_addr_loopback() 295 s = xsocket(family, sotype, 0); in socket_loopback_reuseport() 347 s = xsocket(family, sotype, 0); in test_insert_opened() 372 s = xsocket(family, sotype, 0); in test_insert_bound() 739 int family, socktype; in connect_accept_thread() local 750 len = sizeof(family); in connect_accept_thread() 1432 switch (family) { in family_str() 1475 int family, int sotype) in test_ops() argument 1804 int family) in test_udp_redir() argument 1979 int family) in test_udp_unix_redir() argument [all …]
|
A D | select_reuseport.c | 50 sa_family_t family; member 153 sa->family = family; in sa46_init_loopback() 154 if (sa->family == AF_INET6) in sa46_init_loopback() 163 sa->family = family; in sa46_init_inany() 164 if (sa->family == AF_INET6) in sa46_init_inany() 273 if (family == AF_INET6) { in check_data() 390 fd = socket(family, type, 0); in send_data() 584 nev, type, family); in test_detach_bpf() 764 switch (family) { in family_str() 822 t->fn(sotype, family); in test_config() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_kms.c | 264 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl() 303 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl() 357 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl() 377 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl() 397 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl() 415 if (rdev->family < CHIP_CAYMAN) in radeon_info_ioctl() 421 if (rdev->family < CHIP_CAYMAN) in radeon_info_ioctl() 426 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl() 443 if (rdev->family < CHIP_R600) { in radeon_info_ioctl() 452 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl() [all …]
|
/linux/security/selinux/include/ |
A D | netlabel.h | 29 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, 36 u16 family, 40 u16 family, 45 void selinux_netlbl_inet_csk_clone(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 107 u16 family) in selinux_netlbl_inet_conn_request() argument 121 u16 family) in selinux_netlbl_socket_post_create() argument [all …]
|
/linux/include/net/ |
A D | genetlink.h | 171 const struct genl_family *family; member 182 int genl_register_family(struct genl_family *family); 213 const struct genl_family *family, in genlmsg_parse_deprecated() argument 232 const struct genl_family *family, in genlmsg_parse() argument 267 const struct genl_family *family, in genlmsg_put_reply() argument 308 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns() 310 group = family->mcgrp_offset + group; in genlmsg_multicast_netns() 428 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err() 430 group = family->mcgrp_offset + group; in genl_set_err() 437 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners() [all …]
|
A D | xfrm.h | 139 u8 family; member 186 u16 family; member 346 u8 family; member 371 u8 family; member 416 switch(family) { in xfrm_af2proto() 515 u16 family; member 531 u16 family; member 1252 switch (family){ in xfrm_flowi_daddr() 1264 switch (family){ in xfrm_flowi_saddr() 1278 switch(family) { in xfrm_flowi_addr_get() [all …]
|
/linux/net/xfrm/ |
A D | xfrm_state.c | 479 if (mode->family == family) in xfrm_get_mode() 484 if (mode->family == family) in xfrm_get_mode() 962 if (x->props.family != family || in __xfrm_state_lookup() 987 if (x->props.family != family || in __xfrm_state_lookup_byaddr() 1045 (x->sel.family != family || in xfrm_state_look_at() 1061 (x->sel.family == family && in xfrm_state_look_at() 1228 if (x->props.family == family && in xfrm_stateonly_find() 1399 x->props.family = family; in __find_acq_core() 1434 family = x->props.family; in xfrm_state_add() 2600 int family = x->props.family; in __xfrm_init_state() local [all …]
|
A D | xfrm_input.c | 56 if (WARN_ON(afinfo->family > AF_INET6)) in xfrm_input_register_afinfo() 90 if (WARN_ON_ONCE(family > AF_INET6)) in xfrm_input_get_afinfo() 359 switch (x->outer_mode.family) { in xfrm_prepare_input() 371 if (x->sel.family == AF_UNSPEC) { in xfrm_prepare_input() 377 switch (inner_mode->family) { in xfrm_prepare_input() 470 unsigned int family = AF_UNSPEC; in xfrm_input() local 493 family = x->outer_mode.family; in xfrm_input() 508 family = XFRM_SPI_SKB_CB(skb)->family; in xfrm_input() 542 family = XFRM_SPI_SKB_CB(skb)->family; in xfrm_input() 545 switch (family) { in xfrm_input() [all …]
|
A D | xfrm_policy.c | 698 .family = pol->family, in xfrm_policy_inexact_alloc_bin() 854 WARN_ON_ONCE(policy->family != family); in xfrm_policy_inexact_list_reinsert() 1485 ret = b->k.family ^ key->family; in xfrm_pol_bin_cmp() 1896 if (pol->family != family || in xfrm_policy_match() 1957 family = b->k.family; in xfrm_policy_find_inexact_candidates() 1984 .family = family, in xfrm_policy_inexact_lookup_rcu() 2169 if (pol->family != family) { in xfrm_sk_policy_lookup() 2311 newp->family = old->family; in clone_policy() 2550 int family = policy->selector.family; in xfrm_bundle_create() local 2598 family = xfrm[i]->props.family; in xfrm_bundle_create() [all …]
|
A D | xfrm_hash.h | 86 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() 154 switch (family) { in __sel_hash() 177 unsigned short family, in __addr_hash() argument [all …]
|
/linux/security/selinux/ |
A D | netlabel.c | 43 u16 family, in selinux_netlbl_sidlookup_cached() argument 53 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached() 145 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err() 190 u16 family, in selinux_netlbl_skbuff_getsid() argument 227 u16 family, in selinux_netlbl_skbuff_setsid() argument 331 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_inet_conn_request() 360 if (family == PF_INET) in selinux_netlbl_inet_csk_clone() 398 if (family != PF_INET && family != PF_INET6) in selinux_netlbl_socket_post_create() 404 rc = netlbl_sock_setattr(sk, family, secattr); in selinux_netlbl_socket_post_create() 433 u16 family, in selinux_netlbl_sock_rcv_skb() argument [all …]
|
A D | netnode.c | 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() 189 static int sel_netnode_sid_slow(void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument 196 node = sel_netnode_find(addr, family); in sel_netnode_sid_slow() 204 switch (family) { in sel_netnode_sid_slow() 222 new->nsec.family = family; in sel_netnode_sid_slow() 249 int sel_netnode_sid(void *addr, u16 family, u32 *sid) in sel_netnode_sid() argument 254 node = sel_netnode_find(addr, family); in sel_netnode_sid() [all …]
|
/linux/tools/testing/selftests/netfilter/ |
A D | nft_nat.sh | 176 local family=$1 185 table $family nat { 251 local family=$1 260 table $family nat { 380 local family=$1 481 local family=$1 582 local family=$1 663 local family=$1 796 local family=$1 814 local family=$1 [all …]
|
/linux/Documentation/devicetree/bindings/arm/omap/ |
A D | l4.txt | 6 - 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/arch/arm/mach-hisi/ |
A D | Kconfig | 17 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 59 bool "Hisilicon SD5203 family" 63 Support for Hisilicon SD5203 SoC family
|
/linux/net/netfilter/ |
A D | xt_socket.c | 156 switch (family) { in socket_mt_enable_defrag() 164 WARN_ONCE(1, "Unknown family %d\n", family); in socket_mt_enable_defrag() 221 if (par->family == NFPROTO_IPV4) in socket_mt_destroy() 223 else if (par->family == NFPROTO_IPV6) in socket_mt_destroy() 231 .family = NFPROTO_IPV4, 240 .family = NFPROTO_IPV4, 253 .family = NFPROTO_IPV6, 266 .family = NFPROTO_IPV4, 279 .family = NFPROTO_IPV6, 292 .family = NFPROTO_IPV4, [all …]
|
/linux/arch/x86/include/asm/ |
A D | cpu_device_id.h | 45 .family = _family, \ 66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument 67 X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(vendor, family, model, \ 83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ argument 84 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, \ 128 #define X86_MATCH_VENDOR_FAM_MODEL(vendor, family, model, data) \ argument 129 X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, \ 144 #define X86_MATCH_VENDOR_FAM(vendor, family, data) \ argument 145 X86_MATCH_VENDOR_FAM_MODEL(vendor, family, X86_MODEL_ANY, data)
|
/linux/tools/testing/selftests/net/ |
A D | reuseport_addr_any.c | 44 switch (family) { in build_rcv_fd() 46 addr4.sin_family = family; in build_rcv_fd() 59 else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) in build_rcv_fd() 66 error(1, 0, "Unsupported family %d", family); in build_rcv_fd() 75 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd() 101 static int connect_and_send(int family, int proto) in connect_and_send() argument 110 switch (family) { in connect_and_send() 130 if (!inet_pton(family, IP6_ADDR, &daddr6.sin6_addr)) in connect_and_send() 139 error(1, 0, "Unsupported family %d", family); in connect_and_send() 147 fd = socket(family, proto, 0); in connect_and_send() [all …]
|
A D | reuseport_bpf_cpu.c | 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() 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() 189 build_rcv_group(rcv_fd, len, family, proto); in test() 204 send_from_cpu(cpu, family, proto); in test() 210 send_from_cpu(cpu, family, proto); in test() 216 send_from_cpu(cpu, family, proto); in test() [all …]
|
/linux/include/trace/events/ |
A D | neigh.h | 32 __field(u32, family) 45 __entry->family = tbl->family; 53 if (tbl->family == AF_INET) 59 if (tbl->family == AF_INET6) { 80 __field(u32, family) 105 __entry->family = n->tbl->family; 117 if (n->tbl->family == AF_INET) 123 if (n->tbl->family == AF_INET6) { 160 __field(u32, family) 182 __entry->family = n->tbl->family; [all …]
|
/linux/net/netlabel/ |
A D | netlabel_domainhash.c | 138 u16 family) in netlbl_domhsh_search() argument 150 netlbl_family_match(iter->family, family) && in netlbl_domhsh_search() 173 u16 family) in netlbl_domhsh_search_def() argument 180 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_search_def() 185 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_search_def() 286 if (entry->family != AF_INET && entry->family != AF_INET6 && in netlbl_domhsh_validate() 431 entry->family); in netlbl_domhsh_add() 441 switch (entry->family) { in netlbl_domhsh_add() 802 if (family == AF_INET || family == AF_UNSPEC) { in netlbl_domhsh_remove() 811 if (family == AF_INET6 || family == AF_UNSPEC) { in netlbl_domhsh_remove() [all …]
|