Home
last modified time | relevance | path

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

12345678910>>...28

/linux/drivers/net/bonding/
H A 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", READ_ONCE(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 …]
H A Dbond_sysfs.c205 return sysfs_emit(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode()
219 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.xmit_policy); in bonding_show_xmit_hash()
235 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.arp_validate); in bonding_show_arp_validate()
250 return sysfs_emit(buf, "%s %d\n", in bonding_show_arp_all_targets()
267 return sysfs_emit(buf, "%s %d\n", val->string, bond->params.fail_over_mac); in bonding_show_fail_over_mac()
279 return sysfs_emit(buf, "%d\n", bond->params.arp_interval); in bonding_show_arp_interval()
312 return sysfs_emit(buf, "%u\n", bond->params.missed_max); in bonding_show_missed_max()
324 return sysfs_emit(buf, "%d\n", bond->params.downdelay * bond->params.miimon); in bonding_show_downdelay()
335 return sysfs_emit(buf, "%d\n", bond->params.updelay * bond->params.miimon); in bonding_show_updelay()
347 return sysfs_emit(buf, "%d\n", in bonding_show_peer_notif_delay()
[all …]
/linux/drivers/base/power/
H A Dsysfs.c103 return sysfs_emit(buf, "%s\n", in control_show()
131 return sysfs_emit(buf, "%llu\n", tmp); in runtime_active_time_show()
144 return sysfs_emit(buf, "%llu\n", tmp); in runtime_suspended_time_show()
176 return sysfs_emit(buf, "%s\n", output); in runtime_status_show()
188 return sysfs_emit(buf, "%d\n", dev->power.autosuspend_delay); in autosuspend_delay_ms_show()
217 return sysfs_emit(buf, "n/a\n"); in pm_qos_resume_latency_us_show()
221 return sysfs_emit(buf, "%d\n", value); in pm_qos_resume_latency_us_show()
261 return sysfs_emit(buf, "%s\n", "auto"); in pm_qos_latency_tolerance_us_show()
263 return sysfs_emit(buf, "%s\n", "any"); in pm_qos_latency_tolerance_us_show()
265 return sysfs_emit(buf, "%d\n", value); in pm_qos_latency_tolerance_us_show()
[all …]
H A Dwakeup_stats.c29 return sysfs_emit(buf, "%lu\n", ws->_name); \
46 return sysfs_emit(buf, "%lld\n", ktime_to_ms(active_time)); in active_time_ms_show()
62 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
79 return sysfs_emit(buf, "%lld\n", ktime_to_ms(max_time)); in max_time_ms_show()
88 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show()
97 return sysfs_emit(buf, "%s\n", ws->name); in name_show()
113 return sysfs_emit(buf, "%lld\n", ktime_to_ms(prevent_sleep_time)); in prevent_suspend_time_ms_show()
/linux/drivers/nvme/host/
H A Dsysfs.c43 return sysfs_emit(buf, in nvme_adm_passthru_err_log_enabled_show()
77 return sysfs_emit(buf, head->passthru_err_log_enabled ? "on\n" : "off\n"); in nvme_io_passthru_err_log_enabled_show()
113 return sysfs_emit(buf, "uuid.%pU\n", &ids->uuid); in wwid_show()
116 return sysfs_emit(buf, "eui.%16phN\n", ids->nguid); in wwid_show()
119 return sysfs_emit(buf, "eui.%8phN\n", ids->eui64); in wwid_show()
128 return sysfs_emit(buf, "nvme.%04x-%*phN-%*phN-%08x\n", subsys->vendor_id, in wwid_show()
137 return sysfs_emit(buf, "%pU\n", dev_to_ns_head(dev)->ids.nguid); in nguid_show()
152 return sysfs_emit(buf, "%pU\n", ids->nguid); in uuid_show()
154 return sysfs_emit(buf, "%pU\n", &ids->uuid); in uuid_show()
161 return sysfs_emit(buf, "%8ph\n", dev_to_ns_head(dev)->ids.eui64); in eui_show()
[all …]
/linux/fs/nilfs2/
H A 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/drivers/usb/typec/
H A 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()
89 return sysfs_emit(buf, "%u\n", (to_pdo(dev)->pdo >> PDO_FIXED_PEAK_CURR_SHIFT) & 3); in peak_current_show()
96 return sysfs_emit(buf, "%u\n", (to_pdo(dev)->pdo >> PDO_FIXED_FRS_CURR_SHIFT) & 3); in fast_role_swap_current_show()
102 return sysfs_emit(buf, "%umV\n", pdo_fixed_voltage(to_pdo(dev)->pdo)); in voltage_show()
[all …]
/linux/drivers/usb/core/
H A 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/drivers/s390/crypto/
H A Dap_queue.c568 return sysfs_emit(buf, "%llu\n", req_cnt); in request_count_show()
570 return sysfs_emit(buf, "-\n"); in request_count_show()
598 return sysfs_emit(buf, "%d\n", reqq_cnt); in requestq_count_show()
613 return sysfs_emit(buf, "%d\n", penq_cnt); in pendingq_count_show()
628 rc = sysfs_emit(buf, "Reset in progress.\n"); in reset_show()
632 rc = sysfs_emit(buf, "Reset Timer armed.\n"); in reset_show()
635 rc = sysfs_emit(buf, "No Reset Timer set.\n"); in reset_show()
670 rc = sysfs_emit(buf, "Enable Interrupt pending.\n"); in interrupt_show()
674 rc = sysfs_emit(buf, "Interrupts enabled.\n"); in interrupt_show()
676 rc = sysfs_emit(buf, "Interrupts disabled.\n"); in interrupt_show()
[all …]
H A Dap_card.c26 return sysfs_emit(buf, "%d\n", ac->ap_dev.device_type); in hwtype_show()
36 return sysfs_emit(buf, "%d\n", ac->hwinfo.at); in raw_hwtype_show()
46 return sysfs_emit(buf, "%d\n", ac->hwinfo.qd + 1); in depth_show()
56 return sysfs_emit(buf, "0x%08X\n", ac->hwinfo.fac); in ap_functions_show()
72 return sysfs_emit(buf, "%llu\n", req_cnt); in request_count_show()
109 return sysfs_emit(buf, "%d\n", reqq_cnt); in requestq_count_show()
128 return sysfs_emit(buf, "%d\n", penq_cnt); in pendingq_count_show()
136 return sysfs_emit(buf, "ap:t%02X\n", to_ap_dev(dev)->device_type); in modalias_show()
146 return sysfs_emit(buf, "%d\n", ac->config ? 1 : 0); in config_show()
180 return sysfs_emit(buf, "%d\n", ac->chkstop ? 1 : 0); in chkstop_show()
[all …]
/linux/kernel/
H A Dksysfs.c42 return sysfs_emit(buf, "%llu\n", (u64)atomic64_read(&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()
128 return sysfs_emit(buf, "%pa %x\n", &vmcore_base, in vmcoreinfo_show()
139 return sysfs_emit(buf, "%d\n", file_caps_enabled); in fscaps_show()
148 return sysfs_emit(buf, "%d\n", READ_ONCE(rcu_expedited)); in rcu_expedited_show()
165 return sysfs_emit(buf, "%d\n", READ_ONCE(rcu_normal)); in rcu_normal_show()
/linux/drivers/s390/net/
H A 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/drivers/dma/idxd/
H A 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/drivers/pcmcia/
H A Dsocket_sysfs.c42 return sysfs_emit(buf, "32-bit\n"); in pccard_show_type()
43 return sysfs_emit(buf, "16-bit\n"); in pccard_show_type()
55 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vcc / 10, in pccard_show_voltage()
57 return sysfs_emit(buf, "X.XV\n"); in pccard_show_voltage()
67 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vpp / 10, s->socket.Vpp % 10); in pccard_show_vpp()
77 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vcc / 10, s->socket.Vcc % 10); in pccard_show_vcc()
102 return sysfs_emit(buf, "%s\n", str_off_on(s->state & SOCKET_SUSPEND)); in pccard_show_card_pm_state()
149 return sysfs_emit(buf, "0x%04x\n", s->irq_mask); in pccard_show_irq_mask()
181 return sysfs_emit(buf, "%s\n", str_yes_no(s->resource_setup_done)); in pccard_show_resource()
/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c118 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_max); in job_timeout_max_show()
154 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_min); in job_timeout_min_show()
187 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_ms); in job_timeout_show()
198 return sysfs_emit(buf, "%u\n", eclass->defaults.job_timeout_ms); in job_timeout_default()
209 return sysfs_emit(buf, "%u\n", eclass->defaults.job_timeout_min); in job_timeout_min_default()
220 return sysfs_emit(buf, "%u\n", eclass->defaults.job_timeout_max); in job_timeout_max_default()
279 return sysfs_emit(buf, "%u\n", eclass->sched_props.timeslice_max); in timeslice_duration_max_show()
317 return sysfs_emit(buf, "%u\n", eclass->sched_props.timeslice_min); in timeslice_duration_min_show()
329 return sysfs_emit(buf, "%u\n", eclass->sched_props.timeslice_us); in timeslice_duration_show()
341 return sysfs_emit(buf, "%u\n", eclass->defaults.timeslice_us); in timeslice_default()
[all …]
/linux/drivers/platform/x86/intel/ifs/
H A 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/drivers/rtc/
H A Dsysfs.c27 return sysfs_emit(buf, "%s %s\n", dev_driver_string(dev->parent), in name_show()
42 return sysfs_emit(buf, "%ptRd\n", &tm); in date_show()
56 return sysfs_emit(buf, "%ptRt\n", &tm); in time_show()
70 return sysfs_emit(buf, "%lld\n", rtc_tm_to_time64(&tm)); in since_epoch_show()
77 return sysfs_emit(buf, "%d\n", to_rtc_device(dev)->max_user_freq); in max_user_freq_show()
117 return sysfs_emit(buf, "1\n"); in hctosys_show()
119 return sysfs_emit(buf, "0\n"); in hctosys_show()
142 return sysfs_emit(buf, "%lld\n", rtc_tm_to_time64(&alm.time)); in wakealarm_show()
224 return sysfs_emit(buf, "%ld\n", offset); in offset_show()
245 return sysfs_emit(buf, "[%lld,%llu]\n", to_rtc_device(dev)->range_min, in range_show()
/linux/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c28 return sysfs_emit(buf, "%s\n", kobj_to_engine(kobj)->name); in name_show()
37 return sysfs_emit(buf, "%d\n", kobj_to_engine(kobj)->uabi_class); in class_show()
46 return sysfs_emit(buf, "%d\n", kobj_to_engine(kobj)->uabi_instance); in inst_show()
55 return sysfs_emit(buf, "0x%x\n", kobj_to_engine(kobj)->mmio_base); in mmio_show()
184 return sysfs_emit(buf, "%lu\n", engine->props.max_busywait_duration_ns); in max_spin_show()
195 return sysfs_emit(buf, "%lu\n", engine->defaults.max_busywait_duration_ns); in max_spin_default()
238 return sysfs_emit(buf, "%lu\n", engine->props.timeslice_duration_ms); in timeslice_show()
249 return sysfs_emit(buf, "%lu\n", engine->defaults.timeslice_duration_ms); in timeslice_default()
289 return sysfs_emit(buf, "%lu\n", engine->props.stop_timeout_ms); in stop_show()
300 return sysfs_emit(buf, "%lu\n", engine->defaults.stop_timeout_ms); in stop_default()
[all …]
/linux/drivers/infiniband/hw/usnic/
H A 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/drivers/char/tpm/
H A Dtpm_ppi.c69 return sysfs_emit(buf, "%s\n", chip->ppi_version); in tpm_show_ppi_version()
104 size = sysfs_emit(buf, "%llu %llu\n", req, in tpm_show_ppi_request()
107 size = sysfs_emit(buf, "%llu\n", req); in tpm_show_ppi_request()
115 size = sysfs_emit(buf, "%llu\n", in tpm_show_ppi_request()
226 status = sysfs_emit(buf, "%d: %s\n", ret, info[ret]); in tpm_show_ppi_transition_action()
228 status = sysfs_emit(buf, "%d: %s\n", ret, in tpm_show_ppi_transition_action()
270 status = sysfs_emit(buf, "%llu %s\n", req, in tpm_show_ppi_response()
273 status = sysfs_emit(buf, "%llu %s\n", req, in tpm_show_ppi_response()
276 status = sysfs_emit(buf, "%llu %s\n", req, in tpm_show_ppi_response()
279 status = sysfs_emit(buf, "%llu %llu: %s\n", in tpm_show_ppi_response()
[all …]
/linux/drivers/s390/block/
H A Ddasd_devmap.c978 return sysfs_emit(buf, ff_flag ? "1\n" : "0\n"); in dasd_ff_show()
1020 return sysfs_emit(buf, ro_flag ? "1\n" : "0\n"); in dasd_ro_show()
1081 return sysfs_emit(buf, erplog ? "1\n" : "0\n"); in dasd_erplog_show()
1116 return sysfs_emit(buf, use_diag ? "1\n" : "0\n"); in dasd_use_diag_show()
1165 return sysfs_emit(buf, use_raw ? "1\n" : "0\n"); in dasd_use_raw_show()
1261 return sysfs_emit(buf, "%d\n", count); in dasd_access_show()
1280 len = sysfs_emit(buf, "%s\n", in dasd_discipline_show()
1286 len = sysfs_emit(buf, "none\n"); in dasd_discipline_show()
1303 len = sysfs_emit(buf, "new\n"); in dasd_device_status_show()
1306 len = sysfs_emit(buf, "detected\n"); in dasd_device_status_show()
[all …]
/linux/drivers/edac/
H A Dedac_mc_sysfs.c146 return sysfs_emit(data, "%s\n", dimm->label); in dimmdev_label_show()
177 return sysfs_emit(data, "%u\n", PAGES_TO_MiB(dimm->nr_pages)); in dimmdev_size_show()
185 return sysfs_emit(data, "%s\n", edac_mem_types[dimm->mtype]); in dimmdev_mem_type_show()
193 return sysfs_emit(data, "%s\n", dev_types[dimm->dtype]); in dimmdev_dev_type_show()
202 return sysfs_emit(data, "%s\n", edac_caps[dimm->edac_mode]); in dimmdev_edac_mode_show()
211 return sysfs_emit(data, "%u\n", dimm->ce_count); in dimmdev_ce_count_show()
220 return sysfs_emit(data, "%u\n", dimm->ue_count); in dimmdev_ue_count_show()
389 return sysfs_emit(data, "%d\n", bandwidth); in mci_sdram_scrub_rate_show()
399 return sysfs_emit(data, "%u\n", mci->ue_mc); in mci_ue_count_show()
408 return sysfs_emit(data, "%u\n", mci->ce_mc); in mci_ce_count_show()
[all …]
/linux/fs/ext4/
H A Dsysfs.c70 return sysfs_emit(buf, "%lu\n", in session_write_kbytes_show()
79 return sysfs_emit(buf, "%llu\n", in lifetime_write_kbytes_show()
167 return sysfs_emit(buf, "<none>\n"); in journal_task_show()
168 return sysfs_emit(buf, "%d\n", in journal_task_show()
413 return sysfs_emit(buf, "%lld\n", in __print_tstamp()
435 return sysfs_emit(buf, "%u\n", le32_to_cpup(ptr)); in ext4_generic_attr_show()
436 return sysfs_emit(buf, "%u\n", *((unsigned int *) ptr)); in ext4_generic_attr_show()
439 return sysfs_emit(buf, "%lu\n", *((unsigned long *) ptr)); in ext4_generic_attr_show()
441 return sysfs_emit(buf, "%u\n", *((unsigned char *) ptr)); in ext4_generic_attr_show()
444 return sysfs_emit(buf, "%llu\n", le64_to_cpup(ptr)); in ext4_generic_attr_show()
[all …]
/linux/drivers/acpi/
H A Dacpi_configfs.c106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); in acpi_table_signature_show()
116 return sysfs_emit(str, "%d\n", h->length); in acpi_table_length_show()
126 return sysfs_emit(str, "%d\n", h->revision); in acpi_table_revision_show()
136 return sysfs_emit(str, "%.*s\n", ACPI_OEM_ID_SIZE, h->oem_id); in acpi_table_oem_id_show()
146 return sysfs_emit(str, "%.*s\n", ACPI_OEM_TABLE_ID_SIZE, h->oem_table_id); in acpi_table_oem_table_id_show()
156 return sysfs_emit(str, "%d\n", h->oem_revision); in acpi_table_oem_revision_show()
167 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->asl_compiler_id); in acpi_table_asl_compiler_id_show()
178 return sysfs_emit(str, "%d\n", h->asl_compiler_revision); in acpi_table_asl_compiler_revision_show()
/linux/drivers/s390/scsi/
H A Dzfcp_sysfs.c26 return sysfs_emit(buf, _format, _value); \
36 return sysfs_emit(buf, _format, _value); \
53 i = sysfs_emit(buf, _format, _value); \
97 return sysfs_emit(buf, "1\n"); in zfcp_sysfs_port_failed_show()
99 return sysfs_emit(buf, "0\n"); in zfcp_sysfs_port_failed_show()
137 return sysfs_emit(buf, "%d\n", failed); in zfcp_sysfs_unit_failed_show()
178 i = sysfs_emit(buf, "1\n"); in zfcp_sysfs_adapter_failed_show()
180 i = sysfs_emit(buf, "0\n"); in zfcp_sysfs_adapter_failed_show()
350 rc = sysfs_emit(buf, "%lu\n", adapter->diagnostics->max_age); in zfcp_sysfs_adapter_diag_max_age_show()
402 i = sysfs_emit(buf, "unknown\n"); in zfcp_sysfs_adapter_fc_security_show()
[all …]

12345678910>>...28