Home
last modified time | relevance | path

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

12

/linux/Documentation/
H A Datomic_bitops.txt26 test_and_set_bit_lock()
63 Except for a successful test_and_set_bit_lock() which has ACQUIRE semantics,
/linux/include/asm-generic/bitops/
H A Dinstrumented-lock.h55 static inline bool test_and_set_bit_lock(long nr, volatile unsigned long *addr) in test_and_set_bit_lock() function
/linux/arch/mips/include/asm/
H A Dbitops.h179 static inline int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
212 return test_and_set_bit_lock(nr, addr); in test_and_set_bit()
/linux/arch/alpha/include/asm/
H A Dbitops.h160 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() function
/linux/kernel/
H A Dwatchdog.c209 if (test_and_set_bit_lock(0, &hard_lockup_nmi_warn)) in watchdog_hardlockup_check()
822 if (test_and_set_bit_lock(0, &soft_lockup_nmi_warn)) in watchdog_timer_fn()
/linux/net/tipc/
H A Dbearer.c363 test_and_set_bit_lock(0, &b->up); in tipc_enable_bearer()
701 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
710 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
/linux/fs/afs/
H A Dvl_probe.c217 if (!test_and_set_bit_lock(AFS_VLSERVER_FL_PROBING, &server->flags) && in afs_send_vl_probes()
H A Dserver.c605 if (!test_and_set_bit_lock(AFS_SERVER_FL_UPDATING, &server->flags)) { in afs_check_server_record()
/linux/io_uring/
H A Dfutex.c82 test_and_set_bit_lock(0, &iof->futexv_owned)) in io_futexv_claim()
H A Dio-wq.c403 test_and_set_bit_lock(0, &worker->create_state)) in io_queue_worker_create()
/linux/arch/m68k/include/asm/
H A Dbitops.h560 #define test_and_set_bit_lock test_and_set_bit macro
/linux/drivers/ntb/test/
H A Dntb_perf.c1054 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_set_tcnt()
1087 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_submit_test()
1121 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_read_stats()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c328 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_scoalesce()
431 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_sringparam()
522 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_set_features()
H A Dgianfar.c2006 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_change_mtu()
2026 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in reset_gfar()
/linux/drivers/soc/qcom/
H A Docmem.c226 if (test_and_set_bit_lock(BIT(client), &ocmem->active_allocations)) in ocmem_allocate()
/linux/drivers/rtc/
H A Ddev.c28 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_dev_open()
/linux/include/linux/
H A Dbuffer_head.h425 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()
H A Dpagemap.h1104 return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0))); in folio_trylock()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c493 if (test_and_set_bit_lock(QEDE_FLAGS_PTP_TX_IN_PRORGESS, in qede_ptp_tx_ts()
/linux/drivers/usb/serial/
H A Dgeneric.c161 if (test_and_set_bit_lock(USB_SERIAL_WRITE_BUSY, &port->flags)) in usb_serial_generic_write_start()
H A Dmos7840.c405 if (test_and_set_bit_lock(MOS7840_FLAG_LED_BUSY, &mos7840_port->flags)) in mos7840_led_activity()
/linux/lib/
H A Dsbitmap.c181 if (!test_and_set_bit_lock(nr, word)) in __sbitmap_get_word()
/linux/fs/jfs/
H A Djfs_metapage.c35 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag)
/linux/drivers/hid/
H A Dhid-multitouch.c1266 if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags)) in mt_touch_report()
1838 if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags)) in mt_expired_timeout()
/linux/net/rds/
H A Dsend.c106 return test_and_set_bit_lock(RDS_IN_XMIT, &cp->cp_flags) == 0; in acquire_in_xmit()

12