xchg 1486 arch/x86/kvm/x86_emulate.c xchg: xchg 1564 arch/x86/kvm/x86_emulate.c goto xchg; xchg 246 block/blktrace.c bt = xchg(&q->blk_trace, NULL); xchg 432 block/blktrace.c old_bt = xchg(&q->blk_trace, bt); xchg 434 block/blktrace.c (void) xchg(&q->blk_trace, old_bt); xchg 357 fs/eventpoll.c nwait = xchg(&epi->nwait, 0); xchg 1058 fs/namespace.c if (!xchg(&mnt->mnt_expiry_mark, 1)) xchg 1743 fs/namespace.c if (!xchg(&mnt->mnt_expiry_mark, 1) || xchg 220 fs/nfs/file.c ret = xchg(&ctx->error, 0); xchg 904 fs/smbfs/proc.c server->data_ready = xchg(&sk->sk_data_ready, smb_data_ready); xchg 42 include/asm-cris/arch-v10/system.h #define tas(ptr) (xchg((ptr),1)) xchg 42 include/asm-cris/arch-v32/system.h #define tas(ptr) (xchg((ptr),1)) xchg 141 include/asm-cris/atomic.h #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) xchg 179 include/asm-frv/atomic.h #define tas(ptr) (xchg((ptr), 1)) xchg 182 include/asm-frv/atomic.h #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) xchg 402 include/asm-frv/pgtable.h unsigned long x = xchg(&ptep->pte, 0); xchg 190 include/asm-frv/system.h do { xchg(&var, (value)); } while (0) xchg 245 include/asm-m32r/atomic.h #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) xchg 65 include/asm-m32r/pgtable-2level.h #define ptep_get_and_clear(mm,addr,xp) __pte(xchg(&(xp)->pte, 0)) xchg 420 include/asm-m32r/system.h #define set_mb(var, value) do { (void) xchg(&var, value); } while (0) xchg 87 include/asm-m68k/atomic.h #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) xchg 154 include/asm-mn10300/atomic.h #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) xchg 301 include/asm-mn10300/pgtable.h __pte(xchg(&(ptep)->pte, 0)) xchg 200 include/asm-parisc/atomic.h #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) xchg 316 include/asm-parisc/atomic.h #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) xchg 212 include/asm-x86/atomic_32.h #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) xchg 373 include/asm-x86/atomic_64.h #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) xchg 376 include/asm-x86/atomic_64.h #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) xchg 162 include/asm-x86/local.h #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) xchg 50 include/asm-x86/pgtable-2level.h return __pte(xchg(&xp->pte_low, 0)); xchg 138 include/asm-x86/pgtable-3level.h res.pte_low = xchg(&ptep->pte_low, 0); xchg 97 include/asm-x86/pgtable_64.h return native_make_pte(xchg(&xp->pte, 0)); xchg 403 include/asm-x86/system.h #define set_mb(var, value) do { (void)xchg(&var, value); } while (0) xchg 226 include/asm-xtensa/atomic.h #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) xchg 1179 include/net/sock.h err = xchg(&sk->sk_err, 0); xchg 75 kernel/dma.c if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) xchg 95 kernel/dma.c if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) { xchg 483 kernel/exit.c struct file * file = xchg(&fdt->fd[i], NULL); xchg 691 kernel/exit.c self.next = xchg(&core_state->dumper.next, &self); xchg 1294 kernel/exit.c state = xchg(&p->exit_state, EXIT_DEAD); xchg 994 kernel/kexec.c kimage_free(xchg(&kexec_crash_image, NULL)); xchg 1015 kernel/kexec.c image = xchg(dest_image, image); xchg 1629 kernel/sys.c mask = xchg(¤t->fs->umask, mask & S_IRWXUGO); xchg 2655 kernel/sysctl.c put_pid(xchg(&cad_pid, new_pid)); xchg 39 lib/debug_locks.c if (xchg(&debug_locks, 0)) { xchg 1373 net/9p/trans_fd.c ts = xchg(&trans->priv, NULL); xchg 249 net/atm/clip.c old = xchg(&clip_vcc->xoff, 0); xchg 421 net/atm/clip.c old = xchg(&entry->vccs->xoff, 1); /* assume XOFF ... */ xchg 545 net/atm/svc.c error = xchg(&sk->sk_err_soft, 0); xchg 572 net/atm/svc.c error = xchg(&sk->sk_err_soft, 0); xchg 40 net/bridge/netfilter/ebt_limit.c info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; xchg 737 net/core/sock.c v.val = xchg(&sk->sk_err_soft, 0); xchg 449 net/decnet/af_decnet.c dst_release(xchg(&sk->sk_dst_cache, NULL)); xchg 1105 net/decnet/af_decnet.c dst_release(xchg(&newsk->sk_dst_cache, skb->dst)); xchg 418 net/decnet/dn_neigh.c neigh_release(xchg(&dn_db->router, neigh_clone(neigh))); xchg 323 net/decnet/dn_route.c if ((rt = xchg(&dn_rt_hash_table[i].chain, NULL)) == NULL) xchg 1634 net/decnet/dn_route.c dst_release(xchg(&skb->dst, NULL)); xchg 1638 net/decnet/dn_route.c dst_release(xchg(&skb->dst, NULL)); xchg 1885 net/ipv4/cipso_ipv4.c opt = xchg(&sk_inet->opt, opt); xchg 472 net/ipv4/ip_sockglue.c opt = xchg(&inet->opt, opt); xchg 2868 net/ipv4/route.c dst_release(xchg(&skb->dst, NULL)); xchg 2872 net/ipv4/route.c dst_release(xchg(&skb->dst, NULL)); xchg 378 net/ipv6/af_inet6.c if ((skb = xchg(&np->pktoptions, NULL)) != NULL) xchg 386 net/ipv6/af_inet6.c if ((opt = xchg(&np->opt, NULL)) != NULL) xchg 471 net/ipv6/exthdrs.c dst_release(xchg(&skb->dst, NULL)); xchg 114 net/ipv6/ipv6_sockglue.c opt = xchg(&inet6_sk(sk)->opt, opt); xchg 117 net/ipv6/ipv6_sockglue.c opt = xchg(&inet6_sk(sk)->opt, opt); xchg 217 net/ipv6/ipv6_sockglue.c opt = xchg(&np->opt, NULL); xchg 220 net/ipv6/ipv6_sockglue.c pktopt = xchg(&np->pktoptions, NULL); xchg 1572 net/ipv6/tcp_ipv6.c opt_skb = xchg(&np->pktoptions, opt_skb); xchg 1575 net/ipv6/tcp_ipv6.c opt_skb = xchg(&np->pktoptions, NULL); xchg 68 net/netfilter/xt_limit.c r->credit += (now - xchg(&r->prev, now)) * CREDITS_PER_JIFFY; xchg 534 net/sched/cls_api.c act = xchg(&dst->action, src->action); xchg 105 net/sched/cls_basic.c struct basic_head *head = (struct basic_head *) xchg(&tp->root, NULL); xchg 151 net/sched/cls_fw.c struct fw_head *head = (struct fw_head*)xchg(&tp->root, NULL); xchg 263 net/sched/cls_route.c struct route4_head *head = xchg(&tp->root, NULL); xchg 261 net/sched/cls_rsvp.h struct rsvp_head *data = xchg(&tp->root, NULL); xchg 390 net/sched/cls_u32.c struct tc_u_hnode *root_ht = xchg(&tp->root, NULL); xchg 496 net/sched/cls_u32.c ht_down = xchg(&n->ht_down, ht_down); xchg 105 net/sched/sch_atm.c *old = xchg(&flow->q, new); xchg 1671 net/sched/sch_cbq.c *old = xchg(&cl->q, new); xchg 1812 net/sched/sch_cbq.c rtab = xchg(&cl->R_tab, rtab); xchg 71 net/sched/sch_dsmark.c *old = xchg(&p->q, new); xchg 1214 net/sched/sch_hfsc.c *old = xchg(&cl->qdisc, new); xchg 1144 net/sched/sch_htb.c if ((*old = xchg(&cl->un.leaf.q, new)) != NULL) { xchg 223 net/sched/sch_multiq.c struct Qdisc *child = xchg(&q->queues[i], &noop_qdisc); xchg 241 net/sched/sch_multiq.c child = xchg(&q->queues[i], child); xchg 347 net/sched/sch_netem.c d = xchg(&q->delay_dist, d); xchg 650 net/sched/sch_netem.c *old = xchg(&q->qdisc, new); xchg 204 net/sched/sch_prio.c struct Qdisc *child = xchg(&q->queues[i], &noop_qdisc); xchg 220 net/sched/sch_prio.c child = xchg(&q->queues[i], child); xchg 214 net/sched/sch_red.c qdisc_destroy(xchg(&q->qdisc, child)); xchg 295 net/sched/sch_red.c *old = xchg(&q->qdisc, new); xchg 302 net/sched/sch_tbf.c qdisc_destroy(xchg(&q->qdisc, child)); xchg 310 net/sched/sch_tbf.c rtab = xchg(&q->R_tab, rtab); xchg 311 net/sched/sch_tbf.c ptab = xchg(&q->P_tab, ptab); xchg 401 net/sched/sch_tbf.c *old = xchg(&q->qdisc, new); xchg 140 net/sched/sch_teql.c teql_neigh_release(xchg(&dat->ncache, NULL)); xchg 171 net/sched/sch_teql.c teql_neigh_release(xchg(&dat->ncache, NULL)); xchg 254 net/sched/sch_teql.c teql_neigh_release(xchg(&q->ncache, n)); xchg 1829 sound/usb/usbmixer.c (rc_code = xchg(&mixer->rc_code, 0)) != 0);