Searched refs:buf_count (Results 1 - 10 of 10) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_physio.c | 181 todo = buf_count(bp); 215 done = buf_count(bp) - buf_resid(bp); 248 buf_setcount(bp, min(MAXPHYS, buf_count(bp))); 249 return buf_count(bp);
|
/darwin-on-arm/xnu/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 */
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_btreeio.c | 140 (((BTHeaderRec *)((char *)block->buffer + 14))->nodeSize != buf_count(bp)) && 141 (SWAP_BE16 (((BTHeaderRec *)((char *)block->buffer + 14))->nodeSize) != buf_count(bp))) { 222 block.blockSize = buf_count(bp);
|
H A D | hfs_readwrite.c | 4309 if (((u_int16_t *)((char *)buf_dataptr(bp) + buf_count(bp) - 2))[0] == 0x000e) { 4316 block.blockSize = buf_count(bp); 4814 if (buf_count(bp) != iosize) { 4815 printf("hfs_clonesysfile: b_bcount is only %d\n", buf_count(bp));
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeScanner.c | 285 theScanStatePtr->nodesLeftInBuffer = buf_count(theScanStatePtr->bufferPtr) / theScanStatePtr->btcb->nodeSize;
|
/darwin-on-arm/xnu/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().
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_bio.c | 557 buf_count(buf_t bp) { function 3814 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_write_size); 3816 INCR_PENDING_IO(-(pending_io_t)buf_count(bp), mp->mnt_pending_read_size); 4427 int i, buf_count; local 4440 for (buf_count = 0; bp; bp = next) { 4457 flush_table[buf_count] = bp; 4458 buf_count++; 4461 if (buf_count >= NFLUSH) { 4464 qsort(flush_table, buf_count, sizeof(struct buf *), bp_cmp); 4466 for (i = 0; i < buf_count; [all...] |
H A D | vfs_journal.c | 3936 if (VNOP_BLOCKMAP(vp, f_offset, buf_count(bp), &blkno, &contig_bytes, NULL, 0, NULL)) { 3941 if ((uint32_t)contig_bytes < buf_count(bp)) {
|
/darwin-on-arm/xnu/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));
|
/darwin-on-arm/xnu/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 1681 bp, bdev, (int)buf_blkno(bp), buf_count(bp), 0); 1700 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_write_size); 1703 INCR_PENDING_IO(buf_count(bp), mp->mnt_pending_read_size);
|
Completed in 184 milliseconds