/linux/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation_rules.json | 25 "Alias": "a" string 29 "Alias": "b" string 33 "Alias": "c" string 48 "Alias": "a" string 52 "Alias": "b" string 56 "Alias": "c" string 71 "Alias": "a" string 75 "Alias": "b" string 90 "Alias": "a" string 105 "Alias": "" string [all …]
|
H A D | perf_metric_validation.py | 102 def get_bounds(self, lb, ub, error, alias={}, ridx: int = 0) -> list: argument 122 elif bound in alias: 123 vall = self.get_value(alias[ub], ridx) 208 def evaluate_formula(self, formula: str, alias: dict, ridx: int = 0): 213 @param alias: the dict has alias to metric name mapping 225 s = alias[formula[b:i]] if i + \ 226 1 < len(formula) else alias[formula[b:]] 259 @param rule: dict with metric name(+alias), formula, and required upper and lower bounds. 261 alias = dict() 263 alias[m['Alias']] = m['Name'] [all …]
|
/linux/scripts/mod/ |
H A D | file2alias.c | 1 /* Simple code to turn various tables in an ELF file into alias definitions. 188 char alias[500]; in do_usb_entry() 201 strcpy(alias, "usb:"); in do_usb_entry() 202 ADD(alias, "v", match_flags&USB_DEVICE_ID_MATCH_VENDOR, in do_usb_entry() 204 ADD(alias, "p", match_flags&USB_DEVICE_ID_MATCH_PRODUCT, in do_usb_entry() 207 strcat(alias, "d"); in do_usb_entry() 209 sprintf(alias + strlen(alias), "%0*X", in do_usb_entry() 212 sprintf(alias + strlen(alias), " in do_usb_entry() 187 char alias[500]; do_usb_entry() local 354 char alias[500]; do_of_entry() local 381 char alias[256] = {}; do_hid_entry() local 399 char alias[256] = {}; do_ieee1394_entry() local 422 char alias[256]; do_pci_entry() local 477 char alias[256] = {}; do_ccw_entry() local 516 char alias[256] = {}; do_serio_entry() local 547 char alias[256]; do_acpi_entry() local 603 char alias[256] = {}; do_pcmcia_entry() local 637 char alias[256]; do_vio_entry() local 653 do_input(char * alias,kernel_ulong_t * arr,unsigned int min,unsigned int max) do_input() argument 667 char alias[256] = {}; do_input_entry() local 731 char alias[256] = {}; do_parisc_entry() local 749 char alias[256] = {}; do_sdio_entry() local 765 char alias[256] = {}; do_ssb_entry() local 781 char alias[256] = {}; do_bcma_entry() local 799 char alias[256] = {}; do_virtio_entry() local 844 char alias[256] = {}; do_i3c_entry() local 910 char alias[256] = {}; do_dmi_entry() local 962 char alias[256] = {}; do_zorro_entry() local 986 char alias[256] = {}; do_ipack_entry() local 1048 char alias[256]; do_amba_entry() local 1087 char alias[256] = {}; do_x86cpu_entry() local 1115 char alias[256] = {}; do_mei_entry() local 1131 char alias[256] = {}; do_rio_entry() local 1158 char alias[256] = {}; do_hda_entry() local 1174 char alias[256] = {}; do_sdw_entry() local 1201 char alias[256] = {}; do_tbsvc_entry() local 1275 char alias[256] = {}; do_ishtp_entry() local 1297 char alias[256] = {}; do_ssam_entry() local 1326 char alias[256]; do_cdx_entry() local [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 95 * SYM_FUNC_ALIAS -- define a global alias for an existing function 98 #define SYM_FUNC_ALIAS(alias, name) \ argument 99 SYM_ALIAS(alias, name, SYM_T_FUNC, SYM_L_GLOBAL) 103 * SYM_FUNC_ALIAS_LOCAL -- define a local alias for an existing function [all …]
|
/linux/tools/perf/util/ |
H A D | pmu.c | 104 /** @from_sysfs: Was the alias from sysfs or a json event? */ 309 static int perf_pmu__parse_scale(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_scale() argument 321 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.scale", pmu->name, alias->name); in perf_pmu__parse_scale() 339 ret = perf_pmu__convert_scale(scale, NULL, &alias->scale); in perf_pmu__parse_scale() 345 static int perf_pmu__parse_unit(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_unit() argument 356 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.unit", pmu->name, alias->name); in perf_pmu__parse_unit() 362 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit() 368 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit() 369 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit() 371 alias->unit[sret] = '\0'; in perf_pmu__parse_unit() [all …]
|
/linux/Documentation/networking/ |
H A D | alias.rst | 12 An alias is formed by adding a colon and a string when running ifconfig. 16 Alias creation 19 Alias creation is done by 'magic' interface naming: eg. to create a 20 200.1.1.1 alias for eth0 ... 24 ~~ -> request alias #0 creation (if not yet exists) for eth0 30 Alias deletion 33 The alias is removed by shutting the alias down:: 36 ~~~~~~~~~~ -> will delete alias 39 Alias (re-)configuring
|
/linux/drivers/i2c/ |
H A D | i2c-atr.c | 25 * struct i2c_atr_alias_pair - Holds the alias assigned to a client address. 28 * @alias: I2C alias address assigned by the driver. 31 * @fixed: Alias pair cannot be replaced during dynamic address attachment. 34 * It marks addresses that have already been attached to an alias so 35 * that their alias pair is not evicted by a subsequent address in the same 43 u16 alias; member 49 * @shared: Indicates if this alias pool is shared by multiple channels 180 u16 alias, u16 addr) in i2c_atr_create_c2a() argument 191 c2a->alias = alias; in i2c_atr_create_c2a() 209 u16 alias; in i2c_atr_reserve_alias() local [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 48 Alias table: 53 in the transaction and based on the alias table. 55 Alias table: 60 Client Alias 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, [all …]
|
/linux/Documentation/driver-api/cxl/linux/example-configurations/ |
H A D | multi-interleave.rst | 27 "alias":"ACPI0016:01", 32 "alias":"ACPI0016:02", 37 "alias":"ACPI0016:03", 42 "alias":"ACPI0016:00", 65 "alias":"device:02", 70 "alias":"device:05", 75 "alias":"device:0d", 165 "alias":"device:02", 171 "alias":"device:05", 197 "alias":"device:c3", [all …]
|
H A D | hb-interleave.rst | 26 "alias":"ACPI0016:01", 31 "alias":"ACPI0016:02", 36 "alias":"ACPI0016:03", 41 "alias":"ACPI0016:00", 64 "alias":"device:02", 69 "alias":"device:05", 74 "alias":"device:0d", 134 "alias":"device:02", 159 "alias":"device:c3", 202 "alias":"device:c3", [all …]
|
H A D | intra-hb-interleave.rst | 26 "alias":"ACPI0016:01", 31 "alias":"ACPI0016:02", 36 "alias":"ACPI0016:03", 41 "alias":"ACPI0016:00", 64 "alias":"device:02", 69 "alias":"device:05", 74 "alias":"device:0d", 162 "alias":"device:02", 168 "alias":"device:05", 195 "alias":"device:55", [all …]
|
H A D | single-device.rst | 26 "alias":"ACPI0016:01", 31 "alias":"ACPI0016:02", 36 "alias":"ACPI0016:03", 41 "alias":"ACPI0016:00", 64 "alias":"device:02", 69 "alias":"device:05", 74 "alias":"device:0d", 133 "alias":"device:02", 157 "alias":"device:55", 162 "alias":"device:5d", [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/tools/perf/pmu-events/arch/common/common/ |
H A D | software.json | 17 "BriefDescription": "Number of page faults [This event is an alias of page-faults]", 23 "BriefDescription": "Number of page faults [This event is an alias of faults]", 29 "BriefDescription": "Number of context switches [This event is an alias of cs]", 35 "BriefDescription": "Number of context switches [This event is an alias of context-switches]", 41 …ion": "Number of times a process has migrated to a new CPU [This event is an alias of migrations]", 47 …": "Number of times a process has migrated to a new CPU [This event is an alias of cpu-migrations]…
|
/linux/fs/afs/ |
H A D | dir_silly.c | 248 struct dentry *alias; in afs_silly_iput() local 257 alias = d_alloc_parallel(dentry->d_parent, &dentry->d_name, &wq); in afs_silly_iput() 258 if (IS_ERR(alias)) { in afs_silly_iput() 263 if (!d_in_lookup(alias)) { in afs_silly_iput() 268 spin_lock(&alias->d_lock); in afs_silly_iput() 269 if (d_really_is_positive(alias) && in afs_silly_iput() 270 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in afs_silly_iput() 271 alias->d_flags |= DCACHE_NFSFS_RENAMED; in afs_silly_iput() 274 spin_unlock(&alias->d_lock); in afs_silly_iput() 276 dput(alias); in afs_silly_iput() [all …]
|
/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/arch/parisc/include/asm/ |
H A D | fixmap.h | 21 * The c3750 with PA8700 processor returns an alias value of 11. This 22 * indicates that it has an alias boundary of 4 MB. It also supports 25 * Machines with PA8800/PA8900 processors return an alias value of 0. 26 * This indicates the alias boundary is unknown and may be larger than 29 * Here we assume the maximum alias boundary is 4 MB.
|
/linux/drivers/of/ |
H A D | of_private.h | 15 * struct alias_prop - Alias property in 'aliases' node 17 * @alias: Alias property name 18 * @np: Pointer to device_node that the alias stands for 19 * @id: Index value from end of alias name 20 * @stem: Alias string without the index 22 * The structure represents one alias property of 'aliases' node as 27 const char *alias; member
|
/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | floating-point.json | 44 … "BriefDescription": "FP_ARITH_DISPATCHED.PORT_0 [This event is alias to FP_ARITH_DISPATCHED.V0]", 48 …"PublicDescription": "FP_ARITH_DISPATCHED.PORT_0 [This event is alias to FP_ARITH_DISPATCHED.V0] A… 54 … "BriefDescription": "FP_ARITH_DISPATCHED.PORT_1 [This event is alias to FP_ARITH_DISPATCHED.V1]", 58 …"PublicDescription": "FP_ARITH_DISPATCHED.PORT_1 [This event is alias to FP_ARITH_DISPATCHED.V1] A… 64 … "BriefDescription": "FP_ARITH_DISPATCHED.PORT_5 [This event is alias to FP_ARITH_DISPATCHED.V2]", 68 …"PublicDescription": "FP_ARITH_DISPATCHED.PORT_5 [This event is alias to FP_ARITH_DISPATCHED.V2] A… 74 … "BriefDescription": "FP_ARITH_DISPATCHED.V0 [This event is alias to FP_ARITH_DISPATCHED.PORT_0]", 78 …"PublicDescription": "FP_ARITH_DISPATCHED.V0 [This event is alias to FP_ARITH_DISPATCHED.PORT_0] A… 84 … "BriefDescription": "FP_ARITH_DISPATCHED.V1 [This event is alias to FP_ARITH_DISPATCHED.PORT_1]", 88 …"PublicDescription": "FP_ARITH_DISPATCHED.V1 [This event is alias to FP_ARITH_DISPATCHED.PORT_1] A… [all …]
|
/linux/include/linux/ |
H A D | i2c-atr.h | 39 * bus, with the alias assigned to it. The driver must 40 * configure the hardware to use the alias. 43 * alias. 49 u16 addr, u16 alias); 62 * @num_aliases: The number of aliases in this adapter's private alias pool. Set 63 * to zero if this adapter uses the ATR's global alias pool. 113 * driver to assign an alias to the device.
|
/linux/arch/xtensa/mm/ |
H A D | cache.c | 145 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() 196 * alias versions of the cache flush functions. 202 /* Note that we have to use the 'alias' address to avoid multi-hit */ in local_flush_cache_page() 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/fs/ocfs2/ |
H A D | dcache.c | 135 * Walk the inode alias list, and find a dentry which has a given 136 * parent. ocfs2_dentry_attach_lock() wants to find _any_ alias as it 204 struct dentry *alias; in ocfs2_dentry_attach_lock() local 234 alias = ocfs2_find_local_alias(inode, parent_blkno, 0); in ocfs2_dentry_attach_lock() 235 if (alias) { in ocfs2_dentry_attach_lock() 237 * Great, an alias exists, which means we must have a in ocfs2_dentry_attach_lock() 239 * the alias and add it to the list. in ocfs2_dentry_attach_lock() 247 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock() 286 if (unlikely(dentry->d_fsdata && !alias)) { in ocfs2_dentry_attach_lock() 318 if (ret < 0 && !alias) { in ocfs2_dentry_attach_lock() [all …]
|
/linux/tools/perf/tests/ |
H A D | pmu-events.c | 32 * be set in the alias. 345 static int compare_alias_to_test_event(struct pmu_event_info *alias, in compare_alias_to_test_event() argument 351 /* An alias was found, ensure everything is in order */ in compare_alias_to_test_event() 352 if (!is_same(alias->name, event->name)) { in compare_alias_to_test_event() 354 pmu_name, alias->name, event->name); in compare_alias_to_test_event() 358 if (!is_same(alias->desc, event->desc)) { in compare_alias_to_test_event() 360 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event() 364 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event() 366 pmu_name, alias->long_desc, in compare_alias_to_test_event() 371 if (!is_same(alias->topic, event->topic)) { in compare_alias_to_test_event() [all …]
|
/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()
|