Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/cxlflash/
Dvlun.c61 struct ba_lun_info *bali = NULL; in ba_init() local
78 bali = kzalloc(sizeof(struct ba_lun_info), GFP_KERNEL); in ba_init()
79 if (unlikely(!bali)) { in ba_init()
85 bali->total_aus = lun_size_au; in ba_init()
86 bali->lun_bmap_size = lun_size_au / BITS_PER_LONG; in ba_init()
89 bali->lun_bmap_size++; in ba_init()
92 bali->lun_alloc_map = kzalloc((bali->lun_bmap_size * sizeof(u64)), in ba_init()
94 if (unlikely(!bali->lun_alloc_map)) { in ba_init()
97 kfree(bali); in ba_init()
102 bali->free_aun_cnt = lun_size_au; in ba_init()
[all …]