Home
last modified time | relevance | path

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

/linux-3.4.99/fs/reiserfs/
Dbitmap.c314 int nr_allocated = 0; in scan_bitmap() local
354 nr_allocated = in scan_bitmap()
357 if (nr_allocated) in scan_bitmap()
365 nr_allocated = in scan_bitmap()
367 if (nr_allocated) in scan_bitmap()
371 nr_allocated = in scan_bitmap()
376 return nr_allocated; in scan_bitmap()
1090 int nr_allocated; in allocate_without_wrapping_disk() local
1093 nr_allocated = scan_bitmap(hint->th, &start, finish, min, in allocate_without_wrapping_disk()
1097 if (nr_allocated == 0) /* no new blocks allocated, return */ in allocate_without_wrapping_disk()
[all …]
/linux-3.4.99/drivers/md/persistent-data/
Ddm-space-map-common.c439 ll->nr_allocated++; in sm_ll_insert()
446 ll->nr_allocated--; in sm_ll_insert()
567 ll->nr_allocated = 0; in sm_ll_new_metadata()
603 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_metadata()
663 ll->nr_allocated = 0; in sm_ll_new_disk()
699 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
85 __le64 nr_allocated; member
Ddm-space-map-disk.c60 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free()
225 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
Ddm-space-map-metadata.c166 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free()
373 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
/linux-3.4.99/drivers/scsi/
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()
2210 ta->nr_allocated); in NCR5380_information_transfer()
2211 if (ta->queue_size > ta->nr_allocated) in NCR5380_information_transfer()
2212 ta->nr_allocated = ta->queue_size; in NCR5380_information_transfer()
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()
2175 ta->nr_allocated); in NCR5380_information_transfer()
2176 if (ta->queue_size > ta->nr_allocated) in NCR5380_information_transfer()
2177 ta->nr_allocated = ta->queue_size; in NCR5380_information_transfer()