Searched refs:bitmap_bytes (Results 1 – 6 of 6) sorted by relevance
219 int bitmap_bytes; in asd_init_scbs() local229 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() local615 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()
251 map->memsize = bitmap_bytes(0, map->elements); in bitmap_port_create()
316 map->memsize = bitmap_bytes(0, elements - 1); in bitmap_ip_create()
364 map->memsize = bitmap_bytes(0, elements - 1); in bitmap_ipmac_create()
456 bitmap_bytes(u32 a, u32 b) in bitmap_bytes() function
1626 u64 bitmap_bytes; in recalculate_thresholds() local1651 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()