Searched refs:__test_and_clear_bit (Results 1 - 37 of 37) sorted by relevance

/linux-4.1.27/include/asm-generic/bitops/
H A Dnon-atomic.h68 * __test_and_clear_bit - Clear a bit and return its old value
76 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) __test_and_clear_bit() function
H A Dle.h94 return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); __test_and_clear_bit_le()
/linux-4.1.27/fs/minix/
H A Dminix.h112 __test_and_clear_bit((nr), (unsigned long *)(addr))
147 __test_and_clear_bit((nr) ^ 16, (unsigned long *)(addr))
/linux-4.1.27/arch/sh/include/asm/
H A Dbitops-op32.h102 * __test_and_clear_bit - Clear a bit and return its old value
110 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) __test_and_clear_bit() function
/linux-4.1.27/arch/mn10300/include/asm/
H A Dbitops.h115 #define __test_and_clear_bit(nr, addr) \ macro
131 #define test_and_clear_bit(nr, addr) __test_and_clear_bit((nr), (addr))
/linux-4.1.27/net/rfkill/
H A Dinput.c127 if (__test_and_clear_bit(i, rfkill_sw_pending)) { rfkill_op_handler()
128 c = __test_and_clear_bit(i, rfkill_sw_state); rfkill_op_handler()
/linux-4.1.27/arch/x86/kernel/
H A Dkvm.c323 * This relies on __test_and_clear_bit to modify the memory kvm_guest_apic_eoi_write()
329 if (__test_and_clear_bit(KVM_PV_EOI_BIT, this_cpu_ptr(&kvm_apic_eoi))) kvm_guest_apic_eoi_write()
/linux-4.1.27/arch/x86/include/asm/
H A Dbitops.h256 * __test_and_clear_bit - Clear a bit and return its old value
271 static inline int __test_and_clear_bit(long nr, volatile unsigned long *addr) __test_and_clear_bit() function
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dpic.c88 if (__test_and_clear_bit(src, ppc_lost_interrupts)) pmac_mask_and_ack_irq()
109 if (__test_and_clear_bit(src, ppc_lost_interrupts)) pmac_ack_irq()
/linux-4.1.27/arch/ia64/include/asm/
H A Dbitops.h271 * __test_and_clear_bit - Clear a bit and return its old value
280 __test_and_clear_bit(int nr, volatile void * addr) __test_and_clear_bit() function
/linux-4.1.27/drivers/uio/
H A Duio_pdrv_genirq.c94 if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags)) uio_pdrv_genirq_irqcontrol()
/linux-4.1.27/arch/hexagon/include/asm/
H A Dbitops.h160 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) __test_and_clear_bit() function
/linux-4.1.27/arch/alpha/include/asm/
H A Dbitops.h233 __test_and_clear_bit(unsigned long nr, volatile void * addr) __test_and_clear_bit() function
/linux-4.1.27/arch/arc/include/asm/
H A Dbitops.h196 /* __test_and_set_bit(), __test_and_clear_bit(), __test_and_change_bit() */\
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_tx.c105 if (__test_and_clear_bit(i, dd->pio_need_disarm)) { qib_disarm_piobufs_ifneeded()
373 if (__test_and_clear_bit(n, dd->pio_need_disarm)) qib_sendbuf_done()
/linux-4.1.27/drivers/gpio/
H A Dgpio-mpc8xxx.c123 if (__test_and_clear_bit(i, mask)) { mpc8xxx_gpio_set_multiple()
H A Dgpio-generic.c206 if (__test_and_clear_bit(i, mask)) { bgpio_multiple_get_masks()
H A Dgpiolib.c1303 if (__test_and_clear_bit(i, mask)) { gpio_chip_set_multiple()
/linux-4.1.27/arch/s390/include/asm/
H A Dbitops.h249 __test_and_clear_bit(unsigned long nr, volatile unsigned long *ptr) __test_and_clear_bit() function
/linux-4.1.27/arch/frv/include/asm/
H A Dbitops.h178 static inline int __test_and_clear_bit(unsigned long nr, volatile void *addr) __test_and_clear_bit() function
/linux-4.1.27/arch/m68k/include/asm/
H A Dbitops.h254 #define __test_and_clear_bit(nr, vaddr) test_and_clear_bit(nr, vaddr) macro
/linux-4.1.27/fs/nfs/
H A Dnfs4client.c214 if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) nfs4_destroy_callback()
220 if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state)) nfs4_shutdown_client()
224 if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state)) nfs4_shutdown_client()
/linux-4.1.27/drivers/input/
H A Dff-memless.c376 if (__test_and_clear_bit(FF_EFFECT_ABORTING, &state->flags)) { ml_get_combo_effect()
H A Dinput.c682 __test_and_clear_bit(code, dev->key)) { input_dev_release_keys()
918 __test_and_clear_bit(old_keycode, dev->key)) { input_set_keycode()
/linux-4.1.27/arch/tile/kernel/
H A Dperf_event.c597 if (__test_and_clear_bit(idx, cpuc->active_mask)) { tile_pmu_stop()
/linux-4.1.27/include/linux/
H A Dpage-flags.h170 { return __test_and_clear_bit(PG_##lname, &page->flags); }
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel.c1617 if (__test_and_clear_bit(63, (unsigned long *)&status)) { intel_pmu_handle_irq()
1625 if (__test_and_clear_bit(62, (unsigned long *)&status)) { intel_pmu_handle_irq()
1633 if (__test_and_clear_bit(55, (unsigned long *)&status)) { intel_pmu_handle_irq()
H A Dperf_event.c1289 if (__test_and_clear_bit(hwc->idx, cpuc->active_mask)) { x86_pmu_stop()
1384 if (__test_and_clear_bit(idx, cpuc->running)) x86_pmu_handle_irq()
H A Dperf_event_intel_uncore.c437 if (__test_and_clear_bit(hwc->idx, box->active_mask)) { uncore_pmu_event_stop()
H A Dperf_event_p4.c1014 if (__test_and_clear_bit(idx, cpuc->running)) p4_pmu_handle_irq()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dtx.c78 if (__test_and_clear_bit(id, wl->tx_frames_map)) { wl1271_free_tx_id()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dsta.c1494 if (!__test_and_clear_bit(keyconf->hw_key_idx, mvm->fw_key_table)) { iwl_mvm_remove_sta_key()
H A Dmac80211.c1351 exit_now = __test_and_clear_bit(D0I3_PENDING_WAKEUP, iwl_mvm_resume_complete()
/linux-4.1.27/arch/x86/kvm/
H A Dlapic.c113 return __test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); __apic_test_and_clear_vector()
/linux-4.1.27/drivers/mtd/nand/
H A Dnandsim.c1520 if (__test_and_clear_bit(ns->regs.row + i, erase_sector()
/linux-4.1.27/drivers/usb/host/
H A Disp1362-hcd.c956 if (__test_and_clear_bit(index, &done_map)) { finish_transfers()
/linux-4.1.27/mm/
H A Dmmap.c3250 if (!__test_and_clear_bit(0, (unsigned long *) vm_unlock_anon_vma()

Completed in 1986 milliseconds