Searched refs:cmpxchg (Results 226 - 250 of 256) sorted by relevance

1234567891011

/linux-master/fs/
H A Dlocks.c181 /* paired with cmpxchg() below */
199 if (cmpxchg(&inode->i_flctx, NULL, ctx)) {
H A Ddcache.c2426 if (!(n & 1) && cmpxchg(&dir->i_dir_seq, n, n + 1) == n)
/linux-master/drivers/md/
H A Ddm-writecache.c450 if (!cmpxchg(&(wc)->error, 0, err)) \
/linux-master/kernel/sched/
H A Dsched.h3264 * 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 Dfair.c1790 cmpxchg(&pgdat->nbp_rl_start, start, now) == start)
1810 cmpxchg(&pgdat->nbp_th_start, start, now) == start) {
/linux-master/fs/btrfs/
H A Draid56.c152 x = cmpxchg(&info->stripe_hash_table, NULL, table);
/linux-master/net/smc/
H A Dsmc_core.c2055 if (cmpxchg(&buf_slot->used, 0, 1) == 0) {
/linux-master/net/core/
H A Ddev.c4768 } 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 Dsock.c1172 cmpxchg(&sk->sk_pacing_status,
H A Dfilter.c4300 * 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 Droute.c660 if (!work || cmpxchg(&fib6_nh->last_probe,
1433 prev = cmpxchg(p, NULL, pcpu_rt);
/linux-master/drivers/scsi/elx/efct/
H A Defct_hw.c1970 if (cmpxchg(&io_to_abort->abort_in_progress, false, true)) {
/linux-master/drivers/infiniband/hw/hfi1/
H A Drc.c3127 (u64)cmpxchg((u64 *)qp->r_sge.sge.vaddr,
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dqp.c3087 (u64)cmpxchg((u64 *)qp->r_sge.sge.vaddr,
/linux-master/drivers/pci/controller/
H A Dpci-hyperv.c3419 if (cmpxchg(&hbus->survey_event, NULL, &comp))
/linux-master/fs/ceph/
H A Dfile.c1347 cmpxchg(&aio_req->error, 0, rc);
/linux-master/net/ipv4/
H A Digmp.c818 if (cmpxchg(&in_dev->mr_ifc_count,
/linux-master/kernel/rcu/
H A Drcutorture.c1058 if (time_after(j, lp + mininterval) && cmpxchg(&last_persist, lp, j) == lp)
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c1475 cmpxchg(per_cpu_ptr(&svm_data.current_vmcb, i), vmcb, NULL);
/linux-master/mm/
H A Dhuge_memory.c210 if (cmpxchg(&huge_zero_folio, NULL, zero_folio)) {
/linux-master/fs/bcachefs/
H A Dbtree_update_interior.c1405 } while ((v = cmpxchg(&b->flags, old, new)) != old);
/linux-master/kernel/trace/
H A Dring_buffer.c131 * 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 Dkfd_svm.c2008 } while (cmpxchg(&max_svm_range_pages, max_pages, _pages) != max_pages);
/linux-master/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c6450 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 Dkvm-s390.c1904 } while (cmpxchg(&sca->utility.val, old.val, new.val) != old.val);

Completed in 1149 milliseconds

1234567891011