Home
last modified time | relevance | path

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

/freebsd/sys/cam/ctl/
H A Dctl_backend_block.c884 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_unmap_file() local
902 ptrlen = (struct ctl_ptr_len_flags *) in ctl_be_block_unmap_file()
904 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_be_block_unmap_file()
905 end = buf + ptrlen->len / sizeof(*buf); in ctl_be_block_unmap_file()
1200 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_unmap_dev() local
1213 ptrlen = (struct ctl_ptr_len_flags *)&io->io_hdr.ctl_private[CTL_PRIV_LBA_LEN]; in ctl_be_block_unmap_dev()
1214 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_be_block_unmap_dev()
1215 end = buf + ptrlen->len / sizeof(*buf); in ctl_be_block_unmap_dev()
1510 struct ctl_ptr_len_flags *ptrlen; in ctl_be_block_cw_dispatch_unmap() local
1517 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.c790 struct ctl_ptr_len_flags *ptrlen = (struct ctl_ptr_len_flags *)ARGS(io); in ctl_backend_ramdisk_unmap() local
795 if ((ptrlen->flags & ~SU_ANCHOR) != 0) { in ctl_backend_ramdisk_unmap()
806 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_backend_ramdisk_unmap()
807 end = buf + ptrlen->len / sizeof(*buf); in ctl_backend_ramdisk_unmap()
811 (ptrlen->flags & SU_ANCHOR) != 0); in ctl_backend_ramdisk_unmap()
H A Dctl.c5807 struct ctl_ptr_len_flags *ptrlen; in ctl_unmap() local
5882 ptrlen = (struct ctl_ptr_len_flags *) in ctl_unmap()
5884 ptrlen->ptr = (void *)buf; in ctl_unmap()
5885 ptrlen->len = len; in ctl_unmap()
5886 ptrlen->flags = byte2; in ctl_unmap()
11615 struct ctl_ptr_len_flags *ptrlen; in ctl_extent_check_unmap() local
11627 ptrlen = (struct ctl_ptr_len_flags *) in ctl_extent_check_unmap()
11630 ptrlen->ptr == NULL) in ctl_extent_check_unmap()
11634 buf = (struct scsi_unmap_desc *)ptrlen->ptr; in ctl_extent_check_unmap()
11635 end = buf + ptrlen->len / sizeof(*buf); in ctl_extent_check_unmap()
/freebsd/sys/dev/usb/net/
H A Dif_umb.c2100 int ptrlen, ptroff, dgentryoff; in umb_decap() local
2152 ptrlen = UGETW(ptr16->wLength); in umb_decap()
2153 if (len < ptrlen + ptroff) in umb_decap()
2172 while (dgentryoff < ptrlen) { in umb_decap()