Lines Matching refs:sysfs_emit

978 	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()
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()
1309 len = sysfs_emit(buf, "basic\n"); in dasd_device_status_show()
1312 len = sysfs_emit(buf, "unformatted\n"); in dasd_device_status_show()
1315 len = sysfs_emit(buf, "ready\n"); in dasd_device_status_show()
1318 len = sysfs_emit(buf, "online\n"); in dasd_device_status_show()
1321 len = sysfs_emit(buf, "no stat\n"); in dasd_device_status_show()
1326 len = sysfs_emit(buf, "unknown\n"); in dasd_device_status_show()
1367 return sysfs_emit(buf, "%s\n", vendor); in dasd_vendor_show()
1375 return sysfs_emit(buf, "%s\n", vendor); in dasd_vendor_show()
1395 return sysfs_emit(buf, "%s\n", uid_string); in dasd_uid_show()
1430 return sysfs_emit(buf, "%s\n", uid_string); in dasd_uid_show()
1448 return sysfs_emit(buf, eer_flag ? "1\n" : "0\n"); in dasd_eer_show()
1490 len = sysfs_emit(buf, "%lu\n", device->default_expires); in dasd_expires_show()
1530 len = sysfs_emit(buf, "%lu\n", device->default_retries); in dasd_retries_show()
1571 len = sysfs_emit(buf, "%lu\n", device->blk_timeout); in dasd_timeout_show()
1642 return sysfs_emit(buf, "%d\n", dasd_nofcx); in dasd_hpf_show()
1646 return sysfs_emit(buf, "%d\n", hpf); in dasd_hpf_show()
1660 rc = sysfs_emit(buf, "ignore\n"); in dasd_reservation_policy_show()
1664 rc = sysfs_emit(buf, "fail\n"); in dasd_reservation_policy_show()
1666 rc = sysfs_emit(buf, "ignore\n"); in dasd_reservation_policy_show()
1701 return sysfs_emit(buf, "none\n"); in dasd_reservation_state_show()
1704 rc = sysfs_emit(buf, "reserved\n"); in dasd_reservation_state_show()
1706 rc = sysfs_emit(buf, "lost\n"); in dasd_reservation_state_show()
1708 rc = sysfs_emit(buf, "none\n"); in dasd_reservation_state_show()
1775 len = sysfs_emit(buf, "%lu\n", device->path_thrhld); in dasd_path_threshold_show()
1822 return sysfs_emit(buf, flag ? "1\n" : "0\n"); in dasd_path_autodisable_show()
1860 len = sysfs_emit(buf, "%lu\n", device->path_interval); in dasd_path_interval_show()
1906 rc = sysfs_emit(buf, "Inconsistent\n"); in dasd_device_fcs_show()
1908 rc = sysfs_emit(buf, "%s\n", dasd_path_get_fcs_str(fc_sec)); in dasd_device_fcs_show()
1921 return sysfs_emit(buf, "%s\n", dasd_path_get_fcs_str(fc_sec)); in dasd_path_fcs_show()
2211 len = sysfs_emit(buf, "none\n"); in dasd_copy_role_show()
2217 len = sysfs_emit(buf, "primary\n"); in dasd_copy_role_show()
2222 len = sysfs_emit(buf, "secondary\n"); in dasd_copy_role_show()
2227 len = sysfs_emit(buf, "none\n"); in dasd_copy_role_show()
2283 return sysfs_emit(buf, "%d\n", val); \