Searched refs:bcache_nblks (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbcache.c67 u_int bcache_nblks; member in struct:bcache
84 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1))
141 bc->bcache_nblks = bcache_total_nblks >> i;
142 bcache_unit_nblks = bc->bcache_nblks;
143 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize);
146 bc->bcache_nblks = 32;
147 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize);
150 bc->bcache_ctl = malloc(bc->bcache_nblks * sizeof(struct bcachectl));
159 for (i = 0; i < bc->bcache_nblks; i++) {
261 r_size = bc->bcache_nblks
331 u_int bcache_nblks = 0; local
[all...]

Completed in 43 milliseconds