Searched refs:buf_count (Results 1 – 7 of 7) sorted by relevance
| /xnu-12377.81.4/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-12377.81.4/osfmk/arm64/ |
| H A D | mte.c | 160 size_t buf_count = buf_size / sizeof(mte_bulk_taglist_t); in mte_bulk_read_tags() local 162 for (size_t counter = 0; counter < buf_count; counter++, va += 256) { in mte_bulk_read_tags() 177 size_t buf_count = buf_size / sizeof(mte_bulk_taglist_t); in mte_bulk_write_tags() local 179 for (size_t counter = 0; counter < buf_count; counter++, va += 256) { in mte_bulk_write_tags()
|
| /xnu-12377.81.4/bsd/dev/ |
| H A D | memdev.c | 274 …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-12377.81.4/bsd/vfs/ |
| H A D | vfs_bio.c | 837 buf_count(buf_t bp) in buf_count() function 4380 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size); in buf_biodone() 4382 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size); in buf_biodone() 5140 int i, buf_count; in bflushq() local 5153 for (buf_count = 0; bp; bp = next) { in bflushq() 5169 flush_table[buf_count] = bp; in bflushq() 5170 buf_count++; in bflushq() 5173 if (buf_count >= NFLUSH) { in bflushq() 5176 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp); in bflushq() 5178 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-12377.81.4/bsd/sys/ |
| H A D | buf.h | 478 uint32_t buf_count(buf_t bp);
|
| /xnu-12377.81.4/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 2599 OSAddAtomic64(buf_count(bp), (SInt64 *)&(kernel_pm_writes)); in spec_strategy() 2728 buf_kernel_addrperm_addr(bp), bdev, buf_blkno(bp), buf_count(bp), 0); in spec_strategy() 2737 thread_update_io_stats(current_thread(), buf_count(bp), code); in spec_strategy() 2777 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size); in spec_strategy() 2780 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size); in spec_strategy()
|