sys/stand/boot/common/bcache.c
/*
 * add number of devices to bcache. we have to divide cache space
 * between the devices, so bcache_add_dev() can be used to set up the
 * number. The issue is, we need to get the number before actual allocations.
 * bcache_add_dev() is supposed to be called from device init() call, so the
 * assumption is, devsw dv_init is called for plain devices first, and
 * for zfs, last.
 */
add number of devices to bcache. we have to divide cache space
between the devices, so bcache_add_dev() can be used to set up the
number. The issue is, we need to get the number before actual allocations.
bcache_add_dev() is supposed to be called from device init() call, so the
assumption is, devsw dv_init is called for plain devices first, and
for zfs, last.
add number of devices to bcache . we have to divide cache space between the devices so bcache_add_dev () can be used to set up the number . The issue is we need to get the number before actual allocations . bcache_add_dev () is supposed to be called from device init () call so the assumption is devsw dv_init is called for plain devices first and for zfs last .
void
bcache_add_dev(int devices)
{
    bcache_numdev += devices;
}
void bcache_add_dev ( int devices ) { bcache_numdev += devices ; }
add number of devices to bcache.
add number of devices to bcache .