Searched refs:unmap (Results 1 - 8 of 8) sorted by relevance

/xnu-2782.1.97/bsd/vm/
H A Dvm_compressor_backing_file.c248 dk_unmap_t unmap; local
272 memset (&unmap, 0, sizeof(dk_unmap_t));
273 unmap.extents = extents;
317 unmap.extentsCount = trim_index;
318 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel());
336 unmap.extentsCount = trim_index;
337 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel());
H A Dvnode_pager.c229 dk_unmap_t unmap; local
264 memset (&unmap, 0, sizeof(dk_unmap_t));
267 unmap.extents = &extent;
268 unmap.extentsCount = 1;
269 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel());
/xnu-2782.1.97/bsd/kern/
H A Dkern_symfile.c109 dk_unmap_t unmap; local
113 bzero(&unmap, sizeof(dk_unmap_t));
151 unmap.extents = &extent;
152 unmap.extentsCount = 1;
153 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&unmap);
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c181 /* Headers for unmap-on-mount support */
412 ; longer have useful content, and the device can unmap the
472 ; longer have useful content, and the device can unmap the
531 dk_unmap_t unmap; local
539 bzero(&unmap, sizeof(unmap));
540 unmap.extents = list->extents;
541 unmap.extentsCount = list->extent_count;
544 KERNEL_DEBUG_CONSTANT(HFSDBG_UNMAP_SCAN_TRIM | DBG_FUNC_NONE, hfsmp->hfs_raw_dev, unmap.extentsCount, 0, 0, 0);
554 unmap
[all...]
/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c676 dk_unmap_t *unmap; local
680 unmap = (dk_unmap_t *)ap->a_data;
681 extent = unmap->extents;
683 for (i = 0; i < unmap->extentsCount; i++, extent++) {
/xnu-2782.1.97/iokit/IOKit/
H A DIOMemoryDescriptor.h788 /*! @function unmap
789 @abstract Force the IOMemoryMap to unmap, without destroying the object.
790 @discussion IOMemoryMap instances will unmap themselves upon free, ie. when the last client with a reference calls release. This method forces the IOMemoryMap to destroy the mapping it represents, regardless of the number of clients. It is not generally used.
793 virtual IOReturn unmap();
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_journal.c3155 ; SSDs can support trim/unmap and avoid having to recopy those
3611 dk_unmap_t unmap; local
3613 bzero(&unmap, sizeof(unmap));
3615 unmap.extents = tr->trim.extents;
3616 unmap.extentsCount = tr->trim.extent_count;
3619 errno = VNOP_IOCTL(jnl->fsdev, DKIOCUNMAP, (caddr_t)&unmap, FWRITE, vfs_context_kernel());
/xnu-2782.1.97/iokit/Kernel/
H A DIOMemoryDescriptor.cpp3772 IOReturn IOMemoryMap::unmap( void ) function in class:IOMemoryMap
3803 unmap();
3832 unmap();

Completed in 59 milliseconds