Home
last modified time | relevance | path

Searched refs:__test_and_clear_bit (Results 1 – 25 of 32) sorted by relevance

12

/linux/fs/minix/
H A Dminix.h117 __test_and_clear_bit((nr), (unsigned long *)(addr))
152 __test_and_clear_bit((nr) ^ 16, (unsigned long *)(addr))
/linux/fs/netfs/
H A Dwrite_retry.c41 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 Dle.h61 return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __test_and_clear_bit_le()
/linux/include/linux/
H A Dbitops.h57 #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 Dbitops.h42 #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 Drx.c293 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 Dpic.c86 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 Dccm.c40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag()
/linux/fs/nfs/
H A Dnfs4client.c284 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 Dir-usb.c274 if (__test_and_clear_bit(0, &port->write_urbs_free)) { in ir_write()
/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence.c308 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 Dkgdb.c516 if (__test_and_clear_bit(cpu, was_in_debug_nmi)) in kgdb_nmi_handler()
H A Dkvm.c360 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 Dconn_event.c239 if (call && __test_and_clear_bit(RXRPC_CALL_CONN_CHALLENGING, &call->flags)) in rxrpc_call_is_secure()
H A Dinput.c288 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 Doutput.c575 if (__test_and_clear_bit(ix, &tq->segment_lost)) in rxrpc_prepare_data_packet()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1807 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 Didpf_txrx.h315 __test_and_clear_bit(__IDPF_Q_##f, (q)->flags)
/linux/net/mptcp/
H A Dprotocol.c3655 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 Dvma_internal.h404 #define test_and_clear_bit(nr, addr) __test_and_clear_bit(nr, addr)
/linux/drivers/block/
H A Dnbd.c1011 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 Dtx.c65 if (__test_and_clear_bit(id, wl->tx_frames_map)) { in wl1271_free_tx_id()
/linux/arch/arm64/kvm/
H A Dnested.c1876 if (unlikely(__test_and_clear_bit(__ffs(HCR_VSE), hcr))) in kvm_nested_sync_hwstate()
/linux/arch/x86/events/intel/
H A Dcore.c3307 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 Dkasan_test_c.c1749 KUNIT_EXPECT_KASAN_FAIL(test, __test_and_clear_bit(nr, addr)); in kasan_bitops_test_and_modify()

12