Searched refs:OSAddAtomicLong (Results 1 – 9 of 9) sorted by relevance
| /xnu-8020.121.3/libkern/libkern/c++/ |
| H A D | OSLib.h | 74 #define OSCONTAINER_ACCUMSIZE(s) do { OSAddAtomicLong((s), &debug_container_malloc_size); trackingA… 76 #define OSCONTAINER_ACCUMSIZE(s) do { OSAddAtomicLong((s), &debug_container_malloc_size); } while(0) 78 #define OSMETA_ACCUMSIZE(s) do { OSAddAtomicLong((s), &debug_container_malloc_size); } while(0) 79 #define OSIVAR_ACCUMSIZE(s) do { OSAddAtomicLong((s), &debug_ivars_size); } while(0)
|
| /xnu-8020.121.3/libkern/libkern/ |
| H A D | OSAtomic.h | 144 extern long OSAddAtomicLong( 147 #define OSAddAtomicLong(a, b) \ macro 148 (OSAddAtomicLong(a, __SAFE_CAST_PTR(volatile long*,b))) 163 return OSAddAtomicLong(1L, address); in OSIncrementAtomicLong() 177 return OSAddAtomicLong(-1L, address); in OSDecrementAtomicLong()
|
| /xnu-8020.121.3/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 43 - OSAddAtomicLong(1, E) 79 - OSAddAtomicLong(-1, E) 101 - OSAddAtomicLong(-F, E) 119 - OSAddAtomicLong(F, E)
|
| /xnu-8020.121.3/iokit/Kernel/ |
| H A D | IOBufferMemoryDescriptor.cpp | 349 OSAddAtomicLong(capacity, &debug_iomalloc_size); in initWithPhysicalMask() 363 OSAddAtomicLong(capacity, &debug_iomalloc_size); in initWithPhysicalMask() 388 OSAddAtomicLong(size, &debug_iomallocpageable_size); in initWithPhysicalMask() 713 OSAddAtomicLong(-size, &debug_iomallocpageable_size); in free() 726 OSAddAtomicLong(-size, &debug_iomalloc_size); in free() 737 OSAddAtomicLong(-size, &debug_iomalloc_size); in free()
|
| H A D | IOLib.cpp | 321 OSAddAtomicLong(size, &debug_iomalloc_size); in IOMalloc_internal() 360 OSAddAtomicLong(-size, &debug_iomalloc_size); in IOFree_internal() 591 OSAddAtomicLong(size, &debug_iomalloc_size); in IOMallocAligned_internal() 643 OSAddAtomicLong(-size, &debug_iomalloc_size); in IOFreeAligned_internal() 707 OSAddAtomicLong(-size, &debug_iomalloc_size); in IOKernelFreePhysical() 823 OSAddAtomicLong(size, &debug_iomalloc_size); in IOKernelAllocateWithPhysicalRestrict() 1122 OSAddAtomicLong(size, &debug_iomallocpageable_size); in IOMallocPageableInternal() 1146 OSAddAtomicLong(-size, &debug_iomallocpageable_size); in IOFreePageable()
|
| /xnu-8020.121.3/libkern/gen/ |
| H A D | OSAtomicOperations.c | 132 #undef OSAddAtomicLong 134 OSAddAtomicLong(long theAmount, volatile long *address) in OSAddAtomicLong() function
|
| /xnu-8020.121.3/bsd/security/audit/ |
| H A D | audit_session.c | 735 old_val = OSAddAtomicLong(1, &se->se_refcnt); in audit_ref_session() 754 old_val = OSAddAtomicLong(-1, &se->se_refcnt); in audit_unref_session() 774 old_val = OSAddAtomicLong(1, &se->se_procnt); in audit_inc_procount() 792 old_val = OSAddAtomicLong(-1, &se->se_procnt); in audit_dec_procount()
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_bio.c | 341 OSAddAtomicLong(1, &nbdwrite); in buf_markdelayed() 353 OSAddAtomicLong(-1, &nbdwrite); in buf_markclean() 2376 OSAddAtomicLong(-1, &nbdwrite); in buf_bwrite() 2468 OSAddAtomicLong(1, &nbdwrite); in bdwrite_internal() 2846 OSAddAtomicLong(-1, &nbdwrite); in buf_brelse() 3310 OSAddAtomicLong(1, &bufstats.bufs_miss); in buf_getblk() 3377 OSAddAtomicLong(1, &bufstats.bufs_vmhits); in buf_getblk() 3410 OSAddAtomicLong(1, &bufstats.bufs_miss); in buf_getblk()
|
| H A D | vfs_subr.c | 2900 OSAddAtomicLong(1, &num_recycledvnodes); in vclean() 5378 OSAddAtomicLong(1, &num_reusedvnodes); in new_vnode()
|