test_and_clear_bit 392 arch/x86/kernel/cpu/mcheck/mce_64.c if (test_and_clear_bit(0, ¬ify_user)) { test_and_clear_bit 77 arch/x86/kvm/lapic.c return test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); test_and_clear_bit 2822 arch/x86/kvm/x86.c if (test_and_clear_bit(KVM_REQ_MMU_RELOAD, &vcpu->requests)) test_and_clear_bit 2830 arch/x86/kvm/x86.c if (test_and_clear_bit(KVM_REQ_MIGRATE_TIMER, &vcpu->requests)) test_and_clear_bit 2832 arch/x86/kvm/x86.c if (test_and_clear_bit(KVM_REQ_TLB_FLUSH, &vcpu->requests)) test_and_clear_bit 2834 arch/x86/kvm/x86.c if (test_and_clear_bit(KVM_REQ_REPORT_TPR_ACCESS, test_and_clear_bit 2840 arch/x86/kvm/x86.c if (test_and_clear_bit(KVM_REQ_TRIPLE_FAULT, &vcpu->requests)) { test_and_clear_bit 1045 arch/x86/mach-voyager/voyager_smp.c if (test_and_clear_bit(VIC_TIMER_CPI, &vic_cpi_mailbox[cpu])) test_and_clear_bit 1047 arch/x86/mach-voyager/voyager_smp.c if (test_and_clear_bit(VIC_INVALIDATE_CPI, &vic_cpi_mailbox[cpu])) test_and_clear_bit 1049 arch/x86/mach-voyager/voyager_smp.c if (test_and_clear_bit(VIC_RESCHEDULE_CPI, &vic_cpi_mailbox[cpu])) test_and_clear_bit 1051 arch/x86/mach-voyager/voyager_smp.c if (test_and_clear_bit(VIC_ENABLE_IRQ_CPI, &vic_cpi_mailbox[cpu])) test_and_clear_bit 1053 arch/x86/mach-voyager/voyager_smp.c if (test_and_clear_bit(VIC_CALL_FUNCTION_CPI, &vic_cpi_mailbox[cpu])) test_and_clear_bit 1055 arch/x86/mach-voyager/voyager_smp.c if (test_and_clear_bit(VIC_CALL_FUNCTION_SINGLE_CPI, &vic_cpi_mailbox[cpu])) test_and_clear_bit 295 arch/x86/mm/pgtable.c ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, test_and_clear_bit 90 fs/afs/callback.c if (test_and_clear_bit(AFS_VNODE_ZAP_DATA, &vnode->flags)) test_and_clear_bit 242 fs/afs/flock.c if (!test_and_clear_bit(AFS_VNODE_READLOCKED, &vnode->flags) && test_and_clear_bit 243 fs/afs/flock.c !test_and_clear_bit(AFS_VNODE_WRITELOCKED, &vnode->flags)) test_and_clear_bit 276 fs/afs/inode.c if (test_and_clear_bit(AFS_VNODE_ZAP_DATA, &vnode->flags)) test_and_clear_bit 127 fs/dlm/ast.c if (test_and_clear_bit(WAKE_ASTS, &astd_wakeflags)) test_and_clear_bit 179 fs/dlm/lockspace.c test_and_clear_bit(LSFL_UEVENT_WAIT, &ls->ls_flags)); test_and_clear_bit 391 fs/dlm/lowcomms.c if (test_and_clear_bit(CF_CONNECT_PENDING, &con->flags)) { test_and_clear_bit 1367 fs/dlm/lowcomms.c if (test_and_clear_bit(CF_CONNECT_PENDING, &con->flags)) { test_and_clear_bit 294 fs/dlm/member.c new = test_and_clear_bit(LSFL_RUNNING, &ls->ls_flags); test_and_clear_bit 281 fs/dlm/recoverd.c if (test_and_clear_bit(LSFL_WORK, &ls->ls_flags)) test_and_clear_bit 315 fs/dquot.c if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) test_and_clear_bit 467 fs/gfs2/glock.c if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) test_and_clear_bit 622 fs/gfs2/glock.c if (test_and_clear_bit(GLF_REPLY_PENDING, &gl->gl_flags)) test_and_clear_bit 625 fs/gfs2/glock.c if (test_and_clear_bit(GLF_PENDING_DEMOTE, &gl->gl_flags) && test_and_clear_bit 110 fs/gfs2/glops.c if (test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) { test_and_clear_bit 96 fs/gfs2/locking/dlm/lock.c if (test_and_clear_bit(LFL_DLM_UNLOCK, &lp->flags)) { test_and_clear_bit 109 fs/gfs2/locking/dlm/lock.c if (test_and_clear_bit(LFL_UNLOCK_DELETE, &lp->flags)) { test_and_clear_bit 131 fs/gfs2/locking/dlm/lock.c if (test_and_clear_bit(LFL_CANCEL, &lp->flags)) { test_and_clear_bit 166 fs/gfs2/locking/dlm/lock.c if (test_and_clear_bit(LFL_SYNC_LVB, &lp->flags)) { test_and_clear_bit 177 fs/gfs2/locking/dlm/lock.c if (test_and_clear_bit(LFL_REREQUEST, &lp->flags)) { test_and_clear_bit 923 fs/gfs2/quota.c if (!test_and_clear_bit(GIF_QD_LOCKED, &ip->i_flags)) test_and_clear_bit 262 fs/hfs/mdb.c if (test_and_clear_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags)) { test_and_clear_bit 279 fs/hfs/mdb.c if (test_and_clear_bit(HFS_FLG_ALT_MDB_DIRTY, &HFS_SB(sb)->flags) && test_and_clear_bit 292 fs/hfs/mdb.c if (test_and_clear_bit(HFS_FLG_BITMAP_DIRTY, &HFS_SB(sb)->flags)) { test_and_clear_bit 159 fs/jfs/jfs_incore.h test_and_clear_bit(flag, &(JFS_IP(ip)->cflag)) test_and_clear_bit 1748 fs/nfs/dir.c if (test_and_clear_bit(NFS_INO_ACL_LRU_SET, &NFS_I(inode)->flags)) { test_and_clear_bit 216 fs/nfs/file.c have_error = test_and_clear_bit(NFS_CONTEXT_ERROR_WRITE, &ctx->flags); test_and_clear_bit 961 fs/nfs/nfs4proc.c if (!test_and_clear_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state)) test_and_clear_bit 1258 fs/nfs/nfs4proc.c clear_rd |= test_and_clear_bit(NFS_O_RDONLY_STATE, &state->flags); test_and_clear_bit 1259 fs/nfs/nfs4proc.c clear_rdwr |= test_and_clear_bit(NFS_O_RDWR_STATE, &state->flags); test_and_clear_bit 1262 fs/nfs/nfs4proc.c clear_wr |= test_and_clear_bit(NFS_O_WRONLY_STATE, &state->flags); test_and_clear_bit 1263 fs/nfs/nfs4proc.c clear_rdwr |= test_and_clear_bit(NFS_O_RDWR_STATE, &state->flags); test_and_clear_bit 423 fs/nfs/write.c if (test_and_clear_bit(PG_CLEAN, &(req)->wb_flags)) { test_and_clear_bit 440 fs/nfs/write.c if (test_and_clear_bit(PG_NEED_COMMIT, &req->wb_flags)) { test_and_clear_bit 444 fs/nfs/write.c if (test_and_clear_bit(PG_NEED_RESCHED, &req->wb_flags)) { test_and_clear_bit 206 fs/ntfs/inode.h return test_and_clear_bit(NI_##flag, &(ni)->state); \ test_and_clear_bit 173 fs/ocfs2/cluster/quorum.c if (test_and_clear_bit(node, qs->qs_hold_bm)) { test_and_clear_bit 2966 fs/reiserfs/journal.c if (test_and_clear_bit(J_WRITERS_QUEUED, &journal->j_state)) test_and_clear_bit 1671 fs/xfs/linux-2.6/xfs_buf.c force = test_and_clear_bit(XBT_FORCE_FLUSH, &target->bt_flags); test_and_clear_bit 50 include/asm-cris/bitops.h #define clear_bit(nr, addr) (void)test_and_clear_bit(nr, addr) test_and_clear_bit 159 include/asm-cris/bitops.h #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a) test_and_clear_bit 141 include/asm-frv/bitops.h test_and_clear_bit(nr, addr); test_and_clear_bit 393 include/asm-frv/bitops.h #define ext2_clear_bit_atomic(lock,nr,addr) test_and_clear_bit((nr) ^ 0x18, (addr)) test_and_clear_bit 395 include/asm-frv/pgtable.h int i = test_and_clear_bit(_PAGE_BIT_ACCESSED, ptep); test_and_clear_bit 17 include/asm-generic/bitops/le.h #define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit(nr, addr) test_and_clear_bit 38 include/asm-generic/bitops/le.h test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) test_and_clear_bit 265 include/asm-m32r/pgtable.h return test_and_clear_bit(_PAGE_BIT_ACCESSED, ptep); test_and_clear_bit 77 include/asm-m68k/bitops.h #define __test_and_clear_bit(nr,vaddr) test_and_clear_bit(nr,vaddr) test_and_clear_bit 362 include/asm-m68k/bitops.h #define ext2_clear_bit_atomic(lock, nr, addr) test_and_clear_bit((nr) ^ 24, (unsigned long *)(addr)) test_and_clear_bit 223 include/asm-mn10300/bitops.h test_and_clear_bit((nr) ^ 0x18, (addr)) test_and_clear_bit 349 include/asm-mn10300/pgtable.h return test_and_clear_bit(_PAGE_BIT_DIRTY, &ptep->pte); test_and_clear_bit 358 include/asm-mn10300/pgtable.h return test_and_clear_bit(_PAGE_BIT_ACCESSED, &ptep->pte); test_and_clear_bit 233 include/asm-parisc/bitops.h test_and_clear_bit( (nr) ^ LE_BYTE_ADDR, (unsigned long *)addr) test_and_clear_bit 426 include/asm-parisc/pgtable.h return test_and_clear_bit(xlate_pabit(_PAGE_ACCESSED_BIT), &pte_val(*ptep)); test_and_clear_bit 446 include/asm-x86/bitops.h test_and_clear_bit((nr), (unsigned long *)(addr)) test_and_clear_bit 104 include/asm-xtensa/bitops.h test_and_clear_bit((nr), (unsigned long*)(addr)) test_and_clear_bit 109 include/asm-xtensa/bitops.h test_and_clear_bit((nr) ^ 0x18, (unsigned long*)(addr)) test_and_clear_bit 106 include/linux/buffer_head.h return test_and_clear_bit(BH_##bit, &(bh)->b_state); \ test_and_clear_bit 1058 include/linux/netdevice.h if (test_and_clear_bit(__QUEUE_STATE_XOFF, &dev_queue->state)) test_and_clear_bit 1214 include/linux/netdevice.h if (test_and_clear_bit(__QUEUE_STATE_XOFF, &txq->state)) test_and_clear_bit 1345 include/linux/netdevice.h if (test_and_clear_bit(__LINK_STATE_DORMANT, &dev->state)) test_and_clear_bit 148 include/linux/page-flags.h { return test_and_clear_bit(PG_##lname, &page->flags); } test_and_clear_bit 286 include/linux/sunrpc/xprt.h return test_and_clear_bit(XPRT_CONNECTED, &xprt->state); test_and_clear_bit 73 include/linux/thread_info.h return test_and_clear_bit(flag, (unsigned long *)&ti->flags); test_and_clear_bit 268 include/net/bluetooth/rfcomm.h if (test_and_clear_bit(RFCOMM_RX_THROTTLED, &d->flags)) test_and_clear_bit 98 include/net/irda/irmod.h #define irda_unlock(lock) (test_and_clear_bit(0, (void *) (lock))) test_and_clear_bit 384 kernel/softirq.c if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) test_and_clear_bit 419 kernel/softirq.c if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) test_and_clear_bit 106 kernel/time/clocksource.c resumed = test_and_clear_bit(0, &watchdog_resumed); test_and_clear_bit 710 kernel/time/tick-sched.c if (!test_and_clear_bit(0, &ts->check_clocks)) test_and_clear_bit 241 mm/bootmem.c if (!test_and_clear_bit(idx, bdata->node_bootmem_map)) test_and_clear_bit 300 mm/filemap.c if (test_and_clear_bit(AS_ENOSPC, &mapping->flags)) test_and_clear_bit 302 mm/filemap.c if (test_and_clear_bit(AS_EIO, &mapping->flags)) test_and_clear_bit 568 mm/filemap.c if (!test_and_clear_bit(PG_locked, &page->flags)) test_and_clear_bit 2415 mm/mmap.c if (!test_and_clear_bit(AS_MM_ALL_LOCKS, test_and_clear_bit 638 net/9p/trans_fd.c if (test_and_clear_bit(Wpending, &m->wsched)) test_and_clear_bit 818 net/9p/trans_fd.c if (test_and_clear_bit(Rpending, &m->wsched)) test_and_clear_bit 902 net/9p/trans_fd.c if (test_and_clear_bit(Wpending, &m->wsched)) test_and_clear_bit 546 net/bluetooth/hci_core.c if (!test_and_clear_bit(HCI_UP, &hdev->flags)) { test_and_clear_bit 1458 net/bluetooth/hci_event.c if (!test_and_clear_bit(HCI_CONN_MODE_CHANGE_PEND, &conn->pend)) { test_and_clear_bit 1666 net/bluetooth/rfcomm/core.c if (test_and_clear_bit(RFCOMM_MSC_PENDING, &d->flags)) test_and_clear_bit 1720 net/bluetooth/rfcomm/core.c if (test_and_clear_bit(RFCOMM_AUTH_ACCEPT, &d->flags)) { test_and_clear_bit 1732 net/bluetooth/rfcomm/core.c } else if (test_and_clear_bit(RFCOMM_AUTH_REJECT, &d->flags)) { test_and_clear_bit 1978 net/bluetooth/rfcomm/core.c if (!test_and_clear_bit(RFCOMM_AUTH_PENDING, &d->flags)) test_and_clear_bit 2017 net/bluetooth/rfcomm/core.c if (!test_and_clear_bit(RFCOMM_AUTH_PENDING, &d->flags)) test_and_clear_bit 1428 net/core/dev.c if (test_and_clear_bit(__LINK_STATE_PRESENT, &dev->state) && test_and_clear_bit 212 net/ipv4/netfilter/ipt_CLUSTERIP.c if (test_and_clear_bit(nodenum - 1, &c->local_nodes)) test_and_clear_bit 963 net/irda/ircomm/ircomm_tty.c if (!test_and_clear_bit(ASYNC_B_INITIALIZED, &self->flags)) test_and_clear_bit 695 net/irda/irlmp.c if (! test_and_clear_bit(0, &self->connected)) { test_and_clear_bit 761 net/irda/irlmp.c if (! test_and_clear_bit(0, &self->connected)) { test_and_clear_bit 1120 net/irda/irnet/irnet_irda.c test_open = test_and_clear_bit(0, &self->ttp_open); test_and_clear_bit 1123 net/irda/irnet/irnet_irda.c test_connect = test_and_clear_bit(0, &self->ttp_connect); test_and_clear_bit 1406 net/irda/irnet/irnet_irda.c && (test_and_clear_bit(0, &new->ttp_connect))) test_and_clear_bit 1658 net/mac80211/mlme.c if (test_and_clear_bit(IEEE80211_STA_REQ_DIRECT_PROBE, test_and_clear_bit 2262 net/mac80211/mlme.c test_and_clear_bit(IEEE80211_STA_REQ_SCAN, &ifsta->request)) { test_and_clear_bit 2268 net/mac80211/mlme.c if (test_and_clear_bit(IEEE80211_STA_REQ_AUTH, &ifsta->request)) { test_and_clear_bit 2272 net/mac80211/mlme.c } else if (!test_and_clear_bit(IEEE80211_STA_REQ_RUN, &ifsta->request)) test_and_clear_bit 116 net/phonet/pn_dev.c if (!pnd || !test_and_clear_bit(addr >> 2, pnd->addrs)) test_and_clear_bit 981 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_RCVD_ACKALL, &call->events)) { test_and_clear_bit 1021 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_RESEND_TIMER, &call->events)) test_and_clear_bit 1023 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_RESEND, &call->events)) test_and_clear_bit 1102 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_SECURED, &call->events)) { test_and_clear_bit 1139 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_ACCEPTED, &call->events)) { test_and_clear_bit 1151 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_DRAIN_RX_OOS, &call->events)) { test_and_clear_bit 1260 net/rxrpc/ar-ack.c if (test_and_clear_bit(RXRPC_CALL_ACK_FINAL, &call->events)) test_and_clear_bit 266 net/rxrpc/ar-connevent.c if (test_and_clear_bit(RXRPC_CONN_CHALLENGE, &conn->events)) { test_and_clear_bit 85 net/rxrpc/ar-skbuff.c test_and_clear_bit(RXRPC_CALL_TX_SOFT_ACK, &call->flags)) { test_and_clear_bit 272 net/sched/sch_generic.c if (test_and_clear_bit(__LINK_STATE_NOCARRIER, &dev->state)) { test_and_clear_bit 1083 net/socket.c if (!test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags)) test_and_clear_bit 696 net/sunrpc/auth_gss/auth_gss.c test_and_clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) == 0) test_and_clear_bit 118 net/sunrpc/cache.c if (test_and_clear_bit(CACHE_PENDING, &head->flags)) { test_and_clear_bit 463 net/sunrpc/cache.c if (test_and_clear_bit(CACHE_PENDING, &ch->flags)) test_and_clear_bit 442 net/sunrpc/svcsock.c if (test_and_clear_bit(XPT_CHNGBUF, &svsk->sk_xprt.xpt_flags)) test_and_clear_bit 804 net/sunrpc/svcsock.c if (test_and_clear_bit(XPT_CHNGBUF, &svsk->sk_xprt.xpt_flags)) test_and_clear_bit 290 net/sunrpc/xprtrdma/svc_rdma_transport.c if (!test_and_clear_bit(RDMAXPRT_RQ_PENDING, &xprt->sc_flags)) test_and_clear_bit 384 net/sunrpc/xprtrdma/svc_rdma_transport.c if (!test_and_clear_bit(RDMAXPRT_SQ_PENDING, &xprt->sc_flags)) test_and_clear_bit 1207 net/sunrpc/xprtsock.c if (test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags) == 0) test_and_clear_bit 1242 net/sunrpc/xprtsock.c if (test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags) == 0) test_and_clear_bit 416 security/keys/key.c if (test_and_clear_bit(KEY_FLAG_USER_CONSTRUCT, &key->flags)) test_and_clear_bit 497 security/keys/key.c if (test_and_clear_bit(KEY_FLAG_USER_CONSTRUCT, &key->flags)) test_and_clear_bit 524 sound/core/seq/seq_queue.c if (test_and_clear_bit(client, queue->clients_bitmap)) test_and_clear_bit 1031 sound/oss/msnd_pinnacle.c if (test_and_clear_bit(F_WRITEFLUSH, &dev.flags))