Lines Matching refs:sprintf

94 	return sprintf(page, "Target Engine Core ConfigFS Infrastructure %s"  in target_core_attr_show()
545 return sprintf(page, "T10 VPD Unit Serial Number: %s\n", in target_core_dev_wwn_show_attr_vpd_unit_serial()
634 len += sprintf(page+len, "%s", buf); in target_core_dev_wwn_show_attr_vpd_protocol_identifier()
672 len += sprintf(page+len, "%s", buf); \
678 len += sprintf(page+len, "%s", buf); \
684 len += sprintf(page+len, "%s", buf); \
781 return sprintf(page, "No SPC-3 Reservation holder\n"); in target_core_dev_pr_show_spc3_res()
786 return sprintf(page, "SPC-3 Reservation: %s Initiator: %s%s\n", in target_core_dev_pr_show_spc3_res()
799 len = sprintf(page, in target_core_dev_pr_show_spc2_res()
804 len = sprintf(page, "No SPC-2 Reservation holder\n"); in target_core_dev_pr_show_spc2_res()
815 return sprintf(page, "Passthrough\n"); in target_core_dev_pr_show_attr_res_holder()
835 len = sprintf(page, "No SPC-3 Reservation holder\n"); in target_core_dev_pr_show_attr_res_pr_all_tgt_pts()
837 len = sprintf(page, "SPC-3 Reservation: All Target" in target_core_dev_pr_show_attr_res_pr_all_tgt_pts()
840 len = sprintf(page, "SPC-3 Reservation: Single" in target_core_dev_pr_show_attr_res_pr_all_tgt_pts()
853 return sprintf(page, "0x%08x\n", dev->t10_pr.pr_generation); in target_core_dev_pr_show_attr_res_pr_generation()
874 len = sprintf(page, "No SPC-3 Reservation holder\n"); in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
883 len += sprintf(page+len, "SPC-3 Reservation: %s" in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
886 len += sprintf(page+len, "SPC-3 Reservation: Relative Port" in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
909 len += sprintf(page+len, "SPC-3 PR Registrations:\n"); in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
920 sprintf(buf, "%s Node: %s%s Key: 0x%016Lx PRgen: 0x%08x\n", in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
928 len += sprintf(page+len, "%s", buf); in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
934 len += sprintf(page+len, "None\n"); in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
950 len = sprintf(page, "SPC-3 Reservation Type: %s\n", in target_core_dev_pr_show_attr_res_pr_type()
953 len = sprintf(page, "No SPC-3 Reservation holder\n"); in target_core_dev_pr_show_attr_res_pr_type()
966 return sprintf(page, "SPC_PASSTHROUGH\n"); in target_core_dev_pr_show_attr_res_type()
968 return sprintf(page, "SPC2_RESERVATIONS\n"); in target_core_dev_pr_show_attr_res_type()
970 return sprintf(page, "SPC3_PERSISTENT_RESERVATIONS\n"); in target_core_dev_pr_show_attr_res_type()
981 return sprintf(page, "APTPL Bit Status: %s\n", in target_core_dev_pr_show_attr_res_aptpl_active()
996 return sprintf(page, "Ready to process PR APTPL metadata..\n"); in target_core_dev_pr_show_attr_res_aptpl_metadata()
1417 len += sprintf(page, "LU Group Alias: %s\nLU Group ID: %hu\n", in target_core_show_alua_lu_gp()
1526 bl += sprintf(b + bl, "%u %u\n", in target_core_show_dev_lba_map()
1530 bl += sprintf(b + bl, "%llu %llu", in target_core_show_dev_lba_map()
1551 bl += sprintf(b + bl, " %d:%c", in target_core_show_dev_lba_map()
1554 bl += sprintf(b + bl, "\n"); in target_core_show_dev_lba_map()
1774 return sprintf(page, "%hu\n", lu_gp->lu_gp_id); in target_core_alua_lu_gp_show_attr_lu_gp_id()
1963 return sprintf(page, "%d\n", in target_core_alua_tg_pt_gp_show_attr_alua_access_state()
2022 return sprintf(page, "%s\n", in target_core_alua_tg_pt_gp_show_attr_alua_access_status()
2091 return sprintf(p, "%d\n", !!(t->_var & _bit)); \
2174 return sprintf(page, "%d\n", tg_pt_gp->tg_pt_gp_write_metadata); in target_core_alua_tg_pt_gp_show_attr_alua_write_metadata()
2297 return sprintf(page, "%hu\n", tg_pt_gp->tg_pt_gp_id); in target_core_alua_tg_pt_gp_show_attr_tg_pt_gp_id()
2695 return sprintf(page, "HBA Index: %d plugin: %s version: %s\n", in target_core_hba_show_attr_hba_info()
2710 return sprintf(page, "%d\n", hba_mode); in target_core_hba_show_attr_hba_mode()