Searched refs:nr_allocated (Results 1 – 6 of 6) sorted by relevance
436 ll->nr_allocated++; in sm_ll_insert()443 ll->nr_allocated--; in sm_ll_insert()573 ll->nr_allocated = 0; in sm_ll_new_metadata()609 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_metadata()669 ll->nr_allocated = 0; in sm_ll_new_disk()705 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_disk()
65 dm_block_t nr_allocated; member86 __le64 nr_allocated; member
59 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free()224 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
211 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free()440 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
319 int nr_allocated; member338 ta->nr_allocated = 0; in init_tags()365 if (TagAlloc[cmd->device->id][cmd->device->lun].nr_allocated >= in is_lun_busy()399 ta->nr_allocated++; in cmd_get_tag()403 ta->nr_allocated ); in cmd_get_tag()428 ta->nr_allocated--; in cmd_free_tag()447 ta->nr_allocated = 0; in free_all_tags()2148 ta->nr_allocated); in NCR5380_information_transfer()2149 if (ta->queue_size > ta->nr_allocated) in NCR5380_information_transfer()2150 ta->nr_allocated = ta->queue_size; in NCR5380_information_transfer()
325 int nr_allocated; member344 ta->nr_allocated = 0; in init_tags()371 if (TagAlloc[cmd->device->id][cmd->device->lun].nr_allocated >= in is_lun_busy()404 ta->nr_allocated++; in cmd_get_tag()408 cmd->device->lun, ta->nr_allocated); in cmd_get_tag()431 ta->nr_allocated--; in cmd_free_tag()450 ta->nr_allocated = 0; in free_all_tags()2185 ta->nr_allocated); in NCR5380_information_transfer()2186 if (ta->queue_size > ta->nr_allocated) in NCR5380_information_transfer()2187 ta->nr_allocated = ta->queue_size; in NCR5380_information_transfer()