Searched refs:OSCompareAndSwap64 (Results 1 – 12 of 12) sorted by relevance
| /xnu-12377.81.4/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-12377.81.4/libkern/gen/ |
| H A D | OSAtomicOperations.c | 76 #undef OSCompareAndSwap64 78 OSCompareAndSwap64(UInt64 oldValue, UInt64 newValue, volatile UInt64 *address) in OSCompareAndSwap64() function
|
| /xnu-12377.81.4/pexpert/arm/ |
| H A D | pe_consistent_debug.c | 47 if (OSCompareAndSwap64(kDbgIdUnusedEntry, kDbgIdReservedEntry, &record->record_id)) { in consistent_debug_allocate_entry()
|
| /xnu-12377.81.4/bsd/net/ |
| H A D | net_api_stats.h | 159 } while (!OSCompareAndSwap64(val, val + 1, &(counter))); \
|
| H A D | dlil.c | 7747 OSCompareAndSwap64(oldbytes, bytes, &ifp->if_dt_bytes) && in ifnet_notify_data_threshold()
|
| /xnu-12377.81.4/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 195 - OSCompareAndSwap64(F, E, A)
|
| /xnu-12377.81.4/osfmk/arm/ |
| H A D | rtclock.c | 248 …} while (attempts < MAX_TIMEBASE_TRIES && !OSCompareAndSwap64(old_absolute_time, new_absolute_time… in mach_absolute_time()
|
| /xnu-12377.81.4/bsd/kern/ |
| H A D | decmpfs.c | 439 if (OSCompareAndSwap64(old, size, (UInt64*)&cp->uncompressed_size)) { 452 if (OSCompareAndSwap64(old, nchildren, (UInt64*)&cp->nchildren)) { 465 if (OSCompareAndSwap64(old, total_sz, (UInt64*)&cp->total_size)) { 484 if (OSCompareAndSwap64(old, flags, (UInt64*)&cp->decompression_flags)) {
|
| /xnu-12377.81.4/osfmk/kern/ |
| H A D | ledger.c | 1405 if (OSCompareAndSwap64(credit, 0, &les->les_credit)) { in ledger_zero_balance() 1417 if (!OSCompareAndSwap64(credit, 0, &le->le_credit)) { in ledger_zero_balance() 1422 if (!OSCompareAndSwap64(debit, credit, &le->le_debit)) { in ledger_zero_balance() 1427 if (!OSCompareAndSwap64(credit, debit, &le->le_credit)) { in ledger_zero_balance()
|
| H A D | task.c | 8476 } while (!OSCompareAndSwap64(old_count, new_count, global_write_count)); in global_update_logical_writes()
|
| /xnu-12377.81.4/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 2894 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &dataP->fPreparationID); in getPreparationID() 2924 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &reserved->preparationID); in setPreparationID() 2943 OSCompareAndSwap64(kIODescriptorIDInvalid, newID, &reserved->descriptorID); in setDescriptorID()
|
| /xnu-12377.81.4/osfmk/vm/ |
| H A D | vm_compressor.c | 4834 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_drop_ref() 4867 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_insert()
|