Home
last modified time | relevance | path

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

/linux/tools/lib/subcmd/
H A Dparse-options.h99 int short_name; member
120 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val…
121 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), …
122 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name…
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…
128 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)…
129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), …
130 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), …
131 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),…
[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 …]
/linux/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/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)
371 def ReadOption(args, short_name, long_name, err_prefix, remove=False): argument
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 ")
[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.py2930 short_name = query.value(4)
2957 f = self.glb.FileFromNamesAndBuildId(short_name, long_name, build_id)
4810 def FileFromNamesAndBuildId(self, short_name, long_name, build_id): argument
4812 if short_name[0:7] == "[kernel" and os.path.basename(long_name) == "kcore":
/linux/sound/hda/controllers/
H A Dacpi.c35 const char *short_name; member
137 sname = hda->data->short_name ? hda->data->short_name : KBUILD_MODNAME; in hda_acpi_init()
300 .short_name = "NVIDIA",
/linux/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.c1164 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name)); in read_controller_info()
1189 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in append_eir_data_to_buf()
1191 hdev->short_name, name_len); in append_eir_data_to_buf()
4001 !memcmp(hdev->short_name, cp->short_name, in set_local_name()
4002 sizeof(hdev->short_name))) { in set_local_name()
4008 memcpy(hdev->short_name, cp->short_name, sizeof(hdev->short_name)); in set_local_name()
10100 memcpy(ev.short_name, hdev->short_name, HCI_MAX_SHORT_NAME_LENGTH); in mgmt_set_local_name_complete()
/linux/tools/perf/util/
H A Dbpf-event.c139 const char *short_name = NULL; in synthesize_bpf_prog_name() local
149 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name()
153 short_name = info->name; in synthesize_bpf_prog_name()
155 short_name = "F"; in synthesize_bpf_prog_name()
156 if (short_name) in synthesize_bpf_prog_name()
158 "_%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.h268 const char *short_name; in DECLARE_RC_STRUCT() local
621 return RC_CHK_ACCESS(dso)->short_name; in dso__short_name()
863 const char *short_name, int dso_type);
H A Ddsos.c118 static int __dso__cmp_short_name(const char *short_name, const struct dso_id *id, in __dso__cmp_short_name() argument
121 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()
1474 RC_CHK_ACCESS(dso)->short_name = name; in __dso__set_short_name()
1595 zfree((char **)&RC_CHK_ACCESS(dso)->short_name); in dso__delete()
H A Dprobe-event.c169 const char *short_name = dso__short_name(dso); in kernel_get_module_map_cb() local
172 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 && in kernel_get_module_map_cb()
/linux/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/scripts/dtc/
H A Ddt_to_config455 if ($short_name) {
1000 "short-name" => \$short_name,
/linux/include/net/bluetooth/
H A Dmgmt.h133 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
174 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
929 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
H A Dhci_core.h372 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; member
/linux/fs/vboxsf/
H A Dshfl_hostintf.h426 u16 short_name[14]; member
/linux/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/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic.h1718 char short_name[QLCNIC_MAX_BOARD_NAME_LEN]; member
H A Dqlcnic_main.c1217 qlcnic_boards[i].short_name); in qlcnic_get_board_name()
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv10 # LEAF, SUBLEAVES, reg, bits, short_name , long_description