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

12

/linux-master/tools/lib/subcmd/
H A Dparse-options.h59 * `short_name`::
99 int short_name; member in struct:option
120 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
121 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h) }
122 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h), .flags = (f) }
124 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \
127 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h) }
128 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
130 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name
[all...]
H A Dparse-options.c23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason);
41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason);
87 if (((flags & OPT_SHORT) && p->excl_opt->short_name) ||
90 p->excl_opt->short_name);
349 if (options->short_name == *p->opt) {
615 if ((excl_short_opt && ctx->excl_opt->short_name) ||
617 char opt = ctx->excl_opt->short_name;
713 if (opts->short_name)
714 pos += fprintf(stderr, "-%c", opts->short_name);
718 if (opts->long_name && opts->short_name)
[all...]
/linux-master/drivers/hid/
H A Dhid-led.c73 const char *short_name; member in struct:hidled_config
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);
420 config->short_name, minor, color_name);
/linux-master/tools/perf/
H A Dbuiltin-buildid-list.c36 } else if (dso->short_name != NULL) {
37 printf(" %s", dso->short_name);
H A Dbuiltin-kallsyms.c41 symbol->name, dso->short_name, dso->long_name,
H A Dbuiltin-probe.c40 int command; /* Command short_name */
247 params->command = opt->short_name;
267 params->command = opt->short_name;
279 params->command = opt->short_name;
290 params->command = opt->short_name;
/linux-master/tools/perf/util/
H A Dvdso.c127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, argument
132 dso = dso__new(short_name);
372 return !strcmp(dso->short_name, DSO__NAME_VDSO) ||
373 !strcmp(dso->short_name, DSO__NAME_VDSO32) ||
374 !strcmp(dso->short_name, DSO__NAME_VDSOX32);
H A Ddsos.c115 static int __dso__cmp_short_name(const char *short_name, struct dso_id *id, struct dso *b) argument
117 int rc = strcmp(short_name, b->short_name);
123 return __dso__cmp_short_name(a->short_name, &a->id, b);
H A Dbpf-event.c131 const char *short_name = NULL; local
141 short_name = btf__name_by_offset(btf, t->name_off);
145 short_name = info->name;
147 short_name = "F";
148 if (short_name)
150 "_%s", short_name);
H A Ddso.c1225 const char *short_name, int dso_type)
1237 dso__set_short_name(dso, short_name, false);
1283 free((char *)dso->short_name);
1285 dso->short_name = name;
1378 zfree((char **)&dso->short_name);
1451 const char *name = dso->short_name + 1;
1474 size_t ret = fprintf(fp, "dso: %s (", dso->short_name);
1476 if (dso->short_name != dso->long_name)
1224 machine__findnew_kernel(struct machine *machine, const char *name, const char *short_name, int dso_type) argument
H A Ddso.h188 const char *short_name; member in struct:dso
380 const char *short_name, int dso_type);
H A Dunwind-libdw.c87 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1,
94 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1,
H A Dmaps.c349 int ret = strcmp(dso_a->short_name, dso_b->short_name);
990 return strcmp(name, dso->short_name);
1009 if (dso && strcmp(dso->short_name, name) == 0) {
1046 if (dso && strcmp(dso->short_name, name) == 0) {
H A Dmap.c264 name = dso->short_name;
281 name = dso->short_name;
H A Ddata-convert-json.c137 const char *dso_name = dso->short_name;
H A Devent.c753 dso->short_name) ||
754 (dso->short_name != dso->long_name &&
/linux-master/tools/perf/tests/
H A Dsymbols.c148 if (dso != text_dso && strstarts(dso->short_name, text_dso->short_name))
H A Dhists_common.c186 dso->short_name,
215 dso->short_name,
H A Dhists_cumulate.c167 #define DSO(he) (map__dso(he->ms.map)->short_name)
171 #define CDSO(cl) (map__dso(cl->ms.map)->short_name)
H A Dvmlinux-kallsyms.c132 (dso->kernel ? dso->short_name : dso->name));
/linux-master/net/bluetooth/
H A Deir.c32 short_len = strnlen(hdev->short_name, sizeof(hdev->short_name));
35 hdev->short_name,
/linux-master/tools/perf/scripts/python/
H A Dexport-to-postgresql.py367 'short_name varchar(256),'
511 'short_name,'
520 '(SELECT short_name FROM dsos WHERE id=dso_id) AS dso,'
600 '(SELECT short_name FROM dsos WHERE id = dso_id) AS dso_short_name,'
604 '(SELECT short_name FROM dsos WHERE id = to_dso_id) AS to_dso_short_name,'
1006 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x):
1007 short_name = toserverstr(short_name)
1010 n1 = len(short_name)
1014 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n
[all...]
/linux-master/fs/vboxsf/
H A Dshfl_hostintf.h426 u16 short_name[14]; member in struct:shfl_dirinfo
/linux-master/scripts/dtc/
H A Ddt_to_config455 if ($short_name) {
1000 "short-name" => \$short_name,
/linux-master/include/net/bluetooth/
H A Dmgmt.h127 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member in struct:mgmt_rp_read_info
168 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member in struct:mgmt_cp_set_local_name
913 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member in struct:mgmt_ev_local_name_changed

Completed in 227 milliseconds

12