Home
last modified time | relevance | path

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

/freebsd/stand/common/
H A Dbcache.c62 struct bcachectl *bcache_ctl; member
85 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno))
151 bc->bcache_ctl = malloc(bc->bcache_nblks * sizeof(struct bcachectl)); in bcache_allocate()
153 if ((bc->bcache_data == NULL) || (bc->bcache_ctl == NULL)) { in bcache_allocate()
161 bc->bcache_ctl[i].bc_count = -1; in bcache_allocate()
162 bc->bcache_ctl[i].bc_blkno = -1; in bcache_allocate()
465 free(bc->bcache_ctl); in bcache_free_instance()
482 bc->bcache_ctl[cand].bc_blkno = blkno; in bcache_insert()
483 bc->bcache_ctl[cand].bc_count = bcache_bcount++; in bcache_insert()
495 if (bc->bcache_ctl[i].bc_blkno == blkno) { in bcache_invalidate()
[all …]