Lines Matching refs:desc
376 struct scsi_per_res_in_full_desc *desc;
383 if (length < sizeof(*desc)) {
395 desc = (struct scsi_per_res_in_full_desc *)cur_pos;
396 len_to_go >= sizeof(*desc);
397 desc = (struct scsi_per_res_in_full_desc *)cur_pos, i++) {
402 (uintmax_t)scsi_8btou64(desc->res_key.key));
404 (desc->flags & SPRI_FULL_ALL_TG_PT) ? 1 : 0);
406 (desc->flags & SPRI_FULL_R_HOLDER) ? 1 : 0);
408 if (desc->flags & SPRI_FULL_R_HOLDER)
409 persist_print_scopetype(desc->scopetype);
411 if ((desc->flags & SPRI_FULL_ALL_TG_PT) == 0)
413 scsi_2btoul(desc->rel_trgt_port_id));
415 additional_length = scsi_4btoul(desc->additional_length);
417 persist_print_transportid(desc->transport_id,
420 cur_length = sizeof(*desc) + additional_length;