Searched refs:flc_lock (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/fs/lockd/
H A Dsvcsubs.c174 spin_lock(&flctx->flc_lock); nlm_traverse_locks()
186 spin_unlock(&flctx->flc_lock); nlm_traverse_locks()
198 spin_unlock(&flctx->flc_lock); nlm_traverse_locks()
235 spin_lock(&flctx->flc_lock); nlm_file_inuse()
238 spin_unlock(&flctx->flc_lock); nlm_file_inuse()
242 spin_unlock(&flctx->flc_lock); nlm_file_inuse()
/linux-4.1.27/fs/
H A Dlocks.c164 * the relevant flc_lock is held.
192 * we often hold the flc_lock as well. In certain cases, when reading the fields
194 * flc_lock.
197 * both the flc_lock and the blocked_lock_lock (acquired in that order).
217 spin_lock_init(&new->flc_lock); locks_get_lock_context()
556 /* Must be called with the flc_lock held! */ locks_insert_global_locks()
565 /* Must be called with the flc_lock held! */ locks_delete_global_locks()
570 * is done while holding the flc_lock, and new insertions into the list locks_delete_global_locks()
626 * Must be called with both the flc_lock and blocked_lock_lock held. The
628 * that the flc_lock is also held on insertions we can avoid taking the
641 /* Must be called with flc_lock held. */ locks_insert_block()
653 * Must be called with the inode->flc_lock held!
659 * blocked requests are only added to the list under the flc_lock, and locks_wake_up_blocks()
660 * the flc_lock is always held here. Note that removal from the fl_block locks_wake_up_blocks()
661 * list does not require the flc_lock, so we must recheck list_empty() locks_wake_up_blocks()
771 spin_lock(&ctx->flc_lock); posix_test_lock()
782 spin_unlock(&ctx->flc_lock); posix_test_lock()
887 spin_lock(&ctx->flc_lock); flock_lock_inode()
926 spin_unlock(&ctx->flc_lock); flock_lock_inode()
962 spin_lock(&ctx->flc_lock); __posix_lock_file()
1132 spin_unlock(&ctx->flc_lock); __posix_lock_file()
1213 spin_lock(&ctx->flc_lock); locks_mandatory_locked()
1222 spin_unlock(&ctx->flc_lock); locks_mandatory_locked()
1340 lockdep_assert_held(&ctx->flc_lock); time_out_leases()
1366 lockdep_assert_held(&ctx->flc_lock); any_leases_conflict()
1408 spin_lock(&ctx->flc_lock); __break_lease()
1458 spin_unlock(&ctx->flc_lock); __break_lease()
1462 spin_lock(&ctx->flc_lock); __break_lease()
1477 spin_unlock(&ctx->flc_lock); __break_lease()
1501 spin_lock(&ctx->flc_lock); lease_get_mtime()
1508 spin_unlock(&ctx->flc_lock); lease_get_mtime()
1551 spin_lock(&ctx->flc_lock); fcntl_getlease()
1559 spin_unlock(&ctx->flc_lock); fcntl_getlease()
1631 spin_lock(&ctx->flc_lock); generic_add_lease()
1700 spin_unlock(&ctx->flc_lock); generic_add_lease()
1723 spin_lock(&ctx->flc_lock); generic_delete_lease()
1734 spin_unlock(&ctx->flc_lock); generic_delete_lease()
2437 spin_lock(&ctx->flc_lock); locks_remove_lease()
2441 spin_unlock(&ctx->flc_lock); locks_remove_lease()
2631 spin_lock(&ctx->flc_lock); show_fd_locks()
2635 spin_unlock(&ctx->flc_lock); show_fd_locks()
/linux-4.1.27/fs/ceph/
H A Dlocks.c256 spin_lock(&ctx->flc_lock); ceph_count_locks()
261 spin_unlock(&ctx->flc_lock); ceph_count_locks()
289 spin_lock(&ctx->flc_lock); ceph_encode_locks_to_buffer()
313 spin_unlock(&ctx->flc_lock); ceph_encode_locks_to_buffer()
/linux-4.1.27/fs/nfs/
H A Ddelegation.c96 spin_lock(&flctx->flc_lock); nfs_delegation_claim_locks()
101 spin_unlock(&flctx->flc_lock); list_for_each_entry()
105 spin_lock(&flctx->flc_lock); list_for_each_entry()
111 spin_unlock(&flctx->flc_lock);
H A Dnfs4state.c1400 spin_lock(&flctx->flc_lock); nfs4_reclaim_locks()
1405 spin_unlock(&flctx->flc_lock); list_for_each_entry()
1432 spin_lock(&flctx->flc_lock); list_for_each_entry()
1438 spin_unlock(&flctx->flc_lock);
H A Dwrite.c1210 spin_lock(&flctx->flc_lock); nfs_can_extend_write()
1222 spin_unlock(&flctx->flc_lock); nfs_can_extend_write()
/linux-4.1.27/fs/cifs/
H A Dfile.c1142 spin_lock(&flctx->flc_lock); cifs_push_posix_locks()
1146 spin_unlock(&flctx->flc_lock); cifs_push_posix_locks()
1165 spin_lock(&flctx->flc_lock); cifs_push_posix_locks()
1187 spin_unlock(&flctx->flc_lock); cifs_push_posix_locks()
/linux-4.1.27/fs/nfsd/
H A Dnfs4state.c5809 spin_lock(&flctx->flc_lock); check_for_locks()
5816 spin_unlock(&flctx->flc_lock); check_for_locks()
/linux-4.1.27/include/linux/
H A Dfs.h997 spinlock_t flc_lock; member in struct:file_lock_context

Completed in 206 milliseconds