Home
last modified time | relevance | path

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

/freebsd-14.2/sys/cam/ctl/
H A Dctl_backend_block.c866 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_unmap_file() local
884 ptrlen = (struct ctl_ptr_len_flags *) in ctl_be_block_unmap_file()
886 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_be_block_unmap_file()
887 end = buf + ptrlen->len / sizeof(*buf); in ctl_be_block_unmap_file()
1181 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_unmap_dev() local
1194 ptrlen = (struct ctl_ptr_len_flags *)&io->io_hdr.ctl_private[CTL_PRIV_LBA_LEN]; in ctl_be_block_unmap_dev()
1195 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_be_block_unmap_dev()
1196 end = buf + ptrlen->len / sizeof(*buf); in ctl_be_block_unmap_dev()
1456 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_cw_dispatch_unmap() local
1461 ptrlen = (struct ctl_ptr_len_flags *)&io->io_hdr.ctl_private[CTL_PRIV_LBA_LEN]; in ctl_be_block_cw_dispatch_unmap()
[all …]
H A Dctl_backend_ramdisk.c714 struct ctl_ptr_len_flags *ptrlen = (struct ctl_ptr_len_flags *)ARGS(io); in ctl_backend_ramdisk_unmap() local
717 if ((ptrlen->flags & ~SU_ANCHOR) != 0) { in ctl_backend_ramdisk_unmap()
728 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_backend_ramdisk_unmap()
729 end = buf + ptrlen->len / sizeof(*buf); in ctl_backend_ramdisk_unmap()
733 (ptrlen->flags & SU_ANCHOR) != 0); in ctl_backend_ramdisk_unmap()
H A Dctl.c5847 struct ctl_ptr_len_flags *ptrlen; in ctl_unmap() local
5922 ptrlen = (struct ctl_ptr_len_flags *) in ctl_unmap()
5924 ptrlen->ptr = (void *)buf; in ctl_unmap()
5925 ptrlen->len = len; in ctl_unmap()
5926 ptrlen->flags = byte2; in ctl_unmap()
10936 struct ctl_ptr_len_flags *ptrlen; in ctl_extent_check_unmap() local
10949 ptrlen = (struct ctl_ptr_len_flags *) in ctl_extent_check_unmap()
10952 ptrlen->ptr == NULL) in ctl_extent_check_unmap()
10956 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_extent_check_unmap()
10957 end = buf + ptrlen->len / sizeof(*buf); in ctl_extent_check_unmap()