Home
last modified time | relevance | path

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

1234567891011

/linux-6.12.1/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.12.1/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.12.1/tools/perf/util/
Dpmu.c295 static int perf_pmu__parse_scale(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_scale() argument
307 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.scale", pmu->name, alias->name); in perf_pmu__parse_scale()
325 ret = perf_pmu__convert_scale(scale, NULL, &alias->scale); in perf_pmu__parse_scale()
331 static int perf_pmu__parse_unit(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_unit() argument
342 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.unit", pmu->name, alias->name); in perf_pmu__parse_unit()
348 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit()
354 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit()
355 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit()
357 alias->unit[sret] = '\0'; in perf_pmu__parse_unit()
362 alias->unit[0] = '\0'; in perf_pmu__parse_unit()
[all …]
Dprint-events.c49 .alias = "",
53 .alias = "",
57 .alias = "",
352 event_symbols_tool[i].alias, in print_tool_events()
384 if (strlen(syms[i].alias)) { in print_symbol_events()
387 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms[i].symbol, syms[i].alias); in print_symbol_events()
394 char *alias = strstr(nd->s, " OR "); in print_symbol_events() local
396 if (alias) { in print_symbol_events()
397 *alias = '\0'; in print_symbol_events()
398 alias += 4; in print_symbol_events()
[all …]
/linux-6.12.1/arch/x86/entry/vdso/
Dvclock_gettime.c24 __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-6.12.1/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.12.1/arch/powerpc/include/asm/
Dlinkage.h11 #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-6.12.1/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.12.1/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.12.1/tools/perf/tests/
Dpmu-events.c365 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-6.12.1/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.12.1/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.12.1/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.12.1/arch/xtensa/mm/
Dcache.c145 unsigned long alias = !(DCACHE_ALIAS_EQ(temp, phys)); in flush_dcache_folio() local
155 if (!alias && !mapping) in flush_dcache_folio()
165 if (alias) in flush_dcache_folio()
278 unsigned long alias = !(DCACHE_ALIAS_EQ(vaddr, phys)); in copy_to_user_page() local
282 if (alias) { in copy_to_user_page()
298 if (alias) { in copy_to_user_page()
318 unsigned long alias = !(DCACHE_ALIAS_EQ(vaddr, phys)); in copy_from_user_page() local
325 if (alias) { in copy_from_user_page()
/linux-6.12.1/arch/x86/um/vdso/
Dum_vdso.c34 __attribute__((weak, alias("__vdso_clock_gettime")));
48 __attribute__((weak, alias("__vdso_gettimeofday")));
60 __kernel_old_time_t time(__kernel_old_time_t *t) __attribute__((weak, alias("__vdso_time")));
78 __attribute__((weak, alias("__vdso_getcpu")));
/linux-6.12.1/arch/alpha/include/asm/
Dlinkage.h6 #define SYSCALL_ALIAS(alias, name) \ argument
7 asm ( #alias " = " #name "\n\t.globl " #alias)
/linux-6.12.1/arch/mips/include/asm/
Dlinkage.h10 #define SYSCALL_ALIAS(alias, name) \ argument
11 asm ( #alias " = " #name "\n\t.globl " #alias)
/linux-6.12.1/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.12.1/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.12.1/tools/perf/tests/shell/lib/
Dperf_metric_validation.py100 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-6.12.1/fs/ocfs2/
Ddcache.c208 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-6.12.1/drivers/input/mouse/
Dpsmouse-base.c726 .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-6.12.1/rust/macros/
Dmodule.rs99 alias: Option<Vec<String>>, field
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-6.12.1/fs/
Ddcache.c937 struct dentry *alias; in __d_find_any_alias() local
941 alias = hlist_entry(inode->i_dentry.first, struct dentry, d_u.d_alias); in __d_find_any_alias()
942 lockref_get(&alias->d_lockref); in __d_find_any_alias()
943 return alias; in __d_find_any_alias()
966 struct dentry *alias; in __d_find_alias() local
971 hlist_for_each_entry(alias, &inode->i_dentry, d_u.d_alias) { in __d_find_alias()
972 spin_lock(&alias->d_lock); in __d_find_alias()
973 if (!d_unhashed(alias)) { in __d_find_alias()
974 dget_dlock(alias); in __d_find_alias()
975 spin_unlock(&alias->d_lock); in __d_find_alias()
[all …]

1234567891011