Home
last modified time | relevance | path

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

/linux-3.3/include/linux/
Dbit_spinlock.h25 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_lock()
43 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_trylock()
Dpagemap.h321 return (likely(!test_and_set_bit_lock(PG_locked, &page->flags))); in trylock_page()
Dbuffer_head.h328 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()
/linux-3.3/arch/arm/kernel/
Dpmu.c27 return test_and_set_bit_lock(type, pmu_lock) ? -EBUSY : 0; in reserve_pmu()
/linux-3.3/include/asm-generic/bitops/
Dlock.h12 #define test_and_set_bit_lock(nr, addr) test_and_set_bit(nr, addr) macro
/linux-3.3/drivers/oprofile/
Devent_buffer.c119 if (test_and_set_bit_lock(0, &buffer_opened)) in event_buffer_open()
/linux-3.3/arch/x86/include/asm/
Dbitops.h213 test_and_set_bit_lock(int nr, volatile unsigned long *addr) in test_and_set_bit_lock() function
/linux-3.3/arch/powerpc/include/asm/
Dbitops.h142 static __inline__ int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
/linux-3.3/arch/alpha/include/asm/
Dbitops.h162 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() function
/linux-3.3/block/
Dblk-tag.c365 } while (test_and_set_bit_lock(tag, bqt->tag_map)); in blk_queue_start_tag()
/linux-3.3/arch/ia64/include/asm/
Dbitops.h228 #define test_and_set_bit_lock test_and_set_bit macro
/linux-3.3/arch/mips/include/asm/
Dbitops.h311 static inline int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
/linux-3.3/arch/powerpc/mm/
Dhash_native_64.c123 if (!test_and_set_bit_lock(HPTE_LOCK_BIT, word)) in native_lock_hpte()
/linux-3.3/drivers/rtc/
Drtc-dev.c30 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_dev_open()
Dinterface.c615 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_irq_register()
/linux-3.3/drivers/usb/serial/
Dgeneric.c193 if (test_and_set_bit_lock(USB_SERIAL_WRITE_BUSY, &port->flags)) in usb_serial_generic_write_start()
/linux-3.3/drivers/ide/
Dide-io.c415 rc = test_and_set_bit_lock(IDE_HOST_BUSY, &host->host_busy); in ide_lock_host()
/linux-3.3/fs/jfs/
Djfs_metapage.c45 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag)
/linux-3.3/fs/ext4/
Dresize.c36 if (test_and_set_bit_lock(EXT4_RESIZING, &EXT4_SB(sb)->s_resize_flags)) in ext4_resize_begin()
/linux-3.3/Documentation/
Datomic_ops.txt515 int test_and_set_bit_lock(unsigned long nr, unsigned long *addr);
Dmemory-barriers.txt1745 test_and_set_bit_lock();
/linux-3.3/drivers/md/
Draid5.c1389 !test_and_set_bit_lock(STRIPE_OPS_REQ_PENDING, &sh->state)); in raid_run_ops()
3303 if (test_and_set_bit_lock(STRIPE_ACTIVE, &sh->state)) { in handle_stripe()