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

/macosx-10.10.1/BootCache-109/
H A Dkext.c2026 u_int64_t nbytes_thisextent; local
2047 nbytes_thisextent = MIN(disk_offset + nbytes, ce->ce_diskoffset + ce->ce_length) - diskoffset_thisextent;
2053 assert(nbytes_thisextent <= (ce->ce_diskoffset + ce->ce_length) - diskoffset_thisextent);
2056 assert(nbytes_thisextent <= (ce->ce_cacheoffset + ce->ce_length) - cacheoffset_thisextent);
2061 assert(nbytes_thisextent <= (disk_offset + nbytes) - diskoffset_thisextent);
2065 assert(buf_map_p + nbytes >= buf_extent_p + nbytes_thisextent); /* not overflowing the buffer */
2069 assert(ce_idx < (num_extents - 1) || disk_offset + nbytes == diskoffset_thisextent + nbytes_thisextent); /* include the last byte */ local
2076 CB_BYTE_TO_BLOCK(BC_cache->c_mounts + cm_idx, nbytes_thisextent))) {
2084 resid = nbytes_thisextent;
2095 kret = uio_addiov(uio, CAST_USER_ADDR_T(buf_extent_p), nbytes_thisextent);
[all...]

Completed in 164 milliseconds