Searched refs:buf_count (Results 1 – 7 of 7) sorted by relevance
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_physio.c | 183 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-8019.80.24/bsd/dev/ |
| H A D | memdev.c | 265 …buf_setresid(bp, buf_count(bp)); /* Set byte count … in mdevstrategy() 282 …if ((blkoff + buf_count(bp)) > (mdev[devid].mdSize << 12)) { /* Will this read go past … in mdevstrategy() 298 (void *)vaddr, (size_t)buf_count(bp)); /* This is virtual, just get the data */ in mdevstrategy() 300 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy() 321 (size_t)buf_count(bp)); /* This is virtual, just put the data */ in mdevstrategy() 323 … left = buf_count(bp); /* Init the amount left to copy */ in mdevstrategy()
|
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_bio.c | 674 buf_count(buf_t bp) in buf_count() function 4183 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size); in buf_biodone() 4185 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size); in buf_biodone() 4941 int i, buf_count; in bflushq() local 4954 for (buf_count = 0; bp; bp = next) { in bflushq() 4970 flush_table[buf_count] = bp; in bflushq() 4971 buf_count++; in bflushq() 4974 if (buf_count >= NFLUSH) { in bflushq() 4977 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp); in bflushq() 4979 for (i = 0; i < buf_count; i++) { in bflushq() [all …]
|
| H A D | vfs_io_compression_stats.c | 369 uint32_t buf_cnt = buf_count(bp); in io_compression_stats()
|
| /xnu-8019.80.24/bsd/dev/vn/ |
| H A D | vn.c | 792 buf_setresid(bp, buf_count(bp)); in vnstrategy() 798 if (buf_count(bp) % vn->sc_secsize != 0) { in vnstrategy() 802 sz = howmany(buf_count(bp), vn->sc_secsize); in vnstrategy() 819 buf_setresid(bp, buf_count(bp)); in vnstrategy()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | buf.h | 461 uint32_t buf_count(buf_t bp);
|
| /xnu-8019.80.24/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 2475 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() 2612 thread_update_io_stats(current_thread(), buf_count(bp), code); in spec_strategy() 2638 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size); in spec_strategy() 2641 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size); in spec_strategy()
|