Home
last modified time | relevance | path

Searched refs:short_name (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v5.4/tools/lib/subcmd/
Dparse-options.h103 int short_name; member
124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val…
125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), …
126 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name…
128 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \
131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va…
132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)…
133 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), …
134 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), …
135 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),…
[all …]
Dparse-options.c23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); in opterror()
41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); in optwarning()
87 if (((flags & OPT_SHORT) && p->excl_opt->short_name) || in get_value()
90 p->excl_opt->short_name); in get_value()
346 if (options->short_name == *p->opt) { in parse_short_opt()
612 if ((excl_short_opt && ctx->excl_opt->short_name) || in parse_options_step()
614 char opt = ctx->excl_opt->short_name; in parse_options_step()
710 if (opts->short_name) in print_option_help()
711 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help()
715 if (opts->long_name && opts->short_name) in print_option_help()
[all …]
/Linux-v5.4/drivers/hid/
Dhid-led.c73 const char *short_name; member
255 .short_name = "thingm",
358 .short_name = "riso_kagaku",
368 .short_name = "dream_cheeky",
379 .short_name = "thingm",
390 .short_name = "delcom",
401 .short_name = "luxafor",
417 config->short_name, minor, color_name, rgb->num); in hidled_init_led()
420 config->short_name, minor, color_name); in hidled_init_led()
/Linux-v5.4/tools/perf/util/
Dvdso.c127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, in __machine__addnew_vdso() argument
132 dso = dso__new(short_name); in __machine__addnew_vdso()
358 return !strcmp(dso->short_name, DSO__NAME_VDSO) || in dso__is_vdso()
359 !strcmp(dso->short_name, DSO__NAME_VDSO32) || in dso__is_vdso()
360 !strcmp(dso->short_name, DSO__NAME_VDSOX32); in dso__is_vdso()
Dbpf-event.c124 const char *short_name = NULL; in synthesize_bpf_prog_name() local
134 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
138 short_name = info->name; in synthesize_bpf_prog_name()
140 short_name = "F"; in synthesize_bpf_prog_name()
141 if (short_name) in synthesize_bpf_prog_name()
143 "_%s", short_name); in synthesize_bpf_prog_name()
Ddsos.c70 rc = strcmp(dso->short_name, this->short_name); in __dsos__findnew_link_by_longname()
130 if (strcmp(pos->short_name, name) == 0) in __dsos__find()
Ddso.c1080 const char *short_name, int dso_type) in machine__findnew_kernel() argument
1092 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel()
1133 free((char *)dso->short_name); in dso__set_short_name()
1135 dso->short_name = name; in dso__set_short_name()
1214 zfree((char **)&dso->short_name); in dso__delete()
1277 const char *name = dso->short_name + 1; in dso__kernel_module_get_build_id()
1301 size_t ret = fprintf(fp, "dso: %s (", dso->short_name); in dso__fprintf()
1303 if (dso->short_name != dso->long_name) in dso__fprintf()
Ddso.h168 const char *short_name; member
338 const char *short_name, int dso_type);
Dunwind-libdw.c56 mod = dwfl_report_elf(ui->dwfl, dso->short_name, in __report_module()
Devent.c592 dso->short_name) || in machine__resolve()
593 (dso->short_name != dso->long_name && in machine__resolve()
Dmap.c280 name = map->dso->short_name; in __map__is_bpf_prog()
942 rc = strcmp(m->dso->short_name, map->dso->short_name); in __maps__insert_name()
/Linux-v5.4/drivers/firmware/efi/
Defivars.c482 char *short_name; in efivar_create_sysfs_entry() local
494 short_name = kmalloc(short_name_size, GFP_KERNEL); in efivar_create_sysfs_entry()
495 if (!short_name) in efivar_create_sysfs_entry()
498 ucs2_as_utf8(short_name, variable_name, short_name_size); in efivar_create_sysfs_entry()
502 short_name[utf8_name_size] = '-'; in efivar_create_sysfs_entry()
504 short_name + utf8_name_size + 1); in efivar_create_sysfs_entry()
509 NULL, "%s", short_name); in efivar_create_sysfs_entry()
510 kfree(short_name); in efivar_create_sysfs_entry()
/Linux-v5.4/tools/perf/tests/
Dhists_common.c184 he->ms.map->dso->short_name, in print_hists_in()
211 he->ms.map->dso->short_name, in print_hists_out()
Dhists_cumulate.c153 #define DSO(he) (he->ms.map->dso->short_name)
158 #define CDSO(cl) (cl->ms.map->dso->short_name)
Dvmlinux-kallsyms.c195 map->dso->short_name : in test__vmlinux_matches_kallsyms()
/Linux-v5.4/tools/perf/scripts/python/
Dexport-to-postgresql.py1003 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): argument
1004 short_name = toserverstr(short_name)
1007 n1 = len(short_name)
1011 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
/Linux-v5.4/tools/perf/
Dbuiltin-probe.c247 params.command = opt->short_name; in opt_show_lines()
267 params.command = opt->short_name; in opt_show_vars()
279 params.command = opt->short_name; in opt_add_probe_event()
290 params.command = opt->short_name; in opt_set_filter_with_command()
Dbuiltin-kallsyms.c39 symbol->name, map->dso->short_name, map->dso->long_name, in __cmd_kallsyms()
/Linux-v5.4/include/net/bluetooth/
Dmgmt.h116 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
157 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
689 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
/Linux-v5.4/scripts/dtc/
Ddt_to_config455 if ($short_name) {
1000 "short-name" => \$short_name,
/Linux-v5.4/include/linux/
Dfscache-cache.h337 char short_name[8]; member
/Linux-v5.4/fs/fscache/
Dobject-list.c236 obj->state->short_name, in fscache_objlist_show()
Dobject.c44 .short_name = sn, \
65 .short_name = sn, \
/Linux-v5.4/net/bluetooth/
Dmgmt.c988 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name)); in read_controller_info()
1013 name_len = strlen(hdev->short_name); in append_eir_data_to_buf()
1015 hdev->short_name, name_len); in append_eir_data_to_buf()
3227 !memcmp(hdev->short_name, cp->short_name, in set_local_name()
3228 sizeof(hdev->short_name))) { in set_local_name()
3234 memcpy(hdev->short_name, cp->short_name, sizeof(hdev->short_name)); in set_local_name()
7676 memcpy(ev.short_name, hdev->short_name, HCI_MAX_SHORT_NAME_LENGTH); in mgmt_set_local_name_complete()
/Linux-v5.4/include/trace/events/
Dfscache.h350 memcpy(__entry->state, state->short_name, 8);

12