Searched refs:bcache_blksize (Results 1 – 1 of 1) sorted by relevance
71 static u_int bcache_blksize; /* set by bcache_init */ variable102 bcache_blksize = bsize; in bcache_init()143 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize); in bcache_allocate()147 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize + in bcache_allocate()194 nblk = size / bcache_blksize; in write_strategy()229 nblk = size / bcache_blksize; in read_strategy()270 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size); in read_strategy()280 p_buf = bc->bcache_data + (bcache_blksize * BHASH(bc, p_blk)); in read_strategy()349 p_size * bcache_blksize, p_buf, &r_size); in read_strategy()351 r_size /= bcache_blksize; in read_strategy()[all …]