Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/target/
Dtarget_core_alua.c1272 struct t10_alua_lba_map *lba_map; in core_alua_allocate_lba_map() local
1274 lba_map = kmem_cache_zalloc(t10_alua_lba_map_cache, GFP_KERNEL); in core_alua_allocate_lba_map()
1275 if (!lba_map) { in core_alua_allocate_lba_map()
1279 INIT_LIST_HEAD(&lba_map->lba_map_mem_list); in core_alua_allocate_lba_map()
1280 lba_map->lba_map_first_lba = first_lba; in core_alua_allocate_lba_map()
1281 lba_map->lba_map_last_lba = last_lba; in core_alua_allocate_lba_map()
1283 list_add_tail(&lba_map->lba_map_list, list); in core_alua_allocate_lba_map()
1284 return lba_map; in core_alua_allocate_lba_map()
1288 core_alua_allocate_lba_map_mem(struct t10_alua_lba_map *lba_map, in core_alua_allocate_lba_map_mem() argument
1293 list_for_each_entry(lba_map_mem, &lba_map->lba_map_mem_list, in core_alua_allocate_lba_map_mem()
[all …]
Dtarget_core_configfs.c2475 struct t10_alua_lba_map *lba_map = NULL; in target_dev_lba_map_store() local
2523 lba_map = core_alua_allocate_lba_map(&lba_list, in target_dev_lba_map_store()
2525 if (IS_ERR(lba_map)) { in target_dev_lba_map_store()
2526 ret = PTR_ERR(lba_map); in target_dev_lba_map_store()
2550 ret = core_alua_allocate_lba_map_mem(lba_map, in target_dev_lba_map_store()
2592 CONFIGFS_ATTR(target_dev_, lba_map);