Home
last modified time | relevance | path

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

/trueos/sys/cam/ctl/
HDctl_backend_block.c1049 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_unmap_dev() local
1065 ptrlen = (struct ctl_ptr_len_flags *)&io->io_hdr.ctl_private[CTL_PRIV_LBA_LEN]; in ctl_be_block_unmap_dev()
1066 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_be_block_unmap_dev()
1067 end = buf + ptrlen->len / sizeof(*buf); in ctl_be_block_unmap_dev()
1307 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_cw_dispatch_unmap() local
1313 ptrlen = (struct ctl_ptr_len_flags *)&io->io_hdr.ctl_private[CTL_PRIV_LBA_LEN]; in ctl_be_block_cw_dispatch_unmap()
1315 if ((ptrlen->flags & ~SU_ANCHOR) != 0 || be_lun->unmap == NULL) { in ctl_be_block_cw_dispatch_unmap()
HDctl.c6039 struct ctl_ptr_len_flags *ptrlen; in ctl_unmap() local
6118 ptrlen = (struct ctl_ptr_len_flags *) in ctl_unmap()
6120 ptrlen->ptr = (void *)buf; in ctl_unmap()
6121 ptrlen->len = len; in ctl_unmap()
6122 ptrlen->flags = byte2; in ctl_unmap()
10981 struct ctl_ptr_len_flags *ptrlen; in ctl_extent_check_unmap() local
10992 ptrlen = (struct ctl_ptr_len_flags *) in ctl_extent_check_unmap()
10995 ptrlen->ptr == NULL) in ctl_extent_check_unmap()
10999 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_extent_check_unmap()
11000 end = buf + ptrlen->len / sizeof(*buf); in ctl_extent_check_unmap()