Lines Matching refs:cur_ptr
7056 uint8_t *cur_ptr; in scsi_attrib_volcoh_sbuf() local
7082 cur_ptr = hdr->attribute; in scsi_attrib_volcoh_sbuf()
7083 vcr_len = *cur_ptr; in scsi_attrib_volcoh_sbuf()
7084 cur_ptr++; in scsi_attrib_volcoh_sbuf()
7098 tmp_val = *cur_ptr; in scsi_attrib_volcoh_sbuf()
7101 tmp_val = scsi_2btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7104 tmp_val = scsi_3btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7107 tmp_val = scsi_4btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7110 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf()
7114 sbuf_hexdump(sb, cur_ptr, vcr_len, NULL, 0); in scsi_attrib_volcoh_sbuf()
7120 cur_ptr += vcr_len; in scsi_attrib_volcoh_sbuf()
7121 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf()
7124 cur_ptr += sizeof(tmp_val); in scsi_attrib_volcoh_sbuf()
7125 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf()
7133 cur_ptr += sizeof(tmp_val); in scsi_attrib_volcoh_sbuf()
7134 as_len = scsi_2btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7135 cur_ptr += sizeof(uint16_t); in scsi_attrib_volcoh_sbuf()
7139 && (strncmp(cur_ptr, SCSI_LTFS_STR_NAME, SCSI_LTFS_STR_LEN) == 0)) { in scsi_attrib_volcoh_sbuf()
7141 cur_ptr += SCSI_LTFS_STR_LEN + 1; in scsi_attrib_volcoh_sbuf()
7142 if (cur_ptr[SCSI_LTFS_UUID_LEN] != '\0') in scsi_attrib_volcoh_sbuf()
7143 cur_ptr[SCSI_LTFS_UUID_LEN] = '\0'; in scsi_attrib_volcoh_sbuf()
7144 sbuf_printf(sb, "\tLTFS UUID: %s\n", cur_ptr); in scsi_attrib_volcoh_sbuf()
7145 cur_ptr += SCSI_LTFS_UUID_LEN + 1; in scsi_attrib_volcoh_sbuf()
7147 sbuf_printf(sb, "\tLTFS Version: %d\n", *cur_ptr); in scsi_attrib_volcoh_sbuf()
7150 sbuf_hexdump(sb, cur_ptr, as_len, NULL, 0); in scsi_attrib_volcoh_sbuf()