/linux-master/tools/lib/subcmd/ |
H A D | parse-options.h | 59 * `short_name`:: 99 int short_name; member in struct:option 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 D | parse-options.c | 23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); 41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); 87 if (((flags & OPT_SHORT) && p->excl_opt->short_name) || 90 p->excl_opt->short_name); 349 if (options->short_name == *p->opt) { 615 if ((excl_short_opt && ctx->excl_opt->short_name) || 617 char opt = ctx->excl_opt->short_name; 715 if (opts->short_name) 716 pos += fprintf(stderr, "-%c", opts->short_name); 720 if (opts->long_name && opts->short_name) [all...] |
/linux-master/drivers/hid/ |
H A D | hid-led.c | 73 const char *short_name; member in struct:hidled_config 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); 420 config->short_name, minor, color_name);
|
/linux-master/tools/perf/scripts/python/ |
H A D | parallel-perf.py | 300 def __init__(self, args, short_name, long_name, default=None): 304 m = len(short_name) 308 if m and opt[:2] == f"-{short_name}": 313 self.Init(error = f"-{short_name} option missing value") 328 if m and opt[:1] == "-" and opt[:2] != "--" and short_name in opt: 329 ipos = opt.index(short_name) 338 self.Init(error = f"-{short_name} option missing value") 371 def ReadOption(args, short_name, long_name, err_prefix, remove=False): 372 p = OptPos(args, short_name, long_name) 380 def ExtractOption(args, short_name, long_nam [all...] |
H A D | export-to-postgresql.py | 367 '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...] |
H A D | exported-sql-viewer.py | 545 QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_time)" + ipc_str + ", SUM(branch_count)" 553 " GROUP BY call_path_id, name, short_name" 830 QueryExec(query, "SELECT calls.id, name, short_name, call_time, return_time - call_time" + ipc_str + ", branch_count" 2914 QueryExec(query, "SELECT cpu, to_dso_id, to_symbol_id, to_sym_offset, short_name, long_name, build_id, sym_start, to_ip" 2927 short_name = query.value(4) 2954 f = self.glb.FileFromNamesAndBuildId(short_name, long_name, build_id) 3111 " ip, symbols.name, sym_offset, dsos.short_name," 3112 " to_ip, to_symbols.name, to_sym_offset, to_dsos.short_name" 3643 lambda g, p: SQLTableDataItem(g, "DSOs:", "Only branches with these DSOs will be included", "dsos", "short_name", "samples.dso_id", "to_dso_id", p), 4147 " WHEN (short_name [all...] |
/linux-master/tools/perf/util/ |
H A D | bpf-event.c | 131 const char *short_name = NULL; local 141 short_name = btf__name_by_offset(btf, t->name_off); 145 short_name = info->name; 147 short_name = "F"; 148 if (short_name) 150 "_%s", short_name);
|
H A D | vdso.c | 127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, argument 132 dso = dso__new(short_name);
|
H A D | unwind-libdw.c | 87 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1, 94 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1,
|
H A D | dso.h | 189 const char *short_name; local 527 return RC_CHK_ACCESS(dso)->short_name; 763 const char *short_name, int dso_type);
|
H A D | dsos.c | 117 static int __dso__cmp_short_name(const char *short_name, const struct dso_id *id, argument 120 int rc = strcmp(short_name, dso__short_name(b));
|
H A D | dso.c | 1247 const char *short_name, int dso_type) 1259 dso__set_short_name(dso, short_name, false); 1385 RC_CHK_ACCESS(dso)->short_name = name; 1491 zfree((char **)&RC_CHK_ACCESS(dso)->short_name); 1246 machine__findnew_kernel(struct machine *machine, const char *name, const char *short_name, int dso_type) argument
|
H A D | probe-event.c | 162 const char *short_name = dso__short_name(dso); local 165 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 &&
|
/linux-master/net/bluetooth/ |
H A D | eir.c | 32 short_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); 35 hdev->short_name,
|
H A D | mgmt.c | 1159 memcpy(rp.short_name, hdev->short_name, sizeof(hdev->short_name)); 1184 name_len = strnlen(hdev->short_name, sizeof(hdev->short_name)); 1186 hdev->short_name, name_len); 3805 !memcmp(hdev->short_name, cp->short_name, 3806 sizeof(hdev->short_name))) { 3812 memcpy(hdev->short_name, c [all...] |
/linux-master/tools/perf/ |
H A D | builtin-probe.c | 40 int command; /* Command short_name */ 247 params->command = opt->short_name; 267 params->command = opt->short_name; 279 params->command = opt->short_name; 290 params->command = opt->short_name;
|
/linux-master/fs/vboxsf/ |
H A D | shfl_hostintf.h | 426 u16 short_name[14]; member in struct:shfl_dirinfo
|
/linux-master/scripts/dtc/ |
H A D | dt_to_config | 455 if ($short_name) { 1000 "short-name" => \$short_name,
|
/linux-master/include/net/bluetooth/ |
H A D | mgmt.h | 127 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member in struct:mgmt_rp_read_info 168 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member in struct:mgmt_cp_set_local_name 913 __u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH]; member in struct:mgmt_ev_local_name_changed
|
H A D | hci_core.h | 363 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH]; member in struct:hci_dev
|
/linux-master/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic.h | 1802 char short_name[NETXEN_MAX_SHORT_NAME]; member in struct:netxen_brdinfo 1841 strcpy(name, netxen_boards[i].short_name);
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic.h | 1719 char short_name[QLCNIC_MAX_BOARD_NAME_LEN]; member in struct:qlcnic_board_info
|
H A D | qlcnic_main.c | 1218 qlcnic_boards[i].short_name);
|