Home
last modified time | relevance | path

Searched refs:test_and_set_bit_lock (Results 1 – 33 of 33) sorted by relevance

/linux-4.4.14/include/linux/
Dbit_spinlock.h26 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_lock()
44 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_trylock()
Dbuffer_head.h349 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()
Dpagemap.h448 return (likely(!test_and_set_bit_lock(PG_locked, &page->flags))); in trylock_page()
/linux-4.4.14/include/asm-generic/bitops/
Dlock.h12 #define test_and_set_bit_lock(nr, addr) test_and_set_bit(nr, addr) macro
/linux-4.4.14/drivers/oprofile/
Devent_buffer.c119 if (test_and_set_bit_lock(0, &buffer_opened)) in event_buffer_open()
/linux-4.4.14/arch/x86/include/asm/
Dbitops.h217 test_and_set_bit_lock(long nr, volatile unsigned long *addr) in test_and_set_bit_lock() function
/linux-4.4.14/arch/powerpc/include/asm/
Dbitops.h138 static __inline__ int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
Dkvm_book3s_64.h373 } while (test_and_set_bit_lock(KVMPPC_RMAP_LOCK_BIT, rmap)); in lock_rmap()
/linux-4.4.14/arch/alpha/include/asm/
Dbitops.h159 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() function
/linux-4.4.14/arch/s390/include/asm/
Dbitops.h273 static inline int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
/linux-4.4.14/arch/ia64/include/asm/
Dbitops.h223 #define test_and_set_bit_lock test_and_set_bit macro
/linux-4.4.14/block/
Dblk-tag.c367 } while (test_and_set_bit_lock(tag, bqt->tag_map)); in blk_queue_start_tag()
/linux-4.4.14/arch/mips/include/asm/
Dbitops.h284 static inline int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
/linux-4.4.14/drivers/rtc/
Drtc-dev.c32 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_dev_open()
Dinterface.c619 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_irq_register()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c397 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_scoalesce()
496 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_sringparam()
608 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_set_features()
Dgianfar.c2606 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_change_mtu()
2626 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in reset_gfar()
/linux-4.4.14/arch/powerpc/mm/
Dhash_native_64.c180 if (!test_and_set_bit_lock(HPTE_LOCK_BIT, word)) in native_lock_hpte()
/linux-4.4.14/drivers/usb/serial/
Dgeneric.c140 if (test_and_set_bit_lock(USB_SERIAL_WRITE_BUSY, &port->flags)) in usb_serial_generic_write_start()
Dmos7840.c495 if (test_and_set_bit_lock(MOS7840_FLAG_CTRL_BUSY, &mcs->flags)) in mos7840_get_reg()
582 if (test_and_set_bit_lock(MOS7840_FLAG_LED_BUSY, &mos7840_port->flags)) in mos7840_led_activity()
/linux-4.4.14/drivers/ide/
Dide-io.c415 rc = test_and_set_bit_lock(IDE_HOST_BUSY, &host->host_busy); in ide_lock_host()
/linux-4.4.14/drivers/block/
Dnull_blk.c163 } while (test_and_set_bit_lock(tag, nq->tag_map)); in get_tag()
/linux-4.4.14/fs/jfs/
Djfs_metapage.c45 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag)
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c339 } while (test_and_set_bit_lock(tag, &hba->tm_slots_in_use)); in ufshcd_get_tm_free_slot()
1318 if (test_and_set_bit_lock(tag, &hba->lrb_in_use)) { in ufshcd_queuecommand()
1511 } while (test_and_set_bit_lock(tag, &hba->lrb_in_use)); in ufshcd_get_dev_cmd_tag()
/linux-4.4.14/mm/
Dzsmalloc.c861 return !test_and_set_bit_lock(HANDLE_PIN_BIT, ptr); in trypin_tag()
/linux-4.4.14/fs/ext4/
Dresize.c48 if (test_and_set_bit_lock(EXT4_RESIZING, &EXT4_SB(sb)->s_resize_flags)) in ext4_resize_begin()
/linux-4.4.14/Documentation/
Datomic_ops.txt516 int test_and_set_bit_lock(unsigned long nr, unsigned long *addr);
Dmemory-barriers.txt2393 test_and_set_bit_lock();
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2274 !test_and_set_bit_lock(__I40E_PTP_TX_IN_PROGRESS, &pf->state)) { in i40e_tsyn()
/linux-4.4.14/drivers/firewire/
Dohci.c3483 if (!test_and_set_bit_lock(0, &ctx->flushing_completions)) { in ohci_flush_iso_completions()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c5028 if (!test_and_set_bit_lock(__IGB_PTP_TX_IN_PROGRESS, in igb_xmit_frame_ring()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7543 !test_and_set_bit_lock(__IXGBE_PTP_TX_IN_PROGRESS, in ixgbe_xmit_frame_ring()
/linux-4.4.14/drivers/md/
Draid5.c4301 if (test_and_set_bit_lock(STRIPE_ACTIVE, &sh->state)) { in handle_stripe()