Home
last modified time | relevance | path

Searched refs:scnpr (Results 1 – 1 of 1) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c77 static int scnpr(char * cp, int cp_max_len, const char * fmt, ...)
80 static int scnpr(char * cp, int cp_max_len, const char * fmt, ...);
91 scnpr(char * cp, int cp_max_len, const char * fmt, ...) in scnpr() function
198 scnpr(buff, buff_len, "Unknown status [0x%x]", scsi_status); in sg_get_scsi_status_str()
200 scnpr(buff, buff_len, "%s", ccp); in sg_get_scsi_status_str()
241 scnpr(buff, buff_len, "%s", sg_lib_sense_key_desc[sense_key]); in sg_get_sense_key_str()
243 scnpr(buff, buff_len, "invalid value: 0x%x", sense_key); in sg_get_sense_key_str()
266 num = scnpr(buff, buff_len, "Additional sense: "); in sg_get_asc_ascq_str()
268 scnpr(buff + num, ((rlen > 0) ? rlen : 0), ei2p->text, ascq); in sg_get_asc_ascq_str()
279 scnpr(buff, buff_len, "Additional sense: %s", eip->text); in sg_get_asc_ascq_str()
[all …]