Home
last modified time | relevance | path

Searched refs:buf_count (Results 1 – 6 of 6) sorted by relevance

/xnu-8792.61.2/bsd/kern/
H A Dkern_physio.c183 todo = buf_count(bp); in physio()
219 done = buf_count(bp) - buf_resid(bp); in physio()
254 buf_setcount(bp, min(MAXPHYS, buf_count(bp))); in minphys()
255 return buf_count(bp); in minphys()
/xnu-8792.61.2/bsd/dev/
H A Dmemdev.c279 …buf_setresid(bp, buf_count(bp)); /* Set byte count … in mdevstrategy()
296 …if ((blkoff + buf_count(bp)) > (mdev[devid].mdSize << 12)) { /* Will this read go past … in mdevstrategy()
312 (void *)vaddr, (size_t)buf_count(bp)); /* This is virtual, just get the data */ in mdevstrategy()
314 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy()
335 (size_t)buf_count(bp)); /* This is virtual, just put the data */ in mdevstrategy()
337 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy()
/xnu-8792.61.2/bsd/vfs/
H A Dvfs_bio.c674 buf_count(buf_t bp) in buf_count() function
4195 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size); in buf_biodone()
4197 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size); in buf_biodone()
4953 int i, buf_count; in bflushq() local
4966 for (buf_count = 0; bp; bp = next) { in bflushq()
4982 flush_table[buf_count] = bp; in bflushq()
4983 buf_count++; in bflushq()
4986 if (buf_count >= NFLUSH) { in bflushq()
4989 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp); in bflushq()
4991 for (i = 0; i < buf_count; i++) { in bflushq()
[all …]
H A Dvfs_io_compression_stats.c369 uint32_t buf_cnt = buf_count(bp); in io_compression_stats()
/xnu-8792.61.2/bsd/sys/
H A Dbuf.h461 uint32_t buf_count(buf_t bp);
/xnu-8792.61.2/bsd/miscfs/specfs/
H A Dspec_vnops.c2475 OSAddAtomic64(buf_count(bp), (SInt64 *)&(kernel_pm_writes)); in spec_strategy()
2604 buf_kernel_addrperm_addr(bp), bdev, buf_blkno(bp), buf_count(bp), 0); in spec_strategy()
2613 thread_update_io_stats(current_thread(), buf_count(bp), code); in spec_strategy()
2639 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size); in spec_strategy()
2642 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size); in spec_strategy()