Home
last modified time | relevance | path

Searched refs:names (Results 1 – 10 of 10) sorted by relevance

/net/ethtool/
Dbitset.c172 ethnl_string_array_t names, bool compact) in ethnl_bitset32_size() argument
192 const char *name = names ? names[i] : NULL; in ethnl_bitset32_size()
234 ethnl_string_array_t names, bool compact) in ethnl_put_bitset32() argument
277 const char *name = names ? names[i] : NULL; in ethnl_put_bitset32()
359 static int ethnl_name_to_idx(ethnl_string_array_t names, unsigned int n_names, in ethnl_name_to_idx() argument
364 if (!names) in ethnl_name_to_idx()
369 if (!strncmp(names[i], name, ETH_GSTRING_LEN) && in ethnl_name_to_idx()
379 ethnl_string_array_t names, in ethnl_parse_bit() argument
400 name = names ? names[idx] : NULL; in ethnl_parse_bit()
409 idx = ethnl_name_to_idx(names, nbits, in ethnl_parse_bit()
[all …]
Dprivflags.c28 const char (**names)[ETH_GSTRING_LEN]) in ethnl_get_priv_flags_info()
37 if (names) { in ethnl_get_priv_flags_info()
38 *names = kcalloc(nflags, ETH_GSTRING_LEN, GFP_KERNEL); in ethnl_get_priv_flags_info()
39 if (!*names) in ethnl_get_priv_flags_info()
41 ops->get_strings(dev, ETH_SS_PRIV_FLAGS, (u8 *)*names); in ethnl_get_priv_flags_info()
64 const char (*names)[ETH_GSTRING_LEN]; in privflags_prepare_data() local
76 ret = ethnl_get_priv_flags_info(dev, &nflags, &names); in privflags_prepare_data()
80 data->priv_flag_names = names; in privflags_prepare_data()
147 const char (*names)[ETH_GSTRING_LEN] = NULL; in ethnl_set_privflags() local
160 ret = ethnl_get_priv_flags_info(dev, &nflags, compact ? NULL : &names); in ethnl_set_privflags()
[all …]
Dbitset.h12 unsigned int nbits, ethnl_string_array_t names,
15 ethnl_string_array_t names, bool compact);
18 unsigned int nbits, ethnl_string_array_t names,
22 ethnl_string_array_t names, bool compact);
24 const struct nlattr *attr, ethnl_string_array_t names,
27 const struct nlattr *attr, ethnl_string_array_t names,
31 ethnl_string_array_t names,
/net/rds/
Dstats.c85 uint64_t *values, const char *const *names, size_t nr) in rds_stats_info_copy() argument
91 BUG_ON(strlen(names[i]) >= sizeof(ctr.name)); in rds_stats_info_copy()
92 strncpy(ctr.name, names[i], sizeof(ctr.name) - 1); in rds_stats_info_copy()
Drds.h975 uint64_t *values, const char *const *names,
/net/ceph/crush/
Dcrush.c133 clear_crush_names(&map->names); in crush_destroy()
/net/vmw_vsock/
Dvirtio_transport.c539 static const char * const names[] = { in virtio_vsock_vqs_init() local
551 ret = virtio_find_vqs(vdev, VSOCK_VQ_MAX, vsock->vqs, callbacks, names, in virtio_vsock_vqs_init()
/net/netfilter/
Dx_tables.c426 const char *const *names; in textify_hooks() local
432 names = (nfproto == NFPROTO_ARP) ? arp_names : inetbr_names; in textify_hooks()
439 res = snprintf(p, size, "%s%s", np ? "/" : "", names[i]); in textify_hooks()
DKconfig1232 This match allows you to test and assign userspace-defined labels names
1234 names to bits is done by userspace.
/net/ceph/
Dosdmap.c447 c->names = RB_ROOT; in crush_decode()
608 err = decode_crush_names(p, end, &c->names); in crush_decode()
3046 cn = lookup_crush_name(&c->names, b->id); in get_immediate_parent()