Searched refs:lba_map (Results 1 – 2 of 2) sorted by relevance
1298 struct t10_alua_lba_map *lba_map; in core_alua_allocate_lba_map() local1300 lba_map = kmem_cache_zalloc(t10_alua_lba_map_cache, GFP_KERNEL); in core_alua_allocate_lba_map()1301 if (!lba_map) { in core_alua_allocate_lba_map()1305 INIT_LIST_HEAD(&lba_map->lba_map_mem_list); in core_alua_allocate_lba_map()1306 lba_map->lba_map_first_lba = first_lba; in core_alua_allocate_lba_map()1307 lba_map->lba_map_last_lba = last_lba; in core_alua_allocate_lba_map()1309 list_add_tail(&lba_map->lba_map_list, list); in core_alua_allocate_lba_map()1310 return lba_map; in core_alua_allocate_lba_map()1314 core_alua_allocate_lba_map_mem(struct t10_alua_lba_map *lba_map, in core_alua_allocate_lba_map_mem() argument1319 list_for_each_entry(lba_map_mem, &lba_map->lba_map_mem_list, in core_alua_allocate_lba_map_mem()[all …]
2419 struct t10_alua_lba_map *lba_map = NULL; in target_dev_lba_map_store() local2467 lba_map = core_alua_allocate_lba_map(&lba_list, in target_dev_lba_map_store()2469 if (IS_ERR(lba_map)) { in target_dev_lba_map_store()2470 ret = PTR_ERR(lba_map); in target_dev_lba_map_store()2494 ret = core_alua_allocate_lba_map_mem(lba_map, in target_dev_lba_map_store()2536 CONFIGFS_ATTR(target_dev_, lba_map);