/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
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; 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->mlxsw_sp->core; in mlxsw_sp_policer_single_rate_family_init() [all …]
|
/kernel/linux/linux-5.10/net/netlink/ |
D | genetlink.c | 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->n_small_ops; in genl_get_cmd_cnt() 115 static void genl_op_from_full(const struct genl_family *family, in genl_op_from_full() argument 118 *op = family->ops[i]; in genl_op_from_full() 121 op->maxattr = family->maxattr; in genl_op_from_full() [all …]
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
D | octeon-model.c | 61 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 …]
|
/kernel/linux/linux-5.10/drivers/soc/renesas/ |
D | renesas-soc.c | 66 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 …]
|
/kernel/linux/linux-5.10/security/selinux/include/ |
D | netlabel.h | 29 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 …]
|
/kernel/linux/linux-5.10/include/net/ |
D | genetlink.h | 170 const struct genl_family *family; member 181 int genl_register_family(struct genl_family *family); 182 int genl_unregister_family(const struct genl_family *family); 183 void genl_notify(const struct genl_family *family, struct sk_buff *skb, 187 const struct genl_family *family, int flags, u8 cmd); 212 const struct genl_family *family, in genlmsg_parse_deprecated() argument 217 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated() 231 const struct genl_family *family, in genlmsg_parse() argument 236 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse() 266 const struct genl_family *family, in genlmsg_put_reply() argument [all …]
|
D | xfrm.h | 45 #define MODULE_ALIAS_XFRM_MODE(family, encap) \ argument 46 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap)) 47 #define MODULE_ALIAS_XFRM_TYPE(family, proto) \ argument 48 MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto)) 49 #define MODULE_ALIAS_XFRM_OFFLOAD_TYPE(family, proto) \ argument 50 MODULE_ALIAS("xfrm-offload-" __stringify(family) "-" __stringify(proto)) 139 u8 family; member 179 u16 family; member 318 unsigned short family); 344 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family); [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_listen.c | 131 #define xsocket(family, sotype, flags) \ argument 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, int sotype) in socket_loopback() argument 321 return socket_loopback_reuseport(family, sotype, -1); in socket_loopback() [all …]
|
D | select_reuseport.c | 50 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, const struct cmd *cmd, in check_data() argument 272 if (family == AF_INET6) { in check_data() 383 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data() argument [all …]
|
D | sockmap_ktls.c | 12 static int tcp_server(int family) in tcp_server() argument 16 s = socket(family, SOCK_STREAM, 0); in tcp_server() 39 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) in test_sockmap_ktls_disconnect_after_delete() argument 45 srv = tcp_server(family); in test_sockmap_ktls_disconnect_after_delete() 55 cli = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_disconnect_after_delete() 95 static void run_tests(int family, enum bpf_map_type map_type) in run_tests() argument 108 family == AF_INET ? "IPv4" : "IPv6", in run_tests() 113 test_sockmap_ktls_disconnect_after_delete(family, map); in run_tests()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_kms.c | 250 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 >= CHIP_BONAIRE) in radeon_info_ioctl() 346 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl() [all …]
|
/kernel/linux/linux-5.10/security/selinux/ |
D | netlabel.c | 42 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 …]
|
D | netnode.c | 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() 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 …]
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_state.c | 61 unsigned short family) in xfrm_dst_hash() argument 63 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash() 69 unsigned short family) in xfrm_src_hash() argument 71 return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); in xfrm_src_hash() 76 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash() argument 78 return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); in xfrm_spi_hash() 94 x->props.reqid, x->props.family, in xfrm_hash_transfer() 99 x->props.family, in xfrm_hash_transfer() 105 x->id.proto, x->props.family, in xfrm_hash_transfer() 181 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() argument [all …]
|
D | xfrm_input.c | 56 if (WARN_ON(afinfo->family > AF_INET6)) in xfrm_input_register_afinfo() 60 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) in xfrm_input_register_afinfo() 63 rcu_assign_pointer(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], afinfo); in xfrm_input_register_afinfo() 74 if (likely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) { in xfrm_input_unregister_afinfo() 75 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo() 78 RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], NULL); in xfrm_input_unregister_afinfo() 86 static const struct xfrm_input_afinfo *xfrm_input_get_afinfo(u8 family, bool is_ipip) in xfrm_input_get_afinfo() argument 90 if (WARN_ON_ONCE(family > AF_INET6)) in xfrm_input_get_afinfo() 94 afinfo = rcu_dereference(xfrm_input_afinfo[is_ipip][family]); in xfrm_input_get_afinfo() 100 static int xfrm_rcv_cb(struct sk_buff *skb, unsigned int family, u8 protocol, in xfrm_rcv_cb() argument [all …]
|
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() 140 unsigned short family, unsigned int hmask, in __sel_hash() argument 147 switch (family) { in __sel_hash() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/omap/ |
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 …]
|
/kernel/linux/linux-5.10/arch/arm/mach-hisi/ |
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
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
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)
|
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/ |
D | amd.c | 42 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
D | nft_nat.sh | 176 local family=$1 180 if [ $family = "inet" ];then 185 table $family nat { 193 echo "SKIP: Could not add add $family dnat hook" 243 test $lret -eq 0 && echo "PASS: ipv6 ping to $ns1 was $family NATted to $ns2" 251 local family=$1 255 if [ $family = "inet" ];then 260 table $family nat { 268 if [ $family = "inet" ];then 273 echo "SKIP: Could not add add $family dnat hook" [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | reuseport_addr_any.c | 34 static void build_rcv_fd(int family, int proto, int *rcv_fds, int count, in build_rcv_fd() argument 44 switch (family) { in build_rcv_fd() 46 addr4.sin_family = family; in build_rcv_fd() 49 else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) 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() 117 if (!inet_pton(family, IP4_ADDR, &daddr4.sin_addr.s_addr)) in connect_and_send() [all …]
|
D | reuseport_bpf_cpu.c | 34 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 …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | neigh.h | 32 __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 …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_socket.c | 154 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 …]
|