Searched refs:names (Results 1 – 10 of 10) sorted by relevance
/net/ethtool/ |
D | bitset.c | 172 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 …]
|
D | privflags.c | 28 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 …]
|
D | bitset.h | 12 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/ |
D | stats.c | 85 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()
|
D | rds.h | 975 uint64_t *values, const char *const *names,
|
/net/ceph/crush/ |
D | crush.c | 133 clear_crush_names(&map->names); in crush_destroy()
|
/net/vmw_vsock/ |
D | virtio_transport.c | 539 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/ |
D | x_tables.c | 426 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()
|
D | Kconfig | 1232 This match allows you to test and assign userspace-defined labels names 1234 names to bits is done by userspace.
|
/net/ceph/ |
D | osdmap.c | 447 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()
|