Searched refs:sysfs_emit_at (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/base/ |
D | cpu.c | 248 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline() 253 len += sysfs_emit_at(buf, len, ","); in print_cpus_offline() 256 len += sysfs_emit_at(buf, len, "%u", nr_cpu_ids); in print_cpus_offline() 258 len += sysfs_emit_at(buf, len, "%u-%d", in print_cpus_offline() 262 len += sysfs_emit_at(buf, len, "\n"); in print_cpus_offline() 323 len += sysfs_emit_at(buf, len, in print_cpu_modalias() 333 len += sysfs_emit_at(buf, len, ",%04X", i); in print_cpu_modalias() 335 len += sysfs_emit_at(buf, len, "\n"); in print_cpu_modalias()
|
D | node.c | 379 len = sysfs_emit_at(buf, len, in node_read_meminfo() 406 len += sysfs_emit_at(buf, len, in node_read_meminfo() 416 len += sysfs_emit_at(buf, len, in node_read_meminfo() 511 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat() 517 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat() 523 len += sysfs_emit_at(buf, len, "%s %lu\n", in node_read_vmstat() 545 len += sysfs_emit_at(buf, len, "%s%d", in node_read_distance() 549 len += sysfs_emit_at(buf, len, "\n"); in node_read_distance()
|
D | memory.c | 320 return sysfs_emit_at(buf, len, " %s", zone->name); in print_allowed_zone() 346 len += sysfs_emit_at(buf, len, "%s", default_zone->name); in valid_zones_show() 354 len += sysfs_emit_at(buf, len, "%s", default_zone->name); in valid_zones_show() 360 len += sysfs_emit_at(buf, len, "\n"); in valid_zones_show()
|
D | core.c | 1975 len += sysfs_emit_at(buf, len, "%s\n", env->envp[i]); in uevent_show()
|
/Linux-v5.10/include/linux/ |
D | sysfs.h | 335 int sysfs_emit_at(char *buf, int at, const char *fmt, ...); 590 static inline int sysfs_emit_at(char *buf, int at, const char *fmt, ...) in sysfs_emit_at() function
|
/Linux-v5.10/fs/sysfs/ |
D | file.c | 749 int sysfs_emit_at(char *buf, int at, const char *fmt, ...) in sysfs_emit_at() function 764 EXPORT_SYMBOL_GPL(sysfs_emit_at);
|
/Linux-v5.10/Documentation/filesystems/ |
D | sysfs.rst | 246 - show() should only use sysfs_emit() or sysfs_emit_at() when formatting
|
/Linux-v5.10/mm/ |
D | hugetlb.c | 3504 return sysfs_emit_at(buf, len, in hugetlb_report_node_meminfo()
|