Home
last modified time | relevance | path

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

12345678910>>...58

/linux-6.6.21/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.6.21/net/netlink/
Dgenetlink.c55 static void genl_op_lock(const struct genl_family *family) in genl_op_lock() argument
57 if (!family->parallel_ops) in genl_op_lock()
61 static void genl_op_unlock(const struct genl_family *family) in genl_op_unlock() argument
63 if (!family->parallel_ops) in genl_op_unlock()
99 static int genl_ctrl_event(int event, const struct genl_family *family,
104 genl_op_fill_in_reject_policy(const struct genl_family *family, in genl_op_fill_in_reject_policy() argument
109 if (op->policy || op->cmd < family->resv_start_op) in genl_op_fill_in_reject_policy()
117 genl_op_fill_in_reject_policy_split(const struct genl_family *family, in genl_op_fill_in_reject_policy_split() argument
134 const struct genl_family *family; in genl_family_find_byname() local
137 idr_for_each_entry(&genl_fam_idr, family, id) in genl_family_find_byname()
[all …]
/linux-6.6.21/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.6.21/drivers/soc/renesas/
Drenesas-soc.c90 const struct renesas_family *family; member
95 .family = &fam_rza1,
99 .family = &fam_rza2,
104 .family = &fam_rmobile,
109 .family = &fam_rmobile,
114 .family = &fam_rzfive,
119 .family = &fam_rzg1,
124 .family = &fam_rzg1,
129 .family = &fam_rzg1,
134 .family = &fam_rzg1,
[all …]
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/radeon/
Dradeon_kms.c264 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
289 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
303 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
305 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
307 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
309 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
311 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
313 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
357 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
360 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
[all …]
/linux-6.6.21/include/net/
Dgenetlink.h109 const struct genl_family *family; member
285 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, in genl_info_init_ntf() argument
291 info->family = family; in genl_info_init_ntf()
301 int genl_register_family(struct genl_family *family);
302 int genl_unregister_family(const struct genl_family *family);
303 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
307 const struct genl_family *family, int flags, u8 cmd);
312 return genlmsg_put(skb, info->snd_portid, info->snd_seq, info->family, in __genlmsg_iput()
358 const struct genl_family *family, in genlmsg_parse_deprecated() argument
363 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dsockmap_listen.c33 int family, int sotype, int mapfd) in test_insert_invalid() argument
51 int family, int sotype, int mapfd) in test_insert_opened() argument
57 s = xsocket(family, sotype, 0); in test_insert_opened()
73 int family, int sotype, int mapfd) in test_insert_bound() argument
81 init_addr_loopback(family, &addr, &len); in test_insert_bound()
83 s = xsocket(family, sotype, 0); in test_insert_bound()
101 int family, int sotype, int mapfd) in test_insert() argument
107 s = socket_loopback(family, sotype); in test_insert()
118 int family, int sotype, int mapfd) in test_delete_after_insert() argument
124 s = socket_loopback(family, sotype); in test_delete_after_insert()
[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-6.6.21/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.6.21/security/selinux/
Dnetlabel.c43 u16 family, in selinux_netlbl_sidlookup_cached() argument
53 netlbl_cache_add(skb, family, secattr); in selinux_netlbl_sidlookup_cached()
142 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
144 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
193 u16 family, in selinux_netlbl_skbuff_getsid() argument
207 rc = netlbl_skbuff_getattr(skb, family, &secattr); in selinux_netlbl_skbuff_getsid()
209 rc = selinux_netlbl_sidlookup_cached(skb, family, in selinux_netlbl_skbuff_getsid()
231 u16 family, in selinux_netlbl_skbuff_setsid() argument
257 rc = netlbl_skbuff_setattr(skb, family, secattr); in selinux_netlbl_skbuff_setsid()
328 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.6.21/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()
120 x->props.reqid, x->props.family, in xfrm_hash_transfer()
125 x->props.family, in xfrm_hash_transfer()
131 x->id.proto, x->props.family, in xfrm_hash_transfer()
224 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() 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 …]
/linux-6.6.21/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.6.21/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.6.21/tools/net/ynl/
Dynl-gen-c.py37 def __init__(self, family, attr_set, attr, value): argument
38 super().__init__(family, attr_set, attr, value)
49 if self.nested_attrs == family.name:
54 if self.nested_attrs in self.family.consts:
255 def __init__(self, family, attr_set, attr, value): argument
256 super().__init__(family, attr_set, attr, value)
274 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags'
279 if maybe_enum and self.family.consts[self.attr['enum']].enum_name:
294 enum = self.family.consts[self.attr['enum']]
297 flags = self.family.consts[self.checks['flags-mask']]
[all …]
/linux-6.6.21/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.6.21/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)
161 def __init__(self, family, attr_set, yaml, value): argument
162 super().__init__(family, yaml)
187 def __init__(self, family, yaml): argument
188 super().__init__(family, yaml)
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/include/trace/events/
Dneigh.h32 __field(u32, family)
44 __entry->family = tbl->family;
51 if (tbl->family == AF_INET)
57 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 …]

12345678910>>...58