Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-space-map-common.c491 ll->nr_allocated++; in sm_ll_mutate()
498 ll->nr_allocated--; in sm_ll_mutate()
646 ll->nr_allocated = 0; in sm_ll_new_metadata()
682 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_metadata()
742 ll->nr_allocated = 0; in sm_ll_new_disk()
778 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_disk()
Ddm-space-map-common.h65 dm_block_t nr_allocated; member
86 __le64 nr_allocated; member
Ddm-space-map-disk.c59 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free()
232 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
Ddm-space-map-metadata.c293 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free()
543 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
/drivers/md/
Ddm-cache-policy-mq.c327 unsigned nr_allocated; member
344 ep->nr_allocated = 0; in epool_init()
364 ep->nr_allocated++; in alloc_entry()
378 ep->nr_allocated++; in alloc_particular_entry()
385 BUG_ON(!ep->nr_allocated); in free_entry()
386 ep->nr_allocated--; in free_entry()
1280 r = to_cblock(mq->cache_pool.nr_allocated); in mq_residency()
Ddm-cache-policy-smq.c674 unsigned nr_allocated; member
684 ea->nr_allocated = 0u; in init_allocator()
714 ea->nr_allocated++; in alloc_entry()
730 ea->nr_allocated++; in alloc_particular_entry()
737 BUG_ON(!ea->nr_allocated); in free_entry()
740 ea->nr_allocated--; in free_entry()
1551 r = to_cblock(mq->cache_alloc.nr_allocated); in smq_residency()
/drivers/scsi/
Datari_NCR5380.c286 ta->nr_allocated = 0; in init_tags()
315 if (hostdata->TagAlloc[scmd_id(cmd)][lun].nr_allocated >= in is_lun_busy()
350 ta->nr_allocated++; in cmd_get_tag()
354 lun, ta->nr_allocated); in cmd_get_tag()
378 ta->nr_allocated--; in cmd_free_tag()
397 ta->nr_allocated = 0; in free_all_tags()
2186 ta->nr_allocated); in NCR5380_information_transfer()
2187 if (ta->queue_size > ta->nr_allocated) in NCR5380_information_transfer()
2188 ta->nr_allocated = ta->queue_size; in NCR5380_information_transfer()
DNCR5380.h252 int nr_allocated; member