Home
last modified time | relevance | path

Searched refs:CACHED_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/fat/bsd/kern/
H A Dvfs_bio.c142 uint32 cBlockCount = buf->b_bufsize / CACHED_BLOCK_SIZE; in _bwrite()
145 memcpy((caddr_t)buf->b_bcpointers[i], buf->b_data + (i * CACHED_BLOCK_SIZE), in _bwrite()
146 CACHED_BLOCK_SIZE); in _bwrite()
191 howmany(bp->b_bufsize, CACHED_BLOCK_SIZE)); in bawrite()
222 uint32 cBlockCount = bp->b_bufsize / CACHED_BLOCK_SIZE; in brelse()
305 if (size == CACHED_BLOCK_SIZE && vp->v_type != VREG in getblkx()
352 cBlockCount = howmany(size, CACHED_BLOCK_SIZE); in getblkx()
393 } else if (size == CACHED_BLOCK_SIZE && vp->v_type != VREG) { in getblkx()
402 newBuf->b_bufsize = CACHED_BLOCK_SIZE; in getblkx()
429 ASSERT(cBlockCount * CACHED_BLOCK_SIZE == (u_long)newBuf->b_bufsize); in getblkx()
[all …]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Ddosfs.h17 #define CACHED_BLOCK_SIZE 512 macro
H A Dkernel_interface.cpp3721 = block_cache_create(dev->si_fd, fatVolume->pm_HugeSectors, CACHED_BLOCK_SIZE, readOnly); in fat_volume_init()