Lines Matching refs:snprintf

441 	snprintf(fc_host->work_q_name, sizeof(fc_host->work_q_name),  in fc_host_setup()
448 snprintf(fc_host->devloss_work_q_name, in fc_host_setup()
712 return snprintf(buf, sz, format_string, cast rport->field); \
761 return snprintf(buf, sz, format_string, cast rport->field); \
785 return snprintf(buf, maxlen, "%s\n", name); \
836 return snprintf(buf, 20, "unspecified\n"); in show_fc_rport_supported_classes()
931 return snprintf(buf, 30, "Fabric Port\n"); in show_fc_rport_roles()
933 return snprintf(buf, 30, "Fabric Controller\n"); in show_fc_rport_roles()
935 return snprintf(buf, 30, "Directory Server\n"); in show_fc_rport_roles()
937 return snprintf(buf, 30, "Time Server\n"); in show_fc_rport_roles()
939 return snprintf(buf, 30, "Management Server\n"); in show_fc_rport_roles()
941 return snprintf(buf, 30, "Unknown Fabric Entity\n"); in show_fc_rport_roles()
945 return snprintf(buf, 20, "unknown\n"); in show_fc_rport_roles()
965 return snprintf(buf, 5, "off\n"); in show_fc_rport_fast_io_fail_tmo()
966 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo()
1027 return snprintf(buf, sz, format_string, \
1080 return snprintf(buf, sz, format_string, cast vport->field); \
1147 return snprintf(buf, sz, format_string, cast vport->field); \
1198 return snprintf(buf, maxlen, "%s\n", name); \
1265 return snprintf(buf, 20, "unknown\n"); in show_fc_vport_roles()
1347 return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
1418 return snprintf(buf, maxlen, "%s\n", name); \
1454 return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \
1491 return snprintf(buf, 20, "unspecified\n"); in show_fc_host_supported_classes()
1515 return snprintf(buf, 20, "unknown\n"); in show_fc_host_supported_speeds()
1567 return snprintf(buf, 20, "unknown\n"); in show_fc_host_speed()
1600 return snprintf(buf, FC_BINDTYPE_MAX_NAMELEN, "%s\n", name); in show_fc_private_host_tgtid_bind_type()
1709 ret = snprintf(buf, 20, "0x%llx\n", in fc_stat_show()
4050 snprintf(bsg_name, sizeof(bsg_name), in fc_bsg_hostadd()