/linux-master/fs/ |
H A D | locks.c | 181 /* paired with cmpxchg() below */ 199 if (cmpxchg(&inode->i_flctx, NULL, ctx)) {
|
H A D | dcache.c | 2426 if (!(n & 1) && cmpxchg(&dir->i_dir_seq, n, n + 1) == n)
|
/linux-master/drivers/md/ |
H A D | dm-writecache.c | 450 if (!cmpxchg(&(wc)->error, 0, err)) \
|
/linux-master/kernel/sched/ |
H A D | sched.h | 3264 * State transitions synchronized with cmpxchg or try_cmpxchg need to be 3294 res = cmpxchg(&this_cpu_ptr(pcpu_cid)->cid, cid, MM_CID_UNSET);
|
H A D | fair.c | 1790 cmpxchg(&pgdat->nbp_rl_start, start, now) == start) 1810 cmpxchg(&pgdat->nbp_th_start, start, now) == start) {
|
/linux-master/fs/btrfs/ |
H A D | raid56.c | 152 x = cmpxchg(&info->stripe_hash_table, NULL, table);
|
/linux-master/net/smc/ |
H A D | smc_core.c | 2055 if (cmpxchg(&buf_slot->used, 0, 1) == 0) {
|
/linux-master/net/core/ |
H A D | dev.c | 4768 } else if (!cmpxchg(&sd->defer_ipi_scheduled, 0, 1)) { 6381 if (cmpxchg(&napi->state, val, 10734 if (p && cmpxchg(&dev->core_stats, NULL, p)) 10737 /* This READ_ONCE() pairs with the cmpxchg() above */
|
H A D | sock.c | 1172 cmpxchg(&sk->sk_pacing_status,
|
H A D | filter.c | 4300 * cmpxchg() to make sure it hasn't been changed in 4304 cmpxchg(&ri->map, map, NULL); 4881 if (cmpxchg(&md_dst, NULL, tmp))
|
/linux-master/net/ipv6/ |
H A D | route.c | 660 if (!work || cmpxchg(&fib6_nh->last_probe, 1433 prev = cmpxchg(p, NULL, pcpu_rt);
|
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 1970 if (cmpxchg(&io_to_abort->abort_in_progress, false, true)) {
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | rc.c | 3127 (u64)cmpxchg((u64 *)qp->r_sge.sge.vaddr,
|
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 3087 (u64)cmpxchg((u64 *)qp->r_sge.sge.vaddr,
|
/linux-master/drivers/pci/controller/ |
H A D | pci-hyperv.c | 3419 if (cmpxchg(&hbus->survey_event, NULL, &comp))
|
/linux-master/fs/ceph/ |
H A D | file.c | 1347 cmpxchg(&aio_req->error, 0, rc);
|
/linux-master/net/ipv4/ |
H A D | igmp.c | 818 if (cmpxchg(&in_dev->mr_ifc_count,
|
/linux-master/kernel/rcu/ |
H A D | rcutorture.c | 1058 if (time_after(j, lp + mininterval) && cmpxchg(&last_persist, lp, j) == lp)
|
/linux-master/arch/x86/kvm/svm/ |
H A D | svm.c | 1475 cmpxchg(per_cpu_ptr(&svm_data.current_vmcb, i), vmcb, NULL);
|
/linux-master/mm/ |
H A D | huge_memory.c | 210 if (cmpxchg(&huge_zero_folio, NULL, zero_folio)) {
|
/linux-master/fs/bcachefs/ |
H A D | btree_update_interior.c | 1405 } while ((v = cmpxchg(&b->flags, old, new)) != old);
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 131 * We will be using cmpxchg soon to make all this lockless. 1124 * We use cmpxchg to help prevent this race. We also do something 1291 ret = cmpxchg((unsigned long *)&list->next, 1430 * cmpxchg to only update if an interrupt did not already 1431 * do it for us. If the cmpxchg fails, we don't care. 1945 * 2. We cmpxchg the prev_page->next to point from head page to the 1974 /* caution: head_page_with_bit gets updated on cmpxchg failure */ 2290 * When the writer goes across pages, it issues a cmpxchg which 2942 /* caution: old_index gets updated on cmpxchg failure */ 3672 /* ring buffer does cmpxchg, mak [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 2008 } while (cmpxchg(&max_svm_range_pages, max_pages, _pages) != max_pages);
|
/linux-master/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 6450 if (cmpxchg(&scmd->host_scribble, PQI_NO_COMPLETION, (void *)&wait) == NULL) { 6460 if (cmpxchg(&tmf_work->scmd, NULL, scmd) == NULL) {
|
/linux-master/arch/s390/kvm/ |
H A D | kvm-s390.c | 1904 } while (cmpxchg(&sca->utility.val, old.val, new.val) != old.val);
|