Home
last modified time | relevance | path

Searched refs:atomic_fetch_add_unless (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c332 if (atomic_fetch_add_unless(&rx->netdevs, -1, 0) == 1) { in hfi1_netdev_rx_destroy()
H A Dchip.c14642 if (atomic_fetch_add_unless(&dd->ipoib_rsm_usr_num, -1, 0) == 1) in hfi1_deinit_aip_rsm()
/linux/drivers/infiniband/core/
H A Drdma_core.c77 return atomic_fetch_add_unless(&uobj->usecnt, 1, -1) == -1 ? in uverbs_try_lock_object()
/linux/kernel/trace/
H A Dtracing_map.c457 idx = atomic_fetch_add_unless(&map->next_elt, 1, map->max_elts); in get_free_elt()
/linux/drivers/firmware/efi/
H A Defi.c1098 index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size); in efi_mem_reserve_persistent()
/linux/fs/netfs/
H A Dfscache_cookie.c677 c = atomic_fetch_add_unless(&cookie->n_active, -1, 1); in __fscache_unuse_cookie()
/linux/net/rxrpc/
H A Dar-internal.h1108 u = atomic_fetch_add_unless(&local->active_users, 1, 0); in __rxrpc_use_local()
/linux/include/linux/atomic/
H A Datomic-instrumented.h1493 atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless() function
/linux/drivers/block/
H A Drbd.c64 counter = (unsigned int)atomic_fetch_add_unless(v, 1, 0); in atomic_inc_return_safe()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac80211.c897 if (atomic_fetch_add_unless(&mvmtxq->tx_request, 1, 2)) in iwl_mvm_mac_itxq_xmit()
/linux/kernel/sched/
H A Dcore.c5711 os = atomic_fetch_add_unless(&twork->state, -1, TICK_SCHED_REMOTE_RUNNING); in sched_tick_remote()