Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/linux-6.6.21/scripts/mod/
Dfile2alias.c63 int (*do_entry)(const char *filename, void *symval, char *alias);
174 char alias[500]; in do_usb_entry() local
187 strcpy(alias, "usb:"); in do_usb_entry()
188 ADD(alias, "v", match_flags&USB_DEVICE_ID_MATCH_VENDOR, in do_usb_entry()
190 ADD(alias, "p", match_flags&USB_DEVICE_ID_MATCH_PRODUCT, in do_usb_entry()
193 strcat(alias, "d"); in do_usb_entry()
195 sprintf(alias + strlen(alias), "%0*X", in do_usb_entry()
198 sprintf(alias + strlen(alias), "%X", range_lo); in do_usb_entry()
201 sprintf(alias + strlen(alias), in do_usb_entry()
206 sprintf(alias + strlen(alias), in do_usb_entry()
[all …]
/linux-6.6.21/tools/perf/util/include/linux/
Dlinkage.h59 #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-6.6.21/tools/perf/util/
Dpmu.c286 static int perf_pmu__parse_scale(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_scale() argument
298 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.scale", pmu->name, alias->name); in perf_pmu__parse_scale()
316 ret = perf_pmu__convert_scale(scale, NULL, &alias->scale); in perf_pmu__parse_scale()
322 static int perf_pmu__parse_unit(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_unit() argument
333 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.unit", pmu->name, alias->name); in perf_pmu__parse_unit()
339 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit()
345 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit()
346 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit()
348 alias->unit[sret] = '\0'; in perf_pmu__parse_unit()
353 alias->unit[0] = '\0'; in perf_pmu__parse_unit()
[all …]
Dprint-events.c47 .alias = "",
51 .alias = "",
55 .alias = "",
330 event_symbols_tool[i].alias, in print_tool_events()
362 if (strlen(syms[i].alias)) { in print_symbol_events()
365 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms[i].symbol, syms[i].alias); in print_symbol_events()
372 char *alias = strstr(nd->s, " OR "); in print_symbol_events() local
374 if (alias) { in print_symbol_events()
375 *alias = '\0'; in print_symbol_events()
376 alias += 4; in print_symbol_events()
[all …]
/linux-6.6.21/include/linux/
Dlinkage.h33 #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-6.6.21/arch/powerpc/include/asm/
Dlinkage.h14 #define SYSCALL_ALIAS(alias, name) \ argument
15 asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \
16 "\t.globl ." #alias "\n\t.set ." #alias ", ." #name)
/linux-6.6.21/arch/x86/entry/vdso/
Dvclock_gettime.c26 __attribute__((weak, alias("__vdso_gettimeofday")));
33 __kernel_old_time_t time(__kernel_old_time_t *t) __attribute__((weak, alias("__vdso_time")));
47 __attribute__((weak, alias("__vdso_clock_gettime")));
55 __attribute__((weak, alias("__vdso_clock_getres")));
68 __attribute__((weak, alias("__vdso_clock_gettime")));
76 __attribute__((weak, alias("__vdso_clock_gettime64")));
84 __attribute__((weak, alias("__vdso_clock_getres")));
/linux-6.6.21/tools/perf/arch/x86/util/
Dpmu.c22 char *alias; member
50 zfree(&pmu_alias->alias); in pmu_alias__delete()
54 static struct pmu_alias *pmu_alias__new(char *name, char *alias) in pmu_alias__new() argument
63 pmu_alias->alias = strdup(alias); in pmu_alias__new()
64 if (!pmu_alias->alias) in pmu_alias__new()
134 if (!strcmp(name, pmu_alias->alias)) in __pmu_find_real_name()
158 return pmu_alias->alias; in __pmu_find_alias_name()
/linux-6.6.21/fs/afs/
Ddir_silly.c239 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-6.6.21/Documentation/networking/
Dalias.rst12 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-6.6.21/tools/perf/tests/
Dpmu-events.c350 static int compare_alias_to_test_event(struct pmu_event_info *alias, in compare_alias_to_test_event() argument
357 if (!is_same(alias->name, event->name)) { in compare_alias_to_test_event()
359 pmu_name, alias->name, event->name); in compare_alias_to_test_event()
363 if (!is_same(alias->desc, event->desc)) { in compare_alias_to_test_event()
365 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event()
369 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
371 pmu_name, alias->long_desc, in compare_alias_to_test_event()
376 if (!is_same(alias->topic, event->topic)) { in compare_alias_to_test_event()
378 pmu_name, alias->topic, event->topic); in compare_alias_to_test_event()
382 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event()
[all …]
/linux-6.6.21/arch/ia64/uv/kernel/
Dsetup.c27 unsigned long alias; member
40 union uvh_si_alias0_overlay_config_u alias; in get_lowmem_redirect() local
45 alias.v = uv_read_local_mmr(redir_addrs[i].alias); in get_lowmem_redirect()
46 if (alias.s.base == 0) { in get_lowmem_redirect()
47 *size = (1UL << alias.s.m_alias); in get_lowmem_redirect()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-uncore1 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-6.6.21/fs/nfs/
Dunlink.c124 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-6.6.21/Documentation/i2c/
Di2c-address-translators.rst17 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-6.6.21/arch/x86/um/vdso/
Dum_vdso.c28 __attribute__((weak, alias("__vdso_clock_gettime")));
42 __attribute__((weak, alias("__vdso_gettimeofday")));
54 __kernel_old_time_t time(__kernel_old_time_t *t) __attribute__((weak, alias("__vdso_time")));
72 __attribute__((weak, alias("__vdso_getcpu")));
/linux-6.6.21/arch/xtensa/mm/
Dcache.c143 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); in flush_dcache_folio() local
153 if (!alias && !mapping) in flush_dcache_folio()
163 if (alias) in flush_dcache_folio()
276 unsigned long alias = !(DCACHE_ALIAS_EQ(vaddr, phys)); in copy_to_user_page() local
280 if (alias) { in copy_to_user_page()
296 if (alias) { in copy_to_user_page()
316 unsigned long alias = !(DCACHE_ALIAS_EQ(vaddr, phys)); in copy_from_user_page() local
323 if (alias) { in copy_from_user_page()
/linux-6.6.21/arch/alpha/include/asm/
Dlinkage.h6 #define SYSCALL_ALIAS(alias, name) \ argument
7 asm ( #alias " = " #name "\n\t.globl " #alias)
/linux-6.6.21/arch/mips/include/asm/
Dlinkage.h10 #define SYSCALL_ALIAS(alias, name) \ argument
11 asm ( #alias " = " #name "\n\t.globl " #alias)
/linux-6.6.21/arch/ia64/include/asm/
Dlinkage.h16 #define SYSCALL_ALIAS(alias, name) \ argument
17 asm ( #alias "# = " #name "#\n\t.globl " #alias "#")
/linux-6.6.21/drivers/clk/hisilicon/
Dclk.c172 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()
Dclk.h54 const char *alias; member
80 const char *alias; member
92 const char *alias; member
103 const char *alias; member
/linux-6.6.21/drivers/i2c/
Di2c-atr.c34 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-6.6.21/tools/perf/tests/shell/lib/
Dperf_metric_validation.py75 def get_bounds(self, lb, ub, error, alias={}, ridx:int = 0) -> list: argument
95 elif bound in alias:
96 vall = self.get_value(alias[ub], ridx)
176 def evaluate_formula(self, formula:str, alias:dict, ridx:int = 0):
193 s = alias[formula[b:i]] if i+1 < len(formula) else alias[formula[b:]]
228 alias = dict()
230 alias[m['Alias']] = m['Name']
231 …et_bounds(rule['RangeLower'], rule['RangeUpper'], rule['ErrorThreshold'], alias, ridx=rule['RuleIn…
232 val, f = self.evaluate_formula(rule['Formula'], alias, ridx=rule['RuleIndex'])
239 if lb in alias:
[all …]
/linux-6.6.21/fs/ocfs2/
Ddcache.c215 struct dentry *alias; in ocfs2_dentry_attach_lock() local
245 alias = ocfs2_find_local_alias(inode, parent_blkno, 0); in ocfs2_dentry_attach_lock()
246 if (alias) { in ocfs2_dentry_attach_lock()
258 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock()
297 if (unlikely(dentry->d_fsdata && !alias)) { in ocfs2_dentry_attach_lock()
329 if (ret < 0 && !alias) { in ocfs2_dentry_attach_lock()
339 dput(alias); in ocfs2_dentry_attach_lock()

12345678910>>...12