Home
last modified time | relevance | path

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

12345678910>>...59

/linux-6.12.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-6.12.1/net/netlink/
Dgenetlink.c57 static void genl_op_lock(const struct genl_family *family) in genl_op_lock() argument
59 if (!family->parallel_ops) in genl_op_lock()
63 static void genl_op_unlock(const struct genl_family *family) in genl_op_unlock() argument
65 if (!family->parallel_ops) in genl_op_unlock()
101 static int genl_ctrl_event(int event, const struct genl_family *family,
106 genl_op_fill_in_reject_policy(const struct genl_family *family, in genl_op_fill_in_reject_policy() argument
111 if (op->policy || op->cmd < family->resv_start_op) in genl_op_fill_in_reject_policy()
119 genl_op_fill_in_reject_policy_split(const struct genl_family *family, in genl_op_fill_in_reject_policy_split() argument
136 const struct genl_family *family; in genl_family_find_byname() local
139 idr_for_each_entry(&genl_fam_idr, family, id) in genl_family_find_byname()
[all …]
/linux-6.12.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-6.12.1/drivers/soc/renesas/
Drenesas-soc.c96 const struct renesas_family *family; member
101 .family = &fam_rza1,
105 .family = &fam_rza2,
110 .family = &fam_rmobile,
115 .family = &fam_rmobile,
120 .family = &fam_rzfive,
125 .family = &fam_rzg1,
130 .family = &fam_rzg1,
135 .family = &fam_rzg1,
140 .family = &fam_rzg1,
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c35 int family, int sotype, int mapfd) in test_insert_invalid() argument
53 int family, int sotype, int mapfd) in test_insert_opened() argument
59 s = xsocket(family, sotype, 0); in test_insert_opened()
75 int family, int sotype, int mapfd) in test_insert_bound() argument
83 init_addr_loopback(family, &addr, &len); in test_insert_bound()
85 s = xsocket(family, sotype, 0); in test_insert_bound()
103 int family, int sotype, int mapfd) in test_insert() argument
109 s = socket_loopback(family, sotype); in test_insert()
120 int family, int sotype, int mapfd) in test_delete_after_insert() argument
126 s = socket_loopback(family, sotype); in test_delete_after_insert()
[all …]
Dselect_reuseport.c47 sa_family_t family; member
138 static void sa46_init_loopback(union sa46 *sa, sa_family_t family) in sa46_init_loopback() argument
141 sa->family = family; in sa46_init_loopback()
142 if (sa->family == AF_INET6) in sa46_init_loopback()
148 static void sa46_init_inany(union sa46 *sa, sa_family_t family) in sa46_init_inany() argument
151 sa->family = family; in sa46_init_inany()
152 if (sa->family == AF_INET6) in sa46_init_inany()
227 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in check_data() argument
253 if (family == AF_INET6) { in check_data()
364 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-6.12.1/include/net/
Dgenetlink.h16 #define MODULE_ALIAS_GENL_FAMILY(family) \ argument
17 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
133 const struct genl_family *family; member
309 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, in genl_info_init_ntf() argument
315 info->family = family; in genl_info_init_ntf()
325 void *__genl_sk_priv_get(struct genl_family *family, struct sock *sk);
326 void *genl_sk_priv_get(struct genl_family *family, struct sock *sk);
327 int genl_register_family(struct genl_family *family);
328 int genl_unregister_family(const struct genl_family *family);
329 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
[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))
159 u8 family; member
209 u16 family; member
345 unsigned short family,
377 int xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo *afinfo, int family);
[all …]
/linux-6.12.1/security/selinux/include/
Dnetlabel.h29 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, in selinux_netlbl_err() argument
77 static inline int selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, in selinux_netlbl_skbuff_getsid() argument
84 static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, in selinux_netlbl_skbuff_setsid() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_kms.c258 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
283 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
297 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
299 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
301 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
303 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
305 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
307 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
351 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
354 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
[all …]
/linux-6.12.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-6.12.1/tools/testing/selftests/net/
Dbind_wildcard.c43 sa_family_t family[2]; in FIXTURE_VARIANT() local
63 .family = {AF_INET, AF_INET}, in FIXTURE_VARIANT_ADD()
77 .family = {AF_INET, AF_INET}, in FIXTURE_VARIANT_ADD()
92 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
106 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
121 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
135 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
149 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
163 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
177 .family = {AF_INET, AF_INET6}, in FIXTURE_VARIANT_ADD()
[all …]
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dftrace-tcp.c29 int family; member
57 int __trace_event_expect(enum trace_events type, int family, in __trace_event_expect() argument
65 .family = family, in __trace_event_expect()
119 int family; member
149 if (p->family != e->family) in lookup_expected_event()
151 if (p->family == AF_INET) in lookup_expected_event()
227 static int tracer_ip_split(int family, char *src, char **addr, char **port) in tracer_ip_split() argument
231 if (family == AF_INET) { in tracer_ip_split()
243 if (family != AF_INET6) in tracer_ip_split()
266 static int tracer_scan_address(int family, char *src, in tracer_scan_address() argument
[all …]
/linux-6.12.1/tools/net/ynl/lib/
Dnlspec.py31 def __init__(self, family, yaml): argument
33 self.family = family
40 family.add_unresolved(self)
75 super().__init__(enum_set.family, yaml)
113 def __init__(self, family, yaml): argument
114 super().__init__(family, yaml)
167 def __init__(self, family, attr_set, yaml, value): argument
168 super().__init__(family, yaml)
198 def __init__(self, family, yaml): argument
199 super().__init__(family, yaml)
[all …]
/linux-6.12.1/security/selinux/
Dnetlabel.c44 u16 family, in selinux_netlbl_sidlookup_cached() argument
54 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
144 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
146 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
195 u16 family, in selinux_netlbl_skbuff_getsid() argument
209 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
211 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_skbuff_getsid()
233 u16 family, in selinux_netlbl_skbuff_setsid() argument
259 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
330 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-6.12.1/tools/testing/selftests/net/netfilter/
Dnft_nat.sh150 local family=$1
154 if [ "$family" = "inet" ];then
159 table $family nat {
167 echo "SKIP: Could not add add $family dnat hook"
212 test $lret -eq 0 && echo "PASS: ipv6 ping to $ns1 was $family NATted to $ns2"
220 local family=$1
224 if [ "$family" = "inet" ];then
229 table $family nat {
237 if [ "$family" = "inet" ];then
242 echo "SKIP: Could not add add $family dnat hook"
[all …]
/linux-6.12.1/net/xfrm/
Dxfrm_state.c63 unsigned short family) in xfrm_dst_hash() argument
65 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash()
71 unsigned short family) in xfrm_src_hash() argument
73 return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); in xfrm_src_hash()
78 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash() argument
80 return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); in xfrm_spi_hash()
121 x->props.reqid, x->props.family, in xfrm_hash_transfer()
126 x->props.family, in xfrm_hash_transfer()
132 x->id.proto, x->props.family, in xfrm_hash_transfer()
226 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() argument
[all …]
/linux-6.12.1/Documentation/userspace-api/netlink/
Dc-code-gen.rst14 of ``name`` in an attribute, and ``$family`` is the name of the
15 family (the global ``name`` property).
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
18 means the concatenation of ``$family``, a dash character, and the literal
30 ``c-family-name`` controls the name of the ``#define`` for the family
31 name, default is ``$family-FAMILY-NAME``.
34 of the family, default is ``$family-FAMILY-VERSION``.
46 The name of the constant is ``$family-$constant`` and the value
52 Enums are named ``$family-$enum``. The full name can be set directly
54 Default entry name is ``$family-$enum-$entry``.
[all …]
/linux-6.12.1/drivers/dma/ti/
Dk3-psil.c21 { .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 = "J722S", .data = &am62p_ep_map },
/linux-6.12.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-6.12.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-6.12.1/tools/net/ynl/
Dynl-gen-c.py45 def __init__(self, family, attr_set, attr, value): argument
46 super().__init__(family, attr_set, attr, value)
61 if self.nested_attrs == family.name:
66 if self.nested_attrs in self.family.consts:
83 elif value in self.family.consts:
297 def __init__(self, family, attr_set, attr, value): argument
298 super().__init__(family, attr_set, attr, value)
305 enum = self.family.consts[self.attr['enum']]
337 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags'
342 self.type_name = self.family.consts[self.attr['enum']].user_type
[all …]

12345678910>>...59