| /linux/tools/lib/subcmd/ |
| H A D | parse-options.h | 61 * `short_name`:: 101 int short_name; 122 #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) } 123 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h) } 124 #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) } 126 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \ 129 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h) } 130 #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) } 131 #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) } 132 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name 99 int short_name; global() member [all...] |
| H A D | parse-options.c | 23 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() 88 if (((flags & OPT_SHORT) && p->excl_opt->short_name) || in get_value() 91 p->excl_opt->short_name); in get_value() 386 if (options->short_name == *p->opt) { in parse_long_opt() 653 if ((excl_short_opt && ctx->excl_opt->short_name) || in parse_options_subcommand() 655 char opt = ctx->excl_opt->short_name; in parse_options_subcommand() 751 if (opts->short_name) in print_option_help() 752 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help() 756 if (opts->long_name && opts->short_name) in print_option_help() [all...] |
| /linux/drivers/hid/ |
| H A D | hid-led.c | 73 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 D | parallel-perf.py | 300 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 D | export-to-postgresql.py | 1006 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 D | exported-sql-viewer.py | 2930 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 D | acpi.c | 35 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 D | eir.c | 32 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 D | mgmt.c | 1179 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name)); in read_controller_info() 1204 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); in append_eir_data_to_buf() 1206 hdev->short_name, name_len); in append_eir_data_to_buf() 4023 !memcmp(hdev->short_name, cp->short_name, in set_local_name() 4024 sizeof(hdev->short_name))) { in set_local_name() 4030 memcpy(hdev->short_name, c in set_local_name() [all...] |
| /linux/tools/perf/tests/ |
| H A D | hists_common.c | |
| /linux/tools/perf/util/ |
| H A D | bpf-event.c | 143 const char *short_name = NULL; in synthesize_bpf_prog_name() 156 short_name = btf__name_by_offset(btf, t->name_off); in synthesize_bpf_prog_name() 160 short_name = info->name; in synthesize_bpf_prog_name() 162 short_name = "F"; 163 if (short_name) { 165 "_%s", short_name); 139 const char *short_name = NULL; synthesize_bpf_prog_name() local
|
| H A D | vdso.c | 127 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 D | dso.h | 269 const char *short_name; in DECLARE_RC_STRUCT() local 640 return RC_CHK_ACCESS(dso)->short_name; in dso__short_name() 893 const char *short_name, int dso_type); in dso__binary_type()
|
| H A D | dsos.c | 117 static int __dso__cmp_short_name(const char *short_name, const struct dso_id *id, 120 int rc = strcmp(short_name, dso__short_name(b)); in __dso__cmp_short_name() 118 __dso__cmp_short_name(const char * short_name,const struct dso_id * id,const struct dso * b) __dso__cmp_short_name() argument
|
| H A D | dso.c | 1458 const char *short_name, int dso_type) in dso__set_long_name_id() 1470 dso__set_short_name(dso, short_name, false); in dso__set_long_name_id() 1599 RC_CHK_ACCESS(dso)->short_name = name; 1720 zfree((char **)&RC_CHK_ACCESS(dso)->short_name); in dso__put() 1423 machine__findnew_kernel(struct machine * machine,const char * name,const char * short_name,int dso_type) machine__findnew_kernel() argument
|
| H A D | probe-event.c | 168 const char *short_name = dso__short_name(dso); in kernel_get_module_map_cb() 171 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 && in kernel_get_module_map_cb() 169 const char *short_name = dso__short_name(dso); kernel_get_module_map_cb() local
|
| /linux/tools/perf/ |
| H A D | builtin-probe.c | 40 int command; /* Command short_name */ 246 params->command = opt->short_name; in opt_show_lines() 266 params->command = opt->short_name; in opt_show_vars() 278 params->command = opt->short_name; in opt_add_probe_event() 289 params->command = opt->short_name; in opt_set_filter_with_command()
|
| /linux/include/net/bluetooth/ |
| H A D | mgmt.h | 132 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; 173 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; 928 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; 135 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; global() member 176 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; global() member 931 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; global() member
|
| H A D | hci_core.h | 370 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; 373 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; global() member
|
| /linux/fs/vboxsf/ |
| H A D | shfl_hostintf.h | 426 u16 short_name[14]; member
|
| /linux/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic.h | 1802 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 D | qlcnic_main.c | 1212 qlcnic_boards[i].short_name); in qlcnic_get_board_name()
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 10 # LEAF, SUBLEAVES, reg, bits, short_name , long_description
|