/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_uvd.c | 858 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { 891 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0);
|
H A D | amdgpu_fence.c | 282 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq);
|
H A D | amdgpu_vce.c | 717 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) {
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_uvd.c | 513 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { 549 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0);
|
/linux-master/net/tipc/ |
H A D | crypto.c | 479 } while (atomic_cmpxchg(&tmp->users, cur, val) != cur); 1407 !atomic_cmpxchg(&rx->key_distr, 0, KEY_DISTR_SCHED)) { 1424 atomic_cmpxchg(&rx->peer_rx_active, cur, new) == cur) { 2357 if (atomic_cmpxchg(&rx->key_distr, 2371 atomic_cmpxchg(&rx->key_distr, KEY_DISTR_COMPL, 0);
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | device.c | 2631 if (atomic_cmpxchg(&hdev->captured_err_info.razwi_info.razwi_detected, 0, 1)) 2720 if (atomic_cmpxchg(&pgf_info->page_fault_detected, 0, 1)) 2745 if (atomic_cmpxchg(&info->event_detected, 0, 1)) 2767 if (atomic_cmpxchg(&info->event_detected, 0, 1)) 2791 if (atomic_cmpxchg(&info->event_detected, 0, 1))
|
H A D | command_buffer.c | 316 rc = atomic_cmpxchg(&cb->is_handle_destroyed, 0, 1);
|
/linux-master/drivers/md/bcache/ |
H A D | alloc.c | 100 } while (atomic_cmpxchg(&c->rescale, r, r + next) != r);
|
/linux-master/drivers/infiniband/core/ |
H A D | rdma_core.c | 81 return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY;
|
/linux-master/kernel/ |
H A D | jump_label.c | 234 if (atomic_cmpxchg(&key->enabled, 1, 0))
|
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 88 if (atomic_cmpxchg(&tx->dqo_compl.free_tx_qpl_buf_head, 153 if (atomic_cmpxchg(&tx->dqo_compl.free_pending_packets,
|
/linux-master/drivers/thermal/ |
H A D | thermal_core.c | 959 if (atomic_cmpxchg(&pos->need_update, 1, 0)) 1398 if (atomic_cmpxchg(&tz->need_update, 1, 0))
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu.c | 1333 if (WARN_ON_ONCE(atomic_cmpxchg(&msc->user_count, -1, 0) != -1)) 1355 count = atomic_cmpxchg(&msc->user_count, 0, -1);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | data-vio.c | 350 actual = atomic_cmpxchg(&data_vio->compression.status, expected, replacement); 662 if (atomic_cmpxchg(&pool->processing, false, true))
|
H A D | dedupe.c | 334 return (atomic_cmpxchg(&context->state, old, new) == old); 339 return (atomic_cmpxchg(&zone->timer_state, old, new) == old);
|
H A D | dm-vdo-target.c | 1074 if (atomic_cmpxchg(&vdo->processing_message, 0, 1) != 0) 1212 if (atomic_cmpxchg(&admin->busy, 0, 1) != 0) {
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 1405 opened = atomic_cmpxchg(&v->opened, 0, 1); 1630 opened = atomic_cmpxchg(&v->opened, 0, 1);
|
/linux-master/drivers/s390/cio/ |
H A D | device.c | 500 if (atomic_cmpxchg(&cdev->private->onoff, 0, 1) != 0) 1330 (atomic_cmpxchg(&cdev->private->onoff, 0, 1) == 0)) {
|
/linux-master/net/rds/ |
H A D | ib_send.c | 353 * and using atomic_cmpxchg when updating the two counters. 401 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval)
|
H A D | rds.h | 797 return atomic_cmpxchg(&cp->cp_state, old, new) == old;
|
/linux-master/drivers/media/rc/ |
H A D | redrat3.c | 858 if (brightness != LED_OFF && atomic_cmpxchg(&rr3->flash, 0, 1) == 0) {
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss.c | 682 if (atomic_cmpxchg(stopping, 1, 0)) {
|
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_watchdog.c | 637 } else if (atomic_cmpxchg(&pretimeout_since_last_heartbeat, 1, 0)) {
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | tx.c | 236 atomic_cmpxchg(&wcid->non_aql_packets, pending, 0);
|
/linux-master/fs/hfsplus/ |
H A D | xattr.c | 140 if (old_state != atomic_cmpxchg(&sbi->attr_tree_state,
|