Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_hwi.c219 int bitmap_bytes; in asd_init_scbs() local
229 bitmap_bytes = (asd_ha->seq.tc_index_bitmap_bits+7)/8; in asd_init_scbs()
230 bitmap_bytes = BITS_TO_LONGS(bitmap_bytes*8)*sizeof(unsigned long); in asd_init_scbs()
231 asd_ha->seq.tc_index_bitmap = kzalloc(bitmap_bytes, GFP_KERNEL); in asd_init_scbs()
608 int bitmap_bytes; in asd_init_ctxmem() local
615 bitmap_bytes = (asd_ha->hw_prof.max_ddbs+7)/8; in asd_init_ctxmem()
616 bitmap_bytes = BITS_TO_LONGS(bitmap_bytes*8)*sizeof(unsigned long); in asd_init_ctxmem()
617 asd_ha->hw_prof.ddb_bitmap = kzalloc(bitmap_bytes, GFP_KERNEL); in asd_init_ctxmem()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_bitmap_port.c251 map->memsize = bitmap_bytes(0, map->elements); in bitmap_port_create()
Dip_set_bitmap_ip.c316 map->memsize = bitmap_bytes(0, elements - 1); in bitmap_ip_create()
Dip_set_bitmap_ipmac.c364 map->memsize = bitmap_bytes(0, elements - 1); in bitmap_ipmac_create()
/Linux-v4.19/include/linux/netfilter/ipset/
Dip_set.h456 bitmap_bytes(u32 a, u32 b) in bitmap_bytes() function
/Linux-v4.19/fs/btrfs/
Dfree-space-cache.c1626 u64 bitmap_bytes; in recalculate_thresholds() local
1651 bitmap_bytes = (ctl->total_bitmaps + 1) * ctl->unit; in recalculate_thresholds()
1653 if (bitmap_bytes >= max_bytes) { in recalculate_thresholds()
1662 extent_bytes = max_bytes - bitmap_bytes; in recalculate_thresholds()