Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/cxlflash/
Dvlun.c92 bali->lun_alloc_map = kzalloc((bali->lun_bmap_size * sizeof(u64)), in ba_init()
94 if (unlikely(!bali->lun_alloc_map)) { in ba_init()
105 bali->lun_alloc_map[i] = 0xFFFFFFFFFFFFFFFFULL; in ba_init()
111 lam = &bali->lun_alloc_map[bali->lun_bmap_size - 1]; in ba_init()
127 kfree(bali->lun_alloc_map); in ba_init()
160 if (bali->lun_alloc_map[i] != 0) { in find_free_range()
161 lam = (ulong *)&bali->lun_alloc_map[i]; in find_free_range()
167 __func__, bit_pos, bali->lun_alloc_map[i], i); in find_free_range()
244 if (test_bit(bit_pos, (ulong *)&bali->lun_alloc_map[idx])) in validate_alloc()
285 set_bit(bit_pos, (ulong *)&bali->lun_alloc_map[idx]); in ba_free()
[all …]
Dvlun.h53 u64 *lun_alloc_map; member