Home
last modified time | relevance | path

Searched refs:test_and_set_bit_lock (Results 1 – 25 of 42) 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/fs/netfs/
H A Dlocking.c223 if (test_and_set_bit_lock(NETFS_ICTX_WB_LOCK, &ictx->flags)) { in netfs_wb_begin_wait()
261 if (!test_and_set_bit_lock(NETFS_ICTX_WB_LOCK, &ictx->flags)) in netfs_wb_begin()
/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/net/tipc/
H A Dbearer.c363 test_and_set_bit_lock(0, &b->up); in tipc_enable_bearer()
702 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
711 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 Dvolume.c440 if (!test_and_set_bit_lock(AFS_VOLUME_UPDATING, &volume->flags)) { in afs_check_volume_status()
H A Dserver.c604 if (!test_and_set_bit_lock(AFS_SERVER_FL_UPDATING, &server->flags)) { in afs_check_server_record()
/linux/io_uring/
H A Dfutex.c87 if (test_bit(0, &ifd->owned) || test_and_set_bit_lock(0, &ifd->owned)) in io_futexv_claim()
/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()
/linux/include/linux/
H A Dbuffer_head.h487 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()
H A Dpagemap.h1183 return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0))); in folio_trylock()
/linux/drivers/rtc/
H A Ddev.c28 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_dev_open()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c511 if (test_and_set_bit_lock(QEDE_FLAGS_PTP_TX_IN_PRORGESS, in qede_ptp_tx_ts()
/linux/drivers/usb/serial/
H A Dgeneric.c160 if (test_and_set_bit_lock(USB_SERIAL_WRITE_BUSY, &port->flags)) in usb_serial_generic_write_start()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dyaps_hw.c138 if (test_and_set_bit_lock(0, &yaps->aux_data->access_lock)) in mm81x_yaps_hw_lock()
/linux/drivers/md/
H A Dmd-cluster.c728 rv = test_and_set_bit_lock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, in lock_comm()
1081 ret = test_and_set_bit_lock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, in metadata_update_start()
/linux/lib/
H A Dsbitmap.c181 if (!test_and_set_bit_lock(nr, word)) in __sbitmap_get_word()
/linux/net/rds/
H A Dtcp.c181 !test_and_set_bit_lock(RDS_IN_XMIT, &cp->cp_flags)); in rds_tcp_reset_callbacks()
H A Dconnection.c436 !test_and_set_bit_lock(RDS_IN_XMIT, &cp->cp_flags)); in rds_conn_shutdown()
H A Dsend.c106 return test_and_set_bit_lock(RDS_IN_XMIT, &cp->cp_flags) == 0; in acquire_in_xmit()
/linux/drivers/hid/
H A Dhid-multitouch.c1331 if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags)) in mt_touch_report()
2110 if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags)) in mt_expired_timeout()

12