Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/radix-tree/
Dmain.c301 nr_allocated, preempt_count); in single_thread_tests()
305 nr_allocated, preempt_count); in single_thread_tests()
309 nr_allocated, preempt_count); in single_thread_tests()
313 nr_allocated, preempt_count); in single_thread_tests()
317 nr_allocated, preempt_count); in single_thread_tests()
321 nr_allocated, preempt_count); in single_thread_tests()
325 nr_allocated, preempt_count); in single_thread_tests()
330 nr_allocated, preempt_count); in single_thread_tests()
334 nr_allocated, preempt_count); in single_thread_tests()
342 nr_allocated, preempt_count); in single_thread_tests()
[all …]
Dlinux.c15 int nr_allocated; variable
49 uatomic_inc(&nr_allocated); in kmem_cache_alloc()
58 uatomic_dec(&nr_allocated); in kmem_cache_free()
82 uatomic_inc(&nr_allocated); in kmalloc()
94 uatomic_dec(&nr_allocated); in kfree()
Dtag_check.c53 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()
368 printv(2, "after extend_checks: %d allocated\n", nr_allocated); in tag_check()
372 printv(2, "after leak_check: %d allocated\n", nr_allocated); in tag_check()
375 printv(2, "after simple_checks: %d allocated\n", nr_allocated); in tag_check()
378 printv(2, "after thrash_tags: %d allocated\n", nr_allocated); in tag_check()
Dtest.h52 extern int nr_allocated;
Dmultiorder.c476 if (nr_allocated > alloc) in check_mem()
478 alloc, nr_allocated); in check_mem()
499 alloc = nr_allocated; in __multiorder_split()
Didr-test.c457 if (nr_allocated) in main()
458 printf("nr_allocated = %d\n", nr_allocated); in main()
/Linux-v4.19/fs/reiserfs/
Dbitmap.c351 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-v4.19/mm/
Dframe_vector.c46 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames()
47 nr_frames = vec->nr_allocated; in get_vaddr_frames()
221 vec->nr_allocated = nr_frames; in frame_vector_create()
/Linux-v4.19/drivers/md/persistent-data/
Ddm-space-map-common.c457 ll->nr_allocated++; in sm_ll_mutate()
464 ll->nr_allocated--; in sm_ll_mutate()
612 ll->nr_allocated = 0; in sm_ll_new_metadata()
654 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata()
714 ll->nr_allocated = 0; in sm_ll_new_disk()
750 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()
223 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
Ddm-space-map-metadata.c294 *count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated - in sm_metadata_get_nr_free()
534 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
/Linux-v4.19/drivers/md/
Ddm-cache-policy-smq.c694 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-v4.19/tools/perf/
Dbuiltin-trace.c1363 size_t nr_allocated; in trace__validate_ev_qualifier() local
1377 nr_allocated = trace->ev_qualifier_ids.nr; in trace__validate_ev_qualifier()
1407 if (nr_allocated == trace->ev_qualifier_ids.nr) { in trace__validate_ev_qualifier()
1410 nr_allocated += 8; in trace__validate_ev_qualifier()
1412 nr_allocated * sizeof(trace->ev_qualifier_ids.entries[0])); in trace__validate_ev_qualifier()
/Linux-v4.19/include/linux/
Dmm.h1479 unsigned int nr_allocated; /* Number of frames we have space for */ member