Symbol: __test_and_clear_bit
arch/arm64/kvm/nested.c
1981
if (unlikely(__test_and_clear_bit(__ffs(HCR_VSE), hcr)))
arch/powerpc/platforms/powermac/pic.c
107
if (__test_and_clear_bit(src, ppc_lost_interrupts))
arch/powerpc/platforms/powermac/pic.c
86
if (__test_and_clear_bit(src, ppc_lost_interrupts))
arch/x86/events/intel/core.c
3823
if (__test_and_clear_bit(GLOBAL_STATUS_BUFFER_OVF_BIT, (unsigned long *)&status)) {
arch/x86/events/intel/core.c
3853
if (__test_and_clear_bit(GLOBAL_STATUS_ARCH_PEBS_THRESHOLD_BIT,
arch/x86/events/intel/core.c
3866
if (__test_and_clear_bit(GLOBAL_STATUS_TRACE_TOPAPMI_BIT, (unsigned long *)&status)) {
arch/x86/events/intel/core.c
3875
if (__test_and_clear_bit(GLOBAL_STATUS_PERF_METRICS_OVF_BIT, (unsigned long *)&status)) {
arch/x86/events/intel/p4.c
1050
if (__test_and_clear_bit(idx, per_cpu(p4_running, smp_processor_id())))
arch/x86/events/intel/uncore.c
575
if (__test_and_clear_bit(hwc->idx, box->active_mask)) {
arch/x86/events/zhaoxin/core.c
383
if (__test_and_clear_bit(63, (unsigned long *)&status)) {
arch/x86/kernel/kgdb.c
517
if (__test_and_clear_bit(cpu, was_in_debug_nmi))
arch/x86/kernel/kvm.c
356
if (__test_and_clear_bit(KVM_PV_EOI_BIT, this_cpu_ptr(&kvm_apic_eoi)))
arch/x86/kernel/process.c
605
if (!__test_and_clear_bit(LSTATE_SSB, &st->local_state))
arch/x86/kvm/lapic.c
796
if (!__test_and_clear_bit(APIC_VECTOR_TO_BIT_NUMBER(vec),
drivers/block/nbd.c
1011
complete = __test_and_clear_bit(NBD_CMD_INFLIGHT,
drivers/block/nbd.c
1039
if (!__test_and_clear_bit(NBD_CMD_INFLIGHT, &cmd->flags)) {
drivers/gpu/drm/i915/i915_sw_fence.c
308
if (!__test_and_clear_bit(I915_SW_FENCE_CHECKED_BIT, &fence->flags))
drivers/infiniband/hw/erdma/erdma_cmdq.c
57
used = __test_and_clear_bit(comp_wait->ctx_id, cmdq->comp_wait_bitmap);
drivers/infiniband/hw/erdma/erdma_verbs.c
285
used = __test_and_clear_bit(idx, res_cb->bitmap);
drivers/infiniband/hw/hfi1/rc.c
2936
if (!__test_and_clear_bit(RVT_R_WRID_VALID, &qp->r_aflags))
drivers/input/ff-memless.c
362
if (__test_and_clear_bit(FF_EFFECT_ABORTING, &state->flags)) {
drivers/input/input.c
934
__test_and_clear_bit(old_keycode, dev->key)) {
drivers/mtd/nand/raw/nandsim.c
1474
if (__test_and_clear_bit(ns->regs.row + i,
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
429
if (__test_and_clear_bit(vid, pf->active_vlans)) {
drivers/net/ethernet/intel/idpf/idpf_txrx.h
317
__test_and_clear_bit(__IDPF_Q_##f, (q)->flags)
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c
296
if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)))
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c
330
if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)))
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
1681
if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT,
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
1762
if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
1810
if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
2022
if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) {
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
2134
if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c
181
if (__test_and_clear_bit(j, picker[i].element))
drivers/net/ethernet/netronome/nfp/ccm.c
40
WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator));
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
3971
if (!__test_and_clear_bit(keyconf->hw_key_idx, mvm->fw_key_table)) {
drivers/net/wireless/ti/wlcore/tx.c
65
if (__test_and_clear_bit(id, wl->tx_frames_map)) {
drivers/net/wwan/qcom_bam_dmux.c
564
if (!__test_and_clear_bit(hdr->ch, dmux->remote_channels)) {
drivers/s390/net/qeth_core_main.c
1400
if (__test_and_clear_bit(i, buf->from_kmem_cache) && data)
drivers/soc/fsl/qe/gpio.c
93
if (__test_and_clear_bit(i, mask)) {
drivers/ufs/core/ufshcd.c
8074
outstanding = __test_and_clear_bit(tag, &hba->outstanding_reqs);
drivers/uio/uio_dmem_genirq.c
134
if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags))
drivers/uio/uio_pdrv_genirq.c
91
if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags))
drivers/usb/serial/ir-usb.c
272
if (__test_and_clear_bit(0, &port->write_urbs_free)) {
fs/minix/minix.h
120
__test_and_clear_bit((nr), (unsigned long *)(addr))
fs/minix/minix.h
155
__test_and_clear_bit((nr) ^ 16, (unsigned long *)(addr))
fs/netfs/read_retry.c
48
if (__test_and_clear_bit(NETFS_SREQ_NEED_RETRY, &subreq->flags)) {
fs/netfs/write_retry.c
120
__test_and_clear_bit(NETFS_SREQ_BOUNDARY, &to->flags))
fs/netfs/write_retry.c
41
if (__test_and_clear_bit(NETFS_SREQ_NEED_RETRY, &subreq->flags)) {
fs/nfs/nfs4client.c
273
if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) {
fs/nfs/nfs4client.c
284
if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state))
fs/nfs/nfs4client.c
288
if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state))
fs/resctrl/rdtgroup.c
234
return __test_and_clear_bit(closid, closid_free_map);
include/asm-generic/bitops/le.h
61
return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr);
include/linux/bitops.h
79
__check_bitop_pr(__test_and_clear_bit);
kernel/time/timer.c
1818
if (__test_and_clear_bit(idx, base->pending_map)) {
lib/xarray.c
102
return __test_and_clear_bit(offset, node_marks(node, mark));
mm/huge_memory.c
605
changed |= __test_and_clear_bit(order, enabled_orders[m]);
mm/kasan/kasan_test_c.c
1758
KUNIT_EXPECT_KASAN_FAIL(test, __test_and_clear_bit(nr, addr));
mm/shmem.c
5523
changed |= __test_and_clear_bit(order, huge_mode_orders[idx]);
mm/vma.c
2292
if (!__test_and_clear_bit(0, (unsigned long *)
net/ethtool/fec.c
57
if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, link_modes))
net/ethtool/fec.c
59
if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, link_modes))
net/ethtool/fec.c
61
if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, link_modes))
net/ethtool/fec.c
63
if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, link_modes))
net/mptcp/protocol.c
3715
if (__test_and_clear_bit(MPTCP_CLEAN_UNA, &msk->cb_flags))
net/mptcp/protocol.c
3722
if (__test_and_clear_bit(MPTCP_SYNC_STATE, &msk->cb_flags) && msk->first)
net/mptcp/protocol.c
3724
if (__test_and_clear_bit(MPTCP_ERROR_REPORT, &msk->cb_flags))
net/mptcp/protocol.c
3726
if (__test_and_clear_bit(MPTCP_SYNC_SNDBUF, &msk->cb_flags))
net/rfkill/input.c
124
if (__test_and_clear_bit(i, rfkill_sw_pending)) {
net/rfkill/input.c
125
c = __test_and_clear_bit(i, rfkill_sw_state);
net/rxrpc/conn_event.c
239
if (call && __test_and_clear_bit(RXRPC_CALL_CONN_CHALLENGING, &call->flags))
net/rxrpc/input.c
292
if (__test_and_clear_bit(ix, &tq->segment_lost))
net/rxrpc/input.c
294
if (__test_and_clear_bit(ix, &tq->segment_retransmitted))
net/rxrpc/input_rack.c
27
if (__test_and_clear_bit(ix, &tq->segment_retransmitted))
net/rxrpc/input_rack.c
71
if (__test_and_clear_bit(ix, &tq->segment_lost))
net/rxrpc/output.c
575
if (__test_and_clear_bit(ix, &tq->segment_lost))
tools/testing/selftests/kvm/dirty_log_test.c
58
__test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, addr)
tools/testing/selftests/kvm/dirty_log_test.c
64
# define __test_and_clear_bit_le __test_and_clear_bit
tools/testing/vma/include/dup.h
403
#define test_and_clear_bit(nr, addr) __test_and_clear_bit(nr, addr)