Home
last modified time | relevance | path

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

12345678910>>...45

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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/net/netlink/
H A 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()
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
107 if (op->policy || op->cmd < family->resv_start_op) in genl_op_fill_in_reject_policy()
114 genl_op_fill_in_reject_policy_split(const struct genl_family *family, in genl_op_fill_in_reject_policy_split() argument
130 const struct genl_family *family; in genl_family_find_byname() local
133 idr_for_each_entry(&genl_fam_idr, family, id) in genl_family_find_byname()
[all …]
/linux/arch/mips/cavium-octeon/executive/
H A Docteon-model.c62 const char *family; in octeon_model_get_string_buffer() local
201 family = "37"; in octeon_model_get_string_buffer()
203 family = "36"; in octeon_model_get_string_buffer()
205 family = "38"; in octeon_model_get_string_buffer()
227 family = "30"; in octeon_model_get_string_buffer()
229 family = "31"; in octeon_model_get_string_buffer()
247 family = "30"; in octeon_model_get_string_buffer()
268 family = "58"; in octeon_model_get_string_buffer()
294 family = "55"; in octeon_model_get_string_buffer()
296 family = "57"; in octeon_model_get_string_buffer()
[all …]
/linux/drivers/soc/renesas/
H A Drenesas-soc.c93 const struct renesas_family *family; member
98 .family = &fam_rza1,
102 .family = &fam_rza2,
107 .family = &fam_rmobile,
112 .family = &fam_rmobile,
117 .family = &fam_rzfive,
122 .family = &fam_rzg1,
127 .family = &fam_rzg1,
132 .family = &fam_rzg1,
137 .family = &fam_rzg1,
[all …]
/linux/include/net/
H A Dgenetlink.h16 #define MODULE_ALIAS_GENL_FAMILY(family) \ argument
17 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
134 const struct genl_family *family; member
313 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, in genl_info_init_ntf() argument
319 info->family = family; in genl_info_init_ntf()
329 void *__genl_sk_priv_get(struct genl_family *family, struct sock *sk);
330 void *genl_sk_priv_get(struct genl_family *family, struct sock *sk);
331 int genl_register_family(struct genl_family *family);
332 int genl_unregister_family(const struct genl_family *family);
333 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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 …]
H A Dselect_reuseport.c134 static void ss_init_loopback(struct sockaddr_storage *sa, sa_family_t family) in prepare_bpf_obj()
137 sa->ss_family = family;
144 static void ss_init_inany(struct sockaddr_storage *sa, sa_family_t family) in sa46_init_loopback()
147 sa->ss_family = family;
223 static void check_data(int type, sa_family_t family, const struct cmd *cmd, in get_linum()
249 if (family == AF_INET6) { in check_data()
366 static int send_data(int type, sa_family_t family, void *data, size_t len, in send_data()
372 fd = socket(family, type, 0); in send_data()
375 ss_init_loopback(&cli_sa, family); in send_data()
381 "sendto()", "family in send_data()
47 sa_family_t family; global() member
138 sa46_init_loopback(union sa46 * sa,sa_family_t family) sa46_init_loopback() argument
148 sa46_init_inany(union sa46 * sa,sa_family_t family) sa46_init_inany() argument
227 check_data(int type,sa_family_t family,const struct cmd * cmd,int cli_fd) check_data() argument
364 send_data(int type,sa_family_t family,void * data,size_t len,enum result expected) send_data() argument
386 do_test(int type,sa_family_t family,struct cmd * cmd,enum result expected) do_test() argument
444 test_err_inner_map(int type,sa_family_t family) test_err_inner_map() argument
455 test_err_skb_data(int type,sa_family_t family) test_err_skb_data() argument
461 test_err_sk_select_port(int type,sa_family_t family) test_err_sk_select_port() argument
472 test_pass(int type,sa_family_t family) test_pass() argument
485 test_syncookie(int type,sa_family_t family) test_syncookie() argument
520 test_pass_on_err(int type,sa_family_t family) test_pass_on_err() argument
531 test_detach_bpf(int type,sa_family_t family) test_detach_bpf() argument
584 prepare_sk_fds(int type,sa_family_t family,bool inany) prepare_sk_fds() argument
658 setup_per_test(int type,sa_family_t family,bool inany,bool no_inner_map) setup_per_test() argument
742 family_str(sa_family_t family) family_str() argument
768 test_config(int sotype,sa_family_t family,bool inany) test_config() argument
826 sa_family_t family; test_all() member
[all...]
H A Dsockmap_ktls.c50 static int create_ktls_pairs(int family, int sotype, int *c, int *p) in create_ktls_pairs() argument
54 err = create_pair(family, sotype, c, p); in create_ktls_pairs()
64 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
72 switch (family) { in test_sockmap_ktls_update_fails_when_sock_has_ulp()
82 PRINT_FAIL("unsupported socket family %d", family); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
86 s = socket(family, SOCK_STREAM, 0); in test_sockmap_ktls_update_fails_when_sock_has_ulp()
120 static const char *fmt_test_name(const char *subtest_name, int family, in fmt_test_name() argument
134 static void test_sockmap_ktls_offload(int family, int sotype) in test_sockmap_ktls_offload() argument
141 err = create_ktls_pairs(family, sotype, &c, &p); in test_sockmap_ktls_offload()
163 static void test_sockmap_ktls_tx_cork(int family, int sotype, bool push) in test_sockmap_ktls_tx_cork() argument
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_kms.c256 if ((rdev->family >= CHIP_CEDAR) && (rdev->family <= CHIP_HEMLOCK)) in radeon_info_ioctl()
281 if (rdev->family == CHIP_HAWAII) { in radeon_info_ioctl()
295 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
297 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
299 else if (rdev->family >= CHIP_CAYMAN) in radeon_info_ioctl()
301 else if (rdev->family >= CHIP_CEDAR) in radeon_info_ioctl()
303 else if (rdev->family >= CHIP_RV770) in radeon_info_ioctl()
305 else if (rdev->family >= CHIP_R600) in radeon_info_ioctl()
349 if (rdev->family >= CHIP_BONAIRE) in radeon_info_ioctl()
352 else if (rdev->family >= CHIP_TAHITI) in radeon_info_ioctl()
[all …]
/linux/security/selinux/include/
H A 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/Documentation/hwmon/
H A 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 …]
H A 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/tools/testing/selftests/net/
H A 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/tools/testing/selftests/net/tcp_ao/lib/
H A 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/security/selinux/
H A 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 …]
H A Dnetnode.c104 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()
191 static int sel_netnode_sid_slow(const void *addr, u16 family, u32 *sid) in sel_netnode_sid_slow() argument
198 node = sel_netnode_find(addr, family); in sel_netnode_sid_slow()
209 switch (family) { in sel_netnode_sid_slow()
227 new->nsec.family = family; in sel_netnode_sid_slow()
254 int sel_netnode_sid(const void *addr, u16 family, u32 *sid) in sel_netnode_sid() argument
[all …]
/linux/net/xfrm/
H A Dxfrm_state.c65 unsigned short family) in xfrm_dst_hash() argument
69 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash()
75 unsigned short family) in xfrm_src_hash() argument
79 return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); in xfrm_src_hash()
84 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash() argument
88 return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); in xfrm_spi_hash()
131 x->props.reqid, x->props.family, in xfrm_hash_transfer()
136 x->props.family, in xfrm_hash_transfer()
142 x->id.proto, x->props.family, in xfrm_hash_transfer()
236 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() argument
[all …]
H A Dxfrm_policy.c123 u16 family; member
195 xfrm_policy_inexact_lookup(struct net *net, u8 type, u16 family, u8 dir,
200 u8 type, u16 family, u8 dir, u32 if_id);
243 unsigned short family) in xfrm_selector_match() argument
245 switch (family) { in xfrm_selector_match()
254 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo() argument
258 if (unlikely(family >= ARRAY_SIZE(xfrm_policy_afinfo))) in xfrm_policy_get_afinfo()
261 afinfo = rcu_dereference(xfrm_policy_afinfo[family]); in xfrm_policy_get_afinfo()
273 struct dst_entry *__xfrm_dst_lookup(int family, in __xfrm_dst_lookup() argument
279 afinfo = xfrm_policy_get_afinfo(family); in __xfrm_dst_lookup()
[all …]
/linux/Documentation/devicetree/bindings/arm/omap/
H A 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/drivers/dma/ti/
H A 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/tools/testing/selftests/net/netfilter/
H A 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 dna
[all...]
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py61 def __init__(self, family, attr_set, attr, value): argument
62 super().__init__(family, attr_set, attr, value)
86 if self.nested_attrs == family.name:
91 if self.nested_attrs in self.family.consts:
108 return self.family.attr_sets[self.attr_set.subset_of][self.name]
126 if value in self.family.consts:
127 return self.family.consts[value]["value"]
136 if value in self.family.consts:
137 const = self.family.consts[value]
373 def __init__(self, family, attr_set, attr, value): argument
[all …]
/linux/arch/arm/mach-hisi/
H A 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/include/trace/events/
H A Dneigh.h32 __field(u32, family)
44 __entry->family = tbl->family;
51 if (tbl->family == AF_INET)
57 if (tbl->family == AF_INET6) {
66 TP_printk("family %d dev %s entries %d primary_key4 %pI4 primary_key6 %pI6c created %d gc_exempt %d",
67 __entry->family, __get_str(dev), __entry->entries,
80 __field(u32, family)
105 __entry->family = n->tbl->family;
[all...]
/linux/net/netfilter/
H A 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()
178 return socket_mt_enable_defrag(par->net, par->family); in socket_mt_v1_check()
191 return socket_mt_enable_defrag(par->net, par->family); in socket_mt_v2_check()
205 return socket_mt_enable_defrag(par->net, par->family); in socket_mt_v3_check()
210 if (par->family == NFPROTO_IPV4) in socket_mt_v3_check()
213 else if (par->family == NFPROTO_IPV6) in socket_mt_v3_check()
222 .family in socket_mt_destroy()
[all...]

12345678910>>...45