/linux-6.1.9/tools/testing/radix-tree/ |
D | linux.c | 15 int nr_allocated; variable 27 unsigned long nr_allocated; member 38 return cachep->size * cachep->nr_allocated; in kmem_cache_get_alloc() 43 return cachep->nr_allocated; in kmem_cache_nr_allocated() 88 uatomic_inc(&cachep->nr_allocated); in kmem_cache_alloc_lru() 89 uatomic_inc(&nr_allocated); in kmem_cache_alloc_lru() 99 uatomic_dec(&nr_allocated); in kmem_cache_free_locked() 100 uatomic_dec(&cachep->nr_allocated); in kmem_cache_free_locked() 180 uatomic_inc(&nr_allocated); in kmem_cache_alloc_bulk() 181 uatomic_inc(&cachep->nr_allocated); in kmem_cache_alloc_bulk() [all …]
|
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 | 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()
|
D | maple.c | 35826 if (nr_allocated) in main() 35827 printf("nr_allocated = %d\n", nr_allocated); in main()
|
/linux-6.1.9/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-6.1.9/drivers/media/common/videobuf2/ |
D | frame_vector.c | 43 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames() 44 nr_frames = vec->nr_allocated; in get_vaddr_frames() 173 vec->nr_allocated = nr_frames; in frame_vector_create()
|
/linux-6.1.9/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 | 489 ll->nr_allocated++; in sm_ll_insert() 496 ll->nr_allocated--; in sm_ll_insert() 670 ll->nr_allocated++; in sm_ll_inc_bitmap() 866 ll->nr_allocated--; in sm_ll_dec_bitmap() 1041 ll->nr_allocated = 0; in sm_ll_new_metadata() 1083 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata() 1216 ll->nr_allocated = 0; in sm_ll_new_disk() 1252 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-6.1.9/include/media/ |
D | frame_vector.h | 7 unsigned int nr_allocated; /* Number of frames we have space for */ member
|
/linux-6.1.9/mm/ |
D | mempolicy.c | 2312 unsigned long nr_allocated; in alloc_pages_bulk_array_interleave() local 2321 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave() 2327 nr_allocated = __alloc_pages_bulk(gfp, in alloc_pages_bulk_array_interleave() 2332 page_array += nr_allocated; in alloc_pages_bulk_array_interleave() 2333 total_allocated += nr_allocated; in alloc_pages_bulk_array_interleave() 2344 unsigned long nr_allocated = 0; in alloc_pages_bulk_array_preferred_many() local 2349 nr_allocated = __alloc_pages_bulk(preferred_gfp, nid, &pol->nodes, in alloc_pages_bulk_array_preferred_many() 2352 if (nr_allocated < nr_pages) in alloc_pages_bulk_array_preferred_many() 2353 nr_allocated += __alloc_pages_bulk(gfp, numa_node_id(), NULL, in alloc_pages_bulk_array_preferred_many() 2354 nr_pages - nr_allocated, NULL, in alloc_pages_bulk_array_preferred_many() [all …]
|
D | vmalloc.c | 2917 unsigned int nr_allocated = 0; in vm_area_alloc_pages() local 2930 while (nr_allocated < nr_pages) { in vm_area_alloc_pages() 2939 nr_pages_request = min(100U, nr_pages - nr_allocated); in vm_area_alloc_pages() 2949 pages + nr_allocated); in vm_area_alloc_pages() 2954 pages + nr_allocated); in vm_area_alloc_pages() 2956 nr_allocated += nr; in vm_area_alloc_pages() 2970 while (nr_allocated < nr_pages) { in vm_area_alloc_pages() 2996 pages[nr_allocated + i] = page + i; in vm_area_alloc_pages() 2999 nr_allocated += 1U << order; in vm_area_alloc_pages() 3002 return nr_allocated; in vm_area_alloc_pages()
|
/linux-6.1.9/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() 1155 nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated; in free_target_met() 1612 r = to_cblock(mq->cache_alloc.nr_allocated); in smq_residency()
|
/linux-6.1.9/tools/perf/ |
D | builtin-trace.c | 1870 size_t nr_used = 0, nr_allocated = strlist__nr_entries(trace->ev_qualifier); in trace__validate_ev_qualifier() local 1872 trace->ev_qualifier_ids.entries = malloc(nr_allocated * in trace__validate_ev_qualifier() 1910 if (nr_allocated == nr_used) { in trace__validate_ev_qualifier() 1913 nr_allocated += 8; in trace__validate_ev_qualifier() 1915 nr_allocated * sizeof(trace->ev_qualifier_ids.entries[0])); in trace__validate_ev_qualifier()
|