/kernel/linux/linux-5.10/drivers/base/power/ |
D | sysfs.c | 104 return sysfs_emit(buf, "%s\n", in control_show() 132 return sysfs_emit(buf, "%llu\n", tmp); in runtime_active_time_show() 145 return sysfs_emit(buf, "%llu\n", tmp); in runtime_suspended_time_show() 177 return sysfs_emit(buf, "%s\n", output); in runtime_status_show() 189 return sysfs_emit(buf, "%d\n", dev->power.autosuspend_delay); in autosuspend_delay_ms_show() 218 return sysfs_emit(buf, "n/a\n"); in pm_qos_resume_latency_us_show() 222 return sysfs_emit(buf, "%d\n", value); in pm_qos_resume_latency_us_show() 262 return sysfs_emit(buf, "%s\n", "auto"); in pm_qos_latency_tolerance_us_show() 264 return sysfs_emit(buf, "%s\n", "any"); in pm_qos_latency_tolerance_us_show() 266 return sysfs_emit(buf, "%d\n", value); in pm_qos_latency_tolerance_us_show() [all …]
|
D | wakeup_stats.c | 29 return sysfs_emit(buf, "%lu\n", ws->_name); \ 45 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show() 61 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show() 78 return sysfs_emit(buf, "%lld\n", ktime_to_ms(max_time)); in max_time_ms_show() 87 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show() 96 return sysfs_emit(buf, "%s\n", ws->name); in name_show() 112 return sysfs_emit(buf, "%lld\n", ktime_to_ms(prevent_sleep_time)); in prevent_suspend_time_ms_show()
|
/kernel/linux/linux-5.10/drivers/base/ |
D | cpu.c | 160 return sysfs_emit(buf, "%llx\n", addr); in crash_notes_show() 168 return sysfs_emit(buf, "%zu\n", sizeof(note_buf_t)); in crash_notes_size_show() 192 rc = sysfs_emit(buf, "%d\n", isolated); in isolate_show() 266 return sysfs_emit(buf, "%d\n", NR_CPUS - 1); in print_cpus_kernel_max() 314 len = sysfs_emit(buf, "%*pbl\n", cpumask_pr_args(isolated)); in print_cpus_isolated() 326 return sysfs_emit(buf, "%*pbl\n", cpumask_pr_args(tick_nohz_full_mask)); in print_cpus_nohz_full() 555 return sysfs_emit(buf, "Not affected\n"); in cpu_show_meltdown() 561 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spectre_v1() 567 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spectre_v2() 573 return sysfs_emit(buf, "Not affected\n"); in cpu_show_spec_store_bypass() [all …]
|
D | cacheinfo.c | 365 return sysfs_emit(buf, "%u\n", this_leaf->object); \ 380 return sysfs_emit(buf, "%uK\n", this_leaf->size >> 10); in size_show() 389 return sysfs_emit(buf, "%*pb\n", nr_cpu_ids, mask); in shared_cpu_map_show() 398 return sysfs_emit(buf, "%*pbl\n", nr_cpu_ids, mask); in shared_cpu_list_show() 421 return sysfs_emit(buf, "%s\n", output); in type_show() 440 return sysfs_emit(buf, "%s\n", output); in allocation_policy_show() 451 n = sysfs_emit(buf, "WriteThrough\n"); in write_policy_show() 453 n = sysfs_emit(buf, "WriteBack\n"); in write_policy_show()
|
D | memory.c | 123 return sysfs_emit(buf, "%08lx\n", phys_index); in phys_index_show() 133 return sysfs_emit(buf, "%d\n", (int)IS_ENABLED(CONFIG_MEMORY_HOTREMOVE)); in removable_show() 161 return sysfs_emit(buf, "ERROR-UNKNOWN-%ld\n", mem->state); in state_show() 164 return sysfs_emit(buf, "%s\n", output); in state_show() 305 return sysfs_emit(buf, "%d\n", in phys_device_show() 345 return sysfs_emit(buf, "%s\n", "none"); in valid_zones_show() 377 return sysfs_emit(buf, "%lx\n", memory_block_size_bytes()); in block_size_bytes_show() 389 return sysfs_emit(buf, "%s\n", in auto_online_blocks_show()
|
D | node.c | 165 return sysfs_emit(buf, "%u\n", \ 233 return sysfs_emit(buf, fmt "\n", \ 484 return sysfs_emit(buf, in node_read_numastat() 1002 return sysfs_emit(buf, "%*pbl\n", in show_node_state()
|
D | topology.c | 21 return sysfs_emit(buf, "%d\n", topology_##name(dev->id)); \
|
D | soc.c | 86 return sysfs_emit(buf, "%s\n", output); in soc_info_show()
|
D | platform.c | 1040 return sysfs_emit(buf, "platform:%s\n", pdev->name); in modalias_show() 1085 len = sysfs_emit(buf, "%s\n", pdev->driver_override); in driver_override_show() 1095 return sysfs_emit(buf, "%d\n", dev_to_node(dev)); in numa_node_show()
|
D | core.c | 295 return sysfs_emit(buf, "%s\n", output); in status_show() 312 return sysfs_emit(buf, "%s\n", output); in auto_remove_on_show() 321 return sysfs_emit(buf, "%d\n", !!(link->flags & DL_FLAG_PM_RUNTIME)); in runtime_pm_show() 330 return sysfs_emit(buf, "%d\n", in sync_state_only_show() 1100 return sysfs_emit(buf, "%u\n", val); in waiting_for_supplier_show() 1748 return sysfs_emit(buf, "%lx\n", *(unsigned long *)(ea->var)); in device_show_ulong() 1778 return sysfs_emit(buf, "%d\n", *(int *)(ea->var)); in device_show_int() 1799 return sysfs_emit(buf, "%d\n", *(bool *)(ea->var)); in device_show_bool() 2033 return sysfs_emit(buf, "%u\n", val); in online_show()
|
D | devcoredump.c | 126 return sysfs_emit(buf, "%d\n", devcd_disabled); in disabled_show()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | libiscsi.c | 3461 len = sysfs_emit(buf, "%d\n", session->fast_abort); in iscsi_session_get_param() 3464 len = sysfs_emit(buf, "%d\n", session->abort_timeout); in iscsi_session_get_param() 3467 len = sysfs_emit(buf, "%d\n", session->lu_reset_timeout); in iscsi_session_get_param() 3470 len = sysfs_emit(buf, "%d\n", session->tgt_reset_timeout); in iscsi_session_get_param() 3473 len = sysfs_emit(buf, "%d\n", session->initial_r2t_en); in iscsi_session_get_param() 3476 len = sysfs_emit(buf, "%hu\n", session->max_r2t); in iscsi_session_get_param() 3479 len = sysfs_emit(buf, "%d\n", session->imm_data_en); in iscsi_session_get_param() 3482 len = sysfs_emit(buf, "%u\n", session->first_burst); in iscsi_session_get_param() 3485 len = sysfs_emit(buf, "%u\n", session->max_burst); in iscsi_session_get_param() 3488 len = sysfs_emit(buf, "%d\n", session->pdu_inorder_en); in iscsi_session_get_param() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfad_attr.c | 714 return sysfs_emit(buf, "%s\n", serial_num); in bfad_im_serial_num_show() 728 return sysfs_emit(buf, "%s\n", model); in bfad_im_model_show() 808 return sysfs_emit(buf, "%s\n", model_descr); in bfad_im_model_desc_show() 822 return sysfs_emit(buf, "0x%llx\n", cpu_to_be64(nwwn)); in bfad_im_node_name_show() 839 return sysfs_emit(buf, "%s\n", symname); in bfad_im_symbolic_name_show() 853 return sysfs_emit(buf, "%s\n", hw_ver); in bfad_im_hw_version_show() 860 return sysfs_emit(buf, "%s\n", BFAD_DRIVER_VERSION); in bfad_im_drv_version_show() 874 return sysfs_emit(buf, "%s\n", optrom_ver); in bfad_im_optionrom_version_show() 888 return sysfs_emit(buf, "%s\n", fw_ver); in bfad_im_fw_version_show() 900 return sysfs_emit(buf, "%d\n", in bfad_im_num_of_ports_show() [all …]
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
D | dma-buf-sysfs-stats.c | 86 return sysfs_emit(buf, "%s\n", dmabuf->exp_name); in exporter_name_show() 93 return sysfs_emit(buf, "%zu\n", dmabuf->size); in size_show()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core_ctl.c | 101 return sysfs_emit(buf, "%u\n", state->min_cpus); in show_min_cpus() 122 return sysfs_emit(buf, "%u\n", state->max_cpus); in show_max_cpus() 145 return sysfs_emit(buf, "%u\n", state->enable); in show_enable() 150 return sysfs_emit(buf, "%u\n", state->need_cpus); in show_need_cpus() 155 return sysfs_emit(buf, "%u\n", state->active_cpus); in show_active_cpus()
|
/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_sysfs.c | 16 return sysfs_emit(page, "%s\n", ptp->info->name); in clock_name_show() 230 return sysfs_emit(page, "%u %u\n", func, chan); in ptp_pin_show()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | core.c | 2851 return sysfs_emit(buf, "%.*s\n", \ 3384 return sysfs_emit(buf, "uuid.%pU\n", &ids->uuid); in wwid_show() 3387 return sysfs_emit(buf, "eui.%16phN\n", ids->nguid); in wwid_show() 3390 return sysfs_emit(buf, "eui.%8phN\n", ids->eui64); in wwid_show() 3399 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show() 3408 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show() 3423 return sysfs_emit(buf, "%pU\n", ids->nguid); in uuid_show() 3425 return sysfs_emit(buf, "%pU\n", &ids->uuid); in uuid_show() 3432 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show() 3439 return sysfs_emit(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show() [all …]
|
D | multipath.c | 627 return sysfs_emit(buf, "%s\n", in nvme_subsys_iopolicy_show() 653 return sysfs_emit(buf, "%d\n", nvme_get_ns_from_dev(dev)->ana_grpid); in ana_grpid_show() 662 return sysfs_emit(buf, "%s\n", nvme_ana_state_names[ns->ana_state]); in ana_state_show()
|
/kernel/linux/linux-5.10/drivers/base/firmware_loader/ |
D | fallback.c | 126 return sysfs_emit(buf, "%d\n", __firmware_loading_timeout()); in timeout_show() 221 return sysfs_emit(buf, "%d\n", loading); in firmware_loading_show()
|
/kernel/linux/linux-5.10/include/linux/ |
D | sysfs.h | 333 int sysfs_emit(char *buf, const char *fmt, ...); 584 static inline int sysfs_emit(char *buf, const char *fmt, ...) in sysfs_emit() function
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-dsi-cm.c | 412 return sysfs_emit(buf, "%d\n", errors); in dsicm_num_errors_show() 442 return sysfs_emit(buf, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show() 490 return sysfs_emit(buf, "%u\n", t); in dsicm_show_ulps() 535 return sysfs_emit(buf, "%u\n", t); in dsicm_show_ulps_timeout()
|
D | panel-tpo-td043mtea1.c | 172 return sysfs_emit(buf, "%d\n", ddata->vmirror); in tpo_td043_vmirror_show() 202 return sysfs_emit(buf, "%d\n", ddata->mode); in tpo_td043_mode_show()
|
/kernel/linux/linux-5.10/fs/sysfs/ |
D | file.c | 721 int sysfs_emit(char *buf, const char *fmt, ...) in sysfs_emit() function 736 EXPORT_SYMBOL_GPL(sysfs_emit);
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | bugs.c | 2225 return sysfs_emit(buf, "Unknown: No mitigations\n"); in mmio_stale_data_show_state() 2228 return sysfs_emit(buf, "%s\n", mmio_strings[mmio_mitigation]); in mmio_stale_data_show_state() 2231 return sysfs_emit(buf, "%s; SMT Host state unknown\n", in mmio_stale_data_show_state() 2235 return sysfs_emit(buf, "%s; SMT %s\n", mmio_strings[mmio_mitigation], in mmio_stale_data_show_state()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | uv.c | 370 return sysfs_emit(buf, "%lx\n", uv_info.uv_feature_indications); in uv_query_feature_indications()
|