/linux-4.1.27/arch/tile/include/asm/ |
D | cmpxchg.h | 43 #define xchg(ptr, n) \ macro 80 #define xchg(ptr, n) \ macro 125 #define xchg64 xchg 130 #define tas(ptr) xchg((ptr), 1)
|
D | atomic.h | 125 return xchg(&v->counter, n); in atomic_xchg()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | cmpxchg.h | 129 #define xchg(ptr, with) \ macro 142 #define xchg(ptr, with) _xchg(ptr, with) macro 159 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/drivers/s390/cio/ |
D | qdio_thinint.c | 83 xchg(irq_ptr->dsci, 1 << 7); in tiqdio_add_input_queues() 123 xchg(irq_ptr->dsci, 0); in clear_nonshared_ind() 142 return xchg(&q_indicators[TIQDIO_SHARED_IND].ind, 0); in clear_shared_ind() 153 xchg(q->irq_ptr->dsci, 0); in tiqdio_call_inq_handlers() 168 xchg(q->irq_ptr->dsci, 0); in tiqdio_call_inq_handlers()
|
D | qdio_main.c | 258 xchg(&q->slsb.val[bufnr], state); in set_buf_states()
|
/linux-4.1.27/arch/frv/include/asm/ |
D | cmpxchg.h | 27 #define xchg(ptr, x) \ macro 55 #define xchg(ptr, x) \ macro 72 #define tas(ptr) (xchg((ptr), 1))
|
D | atomic.h | 180 #define atomic_xchg(v, new) (xchg(&(v)->counter, new))
|
D | pgtable.h | 397 unsigned long x = xchg(&ptep->pte, 0); in ptep_get_and_clear()
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | cmpxchg.h | 47 #define xchg(ptr, x) \ macro 50 #define tas(ptr) xchg((ptr), 1)
|
/linux-4.1.27/kernel/ |
D | dma.c | 74 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) in request_dma() 94 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) { in free_dma()
|
D | kthread.c | 192 done = xchg(&create->done, NULL); in kthread() 234 struct completion *done = xchg(&create->done, NULL); in create_kthread() 300 if (xchg(&create->done, NULL)) in kthread_create_on_node()
|
D | irq_work.c | 154 xchg(&work->flags, flags); in irq_work_run_list()
|
D | kmod.c | 201 struct completion *comp = xchg(&sub_info->complete, NULL); in umh_complete() 569 if (xchg(&sub_info->complete, NULL)) in call_usermodehelper_exec()
|
D | kexec.c | 1294 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE4() 1323 image = xchg(dest_image, image); in SYSCALL_DEFINE4() 1417 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5() 1453 image = xchg(dest_image, image); in SYSCALL_DEFINE5()
|
D | acct.c | 249 old = xchg(&ns->bacct, &acct->pin); in acct_on()
|
D | sys.c | 1648 mask = xchg(¤t->fs->umask, mask & S_IRWXUGO); in SYSCALL_DEFINE1() 1713 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file()
|
D | exit.c | 411 self.next = xchg(&core_state->dumper.next, &self); in exit_mm()
|
D | sysctl.c | 2575 put_pid(xchg(&cad_pid, new_pid)); in proc_do_cad_pid()
|
/linux-4.1.27/include/asm-generic/ |
D | cmpxchg.h | 16 #ifndef xchg 82 #define xchg(ptr, x) \ macro
|
D | atomic.h | 175 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v)))
|
/linux-4.1.27/arch/x86/include/asm/ |
D | pgtable-2level.h | 43 return __pte(xchg(&xp->pte_low, 0)); in native_ptep_get_and_clear() 52 return __pmd(xchg((pmdval_t *)xp, 0)); in native_pmdp_get_and_clear()
|
D | pgtable-3level.h | 146 res.pte_low = xchg(&ptep->pte_low, 0); in native_ptep_get_and_clear() 169 res.pmd_low = xchg(&orig->pmd_low, 0); in native_pmdp_get_and_clear()
|
D | pgtable_64.h | 76 return native_make_pte(xchg(&xp->pte, 0)); in native_ptep_get_and_clear() 89 return native_make_pmd(xchg(&xp->pmd, 0)); in native_pmdp_get_and_clear()
|
D | atomic64_32.h | 50 ATOMIC64_DECL(xchg); 92 alternative_atomic64(xchg, "=&A" (o), in atomic64_xchg()
|
D | cmpxchg.h | 78 #define xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") macro
|
D | barrier.h | 38 #define set_mb(var, value) do { (void)xchg(&var, value); } while (0)
|
D | atomic.h | 182 return xchg(&v->counter, new); in atomic_xchg()
|
D | atomic64_64.h | 171 return xchg(&v->counter, new); in atomic64_xchg()
|
D | local.h | 125 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n)))
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | cmpxchg.h | 130 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) macro 131 #define tas(ptr) ((void)xchg((ptr), 1))
|
/linux-4.1.27/arch/um/kernel/ |
D | irq.c | 415 mask = xchg(&pending_mask, *mask_out); in to_irq_stack() 429 mask = xchg(&pending_mask, old); in to_irq_stack() 448 mask = xchg(&pending_mask, 0); in to_irq_stack() 467 mask = xchg(&pending_mask, 0); in from_irq_stack()
|
/linux-4.1.27/arch/arm/kernel/ |
D | dma.c | 65 if (xchg(&dma->lock, 1) != 0) in request_dma() 77 xchg(&dma->lock, 0); in request_dma() 108 if (xchg(&dma->lock, 0) != 0) { in free_dma()
|
/linux-4.1.27/kernel/locking/ |
D | osq_lock.c | 73 next = xchg(&node->next, NULL); in osq_wait_next() 194 next = xchg(&node->next, NULL); in osq_unlock()
|
D | mcs_spinlock.h | 69 prev = xchg(lock, node); in mcs_spin_lock()
|
/linux-4.1.27/drivers/net/slip/ |
D | slip.c | 180 rbuff = xchg(&sl->rbuff, rbuff); in sl_alloc_bufs() 181 xbuff = xchg(&sl->xbuff, xbuff); in sl_alloc_bufs() 183 cbuff = xchg(&sl->cbuff, cbuff); in sl_alloc_bufs() 184 slcomp = xchg(&sl->slcomp, slcomp); in sl_alloc_bufs() 208 kfree(xchg(&sl->rbuff, NULL)); in sl_free_bufs() 209 kfree(xchg(&sl->xbuff, NULL)); in sl_free_bufs() 211 kfree(xchg(&sl->cbuff, NULL)); in sl_free_bufs() 212 slhc_free(xchg(&sl->slcomp, NULL)); in sl_free_bufs() 263 xbuff = xchg(&sl->xbuff, xbuff); 264 rbuff = xchg(&sl->rbuff, rbuff); [all …]
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | atomic_64.h | 73 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() 92 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
|
D | parport.h | 49 if (xchg(&sparc_ebus_dmas[dmanr].lock, 1) != 0) in request_dma() 60 if (xchg(&sparc_ebus_dmas[dmanr].lock, 0) == 0) { in free_dma()
|
D | cmpxchg_32.h | 27 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
|
D | cmpxchg_64.h | 43 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
|
/linux-4.1.27/arch/arm64/include/asm/xen/ |
D | events.h | 19 #define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
D | events.h | 21 #define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
|
/linux-4.1.27/arch/sh/include/asm/ |
D | barrier.h | 35 #define set_mb(var, value) do { (void)xchg(&var, value); } while (0)
|
D | cmpxchg.h | 42 #define xchg(ptr,x) \ macro
|
D | atomic.h | 38 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | cmpxchg.h | 36 #define xchg(ptr, x) \ macro
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | cmpxchg.h | 44 #define xchg(ptr, x) \ macro
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | cmpxchg.h | 14 #define xchg(ptr, x) \ macro
|
/linux-4.1.27/include/linux/ |
D | debug_locks.h | 16 return xchg(&debug_locks, 0); in __debug_locks_off()
|
D | llist.h | 193 return xchg(&head->first, NULL); in llist_del_all()
|
D | mm.h | 805 return xchg(&page->_last_cpupid, cpupid & LAST_CPUPID_MASK); in page_cpupid_xchg_last()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | cmpxchg.h | 59 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \ macro
|
D | atomic.h | 58 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/linux-4.1.27/drivers/s390/char/ |
D | con3270.c | 195 xchg(&((struct con3270 *) rq->view)->write, rq); in con3270_write_callback() 216 wrq = xchg(&cp->write, 0); in con3270_update() 278 xchg(&cp->write, wrq); in con3270_update() 342 xchg(&cp->read, rrq); in con3270_read_tasklet() 366 rrq = xchg(&cp->read, 0); in con3270_issue_read()
|
D | tty3270.c | 335 xchg(&tp->write, rq); in tty3270_write_callback() 351 wrq = xchg(&tp->write, 0); in tty3270_update() 421 xchg(&tp->write, wrq); in tty3270_update() 580 xchg(&tp->read, rrq); in tty3270_read_tasklet() 605 rrq = xchg(&tp->read, 0); in tty3270_issue_read() 620 xchg(&tp->read, rrq); in tty3270_issue_read()
|
/linux-4.1.27/arch/score/include/asm/ |
D | cmpxchg.h | 22 #define xchg(ptr, v) \ macro
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | atomic.h | 120 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() 123 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS()
|
D | cmpxchg.h | 45 #define xchg(ptr, x) \ macro
|
D | xchg.h | 2 #error Do not include xchg.h directly!
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | atomic.h | 114 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 212 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
|
D | cmpxchg.h | 75 #define xchg(ptr,x) \ macro
|
/linux-4.1.27/arch/metag/include/asm/ |
D | cmpxchg.h | 36 #define xchg(ptr, x) \ macro
|
D | atomic_lock1.h | 112 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | cmpxchg.h | 106 #define xchg(ptr, v) \ macro
|
D | atomic.h | 127 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v)))
|
D | pgtable.h | 312 __pte(xchg(&(ptep)->pte, 0))
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | atomic.h | 119 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 123 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
|
D | pgtable.h | 428 return __pte(xchg((long *) ptep, 0)); in ptep_get_and_clear()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | atomic.h | 75 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 225 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
|
D | cmpxchg.h | 46 #define xchg(ptr, x) \ macro
|
/linux-4.1.27/arch/s390/include/asm/ |
D | atomic.h | 131 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 260 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
|
D | cmpxchg.h | 25 #define xchg(ptr, x) \ macro
|
D | percpu.h | 156 ret__ = xchg(ptr__, nval); \
|
/linux-4.1.27/drivers/staging/speakup/ |
D | devsynth.c | 50 if (xchg(&dev_opened, 1)) in speakup_file_open()
|
D | selection.c | 138 struct tty_struct *tty = xchg(&spw->tty, NULL); in __speakup_paste_selection()
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | cmpxchg.h | 17 #define xchg(ptr,x) \ macro
|
D | atomic.h | 169 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | atomic.h | 155 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) 416 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
|
D | cmpxchg.h | 130 #define xchg(ptr,x) \ macro
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | pgtable-2level.h | 66 #define ptep_get_and_clear(mm,addr,xp) __pte(xchg(&(xp)->pte, 0))
|
D | cmpxchg.h | 67 #define xchg(ptr, x) \ macro
|
D | atomic.h | 216 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_irq.c | 34 pending = xchg(&qdev->ram_header->int_pending, 0); in qxl_irq_handler()
|
/linux-4.1.27/arch/x86/ia32/ |
D | ia32entry.S | 178 xchg %ecx,%esi /* rsi:arg2, rcx:arg4 */ 401 xchg %ecx,%esi /* rsi:arg2, rcx:arg4 */ 541 xchg %ecx,%esi /* rsi:arg2, rcx:arg4 */
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | cmpxchg.h | 138 #define xchg(ptr,x) \ macro
|
D | atomic.h | 227 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS()
|
/linux-4.1.27/mm/ |
D | page_counter.c | 156 old = xchg(&counter->limit, limit); in page_counter_limit()
|
D | huge_memory.c | 226 struct page *zero_page = xchg(&huge_zero_page, NULL); in shrink_huge_zero_page_scan()
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
D | cmpxchg.h | 55 #define xchg(ptr, x) \ macro
|
/linux-4.1.27/drivers/xen/events/ |
D | events_fifo.c | 330 ready = xchg(&control_block->ready, 0); in evtchn_fifo_handle_events() 335 ready |= xchg(&control_block->ready, 0); in evtchn_fifo_handle_events()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | cmpxchg.h | 78 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
|
D | atomic.h | 121 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/arch/mips/include/asm/ |
D | atomic.h | 212 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) 494 #define atomic64_xchg(v, new) (xchg(&((v)->counter), (new)))
|
D | cmpxchg.h | 133 #define xchg(ptr, x) \ macro
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_limit.c | 41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; in ebt_limit_mt()
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | smp.c | 100 while ((ops = xchg(&ipi->bits, 0)) != 0) in handle_ipi()
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
D | islpci_mgt.c | 387 if ((frame = xchg(&priv->mgmt_received, frame)) != NULL) { in islpci_mgt_receive() 469 frame = xchg(&priv->mgmt_received, NULL); in islpci_mgt_transaction()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | cmpxchg.h | 105 #define xchg(ptr,x) \ macro
|
D | atomic.h | 201 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
|
/linux-4.1.27/arch/ia64/kernel/ |
D | smp.c | 104 while ((ops = xchg(pending_ipis, 0)) != 0) { in handle_IPI()
|
/linux-4.1.27/arch/arc/kernel/ |
D | smp.c | 319 pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | 11n_rxreorder.c | 138 int i, j, xchg; in mwifiex_11n_scan_and_dispatch() local 160 xchg = tbl->win_size - i; in mwifiex_11n_scan_and_dispatch() 161 for (j = 0; j < xchg; ++j) { in mwifiex_11n_scan_and_dispatch()
|
/linux-4.1.27/arch/mips/sgi-ip27/ |
D | ip27-timer.c | 144 } while (xchg(&rt_timer_irq, irq)); in hub_rt_clock_event_global_init()
|
/linux-4.1.27/arch/mips/sibyte/common/ |
D | sb_tbprof.c | 270 if (xchg(&sbp.tb_enable, 1)) in sbprof_zbprof_start() 409 if (xchg(&sbp.open, SB_OPENING) != SB_CLOSED) in sbprof_tb_open()
|
/linux-4.1.27/kernel/trace/ |
D | blktrace.c | 314 bt = xchg(&q->blk_trace, NULL); in blk_trace_remove() 524 old_bt = xchg(&q->blk_trace, bt); in do_blk_trace_setup() 526 (void) xchg(&q->blk_trace, old_bt); in do_blk_trace_setup() 1473 bt = xchg(&q->blk_trace, NULL); in blk_trace_remove_queue() 1506 old_bt = xchg(&q->blk_trace, bt); in blk_trace_setup_queue() 1508 (void)xchg(&q->blk_trace, old_bt); in blk_trace_setup_queue()
|
/linux-4.1.27/net/netfilter/ |
D | xt_limit.c | 76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt()
|
D | nf_conntrack_ecache.c | 136 events = xchg(&e->cache, 0); in nf_ct_deliver_cached_events()
|
D | nf_log.c | 279 m = xchg(&emergency_ptr, NULL); in nf_log_buf_open()
|
/linux-4.1.27/arch/s390/kernel/ |
D | nmi.c | 80 if (xchg(&mchchk_wng_posted, 1) == 0) in s390_handle_mcck()
|
D | time.c | 763 if (xchg(&first, 1) == 1) { in etr_sync_clock() 812 xchg(&first, 0); in etr_sync_clock() 1535 if (xchg(&first, 1) == 1) { in stp_sync_clock() 1567 xchg(&first, 0); in stp_sync_clock()
|
D | smp.c | 449 bits = xchg(&pcpu_devices[smp_processor_id()].ec_mask, 0); in smp_handle_ext_call()
|
/linux-4.1.27/arch/x86/lib/ |
D | atomic64_386_32.S | 61 BEGIN(xchg)
|
/linux-4.1.27/arch/x86/math-emu/ |
D | reg_u_sub.S | 195 xchg %edx,%eax
|
/linux-4.1.27/net/ipv6/ |
D | af_inet6.c | 418 skb = xchg(&np->pktoptions, NULL); in inet6_destroy_sock() 422 skb = xchg(&np->rxpmtu, NULL); in inet6_destroy_sock() 431 opt = xchg((__force struct ipv6_txoptions **)&np->opt, NULL); in inet6_destroy_sock()
|
D | ipv6_sockglue.c | 114 opt = xchg((__force struct ipv6_txoptions **)&inet6_sk(sk)->opt, in ipv6_update_options() 235 opt = xchg((__force struct ipv6_txoptions **)&np->opt, in do_ipv6_setsockopt() 241 pktopt = xchg(&np->pktoptions, NULL); in do_ipv6_setsockopt()
|
D | datagram.c | 339 skb = xchg(&np->rxpmtu, skb); in ipv6_local_rxpmtu() 490 skb = xchg(&np->rxpmtu, NULL); in ipv6_recv_rxpmtu()
|
D | tcp_ipv6.c | 1326 opt_skb = xchg(&np->pktoptions, opt_skb); in tcp_v6_do_rcv() 1329 opt_skb = xchg(&np->pktoptions, NULL); in tcp_v6_do_rcv()
|
/linux-4.1.27/include/net/ |
D | pkt_cls.h | 23 return xchg(clp, cl); in __cls_set_class()
|
D | sock.h | 1755 old_dst = xchg((__force struct dst_entry **)&sk->sk_dst_cache, dst); in sk_dst_set() 1998 err = xchg(&sk->sk_err, 0); in sock_error()
|
/linux-4.1.27/drivers/watchdog/ |
D | xen_wdt.c | 124 if (xchg(&is_active, true)) in xen_wdt_open()
|
/linux-4.1.27/arch/x86/crypto/ |
D | sha1_avx2_x86_64_asm.S | 473 xchg WK_BUF, PRECALC_BUF 612 xchg WK_BUF, PRECALC_BUF
|
/linux-4.1.27/drivers/net/wan/ |
D | x25_asy.c | 141 xbuff = xchg(&sl->xbuff, xbuff); in x25_asy_change_mtu() 152 rbuff = xchg(&sl->rbuff, rbuff); in x25_asy_change_mtu()
|
/linux-4.1.27/kernel/rcu/ |
D | tree_plugin.h | 1977 old_rhpp = xchg(&rdp->nocb_tail, rhtp); in __call_rcu_nocb_enqueue() 2168 rdp->nocb_gp_tail = xchg(&rdp->nocb_tail, &rdp->nocb_head); in nocb_leader_wait() 2214 tail = xchg(&rdp->nocb_follower_tail, rdp->nocb_gp_tail); in nocb_leader_wait() 2289 tail = xchg(&rdp->nocb_follower_tail, &rdp->nocb_follower_head); in rcu_nocb_kthread() 2993 !rsh.inuse && xchg(&rsh.inuse, 1) == 0) in rcu_sys_is_idle()
|
/linux-4.1.27/drivers/misc/sgi-gru/ |
D | grufault.c | 166 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.1.27/net/atm/ |
D | svc.c | 549 error = xchg(&sk->sk_err_soft, 0); in svc_addparty() 576 error = xchg(&sk->sk_err_soft, 0); in svc_dropparty()
|
D | clip.c | 258 old = xchg(&clip_vcc->xoff, 0); in clip_pop() 385 old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ in clip_start_xmit()
|
/linux-4.1.27/drivers/char/ |
D | genrtc.c | 189 (data = xchg(&gen_rtc_irq_data, 0))); in gen_rtc_read()
|
/linux-4.1.27/arch/mips/kernel/ |
D | rtlx.c | 165 state = xchg(&chan->lx_state, RTLX_STATE_OPENED); in rtlx_open()
|
D | vpe.c | 786 state = xchg(&v->state, VPE_STATE_INUSE); in vpe_open()
|
D | traps.c | 1886 old_handler = xchg(&exception_handlers[n], handler); in set_except_vector()
|
/linux-4.1.27/drivers/net/irda/ |
D | stir4200.c | 573 skb = xchg(&stir->tx_pending, skb); in stir_hard_xmit() 758 skb = xchg(&stir->tx_pending, NULL); in stir_transmit_thread()
|
/linux-4.1.27/net/rds/ |
D | ib_recv.c | 91 tmp = xchg(&cache->xfer, NULL); in rds_ib_cache_xfer_to_ready() 447 old = xchg(&cache->xfer, NULL); in rds_ib_recv_cache_put()
|
/linux-4.1.27/arch/ia64/mm/ |
D | tlb.c | 76 flush_bit = xchg(&ia64_ctx.flushmap[i], 0); in wrap_mmu_context()
|
/linux-4.1.27/fs/ext4/ |
D | page-io.c | 342 bio->bi_private = xchg(&io_end->bio, bio); in ext4_end_bio()
|
/linux-4.1.27/fs/cachefiles/ |
D | daemon.c | 98 if (xchg(&cachefiles_open, 1) == 1) in cachefiles_daemon_open()
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | locking.txt | 102 old_spte = xchg(spte, 0ull)
|
/linux-4.1.27/arch/alpha/kernel/ |
D | smp.c | 535 while ((ops = xchg(pending_ipis, 0)) != 0) { in handle_ipi()
|
/linux-4.1.27/fs/btrfs/ |
D | backref.c | 533 struct __prelim_ref *xchg; in __merge_refs() local 542 xchg = ref1; in __merge_refs() 544 ref2 = xchg; in __merge_refs()
|
D | transaction.c | 2185 prev = xchg(&fs_info->pending_changes, 0); in btrfs_apply_pending_changes()
|
D | inode.c | 3209 if (!xchg(&root->orphan_item_inserted, 1)) in btrfs_orphan_add()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | smp.c | 252 all = xchg(&info->messages, 0); in smp_ipi_demux()
|
/linux-4.1.27/net/decnet/ |
D | dn_neigh.c | 426 neigh_release(xchg(&dn_db->router, neigh_clone(neigh))); in dn_neigh_router_hello()
|
D | dn_route.c | 377 if ((rt = xchg((struct dn_route **)&dn_rt_hash_table[i].chain, NULL)) == NULL) in dn_run_flush()
|
/linux-4.1.27/kernel/sched/ |
D | debug.c | 536 SEQ_printf(m, "numa_migrations, %ld\n", xchg(&p->numa_pages_migrated, 0)); in sched_show_numa()
|
/linux-4.1.27/fs/ |
D | file.c | 367 struct file * file = xchg(&fdt->fd[i], NULL); in close_files()
|
D | namespace.c | 1470 if (!xchg(&mnt->mnt_expiry_mark, 1)) in do_umount() 2483 if (!xchg(&mnt->mnt_expiry_mark, 1) || in mark_mounts_for_expiry()
|
/linux-4.1.27/fs/nfs/ |
D | file.c | 259 ret = xchg(&ctx->error, 0); in nfs_file_fsync_commit()
|
D | nfs4state.c | 2113 clnt = xchg(&clp->cl_rpcclient, clnt); in nfs4_discover_server_trunking()
|
/linux-4.1.27/arch/s390/oprofile/ |
D | hwsampler.c | 783 xchg((unsigned char *) te, 0x40); in worker_on_interrupt()
|
/linux-4.1.27/arch/x86/kvm/ |
D | lapic.c | 330 pir_val = xchg(&pir[i], 0); in __kvm_apic_update_irr() 2055 pe = xchg(&apic->pending_events, 0); in kvm_apic_accept_events()
|
D | mmu.c | 353 return xchg(sptep, spte); in __update_clear_spte_slow() 427 orig.spte_low = xchg(&ssptep->spte_low, sspte.spte_low); in __update_clear_spte_slow()
|
/linux-4.1.27/arch/arm/mach-rpc/ |
D | ecard.c | 279 req = xchg(&ecard_req, NULL); in ecard_task()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | sa1100fb.c | 966 u_int state = xchg(&fbi->task_state, -1); in sa1100fb_task()
|
D | pxafb.c | 1623 u_int state = xchg(&fbi->task_state, -1); in pxafb_task()
|
/linux-4.1.27/net/ipv4/ |
D | ip_tunnel.c | 78 old_dst = xchg((__force struct dst_entry **)&idst->dst, dst); in __tunnel_dst_set()
|
D | cipso_ipv4.c | 2011 opt = xchg(&req_inet->opt, opt); in cipso_v4_req_setattr()
|
D | udp.c | 1646 old = xchg(&sk->sk_rx_dst, dst); in udp_sk_rx_dst_set()
|
/linux-4.1.27/drivers/block/ |
D | ataflop.c | 589 handler = xchg(&FloppyIRQHandler, NULL); in floppy_irq()
|
/linux-4.1.27/drivers/s390/crypto/ |
D | ap_bus.c | 1838 xchg(ap_airq.lsi_ptr, 0); in ap_poll_all()
|
/linux-4.1.27/drivers/md/ |
D | dm-bufio.c | 1284 a = xchg(&c->async_write_error, 0); in dm_bufio_write_dirty_buffers()
|
/linux-4.1.27/sound/usb/ |
D | mixer_quirks.c | 231 (rc_code = xchg(&mixer->rc_code, 0)) != 0); in snd_usb_sbrc_hwdep_read()
|
/linux-4.1.27/fs/cifs/ |
D | connect.c | 933 task_to_wake = xchg(&server->tsk, NULL); in cifs_demultiplex_thread() 2099 task = xchg(&server->tsk, NULL); in cifs_put_tcp_session()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_core.c | 621 rpm_active = xchg(&p->rpm_tx_active, 1); in serial8250_rpm_get_tx() 634 rpm_active = xchg(&p->rpm_tx_active, 0); in serial8250_rpm_put_tx()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | mcdi.c | 983 if (xchg(&mcdi->mode, MCDI_MODE_FAIL) == MCDI_MODE_FAIL) in efx_mcdi_abandon()
|
/linux-4.1.27/Documentation/ |
D | atomic_ops.txt | 539 The routines xchg() and cmpxchg() must provide the same exact
|
D | memory-barriers.txt | 2375 xchg();
|
/linux-4.1.27/net/core/ |
D | sock.c | 1081 v.val = xchg(&sk->sk_err_soft, 0); in sock_getsockopt()
|
/linux-4.1.27/drivers/atm/ |
D | eni.c | 1535 events = xchg(&eni_dev->events,0); in eni_tasklet()
|
/linux-4.1.27/virt/kvm/ |
D | kvm_main.c | 1055 mask = xchg(&dirty_bitmap[i], 0); in kvm_get_dirty_log_protect()
|
/linux-4.1.27/drivers/tty/vt/ |
D | vt.c | 2515 return xchg(&kmsg_con, new); in vt_kmsg_redirect()
|