Searched refs:down_write_trylock (Results 1 – 25 of 26) sorted by relevance
12
49 if (!down_write_trylock(&mrp->mr_lock)) in mrtryupdate()
238 if (!down_write_trylock(&VFS_I(ip)->i_rwsem)) in xfs_ilock_nowait()246 if (!down_write_trylock(&VFS_I(ip)->i_mapping->invalidate_lock)) in xfs_ilock_nowait()
1473 if (!down_write_trylock(&log->l_incompat_users)) in xlog_clear_incompat()
187 rc = down_write_trylock(&wil->mem_lock); in wil_suspend_keep_radio_on()306 rc = down_write_trylock(&wil->mem_lock); in wil_suspend_radio_off()
97 ret = down_write_trylock(&mm->mmap_lock) != 0; in mmap_write_trylock()
192 extern int down_write_trylock(struct rw_semaphore *sem);
471 return down_write_trylock(&mapping->i_mmap_rwsem); in i_mmap_trylock_write()776 return down_write_trylock(&inode->i_rwsem); in inode_trylock()
162 if (down_write_trylock(&EXT4_I(inode)->xattr_sem) == 0) in ext4_write_trylock_xattr()
164 if (down_write_trylock(&eb->lock)) { in btrfs_try_tree_write_lock()
150 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \
1588 int down_write_trylock(struct rw_semaphore *sem) in down_write_trylock() function1597 EXPORT_SYMBOL(down_write_trylock);
199 if (down_write_trylock(&bs->bs_kgts_sema)) { in gru_free_kernel_contexts()
762 return down_write_trylock(&bs->bs_kgts_sema); in is_gts_stealable()
828 if (WARN_ON_ONCE(!down_write_trylock(&EXT2_I(inode)->xattr_sem))) in ext2_xattr_delete_inode()
1094 if (down_write_trylock(&wnd->rw_lock)) { in run_unpack_ex()
1520 if (down_write_trylock(&pcc_ss_data->pcc_lock)) {/* BEGIN Phase-II */ in cppc_set_perf()
233 if (down_write_trylock(&mdsc->snap_rwsem)) { in ceph_put_snap_realm()
390 if (down_write_trylock(&le->mutex)) in leb_write_trylock()
594 if (!down_write_trylock(&b->lock)) in mca_reap()933 BUG_ON(!down_write_trylock(&b->lock)); in mca_alloc()
1189 mlog_bug_on_msg(!down_write_trylock(&oi->ip_alloc_sem), in ocfs2_clear_inode()
2194 ret = down_write_trylock(&OCFS2_I(inode)->ip_alloc_sem); in ocfs2_inode_lock_for_extent_tree()
2029 if (down_write_trylock(&esw->mode_lock) == 0) in mlx5_esw_try_lock()
2445 if (!down_write_trylock(&cur_mem->memory_lock)) { in vfio_pci_dev_set_hot_reset()
2210 return down_write_trylock(&sem->internal_rwsem); in f2fs_down_write_trylock()
313 while (!down_write_trylock(sem)) in cifs_down_write()