Lines Matching refs:cblen
1610 bool raw_sinfo, int cblen, char * cbp) in sg_get_sense_str() argument
1623 if ((NULL == cbp) || (cblen <= 0)) in sg_get_sense_str()
1625 else if (1 == cblen) { in sg_get_sense_str()
1634 n += scnpr(cbp, cblen, "%s >>> sense buffer empty\n", lip); in sg_get_sense_str()
1674 n += scnpr(cbp + n, cblen - n, "%s%s; Sense key: %s\n", lip, ebp, in sg_get_sense_str()
1677 n += scnpr(cbp + n, cblen - n, "%s<<<Sense data overflow>>>\n", in sg_get_sense_str()
1680 n += scnpr(cbp + n, cblen - n, "%s%s\n", lip, in sg_get_sense_str()
1683 cblen - n, cbp + n); in sg_get_sense_str()
1687 n += scnpr(cbp + n, cblen - n, "%s%s\n", lip, in sg_get_sense_str()
1690 cblen - n, cbp + n); in sg_get_sense_str()
1693 n += scnpr(cbp + n, cblen - n, "%s%s\n", lip, in sg_get_sense_str()
1778 n += scnpr(cbp + n, cblen - n, "%s", b); in sg_get_sense_str()
1780 n += scnpr(cbp + n, cblen - n, "%s fixed descriptor length " in sg_get_sense_str()
1784 n += scnpr(cbp + n, cblen - n, "%ssense buffer too short (4 " in sg_get_sense_str()
1789 n += scnpr(cbp + n, cblen - n, "%sVendor specific sense buffer, " in sg_get_sense_str()
1791 n += hex2str(sbp, sb_len, lip, -1, cblen - n, cbp + n); in sg_get_sense_str()
1806 n += scnpr(cbp + n, cblen - n, "%s\n", b); in sg_get_sense_str()
1815 n += scnpr(cbp + n, cblen - n, "%s Raw sense data (in hex):\n", in sg_get_sense_str()
1817 if (n >= (cblen - 1)) in sg_get_sense_str()
1820 n += hex2str(sbp, len, z, -1, cblen - n, cbp + n); in sg_get_sense_str()