Home
last modified time | relevance | path

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

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