Searched refs:buf_count (Results 1 - 11 of 11) sorted by relevance
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_physio.c | 177 todo = buf_count(bp); 211 done = buf_count(bp) - buf_resid(bp); 244 buf_setcount(bp, min(MAXPHYS, buf_count(bp))); 245 return buf_count(bp);
|
/xnu-2422.115.4/bsd/dev/ |
H A D | memdev.c | 250 buf_setresid(bp, buf_count(bp)); /* Set byte count */ 267 if ((blkoff + buf_count(bp)) > (mdev[devid].mdSize << 12)) { /* Will this read go past end? */ 282 (void *)vaddr, (size_t)buf_count(bp)); /* This is virtual, just get the data */ 285 left = buf_count(bp); /* Init the amount left to copy */ 308 (size_t)buf_count(bp)); /* This is virtual, just put the data */ 311 left = buf_count(bp); /* Init the amount left to copy */
|
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_btreeio.c | 141 (((BTHeaderRec *)((char *)block->buffer + 14))->nodeSize != buf_count(bp)) && 142 (SWAP_BE16 (((BTHeaderRec *)((char *)block->buffer + 14))->nodeSize) != buf_count(bp))) { 247 block.blockSize = buf_count(bp);
|
H A D | hfs_readwrite.c | 4790 if (((u_int16_t *)((char *)buf_dataptr(bp) + buf_count(bp) - 2))[0] == 0x000e) { 4797 block.blockSize = buf_count(bp); 5262 if (buf_count(bp) != iosize) { 5263 printf("hfs_clonesysfile: b_bcount is only %d\n", buf_count(bp));
|
/xnu-2422.115.4/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeScanner.c | 285 theScanStatePtr->nodesLeftInBuffer = buf_count(theScanStatePtr->bufferPtr) / theScanStatePtr->btcb->nodeSize;
|
/xnu-2422.115.4/bsd/sys/ |
H A D | buf.h | 426 @function buf_count 431 uint32_t buf_count(buf_t); 635 @param io_size Size of buffer region in new buffer, in the sense of buf_count().
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_bio.c | 573 buf_count(buf_t bp) { function 2243 OSAddAtomic64(buf_count(bp), &p->p_stats->ri_diskiobytes.ri_byteswritten); 2270 OSAddAtomic64(buf_count(bp), &p->p_stats->ri_diskiobytes.ri_byteswritten); 2328 OSAddAtomic64(buf_count(bp), &p->p_stats->ri_diskiobytes.ri_byteswritten); 3839 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size); 3841 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size); 4459 int i, buf_count; local 4472 for (buf_count = 0; bp; bp = next) { 4489 flush_table[buf_count] = bp; 4490 buf_count [all...] |
H A D | vfs_journal.c | 4042 if (VNOP_BLOCKMAP(vp, f_offset, buf_count(bp), &blkno, &contig_bytes, NULL, 0, NULL)) { 4047 if ((uint32_t)contig_bytes < buf_count(bp)) {
|
/xnu-2422.115.4/bsd/dev/vn/ |
H A D | vn.c | 800 buf_setresid(bp, buf_count(bp)); 806 if (buf_count(bp) % vn->sc_secsize != 0) { 810 sz = howmany(buf_count(bp), vn->sc_secsize); 827 buf_setresid(bp, buf_count(bp));
|
/xnu-2422.115.4/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 1976 buf_kernel_addrperm_addr(bp), bdev, (int)buf_blkno(bp), buf_count(bp), 0); 1992 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size); 1995 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size);
|
/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 4287 completed_size = buf_count(blockRef);
|
Completed in 154 milliseconds