/linux/scripts/mod/ |
H A D | file2alias.c | 186 char alias[500]; in do_usb_entry() local 199 strcpy(alias, "usb:"); in do_usb_entry() 200 ADD(alias, "v", match_flags&USB_DEVICE_ID_MATCH_VENDOR, in do_usb_entry() 202 ADD(alias, "p", match_flags&USB_DEVICE_ID_MATCH_PRODUCT, in do_usb_entry() 205 strcat(alias, "d"); in do_usb_entry() 207 sprintf(alias + strlen(alias), "%0*X", in do_usb_entry() 210 sprintf(alias + strlen(alias), "%X", range_lo); in do_usb_entry() 213 sprintf(alias + strlen(alias), in do_usb_entry() 218 sprintf(alias + strlen(alias), in do_usb_entry() 221 sprintf(alias + strlen(alias), in do_usb_entry() [all …]
|
/linux/tools/perf/util/include/linux/ |
H A D | linkage.h | 59 #define SYM_ALIAS(alias, name, sym_type, linkage) \ argument 60 linkage(alias) ASM_NL \ 61 .set alias, name ASM_NL \ 62 .type alias sym_type ASM_NL \ 63 .set .L__sym_size_##alias, .L__sym_size_##name ASM_NL \ 64 .size alias, .L__sym_size_##alias 98 #define SYM_FUNC_ALIAS(alias, name) \ argument 99 SYM_ALIAS(alias, name, SYM_T_FUNC, SYM_L_GLOBAL) 106 #define SYM_FUNC_ALIAS_LOCAL(alias, name) \ argument 107 SYM_ALIAS(alias, name, SYM_T_FUNC, SYM_L_LOCAL) [all …]
|
/linux/tools/perf/util/ |
H A D | pmu.c | 95 /** @from_sysfs: Was the alias from sysfs or a json event? */ 297 static int perf_pmu__parse_scale(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_scale() 309 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.scale", pmu->name, alias->name); in perf_pmu__parse_scale() 327 ret = perf_pmu__convert_scale(scale, NULL, &alias->scale); in perf_pmu__parse_scale() 333 static int perf_pmu__parse_unit(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_unit() 344 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.unit", pmu->name, alias->name); in perf_pmu__parse_unit() 350 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit() 356 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit() 357 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit() 359 alias in perf_pmu__parse_unit() 295 perf_pmu__parse_scale(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_scale() argument 331 perf_pmu__parse_unit(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_unit() argument 397 perf_pmu__parse_per_pkg(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_per_pkg() argument 402 perf_pmu__parse_snapshot(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_snapshot() argument 421 struct perf_pmu_alias *alias, *tmp; perf_pmu__del_aliases() local 433 struct perf_pmu_alias *alias; perf_pmu__find_alias() local 484 read_alias_info(struct perf_pmu * pmu,struct perf_pmu_alias * alias) read_alias_info() argument 500 struct perf_pmu_alias *alias; global() member 533 struct perf_pmu_alias *alias; perf_pmu__new_alias() local 719 pmu_alias_terms(struct perf_pmu_alias * alias,int err_loc,struct list_head * terms) pmu_alias_terms() argument 1524 struct perf_pmu_alias *alias; pmu_find_alias() local 1561 check_info_data(struct perf_pmu * pmu,struct perf_pmu_alias * alias,struct perf_pmu_info * info,struct parse_events_error * err,int column) check_info_data() argument 1612 struct perf_pmu_alias *alias; perf_pmu__check_alias() local 1825 format_alias(char * buf,int len,const struct perf_pmu * pmu,const struct perf_pmu_alias * alias,bool skip_duplicate_pmus) format_alias() argument [all...] |
H A D | print-events.c | 352 if (strlen(syms[i].alias)) { in print_tool_events() 355 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms[i].symbol, syms[i].alias); in print_tool_events() 362 char *alias = strstr(nd->s, " OR "); in print_symbol_events() 364 if (alias) { in print_symbol_events() 365 *alias = '\0'; in print_symbol_events() 366 alias += 4; in print_symbol_events() 372 alias, in print_symbol_events() 394 char *alias = strstr(nd->s, " OR "); print_symbol_events() local
|
H A D | stat.c | 511 static int evsel__merge_aggr_counters(struct evsel *evsel, struct evsel *alias) in evsel__merge_aggr_counters() argument 514 struct perf_stat_evsel *ps_b = alias->stats; in evsel__merge_aggr_counters() 562 struct evsel *alias; in evsel__merge_aliases() local 564 alias = list_prepare_entry(evsel, &(evlist->core.entries), core.node); in evsel__merge_aliases() 565 list_for_each_entry_continue(alias, &evlist->core.entries, core.node) { in evsel__merge_aliases() 567 if (evsel__is_alias(evsel, alias)) { in evsel__merge_aliases() 568 evsel__merge_aggr_counters(evsel, alias); in evsel__merge_aliases() 569 alias->merged_stat = true; in evsel__merge_aliases()
|
H A D | parse-events.c | 43 .alias = "cycles", 47 .alias = "", 51 .alias = "", 55 .alias = "", 59 .alias = "branches", 63 .alias = "", 67 .alias = "", 71 .alias = "idle-cycles-frontend", 75 .alias = "idle-cycles-backend", 79 .alias [all...] |
/linux/include/linux/ |
H A D | linkage.h | 33 #define SYSCALL_ALIAS(alias, name) asm( \ argument 34 ".globl " __stringify(alias) "\n\t" \ 35 ".set " __stringify(alias) "," \ 174 #define SYM_ALIAS(alias, name, linkage) \ 175 linkage(alias) ASM_NL \ 176 .set alias, name ASM_NL 260 #define SYM_FUNC_ALIAS(alias, name) \ 261 SYM_ALIAS(alias, name, SYM_L_GLOBAL) 268 #define SYM_FUNC_ALIAS_LOCAL(alias, name) \ 269 SYM_ALIAS(alias, name, SYM_L_LOCAL) [all …]
|
/linux/arch/x86/entry/vdso/ |
H A D | vclock_gettime.c | 24 __attribute__((weak, alias("__vdso_gettimeofday"))); 31 __kernel_old_time_t time(__kernel_old_time_t *t) __attribute__((weak, alias("__vdso_time"))); 42 __attribute__((weak, alias("__vdso_clock_gettime"))); 50 __attribute__((weak, alias("__vdso_clock_getres"))); 60 __attribute__((weak, alias("__vdso_clock_gettime"))); 68 __attribute__((weak, alias("__vdso_clock_gettime64"))); 76 __attribute__((weak, alias("__vdso_clock_getres")));
|
/linux/arch/powerpc/include/asm/ |
H A D | linkage.h | 11 #define SYSCALL_ALIAS(alias, name) \ argument 12 asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \ 13 "\t.globl ." #alias "\n\t.set ." #alias ", ." #name)
|
/linux/fs/afs/ |
H A D | dir_silly.c | 239 struct dentry *alias; in afs_silly_iput() local 248 alias = d_alloc_parallel(dentry->d_parent, &dentry->d_name, &wq); in afs_silly_iput() 249 if (IS_ERR(alias)) { in afs_silly_iput() 254 if (!d_in_lookup(alias)) { in afs_silly_iput() 259 spin_lock(&alias->d_lock); in afs_silly_iput() 260 if (d_really_is_positive(alias) && in afs_silly_iput() 261 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in afs_silly_iput() 262 alias->d_flags |= DCACHE_NFSFS_RENAMED; in afs_silly_iput() 265 spin_unlock(&alias->d_lock); in afs_silly_iput() 267 dput(alias); in afs_silly_iput() [all …]
|
/linux/Documentation/networking/ |
H A D | alias.rst | 12 An alias is formed by adding a colon and a string when running ifconfig. 20 200.1.1.1 alias for eth0 ... 24 ~~ -> request alias #0 creation (if not yet exists) for eth0 33 The alias is removed by shutting the alias down:: 36 ~~~~~~~~~~ -> will delete alias
|
/linux/tools/perf/tests/ |
H A D | pmu-events.c | 365 static int compare_alias_to_test_event(struct pmu_event_info *alias, in compare_alias_to_test_event() argument 372 if (!is_same(alias->name, event->name)) { in compare_alias_to_test_event() 374 pmu_name, alias->name, event->name); in compare_alias_to_test_event() 378 if (!is_same(alias->desc, event->desc)) { in compare_alias_to_test_event() 380 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event() 384 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event() 386 pmu_name, alias->long_desc, in compare_alias_to_test_event() 391 if (!is_same(alias->topic, event->topic)) { in compare_alias_to_test_event() 393 pmu_name, alias->topic, event->topic); in compare_alias_to_test_event() 397 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event() [all …]
|
/linux/fs/nfs/ |
H A D | unlink.c | 124 struct dentry *alias; in nfs_call_unlink() local 127 alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq); in nfs_call_unlink() 128 if (IS_ERR(alias)) { in nfs_call_unlink() 132 if (!d_in_lookup(alias)) { in nfs_call_unlink() 140 spin_lock(&alias->d_lock); in nfs_call_unlink() 141 if (d_really_is_positive(alias) && in nfs_call_unlink() 142 !nfs_compare_fh(NFS_FH(inode), NFS_FH(d_inode(alias))) && in nfs_call_unlink() 143 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_call_unlink() 144 devname_garbage = alias->d_fsdata; in nfs_call_unlink() 145 alias->d_fsdata = data; in nfs_call_unlink() [all …]
|
/linux/Documentation/i2c/ |
H A D | i2c-address-translators.rst | 17 called the "alias" and is (potentially) different from the physical 23 - there is normally no need to select the child port; the alias used on the 31 an available alias. Maintaining an appropriate pool of available aliases 33 ATR maintains a table of currently assigned alias and uses it to modify 53 in the transaction and based on the alias table. 69 - ATR driver finds slave X is on bus B and has alias 0x20, rewrites 87 2. When the attach callback is called pick an appropriate alias, 88 configure it in the chip and return the chosen alias in the 90 3. When the detach callback is called, deconfigure the alias from 91 the chip and put the alias back in the pool for later usage
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-event_source-devices-uncore | 1 What: /sys/bus/event_source/devices/uncore_*/alias 5 Description: Read-only. An attribute to describe the alias name of 6 the uncore PMU if an alias exists on some platforms. 12 $ cat /sys/devices/uncore_cha_2/alias
|
/linux/drivers/clk/hisilicon/ |
H A D | clk.c | 172 if (clks[i].alias) in hisi_clk_register_mux() 173 clk_register_clkdev(clk, clks[i].alias, NULL); in hisi_clk_register_mux() 234 if (clks[i].alias) in hisi_clk_register_divider() 235 clk_register_clkdev(clk, clks[i].alias, NULL); in hisi_clk_register_divider() 271 if (clks[i].alias) in hisi_clk_register_gate() 272 clk_register_clkdev(clk, clks[i].alias, NULL); in hisi_clk_register_gate() 308 if (clks[i].alias) in hisi_clk_register_gate_sep() 309 clk_register_clkdev(clk, clks[i].alias, NULL); in hisi_clk_register_gate_sep() 338 if (clks[i].alias) in hi6220_clk_register_divider() 339 clk_register_clkdev(clk, clks[i].alias, NULL); in hi6220_clk_register_divider()
|
H A D | clk.h | 54 const char *alias; member 80 const char *alias; member 92 const char *alias; member 103 const char *alias; member
|
/linux/arch/alpha/include/asm/ |
H A D | linkage.h | 6 #define SYSCALL_ALIAS(alias, name) \ argument 7 asm ( #alias " = " #name "\n\t.globl " #alias)
|
/linux/arch/mips/include/asm/ |
H A D | linkage.h | 10 #define SYSCALL_ALIAS(alias, name) \ argument 11 asm ( #alias " = " #name "\n\t.globl " #alias)
|
/linux/drivers/i2c/ |
H A D | i2c-atr.c | 34 u16 alias; member 170 msgs[i].addr = c2a->alias; in i2c_atr_map_msgs() 234 return i2c_smbus_xfer(parent, c2a->alias, flags, read_write, command, in i2c_atr_smbus_xfer() 296 static void i2c_atr_release_alias(struct i2c_atr *atr, u16 alias) in i2c_atr_release_alias() argument 303 if (atr->aliases[idx] == alias) { in i2c_atr_release_alias() 322 u16 alias; in i2c_atr_attach_client() local 329 alias = ret; in i2c_atr_attach_client() 337 ret = atr->ops->attach_client(atr, chan->chan_id, client, alias); in i2c_atr_attach_client() 342 chan->chan_id, client->addr, alias, client->name); in i2c_atr_attach_client() 345 c2a->alias = alias; in i2c_atr_attach_client() [all …]
|
/linux/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 100 def get_bounds(self, lb, ub, error, alias={}, ridx: int = 0) -> list: argument 120 elif bound in alias: 121 vall = self.get_value(alias[ub], ridx) 206 def evaluate_formula(self, formula: str, alias: dict, ridx: int = 0): 223 s = alias[formula[b:i]] if i + \ 224 1 < len(formula) else alias[formula[b:]] 259 alias = dict() 261 alias[m['Alias']] = m['Name'] 263 … rule['RangeLower'], rule['RangeUpper'], rule['ErrorThreshold'], alias, ridx=rule['RuleIndex']) 265 rule['Formula'], alias, ridx=rule['RuleIndex']) [all …]
|
/linux/fs/ocfs2/ |
H A D | dcache.c | 208 struct dentry *alias; in ocfs2_dentry_attach_lock() local 238 alias = ocfs2_find_local_alias(inode, parent_blkno, 0); in ocfs2_dentry_attach_lock() 239 if (alias) { in ocfs2_dentry_attach_lock() 251 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock() 290 if (unlikely(dentry->d_fsdata && !alias)) { in ocfs2_dentry_attach_lock() 322 if (ret < 0 && !alias) { in ocfs2_dentry_attach_lock() 332 dput(alias); in ocfs2_dentry_attach_lock()
|
/linux/drivers/input/mouse/ |
H A D | psmouse-base.c | 726 .alias = "bare", 736 .alias = "logitech", 743 .alias = "thinkps", 750 .alias = "cypress", 758 .alias = "genius", 764 .alias = "imps", 773 .alias = "exps", 783 .alias = "synaptics", 790 .alias = "synaptics-relative", 799 .alias = "synaptics-smbus", [all …]
|
/linux/rust/macros/ |
H A D | module.rs | 99 alias: Option<Vec<String>>, field 113 "alias", in parse() 141 "alias" => info.alias = Some(expect_string_array(it)), in parse() 193 if let Some(aliases) = info.alias { in module() 194 for alias in aliases { in module() 195 modinfo.emit("alias", &alias); in module()
|
/linux/fs/exfat/ |
H A D | namei.c | 720 struct dentry *alias; in exfat_lookup() local 743 alias = d_find_alias(inode); in exfat_lookup() 749 if (alias && alias->d_parent == dentry->d_parent && in exfat_lookup() 750 !exfat_d_anon_disconn(alias)) { in exfat_lookup() 758 if (d_unhashed(alias)) { in exfat_lookup() 759 WARN_ON(alias->d_name.hash_len != in exfat_lookup() 762 alias); in exfat_lookup() 764 d_rehash(alias); in exfat_lookup() 773 d_move(alias, dentry); in exfat_lookup() 777 return alias; in exfat_lookup() [all …]
|