Home
last modified time | relevance | path

Searched refs:sysfs_emit (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/linux-6.6.21/drivers/net/bonding/
Dbond_sysfs_slave.c25 return sysfs_emit(buf, "active\n"); in state_show()
27 return sysfs_emit(buf, "backup\n"); in state_show()
29 return sysfs_emit(buf, "UNKNOWN\n"); in state_show()
36 return sysfs_emit(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show()
42 return sysfs_emit(buf, "%d\n", slave->link_failure_count); in link_failure_count_show()
48 return sysfs_emit(buf, "%*phC\n", in perm_hwaddr_show()
56 return sysfs_emit(buf, "%d\n", slave->queue_id); in queue_id_show()
67 return sysfs_emit(buf, "%d\n", in ad_aggregator_id_show()
71 return sysfs_emit(buf, "N/A\n"); in ad_aggregator_id_show()
82 return sysfs_emit(buf, "%u\n", in ad_actor_oper_port_state_show()
[all …]
Dbond_sysfs.c206 return sysfs_emit(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode()
220 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.xmit_policy); in bonding_show_xmit_hash()
236 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.arp_validate); in bonding_show_arp_validate()
251 return sysfs_emit(buf, "%s %d\n", in bonding_show_arp_all_targets()
268 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.fail_over_mac); in bonding_show_fail_over_mac()
280 return sysfs_emit(buf, "%d\n", bond->params.arp_interval); in bonding_show_arp_interval()
313 return sysfs_emit(buf, "%u\n", bond->params.missed_max); in bonding_show_missed_max()
325 return sysfs_emit(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
336 return sysfs_emit(buf, "%d\n", bond->params.updelay * bond->params.miimon); in bonding_show_updelay()
348 return sysfs_emit(buf, "%d\n", in bonding_show_peer_notif_delay()
[all …]
/linux-6.6.21/drivers/base/power/
Dsysfs.c104 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 …]
Dwakeup_stats.c29 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()
/linux-6.6.21/drivers/nvme/host/
Dsysfs.c58 return sysfs_emit(buf, "uuid.%pU\n", &ids->uuid); in wwid_show()
61 return sysfs_emit(buf, "eui.%16phN\n", ids->nguid); in wwid_show()
64 return sysfs_emit(buf, "eui.%8phN\n", ids->eui64); in wwid_show()
73 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show()
82 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
97 return sysfs_emit(buf, "%pU\n", ids->nguid); in uuid_show()
99 return sysfs_emit(buf, "%pU\n", &ids->uuid); in uuid_show()
106 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
113 return sysfs_emit(buf, "%d\n", dev_to_ns_head(dev)->ns_id); in nsid_show()
175 return sysfs_emit(buf, "%.*s\n", \
[all …]
/linux-6.6.21/drivers/s390/net/
Dqeth_core_sys.c26 return sysfs_emit(buf, "DOWN\n"); in qeth_dev_state_show()
29 return sysfs_emit(buf, "UP (LAN %s)\n", in qeth_dev_state_show()
32 return sysfs_emit(buf, "SOFTSETUP\n"); in qeth_dev_state_show()
34 return sysfs_emit(buf, "UNKNOWN\n"); in qeth_dev_state_show()
45 return sysfs_emit(buf, "%02X\n", card->info.chpid); in qeth_dev_chpid_show()
55 return sysfs_emit(buf, "%s\n", netdev_name(card->dev)); in qeth_dev_if_name_show()
65 return sysfs_emit(buf, "%s\n", qeth_get_cardname_short(card)); in qeth_dev_card_type_show()
89 return sysfs_emit(buf, "%s\n", qeth_get_bufsize_str(card)); in qeth_dev_inbuf_size_show()
99 return sysfs_emit(buf, "%i\n", card->dev->dev_port); in qeth_dev_portno_show()
137 return sysfs_emit(buf, "no portname required\n"); in qeth_dev_portname_show()
[all …]
Dqeth_l2_sys.c22 return sysfs_emit(buf, "n/a (VNIC characteristics)\n"); in qeth_bridge_port_role_state_show()
56 rc = sysfs_emit(buf, "%s\n", word); in qeth_bridge_port_role_state_show()
69 return sysfs_emit(buf, "n/a (VNIC characteristics)\n"); in qeth_bridge_port_role_show()
120 return sysfs_emit(buf, "n/a (VNIC characteristics)\n"); in qeth_bridge_port_state_show()
135 return sysfs_emit(buf, "n/a (VNIC characteristics)\n"); in qeth_bridgeport_hostnotification_show()
139 return sysfs_emit(buf, "%d\n", enabled); in qeth_bridgeport_hostnotification_show()
183 return sysfs_emit(buf, "n/a (VNIC characteristics)\n"); in qeth_bridgeport_reflect_show()
193 return sysfs_emit(buf, "%s\n", state); in qeth_bridgeport_reflect_show()
283 return sysfs_emit(buf, "n/a (BridgePort)\n"); in qeth_vnicc_timeout_show()
285 return sysfs_emit(buf, "n/a\n"); in qeth_vnicc_timeout_show()
[all …]
/linux-6.6.21/fs/nilfs2/
Dsysfs.c98 return sysfs_emit(buf, "%llu\n", in nilfs_snapshot_inodes_count_show()
106 return sysfs_emit(buf, "%llu\n", in nilfs_snapshot_blocks_count_show()
119 return sysfs_emit(buf, snapshot_readme_str); in nilfs_snapshot_README_show()
221 return sysfs_emit(buf, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show()
260 return sysfs_emit(buf, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show()
283 return sysfs_emit(buf, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show()
297 return sysfs_emit(buf, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show()
311 return sysfs_emit(buf, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show()
327 return sysfs_emit(buf, checkpoints_readme_str); in nilfs_checkpoints_README_show()
359 return sysfs_emit(buf, "%lu\n", nilfs->ns_nsegments); in nilfs_segments_segments_number_show()
[all …]
/linux-6.6.21/kernel/
Dksysfs.c42 return sysfs_emit(buf, "%llu\n", (unsigned long long)uevent_seqnum); in uevent_seqnum_show()
50 return sysfs_emit(buf, "%s\n", CPU_BYTEORDER_STRING); in cpu_byteorder_show()
58 return sysfs_emit(buf, "%zu\n", sizeof(void *) * 8 /* CHAR_BIT */); in address_bits_show()
67 return sysfs_emit(buf, "%s\n", uevent_helper); in uevent_helper_show()
88 return sysfs_emit(buf, "%d\n", prof_on); in profiling_show()
119 return sysfs_emit(buf, "%d\n", !!kexec_image); in kexec_loaded_show()
126 return sysfs_emit(buf, "%d\n", kexec_crash_loaded()); in kexec_crash_loaded_show()
138 return sysfs_emit(buf, "%zd\n", size); in kexec_crash_size_show()
163 return sysfs_emit(buf, "%pa %x\n", &vmcore_base, in vmcoreinfo_show()
174 return sysfs_emit(buf, "%u\n", sz); in crash_elfcorehdr_size_show()
[all …]
/linux-6.6.21/drivers/s390/crypto/
Dap_queue.c526 return sysfs_emit(buf, "%llu\n", req_cnt); in request_count_show()
528 return sysfs_emit(buf, "-\n"); in request_count_show()
556 return sysfs_emit(buf, "%d\n", reqq_cnt); in requestq_count_show()
571 return sysfs_emit(buf, "%d\n", penq_cnt); in pendingq_count_show()
586 rc = sysfs_emit(buf, "Reset in progress.\n"); in reset_show()
590 rc = sysfs_emit(buf, "Reset Timer armed.\n"); in reset_show()
593 rc = sysfs_emit(buf, "No Reset Timer set.\n"); in reset_show()
627 rc = sysfs_emit(buf, "Enable Interrupt pending.\n"); in interrupt_show()
629 rc = sysfs_emit(buf, "Interrupts enabled.\n"); in interrupt_show()
631 rc = sysfs_emit(buf, "Interrupts disabled.\n"); in interrupt_show()
[all …]
Dap_card.c27 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show()
37 return sysfs_emit(buf, "%d\n", ac->raw_hwtype); in raw_hwtype_show()
47 return sysfs_emit(buf, "%d\n", ac->queue_depth); in depth_show()
57 return sysfs_emit(buf, "0x%08X\n", ac->functions); in ap_functions_show()
73 return sysfs_emit(buf, "%llu\n", req_cnt); in request_count_show()
110 return sysfs_emit(buf, "%d\n", reqq_cnt); in requestq_count_show()
129 return sysfs_emit(buf, "%d\n", penq_cnt); in pendingq_count_show()
137 return sysfs_emit(buf, "ap:t%02X\n", to_ap_dev(dev)->device_type); in modalias_show()
147 return sysfs_emit(buf, "%d\n", ac->config ? 1 : 0); in config_show()
181 return sysfs_emit(buf, "%d\n", ac->chkstop ? 1 : 0); in chkstop_show()
[all …]
/linux-6.6.21/drivers/usb/core/
Dsysfs.c39 rc = sysfs_emit(buf, format_string, \
65 rc = sysfs_emit(buf, "%dmA\n", usb_get_max_power(udev, actconfig)); in bMaxPower_show()
84 rc = sysfs_emit(buf, "%s\n", actconfig->string); in configuration_show()
118 return sysfs_emit(buf, "%pOF\n", of_node); in devspec_show()
135 retval = sysfs_emit(buf, "%s\n", udev->name); \
176 return sysfs_emit(buf, "%s\n", speed); in speed_show()
186 return sysfs_emit(buf, "%d\n", udev->rx_lanes); in rx_lanes_show()
196 return sysfs_emit(buf, "%d\n", udev->tx_lanes); in tx_lanes_show()
206 return sysfs_emit(buf, "%d\n", udev->bus->busnum); in busnum_show()
216 return sysfs_emit(buf, "%d\n", udev->devnum); in devnum_show()
[all …]
/linux-6.6.21/drivers/usb/typec/
Dpd.c39 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_DUAL_ROLE)); in dual_role_power_show()
46 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_SUSPEND)); in usb_suspend_supported_show()
53 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_HIGHER_CAP)); in higher_capability_show()
60 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_EXTPOWER)); in unconstrained_power_show()
67 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_USB_COMM)); in usb_communication_capable_show()
74 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_DATA_SWAP)); in dual_role_data_show()
82 return sysfs_emit(buf, "%u\n", !!(to_pdo(dev)->pdo & PDO_FIXED_UNCHUNK_EXT)); in unchunked_extended_messages_supported_show()
98 return sysfs_emit(buf, "%u\n", (to_pdo(dev)->pdo >> PDO_FIXED_FRS_CURR_SHIFT) & 3); in fast_role_swap_current_show()
104 return sysfs_emit(buf, "%umV\n", pdo_fixed_voltage(to_pdo(dev)->pdo)); in voltage_show()
111 return sysfs_emit(buf, "%umA\n", pdo_max_current(to_pdo(dev)->pdo)); in current_show()
[all …]
/linux-6.6.21/drivers/dma/idxd/
Dsysfs.c26 return sysfs_emit(buf, "%d\n", engine->group->id); in engine_group_id_show()
28 return sysfs_emit(buf, "%d\n", -1); in engine_group_id_show()
121 return sysfs_emit(buf, "%u\n", group->rdbufs_reserved); in group_read_buffers_reserved_show()
187 return sysfs_emit(buf, "%u\n", group->rdbufs_allowed); in group_read_buffers_allowed_show()
250 return sysfs_emit(buf, "%u\n", group->use_rdbuf_limit); in group_use_read_buffer_limit_show()
368 return sysfs_emit(buf, "%d\n", group->tc_a); in group_traffic_class_a_show()
410 return sysfs_emit(buf, "%d\n", group->tc_b); in group_traffic_class_b_show()
452 return sysfs_emit(buf, "%d\n", group->desc_progress_limit); in group_desc_progress_limit_show()
483 return sysfs_emit(buf, "%d\n", group->batch_progress_limit); in group_batch_progress_limit_show()
592 return sysfs_emit(buf, "%d\n", wq->client_count); in wq_clients_show()
[all …]
/linux-6.6.21/arch/s390/kernel/
Duv.c476 return sysfs_emit(buf, "%lx\n%lx\n%lx\n%lx\n", in uv_query_facilities()
489 return sysfs_emit(buf, "%lx\n", uv_info.supp_se_hdr_ver); in uv_query_supp_se_hdr_ver()
498 return sysfs_emit(buf, "%lx\n", uv_info.supp_se_hdr_pcf); in uv_query_supp_se_hdr_pcf()
507 return sysfs_emit(buf, "%lx\n", uv_info.guest_cpu_stor_len); in uv_query_dump_cpu_len()
516 return sysfs_emit(buf, "%lx\n", uv_info.conf_dump_storage_state_len); in uv_query_dump_storage_state_len()
525 return sysfs_emit(buf, "%lx\n", uv_info.conf_dump_finalize_len); in uv_query_dump_finalize_len()
534 return sysfs_emit(buf, "%lx\n", uv_info.uv_feature_indications); in uv_query_feature_indications()
543 return sysfs_emit(buf, "%d\n", uv_info.max_guest_cpu_id + 1); in uv_query_max_guest_cpus()
552 return sysfs_emit(buf, "%d\n", uv_info.max_num_sec_conf); in uv_query_max_guest_vms()
561 return sysfs_emit(buf, "%lx\n", uv_info.max_sec_stor_addr); in uv_query_max_guest_addr()
[all …]
/linux-6.6.21/drivers/pcmcia/
Dsocket_sysfs.c41 return sysfs_emit(buf, "32-bit\n"); in pccard_show_type()
42 return sysfs_emit(buf, "16-bit\n"); in pccard_show_type()
54 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vcc / 10, in pccard_show_voltage()
56 return sysfs_emit(buf, "X.XV\n"); in pccard_show_voltage()
66 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vpp / 10, s->socket.Vpp % 10); in pccard_show_vpp()
76 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vcc / 10, s->socket.Vcc % 10); in pccard_show_vcc()
101 return sysfs_emit(buf, "%s\n", s->state & SOCKET_SUSPEND ? "off" : "on"); in pccard_show_card_pm_state()
148 return sysfs_emit(buf, "0x%04x\n", s->irq_mask); in pccard_show_irq_mask()
180 return sysfs_emit(buf, "%s\n", s->resource_setup_done ? "yes" : "no"); in pccard_show_resource()
/linux-6.6.21/drivers/platform/x86/intel/ifs/
Dsysfs.c28 return sysfs_emit(buf, "%#llx\n", ifsd->scan_details); in details_show()
50 return sysfs_emit(buf, "%s\n", status_msg[ifsd->status]); in status_show()
116 return sysfs_emit(buf, "none\n"); in current_batch_show()
118 return sysfs_emit(buf, "0x%02x\n", ifsd->cur_batch); in current_batch_show()
132 return sysfs_emit(buf, "%s\n", "none"); in image_version_show()
134 return sysfs_emit(buf, "%#x\n", ifsd->loaded_version); in image_version_show()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c59 return sysfs_emit(buf, "%u\n", subsystem_device_id); in board_id_show()
86 len = sysfs_emit(buf, "%s: %s:%d.%d, %s, %pM, %u VFs\n", in config_show()
108 len = sysfs_emit(buf, "%s: no VFs\n", in config_show()
124 return sysfs_emit(buf, "%s\n", netdev_name(us_ibdev->netdev)); in iface_show()
134 return sysfs_emit(buf, "%u\n", kref_read(&us_ibdev->vf_cnt)); in max_vf_show()
148 return sysfs_emit(buf, "%d\n", qp_per_vf); in qp_per_vf_show()
158 return sysfs_emit(buf, "%d\n", in cq_per_vf_show()
206 return sysfs_emit(buf, "0x%p\n", qp_grp->ctx); in context_show()
216 len = sysfs_emit(buf, "QPN: %d State: (%s) PID: %u VF Idx: %hu", in summary_show()
/linux-6.6.21/drivers/ufs/core/
Dufs-sysfs.c71 return sysfs_emit(buf, "%d\n", hba->rpm_lvl); in rpm_lvl_show()
85 return sysfs_emit(buf, "%s\n", ufshcd_ufs_dev_pwr_mode_to_string( in rpm_target_dev_state_show()
94 return sysfs_emit(buf, "%s\n", ufshcd_uic_link_state_to_string( in rpm_target_link_state_show()
103 return sysfs_emit(buf, "%d\n", hba->spm_lvl); in spm_lvl_show()
117 return sysfs_emit(buf, "%s\n", ufshcd_ufs_dev_pwr_mode_to_string( in spm_target_dev_state_show()
126 return sysfs_emit(buf, "%s\n", ufshcd_uic_link_state_to_string( in spm_target_link_state_show()
176 ret = sysfs_emit(buf, "%d\n", ufshcd_ahit_to_us(ahit)); in auto_hibern8_show()
218 return sysfs_emit(buf, "%d\n", hba->dev_info.wb_enabled); in wb_on_show()
264 return sysfs_emit(buf, "%d\n", hba->dev_info.wb_buf_flush_enabled); in enable_wb_buf_flush_show()
307 return sysfs_emit(buf, "%u\n", hba->vps->wb_flush_threshold); in wb_flush_threshold_show()
[all …]
/linux-6.6.21/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c56 return sysfs_emit(page, "%d\n", in max_reconnect_attempts_show()
101 return sysfs_emit(page, "round-robin (RR: %d)\n", in mpath_policy_show()
104 return sysfs_emit(page, "min-inflight (MI: %d)\n", in mpath_policy_show()
107 return sysfs_emit(page, "min-latency (ML: %d)\n", in mpath_policy_show()
110 return sysfs_emit(page, "Unknown (%d)\n", clt->mp_policy); in mpath_policy_show()
159 return sysfs_emit(page, in add_path_show()
205 return sysfs_emit(page, "connected\n"); in rtrs_clt_state_show()
207 return sysfs_emit(page, "disconnected\n"); in rtrs_clt_state_show()
216 return sysfs_emit(buf, "Usage: echo 1 > %s\n", attr->attr.name); in rtrs_clt_reconnect_show()
246 return sysfs_emit(buf, "Usage: echo 1 > %s\n", attr->attr.name); in rtrs_clt_disconnect_show()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c27 return sysfs_emit(buf, "%s\n", kobj_to_engine(kobj)->name); in name_show()
36 return sysfs_emit(buf, "%d\n", kobj_to_engine(kobj)->uabi_class); in class_show()
45 return sysfs_emit(buf, "%d\n", kobj_to_engine(kobj)->uabi_instance); in inst_show()
54 return sysfs_emit(buf, "0x%x\n", kobj_to_engine(kobj)->mmio_base); in mmio_show()
183 return sysfs_emit(buf, "%lu\n", engine->props.max_busywait_duration_ns); in max_spin_show()
194 return sysfs_emit(buf, "%lu\n", engine->defaults.max_busywait_duration_ns); in max_spin_default()
237 return sysfs_emit(buf, "%lu\n", engine->props.timeslice_duration_ms); in timeslice_show()
248 return sysfs_emit(buf, "%lu\n", engine->defaults.timeslice_duration_ms); in timeslice_default()
288 return sysfs_emit(buf, "%lu\n", engine->props.stop_timeout_ms); in stop_show()
299 return sysfs_emit(buf, "%lu\n", engine->defaults.stop_timeout_ms); in stop_default()
[all …]
/linux-6.6.21/fs/ext4/
Dsysfs.c66 return sysfs_emit(buf, "%lu\n", in session_write_kbytes_show()
75 return sysfs_emit(buf, "%llu\n", in lifetime_write_kbytes_show()
133 return sysfs_emit(buf, "<none>\n"); in journal_task_show()
134 return sysfs_emit(buf, "%d\n", in journal_task_show()
362 return sysfs_emit(buf, "%lld\n", in __print_tstamp()
379 return sysfs_emit(buf, "%llu\n", in ext4_attr_show()
387 return sysfs_emit(buf, "%llu\n", in ext4_attr_show()
391 return sysfs_emit(buf, "%llu\n", in ext4_attr_show()
399 return sysfs_emit(buf, "%u\n", in ext4_attr_show()
402 return sysfs_emit(buf, "%u\n", in ext4_attr_show()
[all …]
/linux-6.6.21/sound/aoa/soundbus/
Dsysfs.c15 return sysfs_emit(buf, "%s\n", sdev->modalias); in modalias_show()
17 return sysfs_emit(buf, "of:N%pOFn%c%s\n", in modalias_show()
29 return sysfs_emit(buf, "%pOFn\n", of->dev.of_node); in name_show()
39 return sysfs_emit(buf, "%s\n", of_node_get_device_type(of->dev.of_node)); in type_show()
/linux-6.6.21/arch/x86/kernel/cpu/
Dbugs.c2529 return sysfs_emit(buf, "%s\n", L1TF_DEFAULT_MSG); in l1tf_show_state()
2534 return sysfs_emit(buf, "%s; VMX: %s\n", L1TF_DEFAULT_MSG, in l1tf_show_state()
2538 return sysfs_emit(buf, "%s; VMX: %s, SMT %s\n", L1TF_DEFAULT_MSG, in l1tf_show_state()
2547 return sysfs_emit(buf, "KVM: Mitigation: VMX unsupported\n"); in itlb_multihit_show_state()
2549 return sysfs_emit(buf, "KVM: Mitigation: VMX disabled\n"); in itlb_multihit_show_state()
2551 return sysfs_emit(buf, "KVM: Mitigation: Split huge pages\n"); in itlb_multihit_show_state()
2553 return sysfs_emit(buf, "KVM: Vulnerable\n"); in itlb_multihit_show_state()
2558 return sysfs_emit(buf, "%s\n", L1TF_DEFAULT_MSG); in l1tf_show_state()
2563 return sysfs_emit(buf, "Processor vulnerable\n"); in itlb_multihit_show_state()
2570 return sysfs_emit(buf, "%s; SMT Host state unknown\n", in mds_show_state()
[all …]
/linux-6.6.21/drivers/base/
Dphysical_location.c69 return sysfs_emit(buf, "%s\n", panel); in panel_show()
91 return sysfs_emit(buf, "%s\n", vertical_position); in vertical_position_show()
113 return sysfs_emit(buf, "%s\n", horizontal_position); in horizontal_position_show()
120 return sysfs_emit(buf, "%s\n", in dock_show()
128 return sysfs_emit(buf, "%s\n", in lid_show()

12345678910>>...23