test_and_set_bit 138 arch/x86/kernel/cpu/perfctr-watchdog.c if (!test_and_set_bit(counter, perfctr_nmi_owner)) test_and_set_bit 166 arch/x86/kernel/cpu/perfctr-watchdog.c if (!test_and_set_bit(counter, evntsel_nmi_owner)) test_and_set_bit 1193 arch/x86/kernel/io_apic_32.c if (test_and_set_bit(vector, used_vectors)) test_and_set_bit 72 arch/x86/kvm/lapic.c return test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); test_and_set_bit 37 block/blk.h return test_and_set_bit(REQ_ATOM_COMPLETE, &rq->atomic_flags); test_and_set_bit 132 crypto/chainiv.c test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) test_and_set_bit 153 crypto/chainiv.c if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) test_and_set_bit 193 crypto/chainiv.c if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) test_and_set_bit 213 crypto/chainiv.c if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) test_and_set_bit 143 fs/afs/flock.c if (test_and_set_bit(AFS_VNODE_LOCKING, &vnode->flags)) test_and_set_bit 177 fs/afs/flock.c if (test_and_set_bit(AFS_VNODE_LOCKING, &vnode->flags)) test_and_set_bit 245 fs/afs/flock.c if (test_and_set_bit(AFS_VNODE_UNLOCKING, &vnode->flags)) test_and_set_bit 264 fs/dlm/lowcomms.c if (con && !test_and_set_bit(CF_READ_PENDING, &con->flags)) test_and_set_bit 272 fs/dlm/lowcomms.c if (con && !test_and_set_bit(CF_WRITE_PENDING, &con->flags)) test_and_set_bit 278 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_CONNECT_PENDING, &con->flags)) test_and_set_bit 392 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_WRITE_PENDING, &con->flags)) { test_and_set_bit 492 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_WRITE_PENDING, &new_con->flags)) { test_and_set_bit 495 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_READ_PENDING, &new_con->flags)) test_and_set_bit 630 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_READ_PENDING, &con->flags)) test_and_set_bit 754 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_READ_PENDING, &addcon->flags)) test_and_set_bit 794 fs/dlm/lowcomms.c if (test_and_set_bit(CF_INIT_PENDING, &con->flags)) test_and_set_bit 1239 fs/dlm/lowcomms.c if (!test_and_set_bit(CF_WRITE_PENDING, &con->flags)) { test_and_set_bit 305 fs/dquot.c if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) test_and_set_bit 866 fs/dquot.c return test_and_set_bit(flag, &dquot->dq_flags); test_and_set_bit 43 fs/fs-writeback.c return !test_and_set_bit(BDI_pdflush, &bdi->state); test_and_set_bit 582 fs/gfs2/glock.c if (test_and_set_bit(GLF_LOCK, &gl->gl_flags)) test_and_set_bit 888 fs/gfs2/glock.c if (test_and_set_bit(HIF_WAIT, &gh->gh_iflags)) test_and_set_bit 1006 fs/gfs2/glock.c GLOCK_BUG_ON(gl, test_and_set_bit(GLF_LOCK, &gl->gl_flags)); test_and_set_bit 568 fs/gfs2/quota.c } else if (!test_and_set_bit(QDF_CHANGE, &qd->qd_flags)) { test_and_set_bit 39 fs/gfs2/util.c if (test_and_set_bit(SDF_SHUTDOWN, &sdp->sd_flags)) test_and_set_bit 1862 fs/nfs/dir.c if (!test_and_set_bit(NFS_INO_ACL_LRU_SET, &NFS_I(inode)->flags)) { test_and_set_bit 810 fs/nfs/nfs4state.c if (test_and_set_bit(NFS4CLNT_STATE_RECOVER, &clp->cl_state) == 0) test_and_set_bit 1011 fs/nfs/write.c } else if (!test_and_set_bit(PG_NEED_COMMIT, &req->wb_flags)) { test_and_set_bit 202 fs/ntfs/inode.h return test_and_set_bit(NI_##flag, &(ni)->state); \ test_and_set_bit 161 fs/ocfs2/cluster/quorum.c if (!test_and_set_bit(node, qs->qs_hold_bm)) { test_and_set_bit 104 fs/omfs/bitmap.c if (map >= sbi->s_imap_size || test_and_set_bit(bit, sbi->s_imap[map])) test_and_set_bit 1459 fs/ubifs/lpt.c if (!test_and_set_bit(DIRTY_CNODE, &nnode->flags)) { test_and_set_bit 1510 fs/ubifs/lpt.c if (!test_and_set_bit(DIRTY_CNODE, &pnode->flags)) { test_and_set_bit 608 fs/ubifs/lpt_commit.c if (!test_and_set_bit(DIRTY_CNODE, &pnode->flags)) { test_and_set_bit 616 fs/ubifs/lpt_commit.c if (!test_and_set_bit(DIRTY_CNODE, &nnode->flags)) { test_and_set_bit 850 fs/ubifs/lpt_commit.c if (!test_and_set_bit(DIRTY_CNODE, &nnode->flags)) { test_and_set_bit 856 fs/ubifs/lpt_commit.c if (!test_and_set_bit(DIRTY_CNODE, &nnode->flags)) { test_and_set_bit 275 fs/ubifs/tnc.c if (!test_and_set_bit(DIRTY_ZNODE, &znode->flags)) { test_and_set_bit 2057 fs/xfs/xfs_mount.c while (test_and_set_bit(XFS_ICSB_FLAG_LOCK, &icsbp->icsb_flags)) { test_and_set_bit 2151 fs/xfs/xfs_mount.c if (!test_and_set_bit(field, &mp->m_icsb_counters)) { test_and_set_bit 37 include/asm-cris/bitops.h #define set_bit(nr, addr) (void)test_and_set_bit(nr, addr) test_and_set_bit 158 include/asm-cris/bitops.h #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a) test_and_set_bit 146 include/asm-frv/bitops.h test_and_set_bit(nr, addr); test_and_set_bit 392 include/asm-frv/bitops.h #define ext2_set_bit_atomic(lock,nr,addr) test_and_set_bit ((nr) ^ 0x18, (addr)) test_and_set_bit 16 include/asm-generic/bitops/le.h #define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr) test_and_set_bit 36 include/asm-generic/bitops/le.h test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) test_and_set_bit 12 include/asm-generic/bitops/lock.h #define test_and_set_bit_lock(nr, addr) test_and_set_bit(nr, addr) test_and_set_bit 24 include/asm-m32r/smp.h #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) test_and_set_bit 28 include/asm-m68k/bitops.h #define __test_and_set_bit(nr,vaddr) test_and_set_bit(nr,vaddr) test_and_set_bit 360 include/asm-m68k/bitops.h #define ext2_set_bit_atomic(lock, nr, addr) test_and_set_bit((nr) ^ 24, (unsigned long *)(addr)) test_and_set_bit 221 include/asm-mn10300/bitops.h test_and_set_bit((nr) ^ 0x18, (addr)) test_and_set_bit 231 include/asm-parisc/bitops.h test_and_set_bit((nr) ^ LE_BYTE_ADDR, (unsigned long *)addr) test_and_set_bit 201 include/asm-x86/bitops.h return test_and_set_bit(nr, addr); test_and_set_bit 444 include/asm-x86/bitops.h test_and_set_bit((nr), (unsigned long *)(addr)) test_and_set_bit 88 include/asm-x86/mpspec.h test_and_set_bit(physid, (map).mask) test_and_set_bit 102 include/asm-xtensa/bitops.h test_and_set_bit((nr), (unsigned long*)(addr)) test_and_set_bit 107 include/asm-xtensa/bitops.h test_and_set_bit((nr) ^ 0x18, (unsigned long*)(addr)) test_and_set_bit 37 include/linux/aio.h #define kiocbTryLock(iocb) test_and_set_bit(KIF_LOCKED, &(iocb)->ki_flags) test_and_set_bit 38 include/linux/aio.h #define kiocbTryKick(iocb) test_and_set_bit(KIF_KICKED, &(iocb)->ki_flags) test_and_set_bit 102 include/linux/buffer_head.h return test_and_set_bit(BH_##bit, &(bh)->b_state); \ test_and_set_bit 325 include/linux/buffer_head.h return likely(!test_and_set_bit(BH_Lock, &bh->b_state)); test_and_set_bit 174 include/linux/cpumask.h return test_and_set_bit(cpu, addr->bits); test_and_set_bit 320 include/linux/interrupt.h return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); test_and_set_bit 343 include/linux/interrupt.h if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) test_and_set_bit 351 include/linux/interrupt.h if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) test_and_set_bit 80 include/linux/mISDNhw.h test_and_set_bit(ev, &((s)->Flags)); \ test_and_set_bit 350 include/linux/mmzone.h return test_and_set_bit(flag, &zone->flags); test_and_set_bit 343 include/linux/netdevice.h !test_and_set_bit(NAPI_STATE_SCHED, &n->state); test_and_set_bit 402 include/linux/netdevice.h while (test_and_set_bit(NAPI_STATE_SCHED, &n->state)) test_and_set_bit 1333 include/linux/netdevice.h if (!test_and_set_bit(__LINK_STATE_DORMANT, &dev->state)) test_and_set_bit 99 include/linux/nfs_page.h return !test_and_set_bit(PG_BUSY, &req->wb_flags); test_and_set_bit 126 include/linux/nodemask.h return test_and_set_bit(node, addr->bits); test_and_set_bit 144 include/linux/page-flags.h { return test_and_set_bit(PG_##lname, &page->flags); } test_and_set_bit 247 include/linux/page-flags.h if (!test_and_set_bit(PG_uptodate, &page->flags)) test_and_set_bit 286 include/linux/pagemap.h return !test_and_set_bit(PG_locked, &page->flags); test_and_set_bit 147 include/linux/sunrpc/sched.h test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) test_and_set_bit 281 include/linux/sunrpc/xprt.h return test_and_set_bit(XPRT_CONNECTED, &xprt->state); test_and_set_bit 303 include/linux/sunrpc/xprt.h return test_and_set_bit(XPRT_CONNECTING, &xprt->state); test_and_set_bit 308 include/linux/sunrpc/xprt.h test_and_set_bit(XPRT_BOUND, &xprt->state); test_and_set_bit 330 include/linux/sunrpc/xprt.h return test_and_set_bit(XPRT_BINDING, &xprt->state); test_and_set_bit 68 include/linux/thread_info.h return test_and_set_bit(flag, (unsigned long *)&ti->flags); test_and_set_bit 512 include/linux/wait.h if (!test_and_set_bit(bit, word)) test_and_set_bit 262 include/net/bluetooth/rfcomm.h if (!test_and_set_bit(RFCOMM_RX_THROTTLED, &d->flags)) test_and_set_bit 97 include/net/irda/irmod.h #define irda_lock(lock) (! test_and_set_bit(0, (void *) (lock))) test_and_set_bit 93 include/net/pkt_sched.h if (!test_and_set_bit(__QDISC_STATE_RUNNING, &q->state)) test_and_set_bit 154 kernel/pid.c if (!test_and_set_bit(offset, map->page)) { test_and_set_bit 455 kernel/softirq.c while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) { test_and_set_bit 198 kernel/wait.c } while (test_and_set_bit(q->key.bit_nr, q->key.flags)); test_and_set_bit 187 kernel/workqueue.c if (!test_and_set_bit(WORK_STRUCT_PENDING, work_data_bits(work))) { test_and_set_bit 239 kernel/workqueue.c if (!test_and_set_bit(WORK_STRUCT_PENDING, work_data_bits(work))) { test_and_set_bit 483 kernel/workqueue.c if (!test_and_set_bit(WORK_STRUCT_PENDING, work_data_bits(work))) test_and_set_bit 258 mm/bootmem.c if (test_and_set_bit(idx, bdata->node_bootmem_map)) { test_and_set_bit 2315 mm/mmap.c if (test_and_set_bit(AS_MM_ALL_LOCKS, &mapping->flags)) test_and_set_bit 528 net/9p/trans_fd.c if (!test_and_set_bit(Rworksched, &m->wsched)) { test_and_set_bit 538 net/9p/trans_fd.c && !test_and_set_bit(Wworksched, &m->wsched)) { test_and_set_bit 907 net/9p/trans_fd.c if (n & POLLOUT && !test_and_set_bit(Wworksched, &m->wsched)) test_and_set_bit 100 net/bluetooth/cmtp/core.c if (!test_and_set_bit(i, &session->blockids)) { test_and_set_bit 407 net/bluetooth/hci_conn.c if (!test_and_set_bit(HCI_CONN_AUTH_PEND, &conn->pend)) { test_and_set_bit 425 net/bluetooth/hci_conn.c if (test_and_set_bit(HCI_CONN_ENCRYPT_PEND, &conn->pend)) test_and_set_bit 444 net/bluetooth/hci_conn.c if (!test_and_set_bit(HCI_CONN_AUTH_PEND, &conn->pend)) { test_and_set_bit 462 net/bluetooth/hci_conn.c if (!test_and_set_bit(HCI_CONN_RSWITCH_PEND, &conn->pend)) { test_and_set_bit 485 net/bluetooth/hci_conn.c if (!test_and_set_bit(HCI_CONN_MODE_CHANGE_PEND, &conn->pend)) { test_and_set_bit 522 net/bluetooth/hci_conn.c if (!test_and_set_bit(HCI_CONN_MODE_CHANGE_PEND, &conn->pend)) { test_and_set_bit 528 net/bluetooth/rfcomm/core.c if (!test_and_set_bit(RFCOMM_MSC_PENDING, &d->flags)) test_and_set_bit 1389 net/core/dev.c if (!test_and_set_bit(__QDISC_STATE_SCHED, &q->state)) test_and_set_bit 1443 net/core/dev.c if (!test_and_set_bit(__LINK_STATE_PRESENT, &dev->state) && test_and_set_bit 107 net/core/link_watch.c if (test_and_set_bit(LW_URGENT, &linkwatch_flags)) test_and_set_bit 218 net/core/link_watch.c if (!test_and_set_bit(__LINK_STATE_LINKWATCH_PENDING, &dev->state)) { test_and_set_bit 199 net/ipv4/netfilter/ipt_CLUSTERIP.c if (test_and_set_bit(nodenum - 1, &c->local_nodes)) test_and_set_bit 196 net/irda/ircomm/ircomm_tty.c if (test_and_set_bit(ASYNC_B_INITIALIZED, &self->flags)) { test_and_set_bit 555 net/irda/irnet/irnet_irda.c if(test_and_set_bit(0, &self->ttp_connect)) test_and_set_bit 1509 net/irda/irttp.c if(test_and_set_bit(0, &self->disconnect_pend)) { test_and_set_bit 200 net/mac80211/wme.c if (!test_and_set_bit(i, local->queue_pool)) { test_and_set_bit 740 net/netfilter/nf_conntrack_core.c if (set_reply && !test_and_set_bit(IPS_SEEN_REPLY_BIT, &ct->status)) test_and_set_bit 77 net/netfilter/nf_conntrack_proto_udp.c if (!test_and_set_bit(IPS_ASSURED_BIT, &ct->status)) test_and_set_bit 77 net/netfilter/nf_conntrack_proto_udplite.c if (!test_and_set_bit(IPS_ASSURED_BIT, &ct->status)) test_and_set_bit 712 net/netlink/af_netlink.c if (!test_and_set_bit(0, &nlk_sk(sk)->state)) { test_and_set_bit 103 net/phonet/pn_dev.c else if (test_and_set_bit(addr >> 2, pnd->addrs)) test_and_set_bit 834 net/rfkill/rfkill.c if (!test_and_set_bit(type, rfkill_states_lockdflt)) { test_and_set_bit 131 net/rxrpc/ar-accept.c if (!test_and_set_bit(RXRPC_CALL_INIT_ACCEPT, &call->flags)) { test_and_set_bit 183 net/rxrpc/ar-accept.c !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) { test_and_set_bit 373 net/rxrpc/ar-accept.c if (test_and_set_bit(RXRPC_CALL_HAS_USERID, &call->flags)) test_and_set_bit 375 net/rxrpc/ar-accept.c if (test_and_set_bit(RXRPC_CALL_ACCEPTED, &call->events)) test_and_set_bit 391 net/rxrpc/ar-accept.c !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) test_and_set_bit 430 net/rxrpc/ar-accept.c if (test_and_set_bit(RXRPC_CALL_REJECT_BUSY, &call->events)) test_and_set_bit 454 net/rxrpc/ar-accept.c !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) test_and_set_bit 115 net/rxrpc/ar-ack.c !test_and_set_bit(RXRPC_CALL_ACK, &call->events)) test_and_set_bit 848 net/rxrpc/ar-ack.c if (test_and_set_bit(RXRPC_CALL_PROC_BUSY, &call->flags)) { test_and_set_bit 1281 net/rxrpc/ar-ack.c !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) test_and_set_bit 285 net/rxrpc/ar-call.c if (!test_and_set_bit(RXRPC_CALL_ABORT, &call->events)) test_and_set_bit 429 net/rxrpc/ar-call.c if (test_and_set_bit(RXRPC_CALL_RELEASED, &call->flags)) test_and_set_bit 571 net/rxrpc/ar-call.c if (!test_and_set_bit(RXRPC_CALL_ABORT, &call->events)) test_and_set_bit 574 net/rxrpc/ar-call.c if (!test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) test_and_set_bit 801 net/rxrpc/ar-call.c !test_and_set_bit(RXRPC_CALL_RESEND_TIMER, &call->events)) test_and_set_bit 820 net/rxrpc/ar-call.c !test_and_set_bit(RXRPC_CALL_ACK, &call->events)) test_and_set_bit 135 net/rxrpc/ar-connevent.c !test_and_set_bit(RXRPC_CALL_SECURED, &call->events)) test_and_set_bit 193 net/rxrpc/ar-input.c if (test_and_set_bit(RXRPC_CALL_EXPECT_OOS, &call->flags)) { test_and_set_bit 242 net/rxrpc/ar-input.c !test_and_set_bit(RXRPC_CALL_DRAIN_RX_OOS, &call->events)) test_and_set_bit 552 net/rxrpc/ar-input.c if (!test_and_set_bit(RXRPC_CALL_ABORT, &call->events)) test_and_set_bit 441 net/rxrpc/ar-output.c !test_and_set_bit(RXRPC_CALL_RESEND_TIMER, &call->events)) test_and_set_bit 489 net/rxrpc/ar-output.c if (!test_and_set_bit(RXRPC_CALL_RUN_RTIMER, &call->flags)) { test_and_set_bit 35 net/rxrpc/ar-recvmsg.c !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) test_and_set_bit 288 net/sched/sch_generic.c if (!test_and_set_bit(__LINK_STATE_NOCARRIER, &dev->state)) test_and_set_bit 110 net/sunrpc/cache.c return !test_and_set_bit(CACHE_VALID, &head->flags); test_and_set_bit 220 net/sunrpc/cache.c if (!test_and_set_bit(CACHE_PENDING, &h->flags)) { test_and_set_bit 250 net/sunrpc/sched.c if (test_and_set_bit(RPC_TASK_ACTIVE, &task->tk_runstate) != 0) test_and_set_bit 329 net/sunrpc/svc_xprt.c if (test_and_set_bit(XPT_BUSY, &xprt->xpt_flags)) { test_and_set_bit 806 net/sunrpc/svc_xprt.c if (!test_and_set_bit(XPT_OLD, &xprt->xpt_flags)) test_and_set_bit 845 net/sunrpc/svc_xprt.c if (!test_and_set_bit(XPT_DETACHED, &xprt->xpt_flags)) test_and_set_bit 854 net/sunrpc/svc_xprt.c if (!test_and_set_bit(XPT_DEAD, &xprt->xpt_flags)) { test_and_set_bit 866 net/sunrpc/svc_xprt.c if (test_and_set_bit(XPT_BUSY, &xprt->xpt_flags)) test_and_set_bit 398 net/sunrpc/svcauth_unix.c if (test_and_set_bit(CACHE_NEGATIVE, &ipm->h.flags) == 0) test_and_set_bit 171 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) { test_and_set_bit 222 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) { test_and_set_bit 263 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) test_and_set_bit 289 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) test_and_set_bit 603 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state) == 0) test_and_set_bit 630 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state) == 0) test_and_set_bit 645 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) test_and_set_bit 893 security/keys/key.c if (!test_and_set_bit(KEY_FLAG_REVOKED, &key->flags) && test_and_set_bit 521 sound/core/seq/seq_queue.c if (!test_and_set_bit(client, queue->clients_bitmap)) test_and_set_bit 372 sound/drivers/mpu401/mpu401_uart.c if (! test_and_set_bit(MPU401_MODE_BIT_INPUT_TRIGGER, test_and_set_bit 181 sound/i2c/other/tea575x-tuner.c return test_and_set_bit(0, &tea->in_use) ? -EBUSY : 0; test_and_set_bit 417 sound/pci/bt87x.c if (test_and_set_bit(0, &chip->opened)) test_and_set_bit 784 sound/usb/usbaudio.c if (!test_and_set_bit(i, &subs->unlink_mask)) { test_and_set_bit 796 sound/usb/usbaudio.c if (!test_and_set_bit(i+16, &subs->unlink_mask)) { test_and_set_bit 1589 sound/usb/usbmixer.c if (test_and_set_bit(unitid, state->unitbitmap)) test_and_set_bit 1805 sound/usb/usbmixer.c if (test_and_set_bit(0, &mixer->rc_hwdep_open)) test_and_set_bit 118 virt/kvm/kvm_main.c if (test_and_set_bit(KVM_REQ_TLB_FLUSH, &vcpu->requests)) test_and_set_bit 144 virt/kvm/kvm_main.c if (test_and_set_bit(KVM_REQ_MMU_RELOAD, &vcpu->requests))