Searched refs:atomic_fetch_add_unless (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | netdev_rx.c | 332 if (atomic_fetch_add_unless(&rx->netdevs, -1, 0) == 1) { in hfi1_netdev_rx_destroy()
|
D | chip.c | 14633 if (atomic_fetch_add_unless(&dd->ipoib_rsm_usr_num, -1, 0) == 1) in hfi1_deinit_aip_rsm()
|
/Linux-v6.1/kernel/ |
D | jump_label.c | 224 val = atomic_fetch_add_unless(&key->enabled, -1, 1); in static_key_slow_try_dec()
|
/Linux-v6.1/drivers/infiniband/core/ |
D | rdma_core.c | 77 return atomic_fetch_add_unless(&uobj->usecnt, 1, -1) == -1 ? in uverbs_try_lock_object()
|
/Linux-v6.1/drivers/firmware/efi/ |
D | efi.c | 984 index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size); in efi_mem_reserve_persistent()
|
/Linux-v6.1/net/rxrpc/ |
D | ar-internal.h | 946 return atomic_fetch_add_unless(&local->active_users, 1, 0) != 0; in __rxrpc_use_local()
|
/Linux-v6.1/fs/fscache/ |
D | cookie.c | 677 c = atomic_fetch_add_unless(&cookie->n_active, -1, 1); in __fscache_unuse_cookie()
|
/Linux-v6.1/include/linux/atomic/ |
D | atomic-instrumented.h | 596 atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 727 if (atomic_fetch_add_unless(&mvmtxq->tx_request, 1, 2)) in iwl_mvm_mac_itxq_xmit()
|
/Linux-v6.1/drivers/block/ |
D | rbd.c | 64 counter = (unsigned int)atomic_fetch_add_unless(v, 1, 0); in atomic_inc_return_safe()
|
/Linux-v6.1/kernel/sched/ |
D | core.c | 5585 os = atomic_fetch_add_unless(&twork->state, -1, TICK_SCHED_REMOTE_RUNNING); in sched_tick_remote()
|