Home
last modified time | relevance | path

Searched refs:xchg (Results 1 – 25 of 34) sorted by relevance

12

/linux-4.19.296/drivers/s390/cio/
Dqdio_thinint.c121 xchg(irq_ptr->dsci, 0); in clear_nonshared_ind()
140 return xchg(&q_indicators[TIQDIO_SHARED_IND].ind, 0); in clear_shared_ind()
150 xchg(irq->dsci, 0); in tiqdio_call_inq_handlers()
166 xchg(irq->dsci, 0); in tiqdio_call_inq_handlers()
/linux-4.19.296/include/asm-generic/
Dcmpxchg.h17 #ifndef xchg
83 #define xchg(ptr, x) ({ \ macro
Datomic.h199 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v)))
Datomic-instrumented.h411 #define xchg(ptr, new) \ macro
/linux-4.19.296/include/linux/
Datomic.h544 #define xchg_relaxed xchg
545 #define xchg_acquire xchg
546 #define xchg_release xchg
551 #define xchg_acquire(...) __atomic_op_acquire(xchg, __VA_ARGS__)
555 #define xchg_release(...) __atomic_op_release(xchg, __VA_ARGS__)
558 #ifndef xchg
559 #define xchg(...) __atomic_op_fence(xchg, __VA_ARGS__) macro
Ddebug_locks.h17 return xchg(&debug_locks, 0); in __debug_locks_off()
Dllist.h234 return xchg(&head->first, NULL); in llist_del_all()
/linux-4.19.296/drivers/s390/char/
Dcon3270.c201 xchg(&((struct con3270 *) rq->view)->write, rq); in con3270_write_callback()
223 wrq = xchg(&cp->write, 0); in con3270_update()
285 xchg(&cp->write, wrq); in con3270_update()
349 xchg(&cp->read, rrq); in con3270_read_tasklet()
373 rrq = xchg(&cp->read, 0); in con3270_issue_read()
Dtty3270.c358 xchg(&tp->write, rq); in tty3270_write_callback()
375 wrq = xchg(&tp->write, 0); in tty3270_update()
448 xchg(&tp->write, wrq); in tty3270_update()
607 xchg(&tp->read, rrq); in tty3270_read_tasklet()
632 rrq = xchg(&tp->read, 0); in tty3270_issue_read()
647 xchg(&tp->read, rrq); in tty3270_issue_read()
/linux-4.19.296/drivers/xen/events/
Devents_fifo.c325 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
330 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events()
/linux-4.19.296/drivers/irqchip/
Dirq-ompic.c126 while ((ops = xchg(pending_ops, 0)) != 0) { in ompic_ipi_handler()
/linux-4.19.296/fs/nfs/
Dfile.c224 ret = xchg(&ctx->error, 0); in nfs_file_fsync_commit()
251 int ret2 = xchg(&ctx->error, 0); in nfs_file_fsync()
Dnfs4idmap.c666 data = xchg(&idmap->idmap_upcall_data, NULL); in idmap_pipe_downcall()
726 data = xchg(&idmap->idmap_upcall_data, NULL); in idmap_release_pipe()
/linux-4.19.296/drivers/misc/sgi-gru/
Dgrufault.c166 k = xchg(&tfm->fault_bits[i], 0UL); in get_clear_fault_map()
170 k = xchg(&tfm->done_bits[i], 0UL); in get_clear_fault_map()
/linux-4.19.296/lib/
Datomic64_test.c85 FAMILY_TEST(TEST_ARGS, bit, xchg, init, init, new, new); \
/linux-4.19.296/fs/
Dposix_acl.c67 old = xchg(p, posix_acl_dup(acl)); in set_cached_acl()
77 old = xchg(p, ACL_NOT_CACHED); in __forget_cached_acl()
Dfile.c386 struct file * file = xchg(&fdt->fd[i], NULL); in close_files()
/linux-4.19.296/fs/ext4/
Dpage-io.c336 bio->bi_private = xchg(&io_end->bio, bio); in ext4_end_bio()
/linux-4.19.296/fs/cachefiles/
Ddaemon.c98 if (xchg(&cachefiles_open, 1) == 1) in cachefiles_daemon_open()
/linux-4.19.296/drivers/s390/crypto/
Dap_bus.c421 xchg(ap_airq.lsi_ptr, 0); in ap_tasklet_fn()
655 xchg(ap_airq.lsi_ptr, 0); in ap_bus_resume()
/linux-4.19.296/fs/proc/
Dkcore.c267 if (!xchg(&kcore_need_update, 0)) in kcore_update_ram()
/linux-4.19.296/drivers/thunderbolt/
Dxdomain.c497 const struct tb_xdp_properties_changed *xchg = in tb_xdp_handle_request() local
508 xd = tb_xdomain_find_by_uuid_locked(tb, &xchg->src_uuid); in tb_xdp_handle_request()
/linux-4.19.296/include/net/
Dpkt_cls.h206 return xchg(clp, cl); in __cls_set_class()
Dsock.h1934 old_dst = xchg((__force struct dst_entry **)&sk->sk_dst_cache, dst); in sk_dst_set()
2204 err = xchg(&sk->sk_err, 0); in sock_error()
/linux-4.19.296/fs/ocfs2/
Dfile.c2462 saved_ki_complete = xchg(&iocb->ki_complete, NULL); in ocfs2_file_write_iter()
2510 xchg(&iocb->ki_complete, saved_ki_complete); in ocfs2_file_write_iter()

12