Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/subcmd/
H A Dparse-options.h99 int short_name; member
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), .va…
129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), …
133 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .va…
135 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .val…
138 { .type = OPTION_STRING, .short_name = (s), .long_name = (l), \
142 { .type = OPTION_STRING, .short_name = (s), .long_name = (l), \
150 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
158 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l),\
[all …]
H A Dparse-options.c90 p->excl_opt->short_name); in get_value()
349 if (options->short_name == *p->opt) { in parse_short_opt()
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()
789 int sa = tolower(a->short_name), sb = tolower(b->short_name), ret; in option__cmp()
859 if (arg[0] == opt->short_name) in option__in_argv()
873 if (arg[1] == opt->short_name || in option__in_argv()
972 if (opts->short_name == *optstr) { in parse_options_usage()
[all …]
/linux-6.15/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()
/linux-6.15/tools/perf/scripts/python/
H A Dparallel-perf.py300 def __init__(self, args, short_name, long_name, default=None): argument
304 m = len(short_name)
328 if m and opt[:1] == "-" and opt[:2] != "--" and short_name in opt:
329 ipos = opt.index(short_name)
372 p = OptPos(args, short_name, long_name)
380 def ExtractOption(args, short_name, long_name, err_prefix): argument
381 return ReadOption(args, short_name, long_name, err_prefix, True)
383 def ReadPerfOption(args, short_name, long_name): argument
384 return ReadOption(args, short_name, long_name, "perf command ")
386 def ExtractPerfOption(args, short_name, long_name): argument
[all …]
H A Dexport-to-postgresql.py1006 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): argument
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, n2, long_name, n3, build_id)
H A Dexported-sql-viewer.py2927 short_name = query.value(4)
2954 f = self.glb.FileFromNamesAndBuildId(short_name, long_name, build_id)
4807 def FileFromNamesAndBuildId(self, short_name, long_name, build_id): argument
4809 if short_name[0:7] == "[kernel" and os.path.basename(long_name) == "kcore":
/linux-6.15/tools/perf/util/
H A Dbpf-event.c131 const char *short_name = NULL; in synthesize_bpf_prog_name() local
141 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
145 short_name = info->name; in synthesize_bpf_prog_name()
147 short_name = "F"; in synthesize_bpf_prog_name()
148 if (short_name) in synthesize_bpf_prog_name()
150 "_%s", short_name); in synthesize_bpf_prog_name()
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()
H A Ddso.h249 const char *short_name; in DECLARE_RC_STRUCT() local
599 return RC_CHK_ACCESS(dso)->short_name; in dso__short_name()
844 const char *short_name, int dso_type);
H A Ddsos.c117 static int __dso__cmp_short_name(const char *short_name, const struct dso_id *id, in __dso__cmp_short_name() argument
120 int rc = strcmp(short_name, dso__short_name(b)); in __dso__cmp_short_name()
H A Ddso.c1333 const char *short_name, int dso_type) in machine__findnew_kernel() argument
1345 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel()
1471 RC_CHK_ACCESS(dso)->short_name = name; in dso__set_short_name()
1577 zfree((char **)&RC_CHK_ACCESS(dso)->short_name); in dso__delete()
H A Dprobe-event.c166 const char *short_name = dso__short_name(dso); in kernel_get_module_map_cb() local
169 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 && in kernel_get_module_map_cb()
/linux-6.15/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()
H A Dmgmt.c1165 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name)); in read_controller_info()
1190 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in append_eir_data_to_buf()
1192 hdev->short_name, name_len); in append_eir_data_to_buf()
3908 !memcmp(hdev->short_name, cp->short_name, in set_local_name()
3909 sizeof(hdev->short_name))) { in set_local_name()
3915 memcpy(hdev->short_name, cp->short_name, sizeof(hdev->short_name)); in set_local_name()
9982 memcpy(ev.short_name, hdev->short_name, HCI_MAX_SHORT_NAME_LENGTH); in mgmt_set_local_name_complete()
/linux-6.15/tools/perf/
H A 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()
/linux-6.15/scripts/dtc/
H A Ddt_to_config455 if ($short_name) {
1000 "short-name" => \$short_name,
/linux-6.15/include/net/bluetooth/
H A Dmgmt.h128 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
169 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
924 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
H A Dhci_core.h363 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; member
/linux-6.15/fs/vboxsf/
H A Dshfl_hostintf.h426 u16 short_name[14]; member
/linux-6.15/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic.h1802 char short_name[NETXEN_MAX_SHORT_NAME]; member
1841 strcpy(name, netxen_boards[i].short_name); in netxen_nic_get_brd_name_by_type()
/linux-6.15/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic.h1718 char short_name[QLCNIC_MAX_BOARD_NAME_LEN]; member
H A Dqlcnic_main.c1218 qlcnic_boards[i].short_name); in qlcnic_get_board_name()
/linux-6.15/tools/arch/x86/kcpuid/
H A Dcpuid.csv10 # LEAF, SUBLEAVES, reg, bits, short_name , long_description