| /xnu-8020.121.3/bsd/net/ |
| H A D | net_perf.c | 59 OSAddAtomic64(usecs, &npp->np_total_usecs); in ip_perf_record_stats() 60 OSAddAtomic64(num_pkts, &npp->np_total_pkts); in ip_perf_record_stats() 89 OSAddAtomic64(num_pkts, &npp->np_hist1); in net_perf_histogram() 91 OSAddAtomic64(num_pkts, &npp->np_hist2); in net_perf_histogram() 93 OSAddAtomic64(num_pkts, &npp->np_hist3); in net_perf_histogram() 95 OSAddAtomic64(num_pkts, &npp->np_hist4); in net_perf_histogram() 97 OSAddAtomic64(num_pkts, &npp->np_hist5); in net_perf_histogram()
|
| H A D | content_filter.c | 3841 OSAddAtomic64(datalen, in cfil_data_service_ctl_q() 3844 OSAddAtomic64(datalen, in cfil_data_service_ctl_q() 3921 OSAddAtomic64(copylen, in cfil_data_service_ctl_q() 3924 OSAddAtomic64(copylen, in cfil_data_service_ctl_q() 4019 OSAddAtomic64(datalen, in cfil_data_filter() 4022 OSAddAtomic64(datalen, in cfil_data_filter() 4150 OSAddAtomic64(datalen, in cfil_service_inject_queue() 4153 OSAddAtomic64(datalen, in cfil_service_inject_queue() 4293 OSAddAtomic64(datalen, in cfil_service_pending_queue() 4299 OSAddAtomic64(datalen, in cfil_service_pending_queue()
|
| H A D | ntstat.c | 1005 OSAddAtomic64((SInt64)packets, (SInt64*)&stats->nstat_txpackets); in nstat_route_tx() 1006 OSAddAtomic64((SInt64)bytes, (SInt64*)&stats->nstat_txbytes); in nstat_route_tx() 1025 OSAddAtomic64((SInt64)packets, (SInt64*)&stats->nstat_rxpackets); in nstat_route_rx() 1026 OSAddAtomic64((SInt64)bytes, (SInt64*)&stats->nstat_rxbytes); in nstat_route_rx() 1112 OSAddAtomic64((SInt64)tx_packets, (SInt64*)&stats->nstat_txpackets); in nstat_route_update() 1113 OSAddAtomic64((SInt64)tx_bytes, (SInt64*)&stats->nstat_txbytes); in nstat_route_update() 1115 OSAddAtomic64((SInt64)rx_packets, (SInt64*)&stats->nstat_rxpackets); in nstat_route_update() 1116 OSAddAtomic64((SInt64)rx_bytes, (SInt64*)&stats->nstat_rxbytes); in nstat_route_update()
|
| /xnu-8020.121.3/libkern/libkern/ |
| H A D | OSAtomic.h | 97 extern SInt64 OSAddAtomic64( 100 #define OSAddAtomic64(a, b) \ macro 101 (OSAddAtomic64(a, __SAFE_CAST_PTR(volatile SInt64*,b))) 115 return OSAddAtomic64(1LL, address); in OSIncrementAtomic64() 130 return OSAddAtomic64(-1LL, address); in OSDecrementAtomic64()
|
| /xnu-8020.121.3/osfmk/kern/ |
| H A D | gzalloc.c | 210 OSAddAtomic64((SInt32)rounded_size, &gzalloc_freed); in gzalloc_empty_free_cache() 211 OSAddAtomic64(-((SInt32) (rounded_size - zone_elem_size(zone))), &gzalloc_wasted); in gzalloc_empty_free_cache() 358 OSAddAtomic64((SInt32) (rounded_size), &gzalloc_early_alloc); in gzalloc_alloc() 407 OSAddAtomic64((SInt32) rounded_size, &gzalloc_allocated); in gzalloc_alloc() 408 OSAddAtomic64((SInt32) (rounded_size - zone_elem_size(zone)), &gzalloc_wasted); in gzalloc_alloc() 500 OSAddAtomic64((SInt32) (rounded_size), &gzalloc_early_free); in gzalloc_free() 550 OSAddAtomic64((SInt32)rounded_size, &gzalloc_freed); in gzalloc_free() 551 OSAddAtomic64(-((SInt32) (rounded_size - zone_elem_size(zone))), in gzalloc_free()
|
| H A D | ledger.c | 930 OSAddAtomic64(due, &le->le_debit); in ledger_refill() 1101 old = OSAddAtomic64(amount, &les->les_credit); in ledger_credit_thread() 1106 old = OSAddAtomic64(amount, &le->le_credit); in ledger_credit_thread() 1187 OSAddAtomic64(from->le_credit, &to->le_credit); in ledger_rollup_entry() 1188 OSAddAtomic64(from->le_debit, &to->le_debit); in ledger_rollup_entry() 1190 OSAddAtomic64(from_les->les_credit, &to_les->les_credit); in ledger_rollup_entry() 1772 old = OSAddAtomic64(-amount, &les->les_credit); in ledger_debit_thread() 1779 old = OSAddAtomic64(-amount, &le->le_credit); in ledger_debit_thread() 1782 old = OSAddAtomic64(amount, &le->le_debit); in ledger_debit_thread()
|
| H A D | mach_node.c | 442 return (mnl_name_t)OSAddAtomic64(MACH_NODES_MAX, &mnl_name_next); in mnl_name_alloc()
|
| H A D | task.c | 1970 OSAddAtomic64(credit, (int64_t *)&tasks_tkm_private.alloc); in task_deallocate_internal() 1971 OSAddAtomic64(debit, (int64_t *)&tasks_tkm_private.free); in task_deallocate_internal() 1975 OSAddAtomic64(credit, (int64_t *)&tasks_tkm_shared.alloc); in task_deallocate_internal() 1976 OSAddAtomic64(debit, (int64_t *)&tasks_tkm_shared.free); in task_deallocate_internal() 7678 OSAddAtomic64(io_size, (SInt64 *)&(task->task_fs_metadata_writes)); in task_update_physical_writes() 7683 OSAddAtomic64(-1 * io_size, (SInt64 *)&(task->task_fs_metadata_writes)); in task_update_physical_writes() 7723 OSAddAtomic64(io_size, (SInt64 *)&(writes_counters_to_update->task_immediate_writes)); in task_update_logical_writes() 7730 OSAddAtomic64(io_size, (SInt64 *)&(writes_counters_to_update->task_deferred_writes)); in task_update_logical_writes() 7737 OSAddAtomic64(io_size, (SInt64 *)&(writes_counters_to_update->task_invalidated_writes)); in task_update_logical_writes() 7744 OSAddAtomic64(io_size, (SInt64 *)&(writes_counters_to_update->task_metadata_writes)); in task_update_logical_writes()
|
| /xnu-8020.121.3/bsd/nfs/ |
| H A D | nfs_srvcache.c | 263 OSAddAtomic64(1, &nfsrvstats.srvcache_inproghits); in nfsrv_getcache() 266 OSAddAtomic64(1, &nfsrvstats.srvcache_nonidemdonehits); in nfsrv_getcache() 278 OSAddAtomic64(1, &nfsrvstats.srvcache_nonidemdonehits); in nfsrv_getcache() 287 OSAddAtomic64(1, &nfsrvstats.srvcache_idemdonehits); in nfsrv_getcache() 300 OSAddAtomic64(1, &nfsrvstats.srvcache_misses); in nfsrv_getcache()
|
| H A D | nfs_socket.c | 3102 OSAddAtomic64(1, &nfsclntstats.rpcinvalid); in nfs4_cb_handler() 3426 OSAddAtomic64(1, &nfsclntstats.rpctimeouts); in nfs_send() 3565 OSAddAtomic64(1, &nfsclntstats.rpcretries); in nfs_send() 3852 OSAddAtomic64(1, &nfsclntstats.rpcinvalid); in nfs_request_match_reply() 3948 OSAddAtomic64(1, &nfsclntstats.rpcunexpected); in nfs_request_match_reply() 4087 OSAddAtomic64(1, &nfsclntstats.rpccntv3[procnum]); in nfs_request_create() 4091 OSAddAtomic64(1, &nfsclntstats.opcntv4[procnum]); in nfs_request_create() 4353 OSAddAtomic64(1, &nfsclntstats.rpcrequests); in nfs_request_send() 4595 OSAddAtomic64(1, &nfsclntstats.rpctimeouts); in nfs_request_finish() 4617 OSAddAtomic64(1, &nfsclntstats.rpctimeouts); in nfs_request_finish() [all …]
|
| H A D | nfs_vnops.c | 2592 OSAddAtomic64(1, &nfsclntstats.lookupcache_hits); in nfs_vnop_lookup() 2648 OSAddAtomic64(1, &nfsclntstats.lookupcache_misses); in nfs_vnop_lookup() 2790 OSAddAtomic64(1, &nfsclntstats.biocache_readlinks); in nfs_vnop_readlink() 2810 OSAddAtomic64(1, &nfsclntstats.readlink_bios); in nfs_vnop_readlink() 3266 OSAddAtomic64(1, &nfsclntstats.biocache_writes); in nfs_vnop_write() 5721 OSAddAtomic64(1, &nfsclntstats.biocache_readdirs); in nfs_vnop_readdir() 5992 OSAddAtomic64(1, &nfsclntstats.direofcache_hits); in nfs_dir_cookie_to_lbn() 6006 OSAddAtomic64(1, &nfsclntstats.direofcache_hits); in nfs_dir_cookie_to_lbn() 6019 OSAddAtomic64(1, &nfsclntstats.direofcache_hits); in nfs_dir_cookie_to_lbn() 6026 OSAddAtomic64(1, &nfsclntstats.direofcache_hits); in nfs_dir_cookie_to_lbn() [all …]
|
| H A D | nfs_bio.c | 1623 OSAddAtomic64(1, &nfsclntstats.read_bios); in nfs_buf_read() 2222 OSAddAtomic64(NFS_ROUND_BLOCK(uio_offset(uio), biosize) - lbn, &nfsclntstats.biocache_reads); in nfs_bioread() 2252 OSAddAtomic64(rabn - lbn, &nfsclntstats.biocache_reads); in nfs_bioread() 2254 OSAddAtomic64(1, &nfsclntstats.biocache_reads); in nfs_bioread() 2671 OSAddAtomic64(1, &nfsclntstats.write_bios); in nfs_buf_write() 2869 OSAddAtomic64(1, &nfsclntstats.write_bios); in nfs_buf_write_dirty_pages()
|
| /xnu-8020.121.3/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 40 - OSAddAtomic64(1, E) 76 - OSAddAtomic64(-1, E) 98 - OSAddAtomic64(-F, E) 116 - OSAddAtomic64(F, E)
|
| /xnu-8020.121.3/libkern/gen/ |
| H A D | OSAtomicOperations.c | 122 #undef OSAddAtomic64 124 OSAddAtomic64(SInt64 amount, volatile SInt64 *address) in OSAddAtomic64() function
|
| /xnu-8020.121.3/iokit/IOKit/ |
| H A D | IOInterruptAccountingPrivate.h | 142 (OSAddAtomic64((value), (target)))
|
| /xnu-8020.121.3/osfmk/mach/ |
| H A D | thread_info.h | 196 OSAddAtomic64(io_size, (SInt64 *)&(info.size)); \
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_io_compression_stats.c | 719 OSAddAtomic64(uncompressed_size, &vp->io_compression_stats->uncompressed_size); in vnode_updateiocompressionbufferstats() 720 OSAddAtomic64(compressed_size, &vp->io_compression_stats->compressed_size); in vnode_updateiocompressionbufferstats()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | mount_internal.h | 93 #define INCR_PENDING_IO(a, b) OSAddAtomic64((int64_t)(a), (int64_t *)&(b));
|
| H A D | mcache.h | 83 ((u_int64_t) OSAddAtomic64(n, (volatile SInt64 *)a))
|
| /xnu-8020.121.3/osfmk/vm/ |
| H A D | vm_resident.c | 2415 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_total); in vm_page_lookup() 2429 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_empty_obj); in vm_page_lookup() 2441 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_hit_hint); in vm_page_lookup() 2456 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_hit_hint_next); in vm_page_lookup() 2472 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_hit_hint_prev); in vm_page_lookup() 2494 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_bucket_NULL); in vm_page_lookup() 2549 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_slow); in vm_page_lookup() 2550 OSAddAtomic64(elapsed, &vm_page_lookup_stats.vpl_slow_elapsed); in vm_page_lookup() 2552 OSAddAtomic64(1, &vm_page_lookup_stats.vpl_fast); in vm_page_lookup() 2553 OSAddAtomic64(elapsed, &vm_page_lookup_stats.vpl_fast_elapsed); in vm_page_lookup() [all …]
|
| H A D | vm_compressor.c | 3604 OSAddAtomic64(size_to_populate / PAGE_SIZE, &vm_pageout_vminfo.vm_compressor_pages_grabbed); in c_seg_allocate() 3902 OSAddAtomic64(c_seg->c_bytes_used, &compressor_bytes_used); in c_seg_swapin() 4191 OSAddAtomic64(c_size, &c_segment_compressed_bytes); in c_compress_page() 4192 OSAddAtomic64(c_rounded_size, &compressor_bytes_used); in c_compress_page() 4194 OSAddAtomic64(PAGE_SIZE, &c_segment_input_bytes); in c_compress_page() 4616 OSAddAtomic64(-c_rounded_size, &compressor_bytes_used); in c_decompress_page()
|
| H A D | vm_compressor_backing_store.c | 1302 OSAddAtomic64(-c_seg->c_bytes_used, &compressor_bytes_used); in vm_swapout_finish() 2146 OSAddAtomic64(c_seg->c_bytes_used, &compressor_bytes_used); in vm_swap_reclaim()
|
| /xnu-8020.121.3/osfmk/x86_64/ |
| H A D | pmap.c | 518 OSAddAtomic64(NKPT, &alloc_ptepages_count); in pmap_bootstrap() 2097 OSAddAtomic64(1, &alloc_ptepages_count); in pmap_expand_pml4() 2203 OSAddAtomic64(1, &alloc_ptepages_count); in pmap_expand_pdpt() 2327 OSAddAtomic64(1, &alloc_ptepages_count); in pmap_expand()
|
| /xnu-8020.121.3/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 1894 OSAddAtomic64(count, &(throttled_proc->was_throttled)); in throttle_update_proc_stats() 1899 OSAddAtomic64(count, &(throttling_proc->did_throttle)); in throttle_update_proc_stats() 2475 OSAddAtomic64(buf_count(bp), (SInt64 *)&(kernel_pm_writes)); in spec_strategy()
|
| /xnu-8020.121.3/bsd/netinet/ |
| H A D | in_pcb.c | 3879 OSAddAtomic64(len, &ifp->if_sndbyte_total); in inp_incr_sndbytes_total() 3891 OSAddAtomic64(-len, &ifp->if_sndbyte_total); in inp_decr_sndbytes_total() 3906 OSAddAtomic64(len, &ifp->if_sndbyte_unsent); in inp_incr_sndbytes_unsent() 3922 OSAddAtomic64(-len, &ifp->if_sndbyte_unsent); in inp_decr_sndbytes_unsent()
|