Home
last modified time | relevance | path

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

/freebsd/stand/common/
H A Dbcache.c63 caddr_t bcache_data; member
143 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize); in bcache_allocate()
144 if (bc->bcache_data == NULL) { in bcache_allocate()
147 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize + in bcache_allocate()
153 if ((bc->bcache_data == NULL) || (bc->bcache_ctl == NULL)) { in bcache_allocate()
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()
373 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size); in read_strategy()
466 free(bc->bcache_data); in bcache_free_instance()