Home
last modified time | relevance | path

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

12

/linux-6.6.21/net/ethtool/
Dfec.c56 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
58 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
60 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
62 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
/linux-6.6.21/fs/minix/
Dminix.h114 __test_and_clear_bit((nr), (unsigned long *)(addr))
149 __test_and_clear_bit((nr) ^ 16, (unsigned long *)(addr))
/linux-6.6.21/include/asm-generic/bitops/
Dle.h61 return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __test_and_clear_bit_le()
/linux-6.6.21/net/rfkill/
Dinput.c124 if (__test_and_clear_bit(i, rfkill_sw_pending)) { in rfkill_op_handler()
125 c = __test_and_clear_bit(i, rfkill_sw_state); in rfkill_op_handler()
/linux-6.6.21/include/linux/
Dbitops.h59 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) macro
80 __check_bitop_pr(__test_and_clear_bit);
/linux-6.6.21/drivers/net/ipa/
Dipa_power.c266 if (!__test_and_clear_bit(IPA_POWER_FLAG_STARTED, power->flags)) { in ipa_power_modem_queue_stop()
286 if (__test_and_clear_bit(IPA_POWER_FLAG_STOPPED, power->flags)) { in ipa_power_modem_queue_wake()
/linux-6.6.21/tools/include/linux/
Dbitops.h40 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) macro
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
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-6.6.21/drivers/infiniband/hw/qib/
Dqib_tx.c104 if (__test_and_clear_bit(i, dd->pio_need_disarm)) in qib_disarm_piobufs_ifneeded()
366 if (__test_and_clear_bit(n, dd->pio_need_disarm)) in qib_sendbuf_done()
/linux-6.6.21/arch/powerpc/platforms/powermac/
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-6.6.21/arch/s390/mm/
Dpage-states.c195 if (__test_and_clear_bit(PG_arch_1, &page->flags)) in cmma_init_nodat()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dccm.c40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag()
/linux-6.6.21/drivers/uio/
Duio_pdrv_genirq.c92 if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags)) in uio_pdrv_genirq_irqcontrol()
Duio_dmem_genirq.c141 if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags)) in uio_dmem_genirq_irqcontrol()
/linux-6.6.21/tools/testing/selftests/kvm/
Ddirty_log_test.c57 __test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, addr)
63 # define __test_and_clear_bit_le __test_and_clear_bit
/linux-6.6.21/fs/nfs/
Dnfs4client.c281 if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) in nfs4_destroy_callback()
287 if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state)) in nfs4_shutdown_client()
291 if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state)) in nfs4_shutdown_client()
/linux-6.6.21/drivers/soc/fsl/qe/
Dgpio.c94 if (__test_and_clear_bit(i, mask)) { in qe_gpio_set_multiple()
/linux-6.6.21/drivers/usb/serial/
Dir-usb.c275 if (__test_and_clear_bit(0, &port->write_urbs_free)) { in ir_write()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c177 if (__test_and_clear_bit(j, picker[i].element)) in mlxsw_afk_picker_subtract_hits()
/linux-6.6.21/arch/x86/events/zhaoxin/
Dcore.c381 if (__test_and_clear_bit(63, (unsigned long *)&status)) { in zhaoxin_pmu_handle_irq()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_sw_fence.c308 if (!__test_and_clear_bit(I915_SW_FENCE_CHECKED_BIT, &fence->flags)) in __i915_sw_fence_clear_checked_bit()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_cmdq.c57 used = __test_and_clear_bit(comp_wait->ctx_id, cmdq->comp_wait_bitmap); in put_comp_wait()
/linux-6.6.21/arch/x86/kernel/
Dkgdb.c516 if (__test_and_clear_bit(cpu, was_in_debug_nmi)) in kgdb_nmi_handler()
/linux-6.6.21/drivers/input/
Dff-memless.c361 if (__test_and_clear_bit(FF_EFFECT_ABORTING, &state->flags)) { in ml_get_combo_effect()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1772 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) { in mlx5e_skb_from_cqe_nonlinear()
1846 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) in mlx5e_handle_rx_cqe()
1893 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) in mlx5e_handle_rx_cqe_rep()
2072 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) { in mlx5e_skb_from_cqe_mpwrq_nonlinear()
2175 if (__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags)) in mlx5e_skb_from_cqe_mpwrq_linear()

12