/Linux-v5.15/tools/testing/radix-tree/ |
D | main.c | 244 nr_allocated, preempt_count); in single_thread_tests() 248 nr_allocated, preempt_count); in single_thread_tests() 252 nr_allocated, preempt_count); in single_thread_tests() 256 nr_allocated, preempt_count); in single_thread_tests() 260 nr_allocated, preempt_count); in single_thread_tests() 264 nr_allocated, preempt_count); in single_thread_tests() 269 nr_allocated, preempt_count); in single_thread_tests() 273 nr_allocated, preempt_count); in single_thread_tests() 281 nr_allocated, preempt_count); in single_thread_tests() 324 nr_allocated, preempt_count); in main()
|
D | tag_check.c | 53 printv(2, "before item_kill_tree: %d allocated\n", nr_allocated); in simple_checks() 56 printv(2, "after item_kill_tree: %d allocated\n", nr_allocated); in simple_checks() 300 printv(2, "%d: nr_allocated=%d\n", __LINE__, nr_allocated); in __leak_check() 302 printv(2, "%d: nr_allocated=%d\n", __LINE__, nr_allocated); in __leak_check() 304 printv(2, "%d: nr_allocated=%d\n", __LINE__, nr_allocated); in __leak_check() 306 printv(2, "%d: nr_allocated=%d\n", __LINE__, nr_allocated); in __leak_check() 340 printv(2, "after extend_checks: %d allocated\n", nr_allocated); in tag_check() 344 printv(2, "after leak_check: %d allocated\n", nr_allocated); in tag_check() 347 printv(2, "after simple_checks: %d allocated\n", nr_allocated); in tag_check() 350 printv(2, "after thrash_tags: %d allocated\n", nr_allocated); in tag_check()
|
D | linux.c | 15 int nr_allocated; variable 56 uatomic_inc(&nr_allocated); in kmem_cache_alloc() 65 uatomic_dec(&nr_allocated); in kmem_cache_free() 89 uatomic_inc(&nr_allocated); in kmalloc() 101 uatomic_dec(&nr_allocated); in kfree()
|
D | xarray.c | 33 if (nr_allocated) in main() 34 printf("nr_allocated = %d\n", nr_allocated); in main()
|
D | test.h | 50 extern int nr_allocated;
|
D | idr-test.c | 599 if (nr_allocated) in main() 600 printf("nr_allocated = %d\n", nr_allocated); in main()
|
/Linux-v5.15/fs/reiserfs/ |
D | bitmap.c | 351 int nr_allocated = 0; in scan_bitmap() local 390 nr_allocated = in scan_bitmap() 393 if (nr_allocated) in scan_bitmap() 401 nr_allocated = in scan_bitmap() 403 if (nr_allocated) in scan_bitmap() 407 nr_allocated = in scan_bitmap() 412 return nr_allocated; in scan_bitmap() 1158 int nr_allocated; in allocate_without_wrapping_disk() local 1161 nr_allocated = scan_bitmap(hint->th, &start, finish, min, in allocate_without_wrapping_disk() 1165 if (nr_allocated == 0) /* no new blocks allocated, return */ in allocate_without_wrapping_disk() [all …]
|
/Linux-v5.15/drivers/media/common/videobuf2/ |
D | frame_vector.c | 46 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames() 47 nr_frames = vec->nr_allocated; in get_vaddr_frames() 204 vec->nr_allocated = nr_frames; in frame_vector_create()
|
/Linux-v5.15/drivers/md/persistent-data/ |
D | dm-space-map-common.h | 79 dm_block_t nr_allocated; member 102 __le64 nr_allocated; member
|
D | dm-space-map-disk.c | 59 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free() 185 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
|
D | dm-space-map-common.c | 484 ll->nr_allocated++; in sm_ll_insert() 491 ll->nr_allocated--; in sm_ll_insert() 665 ll->nr_allocated++; in sm_ll_inc_bitmap() 861 ll->nr_allocated--; in sm_ll_dec_bitmap() 1036 ll->nr_allocated = 0; in sm_ll_new_metadata() 1078 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata() 1211 ll->nr_allocated = 0; in sm_ll_new_disk() 1247 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_disk()
|
D | dm-space-map-metadata.c | 293 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free() 545 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
|
/Linux-v5.15/include/media/ |
D | frame_vector.h | 7 unsigned int nr_allocated; /* Number of frames we have space for */ member
|
/Linux-v5.15/drivers/md/ |
D | dm-cache-policy-smq.c | 694 unsigned nr_allocated; member 704 ea->nr_allocated = 0u; in init_allocator() 737 ea->nr_allocated++; in alloc_entry() 753 ea->nr_allocated++; in alloc_particular_entry() 760 BUG_ON(!ea->nr_allocated); in free_entry() 763 ea->nr_allocated--; in free_entry() 1153 nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated; in free_target_met() 1610 r = to_cblock(mq->cache_alloc.nr_allocated); in smq_residency()
|
/Linux-v5.15/mm/ |
D | vmalloc.c | 2818 unsigned int nr_allocated = 0; in vm_area_alloc_pages() local 2829 while (nr_allocated < nr_pages) { in vm_area_alloc_pages() 2838 nr_pages_request = min(100U, nr_pages - nr_allocated); in vm_area_alloc_pages() 2841 nr_pages_request, pages + nr_allocated); in vm_area_alloc_pages() 2843 nr_allocated += nr; in vm_area_alloc_pages() 2862 while (nr_allocated < nr_pages) { in vm_area_alloc_pages() 2876 pages[nr_allocated + i] = page + i; in vm_area_alloc_pages() 2879 nr_allocated += 1U << order; in vm_area_alloc_pages() 2882 return nr_allocated; in vm_area_alloc_pages()
|
/Linux-v5.15/tools/perf/ |
D | builtin-trace.c | 1850 size_t nr_used = 0, nr_allocated = strlist__nr_entries(trace->ev_qualifier); in trace__validate_ev_qualifier() local 1852 trace->ev_qualifier_ids.entries = malloc(nr_allocated * in trace__validate_ev_qualifier() 1890 if (nr_allocated == nr_used) { in trace__validate_ev_qualifier() 1893 nr_allocated += 8; in trace__validate_ev_qualifier() 1895 nr_allocated * sizeof(trace->ev_qualifier_ids.entries[0])); in trace__validate_ev_qualifier()
|