/linux-master/net/ethtool/ |
H A 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,
|
H A D | privflags.c | 28 const char (**names)[ETH_GSTRING_LEN]) 37 if (names) { 38 *names = kcalloc(nflags, ETH_GSTRING_LEN, GFP_KERNEL); 39 if (!*names) 41 ops->get_strings(dev, ETH_SS_PRIV_FLAGS, (u8 *)*names); 46 * must not adjust nflags before allocating the space for flag names 64 const char (*names)[ETH_GSTRING_LEN]; 76 ret = ethnl_get_priv_flags_info(dev, &nflags, &names); 80 data->priv_flag_names = names; 147 const char (*names)[ETH_GSTRING_LE 26 ethnl_get_priv_flags_info(struct net_device *dev, unsigned int *count, const char (**names)[ETH_GSTRING_LEN]) argument [all...] |
H A D | bitset.c | 11 * suffix in their names expect u32 based bitmaps, those without it expect 163 * @names: array of bit names (optional) 172 ethnl_string_array_t names, bool compact) 192 const char *name = names ? names[i] : NULL; 223 * @names: array of bit names (optional) 228 * pair. Bit names are only used in verbose mode and when provided by calller. 234 ethnl_string_array_t names, boo 171 ethnl_bitset32_size(const u32 *val, const u32 *mask, unsigned int nbits, ethnl_string_array_t names, bool compact) argument 232 ethnl_put_bitset32(struct sk_buff *skb, int attrtype, const u32 *val, const u32 *mask, unsigned int nbits, ethnl_string_array_t names, bool compact) argument 359 ethnl_name_to_idx(ethnl_string_array_t names, unsigned int n_names, const char *name) argument 377 ethnl_parse_bit(unsigned int *index, bool *val, unsigned int nbits, const struct nlattr *bit_attr, bool no_mask, ethnl_string_array_t names, struct netlink_ext_ack *extack) argument 429 ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits, const struct nlattr *attr, struct nlattr **tb, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument 552 ethnl_update_bitset32(u32 *bitmap, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument 604 ethnl_parse_bitset(unsigned long *val, unsigned long *mask, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack) argument 699 ethnl_bitset_size(const unsigned long *val, const unsigned long *mask, unsigned int nbits, ethnl_string_array_t names, bool compact) argument 734 ethnl_put_bitset(struct sk_buff *skb, int attrtype, const unsigned long *val, const unsigned long *mask, unsigned int nbits, ethnl_string_array_t names, bool compact) argument 771 ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument 808 ethnl_bitset_size(const unsigned long *val, const unsigned long *mask, unsigned int nbits, ethnl_string_array_t names, bool compact) argument 816 ethnl_put_bitset(struct sk_buff *skb, int attrtype, const unsigned long *val, const unsigned long *mask, unsigned int nbits, ethnl_string_array_t names, bool compact) argument 825 ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, const struct nlattr *attr, ethnl_string_array_t names, struct netlink_ext_ack *extack, bool *mod) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | help-unknown-cmd.c | 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); 46 cmds->names = tmp; 49 cmds->names[cmds->cnt++] = old->names[i]; 50 zfree(&old->names); 71 qsort(main_cmds.names, main_cmds.cnt, 72 sizeof(main_cmds.names), cmdname_compare); 78 main_cmds.names[i]->len = 79 levenshtein(cmd, main_cmds.names[ [all...] |
/linux-master/tools/usb/usbip/libsrc/ |
H A D | Makefile.am | 7 libusbip_la_SOURCES := names.c names.h usbip_host_driver.c usbip_host_driver.h \
|
/linux-master/security/selinux/include/ |
H A D | conditional.h | 16 int security_get_bools(struct selinux_policy *policy, u32 *len, char ***names,
|
/linux-master/tools/testing/selftests/lsm/ |
H A D | common.c | 72 char *names = calloc(sysconf(_SC_PAGESIZE), 1); local 75 if (!names) 78 if (read_sysfs_lsms(names, sysconf(_SC_PAGESIZE))) 81 if (strstr(names, "selinux")) 83 if (strstr(names, "smack")) 85 if (strstr(names, "apparmor"))
|
/linux-master/tools/lib/subcmd/ |
H A D | help.c | 26 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); 27 cmds->names[cmds->cnt++] = ent; 35 zfree(&cmds->names[i]); 36 zfree(&cmds->names); 56 if (!strcmp(cmds->names[i]->name, cmds->names[i-1]->name)) 57 zfree(&cmds->names[i - 1]); 60 if (cmds->names[i]) { 64 cmds->names[j++] = cmds->names[ [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_mitigations.c | 21 static const char * const names[] = { variable 37 BUILD_BUG_ON(ARRAY_SIZE(names) >= BITS_PER_TYPE(mitigations)); 74 for (i = 0; i < ARRAY_SIZE(names); i++) { 75 if (!strcmp(tok, names[i])) { 83 if (i == ARRAY_SIZE(names)) { 115 for (i = 0; i < ARRAY_SIZE(names); i++) { 120 "%s%s,", enable ? "" : "!", names[i]);
|
/linux-master/tools/perf/ui/browsers/ |
H A D | res_sample.c | 34 char **names; local 44 names = calloc(num_res, sizeof(char *)); 45 if (!names) 51 if (asprintf(&names[i], "%s: CPU %d tid %d", tbuf, 54 zfree(&names[i]); 55 free(names); 59 choice = ui__popup_menu(num_res, names, NULL); 61 zfree(&names[i]); 62 free(names);
|
H A D | scripts.c | 27 const char **names; member in struct:script_config 52 c->names[c->index] = name; 70 c->names[c->index] = strdup(var + 7); 71 if (!c->names[c->index]) 88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; local 95 .names = (const char **)names, 121 names[i] = buf + (i - max_std) * (SCRIPT_NAMELEN + SCRIPT_FULLPATH_LEN); 122 paths[i] = names[i] + SCRIPT_NAMELEN; 125 num = find_scripts(names [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_acpi_sar.h | 24 u8 names[4]; member in struct:mt792x_asar_dyn 36 u8 names[4]; member in struct:mt792x_asar_dyn_v2 55 u8 names[4]; member in struct:mt792x_asar_geo 68 u8 names[4]; member in struct:mt792x_asar_geo_v2 76 u8 names[4]; member in struct:mt792x_asar_cl 85 u8 names[4]; member in struct:mt792x_asar_fg
|
/linux-master/scripts/ |
H A D | check-sysctl-docs | 24 # entries: maps ctl_table names and procnames to counts (so 113 match($0, /.procname[\t ]*=[\t ]*"([^"]+)"/, names) 114 curentry = names[1] 131 match($0, /([^ \t]+) *= *kmemdup\(([^,]+) *,/, names) 132 if (debug) print "Found variable " names[1] " for table " names[2] 133 if (names[2] in entries) { 134 vars[names[1]] = names[2]
|
/linux-master/drivers/zorro/ |
H A D | Makefile | 8 obj-$(CONFIG_ZORRO_NAMES) += names.o 16 $(obj)/names.o: $(obj)/devlist.h
|
/linux-master/tools/testing/selftests/net/ |
H A D | hwtstamp_config.c | 22 lookup_value(const char **names, int size, const char *name) argument 27 if (names[value] && strcasecmp(names[value], name) == 0) 34 lookup_name(const char **names, int size, int value) argument 36 return (value >= 0 && value < size) ? names[value] : NULL; 39 static void list_names(FILE *f, const char **names, int size) argument 44 if (names[value]) 45 fprintf(f, " %s\n", names[value]);
|
/linux-master/drivers/usb/gadget/ |
H A D | configfs.h | 13 char **names,
|
/linux-master/include/xen/ |
H A D | hvm.h | 12 static const char *const names[] = { local 31 if (op >= ARRAY_SIZE(names)) 34 if (!names[op]) 37 return names[op];
|
/linux-master/include/linux/gpio/ |
H A D | gpio-reg.h | 14 const char *const *names, struct irq_domain *irqdom, const int *irqs);
|
/linux-master/drivers/gpio/ |
H A D | gpio-i8255.h | 17 * @names: (optional) array of names for gpios 27 const char *const *names; member in struct:i8255_regmap_config
|
H A D | gpio-cros-ec.c | 22 /* Prefix all names to avoid collisions with EC <-> AP nets */ 28 const char *name = gc->names[gpio] + strlen(cros_ec_gpio_prefix); 48 const char *name = gc->names[gpio] + strlen(cros_ec_gpio_prefix); 74 const char *name = gc->names[gpio] + strlen(cros_ec_gpio_prefix); 99 /* Query EC for all gpio line names */ 110 const char **names; local 113 names = devm_kcalloc(gc->parent, gc->ngpio, sizeof(*names), GFP_KERNEL); 114 if (!names) 116 gc->names [all...] |
/linux-master/tools/perf/tests/ |
H A D | evsel-roundtrip-name.c | 52 static int perf_evsel__name_array_test(const char *const names[], int nr_names) argument 65 err = parse_event(evlist, names[i]); 68 names[i], err); 74 if (strcmp(evsel__name(evsel), names[i])) { 75 pr_debug("%s != %s\n", evsel__name(evsel), names[i]);
|
/linux-master/lib/ |
H A D | build_OID_registry | 12 my @names = (); 27 push @names, $1; 49 for (my $i = 0; $i <= $#names; $i++) { 50 my $name = $names[$i]; 79 for (my $i = 0; $i <= $#names; $i++) { 80 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n" 90 for (my $i = 0; $i <= $#names; $i++) { 117 for (my $i = 0; $i <= $#names; $i++) { 135 for (my $i = 0; $i <= $#names; $i++) { 139 print C_FILE "\t// ", $names[ [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-ctrl.c | 192 const char * const *names; local 193 names = cptr->info->def.type_enum.value_names; 195 if (names[val]) { 198 names[val]); 205 const char **names; local 208 names = cptr->info->def.type_bitmask.bit_names; 213 names[idx]); 292 const char **names, 307 idStr = names[idx]; 356 const char * const *names, unsigne 291 gen_bitmask_string(int msk,int val,int msk_only, const char **names, char *ptr,unsigned int len) argument 354 parse_token(const char *ptr,unsigned int len, int *valptr, const char * const *names, unsigned int namecnt) argument 374 parse_mtoken(const char *ptr,unsigned int len, int *valptr, const char **names,int valid_bits) argument 396 parse_tlist(const char *ptr,unsigned int len, int *maskptr,int *valptr, const char **names,int valid_bits) argument 527 const char * const *names; local [all...] |
/linux-master/drivers/pinctrl/qcom/ |
H A D | pinctrl-qdf2xxx.c | 36 char (*names)[NAME_SIZE]; 82 names = devm_kcalloc(&pdev->dev, avail_gpios, NAME_SIZE, GFP_KERNEL); 84 if (!pinctrl || !pins || !groups || !names) 101 snprintf(names[i], NAME_SIZE, "gpio%u", gpio); 102 pins[gpio].name = names[i]; 103 groups[gpio].grp.name = names[i];
|
/linux-master/net/rds/ |
H A D | stats.c | 85 uint64_t *values, const char *const *names, size_t nr) 91 BUG_ON(strlen(names[i]) >= sizeof(ctr.name)); 92 strncpy(ctr.name, names[i], sizeof(ctr.name) - 1); 84 rds_stats_info_copy(struct rds_info_iterator *iter, uint64_t *values, const char *const *names, size_t nr) argument
|