| /linux/fs/minix/ |
| H A D | minix.h | 117 __test_and_clear_bit((nr), (unsigned long *)(addr)) 152 __test_and_clear_bit((nr) ^ 16, (unsigned long *)(addr))
|
| /linux/fs/netfs/ |
| H A D | write_retry.c | 41 if (__test_and_clear_bit(NETFS_SREQ_NEED_RETRY, &subreq->flags)) { in netfs_retry_write_stream() 116 __test_and_clear_bit(NETFS_SREQ_BOUNDARY, &to->flags)) in netfs_retry_write_stream()
|
| /linux/include/asm-generic/bitops/ |
| H A D | le.h | 61 return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __test_and_clear_bit_le()
|
| /linux/include/linux/ |
| H A D | bitops.h | 57 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) macro 79 __check_bitop_pr(__test_and_clear_bit);
|
| /linux/tools/include/linux/ |
| H A D | bitops.h | 42 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) macro
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| H A D | rx.c | 293 if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))) in mlx5e_xsk_skb_from_cqe_mpwrq_linear() 327 if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))) in mlx5e_xsk_skb_from_cqe_linear()
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | pic.c | 86 if (__test_and_clear_bit(src, ppc_lost_interrupts)) in pmac_mask_and_ack_irq() 107 if (__test_and_clear_bit(src, ppc_lost_interrupts)) in pmac_ack_irq()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | ccm.c | 40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag()
|
| /linux/fs/nfs/ |
| H A D | nfs4client.c | 284 if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) { in nfs4_destroy_callback() 295 if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state)) in nfs4_shutdown_client() 299 if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state)) in nfs4_shutdown_client()
|
| /linux/drivers/usb/serial/ |
| H A D | ir-usb.c | 274 if (__test_and_clear_bit(0, &port->write_urbs_free)) { in ir_write()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_sw_fence.c | 308 if (!__test_and_clear_bit(I915_SW_FENCE_CHECKED_BIT, &fence->flags)) in __i915_sw_fence_clear_checked_bit()
|
| /linux/arch/x86/kernel/ |
| H A D | kgdb.c | 516 if (__test_and_clear_bit(cpu, was_in_debug_nmi)) in kgdb_nmi_handler()
|
| H A D | kvm.c | 360 if (__test_and_clear_bit(KVM_PV_EOI_BIT, this_cpu_ptr(&kvm_apic_eoi))) in kvm_guest_apic_eoi_write()
|
| /linux/net/rxrpc/ |
| H A D | conn_event.c | 239 if (call && __test_and_clear_bit(RXRPC_CALL_CONN_CHALLENGING, &call->flags)) in rxrpc_call_is_secure()
|
| H A D | input.c | 288 if (__test_and_clear_bit(ix, &tq->segment_lost)) in rxrpc_rotate_tx_window() 290 if (__test_and_clear_bit(ix, &tq->segment_retransmitted)) in rxrpc_rotate_tx_window()
|
| H A D | output.c | 575 if (__test_and_clear_bit(ix, &tq->segment_lost)) in rxrpc_prepare_data_packet()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rx.c | 1807 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, in mlx5e_skb_from_cqe_nonlinear() 1892 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) in mlx5e_handle_rx_cqe() 1940 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) in mlx5e_handle_rx_cqe_rep() 2124 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) { in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2246 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) in mlx5e_skb_from_cqe_mpwrq_linear()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.h | 315 __test_and_clear_bit(__IDPF_Q_##f, (q)->flags)
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 3655 if (__test_and_clear_bit(MPTCP_CLEAN_UNA, &msk->cb_flags)) in mptcp_release_cb() 3662 if (__test_and_clear_bit(MPTCP_SYNC_STATE, &msk->cb_flags) && msk->first) in mptcp_release_cb() 3664 if (__test_and_clear_bit(MPTCP_ERROR_REPORT, &msk->cb_flags)) in mptcp_release_cb() 3666 if (__test_and_clear_bit(MPTCP_SYNC_SNDBUF, &msk->cb_flags)) in mptcp_release_cb()
|
| /linux/tools/testing/vma/ |
| H A D | vma_internal.h | 404 #define test_and_clear_bit(nr, addr) __test_and_clear_bit(nr, addr)
|
| /linux/drivers/block/ |
| H A D | nbd.c | 1011 complete = __test_and_clear_bit(NBD_CMD_INFLIGHT, in recv_work() 1039 if (!__test_and_clear_bit(NBD_CMD_INFLIGHT, &cmd->flags)) { in nbd_clear_req()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | tx.c | 65 if (__test_and_clear_bit(id, wl->tx_frames_map)) { in wl1271_free_tx_id()
|
| /linux/arch/arm64/kvm/ |
| H A D | nested.c | 1876 if (unlikely(__test_and_clear_bit(__ffs(HCR_VSE), hcr))) in kvm_nested_sync_hwstate()
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 3307 if (__test_and_clear_bit(GLOBAL_STATUS_BUFFER_OVF_BIT, (unsigned long *)&status)) { in handle_pmi_common() 3337 if (__test_and_clear_bit(GLOBAL_STATUS_ARCH_PEBS_THRESHOLD_BIT, in handle_pmi_common() 3350 if (__test_and_clear_bit(GLOBAL_STATUS_TRACE_TOPAPMI_BIT, (unsigned long *)&status)) { in handle_pmi_common() 3359 if (__test_and_clear_bit(GLOBAL_STATUS_PERF_METRICS_OVF_BIT, (unsigned long *)&status)) { in handle_pmi_common()
|
| /linux/mm/kasan/ |
| H A D | kasan_test_c.c | 1749 KUNIT_EXPECT_KASAN_FAIL(test, __test_and_clear_bit(nr, addr)); in kasan_bitops_test_and_modify()
|