Home
last modified time | relevance | path

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

12345678910>>...55

/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
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; 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 …]
/Linux-v6.1/net/netlink/
Dgenetlink.c87 static int genl_ctrl_event(int event, const struct genl_family *family,
92 genl_op_fill_in_reject_policy(const struct genl_family *family, in genl_op_fill_in_reject_policy() argument
97 if (op->policy || op->cmd < family->resv_start_op) in genl_op_fill_in_reject_policy()
111 const struct genl_family *family; in genl_family_find_byname() local
114 idr_for_each_entry(&genl_fam_idr, family, id) in genl_family_find_byname()
115 if (strcmp(family->name, name) == 0) in genl_family_find_byname()
116 return family; in genl_family_find_byname()
121 static int genl_get_cmd_cnt(const struct genl_family *family) in genl_get_cmd_cnt() argument
123 return family->n_ops + family->n_small_ops; in genl_get_cmd_cnt()
126 static void genl_op_from_full(const struct genl_family *family, in genl_op_from_full() argument
[all …]
/Linux-v6.1/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-v6.1/drivers/soc/renesas/
Drenesas-soc.c86 const struct renesas_family *family; member
91 .family = &fam_rza1,
95 .family = &fam_rza2,
100 .family = &fam_rmobile,
105 .family = &fam_rmobile,
110 .family = &fam_rzfive,
115 .family = &fam_rzg1,
120 .family = &fam_rzg1,
125 .family = &fam_rzg1,
130 .family = &fam_rzg1,
[all …]
/Linux-v6.1/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-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c131 #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 …]
Dselect_reuseport.c49 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()
237 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data() argument
263 if (family == AF_INET6) { in check_data()
374 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data() argument
[all …]
Dsockmap_ktls.c13 static int tcp_server(int family) in tcp_server() argument
17 s = socket(family, SOCK_STREAM, 0); in tcp_server()
36 static void test_sockmap_ktls_disconnect_after_delete(int family, int map) in test_sockmap_ktls_disconnect_after_delete() argument
42 srv = tcp_server(family); in test_sockmap_ktls_disconnect_after_delete()
50 cli = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_disconnect_after_delete()
79 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) in test_sockmap_ktls_update_fails_when_sock_has_ulp() argument
87 switch (family) { in test_sockmap_ktls_update_fails_when_sock_has_ulp()
97 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
101 s = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
135 static const char *fmt_test_name(const char *subtest_name, int family, in fmt_test_name() argument
[all …]
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_kms.c265 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
290 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
304 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
306 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
308 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
310 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
312 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
314 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
358 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
361 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
[all …]
/Linux-v6.1/Documentation/hwmon/
Dpeci-dimmtemp.rst9 Intel Xeon E5-14xx v3 family
10 Intel Xeon E5-24xx v3 family
11 Intel Xeon E5-16xx v3 family
12 Intel Xeon E5-26xx v3 family
13 Intel Xeon E5-46xx v3 family
14 Intel Xeon E7-48xx v3 family
15 Intel Xeon E7-88xx v3 family
17 Intel Xeon E5-16xx v4 family
18 Intel Xeon E5-26xx v4 family
19 Intel Xeon E5-46xx v4 family
[all …]
Dpeci-cputemp.rst9 Intel Xeon E5-14xx v3 family
10 Intel Xeon E5-24xx v3 family
11 Intel Xeon E5-16xx v3 family
12 Intel Xeon E5-26xx v3 family
13 Intel Xeon E5-46xx v3 family
14 Intel Xeon E7-48xx v3 family
15 Intel Xeon E7-88xx v3 family
17 Intel Xeon E5-16xx v4 family
18 Intel Xeon E5-26xx v4 family
19 Intel Xeon E5-46xx v4 family
[all …]
/Linux-v6.1/include/net/
Dgenetlink.h191 const struct genl_family *family; member
202 int genl_register_family(struct genl_family *family);
203 int genl_unregister_family(const struct genl_family *family);
204 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
208 const struct genl_family *family, int flags, u8 cmd);
233 const struct genl_family *family, in genlmsg_parse_deprecated() argument
238 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
252 const struct genl_family *family, in genlmsg_parse() argument
257 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
287 const struct genl_family *family, in genlmsg_put_reply() argument
[all …]
Dxfrm.h45 #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))
144 u8 family; member
191 u16 family; member
322 unsigned short family,
349 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family);
[all …]
/Linux-v6.1/security/selinux/
Dnetlabel.c43 u16 family, in selinux_netlbl_sidlookup_cached() argument
53 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
143 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
145 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
190 u16 family, in selinux_netlbl_skbuff_getsid() argument
203 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
205 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_skbuff_getsid()
227 u16 family, in selinux_netlbl_skbuff_setsid() argument
254 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
326 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family) in selinux_netlbl_inet_conn_request() argument
[all …]
Dnetnode.c103 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) in sel_netnode_find() argument
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()
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-v6.1/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()
101 x->props.reqid, x->props.family, in xfrm_hash_transfer()
106 x->props.family, in xfrm_hash_transfer()
112 x->id.proto, x->props.family, in xfrm_hash_transfer()
203 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() argument
[all …]
Dxfrm_input.c58 if (WARN_ON(afinfo->family > AF_INET6)) in xfrm_input_register_afinfo()
62 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) in xfrm_input_register_afinfo()
65 rcu_assign_pointer(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], afinfo); in xfrm_input_register_afinfo()
76 if (likely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) { in xfrm_input_unregister_afinfo()
77 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo()
80 RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], NULL); in xfrm_input_unregister_afinfo()
88 static const struct xfrm_input_afinfo *xfrm_input_get_afinfo(u8 family, bool is_ipip) in xfrm_input_get_afinfo() argument
92 if (WARN_ON_ONCE(family > AF_INET6)) in xfrm_input_get_afinfo()
96 afinfo = rcu_dereference(xfrm_input_afinfo[is_ipip][family]); in xfrm_input_get_afinfo()
102 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()
147 unsigned short family, unsigned int hmask, in __sel_hash() argument
154 switch (family) { in __sel_hash()
[all …]
Dxfrm_policy.c117 u16 family; member
174 xfrm_policy_inexact_lookup(struct net *net, u8 type, u16 family, u8 dir,
179 u8 type, u16 family, u8 dir, u32 if_id);
224 unsigned short family) in xfrm_selector_match() argument
226 switch (family) { in xfrm_selector_match()
235 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo() argument
239 if (unlikely(family >= ARRAY_SIZE(xfrm_policy_afinfo))) in xfrm_policy_get_afinfo()
242 afinfo = rcu_dereference(xfrm_policy_afinfo[family]); in xfrm_policy_get_afinfo()
257 int family, u32 mark) in __xfrm_dst_lookup() argument
262 afinfo = xfrm_policy_get_afinfo(family); in __xfrm_dst_lookup()
[all …]
/Linux-v6.1/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-v6.1/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
59 bool "Hisilicon SD5203 family"
63 Support for Hisilicon SD5203 SoC family
/Linux-v6.1/arch/x86/include/asm/
Dcpu_device_id.h45 .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-v6.1/tools/testing/selftests/netfilter/
Dnft_nat.sh176 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 …]
/Linux-v6.1/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()
221 if (par->family == NFPROTO_IPV4) in socket_mt_destroy()
224 else if (par->family == NFPROTO_IPV6) in socket_mt_destroy()
233 .family = NFPROTO_IPV4,
242 .family = NFPROTO_IPV4,
[all …]
/Linux-v6.1/tools/testing/selftests/net/
Dreuseport_addr_any.c34 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 …]

12345678910>>...55