/linux-master/fs/ |
H A D | libfs.c | 1948 * then try to swap it into place with a cmpxchg, if it wasn't already set. If 1949 * that fails, we try again with the newly fetched value from the cmpxchg. 1961 * cmpxchg below) pairs with the barrier in 2097 old = cmpxchg(stashed, NULL, dentry); 2174 cmpxchg(stashed, dentry, NULL);
|
/linux-master/net/ipv4/ |
H A D | ip_tunnel.c | 463 return !cmpxchg((const struct ip_tunnel_encap_ops **) 477 ret = (cmpxchg((const struct ip_tunnel_encap_ops **)
|
H A D | tcp_bbr.c | 1078 cmpxchg(&sk->sk_pacing_status, SK_PACING_NONE, SK_PACING_NEEDED);
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_dev.c | 611 cb_state = cmpxchg(&nic_cb->cb_state,
|
/linux-master/fs/nfs/ |
H A D | nfs4idmap.c | 576 if (cmpxchg(&idmap->idmap_upcall_data, data, NULL) == data)
|
/linux-master/net/rds/ |
H A D | ib_recv.c | 509 old = cmpxchg(&cache->xfer, NULL, chpfirst);
|
/linux-master/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_dev.c | 420 return cmpxchg(&cmd_ctx->cb_data, cb_data, NULL) == cb_data;
|
/linux-master/net/sunrpc/ |
H A D | sched.c | 70 if (cmpxchg(&task->tk_rpc_status, 0, rpc_status) == 0)
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 270 tmp = cmpxchg(state, s, new);
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.c | 904 cmpxchg(&i915->gem.mmap_singleton, file, NULL);
|
/linux-master/drivers/misc/sgi-xp/ |
H A D | xpc_main.c | 1084 if (cmpxchg(&xpc_die_disconnecting, 0, 1))
|
/linux-master/drivers/target/iscsi/ |
H A D | iscsi_target.c | 4302 cmpxchg(&conn->tx_thread_active, true, false)) { 4308 cmpxchg(&conn->rx_thread_active, true, false)) { 4601 sleep = cmpxchg(&conn->tx_thread_active, true, false); 4621 sleep = cmpxchg(&conn->tx_thread_active, true, false);
|
/linux-master/fs/gfs2/ |
H A D | lops.c | 210 if (!cmpxchg(&sdp->sd_log_error, 0, (int)bio->bi_status))
|
/linux-master/fs/debugfs/ |
H A D | file.c | 110 if (cmpxchg(&dentry->d_fsdata, d_fsd, fsd) != d_fsd) { 118 * In case of a successful cmpxchg() above, this check is 121 * OTOH, if the cmpxchg() hasn't been executed or wasn't
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ctx.c | 258 if (cmpxchg(&ctx->entities[hw_ip][ring], NULL, entity))
|
/linux-master/kernel/trace/ |
H A D | tracing_map.c | 566 if (!cmpxchg(&entry->key, 0, key_hash)) { 588 * cmpxchg() failed. Loop around once
|
/linux-master/kernel/bpf/ |
H A D | devmap.c | 34 * When removing the dev a cmpxchg() is used to ensure the correct dev is 1137 odev = unrcu_pointer(cmpxchg(&dtab->netdev_map[i], RCU_INITIALIZER(dev), NULL));
|
H A D | bpf_struct_ops.c | 803 prev_state = cmpxchg(&st_map->kvalue.common.state,
|
/linux-master/kernel/rcu/ |
H A D | tree_stall.h | 784 cmpxchg(&rcu_state.jiffies_stall, js, jn) == js) {
|
/linux-master/net/core/ |
H A D | netpoll.c | 181 if (cmpxchg(&napi->poll_owner, -1, cpu) == -1) {
|
/linux-master/drivers/s390/net/ |
H A D | qeth_core.h | 877 return cmpxchg(&channel->active_cmd, NULL, cmd) == NULL;
|
/linux-master/arch/arm64/mm/ |
H A D | fault.c | 31 #include <asm/cmpxchg.h>
|
/linux-master/drivers/iommu/ |
H A D | sun50i-iommu.c | 576 old_dte = cmpxchg(dte_addr, 0, dte);
|
/linux-master/mm/ |
H A D | oom_kill.c | 766 if (!cmpxchg(&tsk->signal->oom_mm, NULL, mm))
|
/linux-master/fs/xfs/ |
H A D | xfs_log_cil.c | 179 prev = cmpxchg(&cilpcp->space_used, old, 0);
|