Searched refs:OSCompareAndSwap64 (Results 1 – 14 of 14) sorted by relevance
| /xnu-8020.121.3/libkern/libkern/ |
| H A D | OSAtomic.h | 81 extern Boolean OSCompareAndSwap64( 85 #define OSCompareAndSwap64(a, b, c) \ macro 86 (OSCompareAndSwap64(a, b, __SAFE_CAST_PTR(volatile UInt64*,c)))
|
| /xnu-8020.121.3/libkern/gen/ |
| H A D | OSAtomicOperations.c | 80 #undef OSCompareAndSwap64 82 OSCompareAndSwap64(UInt64 oldValue, UInt64 newValue, volatile UInt64 *address) in OSCompareAndSwap64() function
|
| /xnu-8020.121.3/pexpert/arm/ |
| H A D | pe_consistent_debug.c | 47 if (OSCompareAndSwap64(kDbgIdUnusedEntry, kDbgIdReservedEntry, &record->record_id)) { in consistent_debug_allocate_entry()
|
| /xnu-8020.121.3/bsd/net/ |
| H A D | net_api_stats.h | 159 } while (!OSCompareAndSwap64(val, val + 1, &(counter))); \
|
| H A D | dlil.c | 12048 OSCompareAndSwap64(oldbytes, bytes, &ifp->if_dt_bytes) && in ifnet_notify_data_threshold()
|
| /xnu-8020.121.3/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 195 - OSCompareAndSwap64(F, E, A)
|
| /xnu-8020.121.3/osfmk/arm/ |
| H A D | rtclock.c | 201 …} while (attempts < MAX_TIMEBASE_TRIES && !OSCompareAndSwap64(old_absolute_time, new_absolute_time… in mach_absolute_time()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | mcache.h | 97 OSCompareAndSwap64(o, n, (volatile UInt64 *)a)
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | decmpfs.c | 411 if (OSCompareAndSwap64(old, size, (UInt64*)&cp->uncompressed_size)) { 424 if (OSCompareAndSwap64(old, nchildren, (UInt64*)&cp->nchildren)) { 437 if (OSCompareAndSwap64(old, total_sz, (UInt64*)&cp->total_size)) { 456 if (OSCompareAndSwap64(old, flags, (UInt64*)&cp->decompression_flags)) {
|
| /xnu-8020.121.3/osfmk/kern/ |
| H A D | ledger.c | 1222 if (OSCompareAndSwap64(credit, 0, &les->les_credit)) { in ledger_zero_balance() 1234 if (!OSCompareAndSwap64(credit, 0, &le->le_credit)) { in ledger_zero_balance() 1239 if (!OSCompareAndSwap64(debit, credit, &le->le_debit)) { in ledger_zero_balance() 1244 if (!OSCompareAndSwap64(credit, debit, &le->le_credit)) { in ledger_zero_balance()
|
| H A D | task.c | 7653 } while (!OSCompareAndSwap64(old_count, new_count, global_write_count)); in global_update_logical_writes()
|
| /xnu-8020.121.3/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 2706 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &dataP->fPreparationID); in getPreparationID() 2739 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &reserved->preparationID); in setPreparationID() 2758 OSCompareAndSwap64(kIODescriptorIDInvalid, newID, &reserved->descriptorID); in setDescriptorID()
|
| /xnu-8020.121.3/osfmk/vm/ |
| H A D | vm_compressor.c | 3943 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_drop_ref() 3976 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_insert()
|
| H A D | vm_resident.c | 9091 }while (!OSCompareAndSwap64(peak, new, &allocation->peak)); in vm_tag_update_size() 9123 }while (!OSCompareAndSwap64(peak, new, &allocation->peak)); in kern_allocation_update_size()
|