Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-space-map-common.c436 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()
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()
224 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
Ddm-space-map-metadata.c211 *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()
/drivers/scsi/
Dsun3_NCR5380.c319 int nr_allocated; member
338 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()
Datari_NCR5380.c325 int nr_allocated; member
344 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()