Home
last modified time | relevance | path

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

/linux/tools/lib/subcmd/
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 …]
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/drivers/hid/
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/
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 …]
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)
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/tools/perf/util/
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()
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()
A Ddso.h189 const char *short_name; in DECLARE_RC_STRUCT() local
537 return RC_CHK_ACCESS(dso)->short_name; in dso__short_name()
778 const char *short_name, int dso_type);
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()
A Ddso.c1247 const char *short_name, int dso_type) in machine__findnew_kernel() argument
1259 dso__set_short_name(dso, short_name, false); in machine__findnew_kernel()
1385 RC_CHK_ACCESS(dso)->short_name = name; in dso__set_short_name()
1491 zfree((char **)&RC_CHK_ACCESS(dso)->short_name); in dso__delete()
A Dprobe-event.c162 const char *short_name = dso__short_name(dso); in kernel_get_module_map_cb() local
165 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 && in kernel_get_module_map_cb()
/linux/net/bluetooth/
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()
A Dmgmt.c1158 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name)); in read_controller_info()
1183 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in append_eir_data_to_buf()
1185 hdev->short_name, name_len); in append_eir_data_to_buf()
3833 !memcmp(hdev->short_name, cp->short_name, in set_local_name()
3834 sizeof(hdev->short_name))) { in set_local_name()
3840 memcpy(hdev->short_name, cp->short_name, sizeof(hdev->short_name)); in set_local_name()
10021 memcpy(ev.short_name, hdev->short_name, HCI_MAX_SHORT_NAME_LENGTH); in mgmt_set_local_name_complete()
/linux/tools/perf/
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/
A Ddt_to_config455 if ($short_name) {
1000 "short-name" => \$short_name,
/linux/include/net/bluetooth/
A Dmgmt.h127 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
168 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
913 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member
A Dhci_core.h356 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; member
/linux/fs/vboxsf/
A Dshfl_hostintf.h426 u16 short_name[14]; member
/linux/drivers/net/ethernet/qlogic/netxen/
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/
A Dqlcnic.h1718 char short_name[QLCNIC_MAX_BOARD_NAME_LEN]; member
A Dqlcnic_main.c1218 qlcnic_boards[i].short_name); in qlcnic_get_board_name()
/linux/tools/arch/x86/kcpuid/
A Dcpuid.csv10 # LEAF, SUBLEAVES, reg, bits, short_name , long_description

Completed in 122 milliseconds