Home
last modified time | relevance | path

Searched refs:atomic_sub (Results 1 – 25 of 122) sorted by relevance

12345

/linux-6.6.21/kernel/locking/
Drwbase_rt.c238 atomic_sub(READER_BIAS, &rwb->readers); in rwbase_write_lock()
280 atomic_sub(READER_BIAS, &rwb->readers); in rwbase_write_trylock()
Dqrwlock.c36 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()
/linux-6.6.21/net/rds/
Dib_rdma.c277 atomic_sub(pinned, &pool->free_pinned); in rds_ib_teardown_mr()
428 atomic_sub(unpinned, &pool->free_pinned); in rds_ib_flush_mr_pool()
429 atomic_sub(dirty_to_clean, &pool->dirty_count); in rds_ib_flush_mr_pool()
430 atomic_sub(nfreed, &pool->item_count); in rds_ib_flush_mr_pool()
/linux-6.6.21/net/atm/
Datm_misc.c98 #define __HANDLE_ITEM(i) atomic_sub(to->i, &from->i) in sonet_subtract_stats()
/linux-6.6.21/include/asm-generic/
Dqrwlock.h53 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_trylock()
/linux-6.6.21/arch/m68k/amiga/
Dchipram.c89 atomic_sub(size, &chipavail); in amiga_chip_alloc_res()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c238 atomic_sub(sub_pool->entry_size, &sub_pool->active_entries_count); in mlxsw_sp_counter_free()
239 atomic_sub(sub_pool->entry_size, &pool->active_entries_count); in mlxsw_sp_counter_free()
/linux-6.6.21/block/
Dblk-mq.h286 atomic_sub(val, &hctx->queue->nr_active_requests_shared_tags); in __blk_mq_sub_active_requests()
288 atomic_sub(val, &hctx->nr_active); in __blk_mq_sub_active_requests()
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_runtime_pm.h184 atomic_sub(INTEL_RPM_WAKELOCK_BIAS + 1, in enable_rpm_wakeref_asserts()
/linux-6.6.21/fs/jbd2/
Dtransaction.c212 atomic_sub(blocks, &journal->j_reserved_credits); in sub_reserved_credits()
258 atomic_sub(total, &t->t_outstanding_credits); in add_transaction_credits()
292 atomic_sub(total, &t->t_outstanding_credits); in add_transaction_credits()
312 atomic_sub(total, &t->t_outstanding_credits); in add_transaction_credits()
570 atomic_sub(handle->h_total_credits, &t->t_outstanding_credits); in __jbd2_journal_unreserve_handle()
694 atomic_sub(nblocks, &transaction->t_outstanding_credits); in jbd2_journal_extend()
745 atomic_sub(handle->h_total_credits, in stop_this_handle()
/linux-6.6.21/fs/kernfs/
Dinode.c376 atomic_sub(size, sz); in kernfs_vfs_user_xattr_add()
398 atomic_sub(old_xattr->size, sz); in kernfs_vfs_user_xattr_rm()
/linux-6.6.21/drivers/md/bcache/
Dclosure.h224 atomic_sub(CLOSURE_RUNNING, &cl->remaining); in closure_set_stopped()
Dio.c159 atomic_sub(ms, &c->congested); in bch_bbio_count_io_errors()
/linux-6.6.21/arch/arm64/include/asm/
Datomic.h30 ATOMIC_OP(atomic_sub) in ATOMIC_OP()
/linux-6.6.21/net/ipv6/
Dcalipso.c791 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_opt_update()
1216 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_req_setattr()
1249 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_req_delattr()
/linux-6.6.21/include/linux/
Dpage_ref.h132 atomic_sub(nr, &page->_refcount); in page_ref_sub()
Datmdev.h260 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()
/linux-6.6.21/net/9p/
Dtrans_virtio.c548 atomic_sub(in_nr_pages, &vp_pinned); in p9_virtio_zc_request()
552 atomic_sub(out_nr_pages, &vp_pinned); in p9_virtio_zc_request()
/linux-6.6.21/fs/smb/server/
Dvfs_cache.c660 atomic_sub(num, &work->conn->stats.open_files_count); in ksmbd_close_tree_conn_fds()
669 atomic_sub(num, &work->conn->stats.open_files_count); in ksmbd_close_session_fds()
/linux-6.6.21/drivers/md/
Ddm-ps-service-time.c319 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io()
/linux-6.6.21/net/smc/
Dsmc_tx.c273 atomic_sub(copylen, &conn->sndbuf_space); in smc_tx_sendmsg()
349 atomic_sub(len, &conn->peer_rmbe_space); in smc_tx_advance_cursors()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c38 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/
Doctep_tx.c85 atomic_sub(compl_pkts, &iq->instr_pending); in octep_iq_process_completions()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def67 atomic_sub(V,X) { __atomic_op(X,-,V); }
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c239 atomic_sub(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_dequeue_tx_queue()

12345