Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.h59 * `short_name`::
99 int short_name; member
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); 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()
349 if (options->short_name == *p->opt) { in parse_short_opt()
615 if ((excl_short_opt && ctx->excl_opt->short_name) || in parse_options_step()
617 char opt = ctx->excl_opt->short_name; in parse_options_step()
713 if (opts->short_name) in print_option_help()
714 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help()
718 if (opts->long_name && opts->short_name) in print_option_help()
[all...]
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.h63 * `short_name`::
103 int short_name; member
124 #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) }
125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h) }
126 #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) }
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), .value = check_vtype(v, int *), .help = (h) }
132 #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) }
133 #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) }
134 #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); 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()
349 if (options->short_name == *p->opt) { in parse_short_opt()
615 if ((excl_short_opt && ctx->excl_opt->short_name) || in parse_options_step()
617 char opt = ctx->excl_opt->short_name; in parse_options_step()
713 if (opts->short_name) in print_option_help()
714 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help()
718 if (opts->long_name && opts->short_name) in print_option_help()
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A 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()
/kernel/linux/linux-6.6/drivers/hid/
H A 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()
/kernel/linux/linux-5.10/tools/perf/util/
H A 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()
360 return !strcmp(dso->short_name, DSO__NAME_VDSO) || in dso__is_vdso()
361 !strcmp(dso->short_name, DSO__NAME_VDSO32) || in dso__is_vdso()
362 !strcmp(dso->short_name, DSO__NAME_VDSOX32); in dso__is_vdso()
H A Dbpf-event.c129 const char *short_name = NULL; in synthesize_bpf_prog_name() local
139 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
143 short_name = info->name; in synthesize_bpf_prog_name()
145 short_name = "F"; in synthesize_bpf_prog_name()
146 if (short_name) in synthesize_bpf_prog_name()
148 "_%s", short_name); in synthesize_bpf_prog_name()
H A Ddsos.c103 static int __dso__cmp_short_name(const char *short_name, struct dso_id *id, struct dso *b) in __dso__cmp_short_name() argument
105 int rc = strcmp(short_name, b->short_name); in __dso__cmp_short_name()
111 return __dso__cmp_short_name(a->short_name, &a->id, b); in dso__cmp_short_name()
H A Ddso.c1153 const char *short_name, int dso_type) in machine__findnew_kernel()
1165 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel()
1211 free((char *)dso->short_name); in dso__set_short_name()
1213 dso->short_name = name; in dso__set_short_name()
1299 zfree((char **)&dso->short_name); in dso__delete()
1372 const char *name = dso->short_name + 1; in dso__kernel_module_get_build_id()
1395 size_t ret = fprintf(fp, "dso: %s (", dso->short_name); in dso__fprintf()
1397 if (dso->short_name != dso->long_name) in dso__fprintf()
1152 machine__findnew_kernel(struct machine *machine, const char *name, const char *short_name, int dso_type) machine__findnew_kernel() argument
/kernel/linux/linux-6.6/tools/perf/util/
H A 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()
361 return !strcmp(dso->short_name, DSO__NAME_VDSO) || in dso__is_vdso()
362 !strcmp(dso->short_name, DSO__NAME_VDSO32) || in dso__is_vdso()
363 !strcmp(dso->short_name, DSO__NAME_VDSOX32); in dso__is_vdso()
H A Dbpf-event.c130 const char *short_name = NULL; in synthesize_bpf_prog_name() local
140 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
144 short_name = info->name; in synthesize_bpf_prog_name()
146 short_name = "F"; in synthesize_bpf_prog_name()
147 if (short_name) in synthesize_bpf_prog_name()
149 "_%s", short_name); in synthesize_bpf_prog_name()
H A Ddsos.c115 static int __dso__cmp_short_name(const char *short_name, struct dso_id *id, struct dso *b) in __dso__cmp_short_name() argument
117 int rc = strcmp(short_name, b->short_name); in __dso__cmp_short_name()
123 return __dso__cmp_short_name(a->short_name, &a->id, b); in dso__cmp_short_name()
H A Ddso.c1223 const char *short_name, int dso_type) in machine__findnew_kernel()
1235 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel()
1281 free((char *)dso->short_name); in dso__set_short_name()
1283 dso->short_name = name; in dso__set_short_name()
1372 zfree((char **)&dso->short_name); in dso__delete()
1445 const char *name = dso->short_name + 1; in dso__kernel_module_get_build_id()
1468 size_t ret = fprintf(fp, "dso: %s (", dso->short_name); in dso__fprintf()
1470 if (dso->short_name != dso->long_name) in dso__fprintf()
1222 machine__findnew_kernel(struct machine *machine, const char *name, const char *short_name, int dso_type) machine__findnew_kernel() argument
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Defivars.c494 char *short_name; in efivar_create_sysfs_entry() local
506 short_name = kmalloc(short_name_size, GFP_KERNEL); in efivar_create_sysfs_entry()
507 if (!short_name) in efivar_create_sysfs_entry()
510 ucs2_as_utf8(short_name, variable_name, short_name_size); in efivar_create_sysfs_entry()
514 short_name[utf8_name_size] = '-'; in efivar_create_sysfs_entry()
516 short_name + utf8_name_size + 1); in efivar_create_sysfs_entry()
521 NULL, "%s", short_name); in efivar_create_sysfs_entry()
522 kfree(short_name); in efivar_create_sysfs_entry()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-buildid-list.c36 } else if (dso->short_name != NULL) { in buildid__map_cb()
37 printf(" %s", dso->short_name); in buildid__map_cb()
H A Dbuiltin-probe.c40 int command; /* Command short_name */
247 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()
H A Dbuiltin-kallsyms.c41 symbol->name, dso->short_name, dso->long_name, in __cmd_kallsyms()
/kernel/linux/linux-6.6/net/bluetooth/
H A Deir.c32 short_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in eir_append_local_name()
35 hdev->short_name, in eir_append_local_name()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexport-to-postgresql.py367 'short_name varchar(256),'
509 'short_name,'
518 '(SELECT short_name FROM dsos WHERE id=dso_id) AS dso,'
598 '(SELECT short_name FROM dsos WHERE id = dso_id) AS dso_short_name,'
602 '(SELECT short_name FROM dsos WHERE id = to_dso_id) AS to_dso_short_name,'
1003 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x):
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, n
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-probe.c39 int command; /* Command short_name */
247 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()
H A Dbuiltin-kallsyms.c39 symbol->name, map->dso->short_name, map->dso->long_name, in __cmd_kallsyms()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dhists_common.c184 he->ms.map->dso->short_name, in print_hists_in()
211 he->ms.map->dso->short_name, in print_hists_out()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dhists_common.c186 dso->short_name, in print_hists_in()
215 dso->short_name, in print_hists_out()

Completed in 20 milliseconds

1234