Home
last modified time | relevance | path

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

/xnu-11215.1.10/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-11215.1.10/bsd/dev/
H A Dmemdev.c274 …buf_setresid(bp, buf_count(bp)); /* Set byte count … in mdevstrategy()
291 …if ((blkoff + buf_count(bp)) > (mdev[devid].mdSize << 12)) { /* Will this read go past … in mdevstrategy()
307 (void *)vaddr, (size_t)buf_count(bp)); /* This is virtual, just get the data */ in mdevstrategy()
309 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy()
330 (size_t)buf_count(bp)); /* This is virtual, just put the data */ in mdevstrategy()
332 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy()
/xnu-11215.1.10/bsd/vfs/
H A Dvfs_bio.c674 buf_count(buf_t bp) in buf_count() function
4215 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size); in buf_biodone()
4217 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size); in buf_biodone()
4973 int i, buf_count; in bflushq() local
4986 for (buf_count = 0; bp; bp = next) { in bflushq()
5002 flush_table[buf_count] = bp; in bflushq()
5003 buf_count++; in bflushq()
5006 if (buf_count >= NFLUSH) { in bflushq()
5009 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp); in bflushq()
5011 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-11215.1.10/bsd/sys/
H A Dbuf.h478 uint32_t buf_count(buf_t bp);
/xnu-11215.1.10/bsd/miscfs/specfs/
H A Dspec_vnops.c2544 OSAddAtomic64(buf_count(bp), (SInt64 *)&(kernel_pm_writes)); in spec_strategy()
2673 buf_kernel_addrperm_addr(bp), bdev, buf_blkno(bp), buf_count(bp), 0); in spec_strategy()
2682 thread_update_io_stats(current_thread(), buf_count(bp), code); in spec_strategy()
2722 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size); in spec_strategy()
2725 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size); in spec_strategy()