/kernel/linux/linux-5.10/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 | 590 if (nr_allocated) in main() 591 printf("nr_allocated = %d\n", nr_allocated); in main()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/mm/ |
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() 222 vec->nr_allocated = nr_frames; in frame_vector_create()
|
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 489 ll->nr_allocated++; in sm_ll_mutate() 496 ll->nr_allocated--; in sm_ll_mutate() 644 ll->nr_allocated = 0; in sm_ll_new_metadata() 686 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata() 746 ll->nr_allocated = 0; in sm_ll_new_disk() 782 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_disk()
|
D | dm-space-map-common.h | 65 dm_block_t nr_allocated; member 86 __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() 232 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
|
D | dm-space-map-metadata.c | 294 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free() 544 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-trace.c | 1851 size_t nr_used = 0, nr_allocated = strlist__nr_entries(trace->ev_qualifier); in trace__validate_ev_qualifier() local 1853 trace->ev_qualifier_ids.entries = malloc(nr_allocated * in trace__validate_ev_qualifier() 1891 if (nr_allocated == nr_used) { in trace__validate_ev_qualifier() 1894 nr_allocated += 8; in trace__validate_ev_qualifier() 1896 nr_allocated * sizeof(trace->ev_qualifier_ids.entries[0])); in trace__validate_ev_qualifier()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm.h | 1806 unsigned int nr_allocated; /* Number of frames we have space for */ member
|