Home
last modified time | relevance | path

Searched refs:flc_posix (Results 1 – 11 of 11) sorted by relevance

/linux/fs/lockd/
H A Dsvcsubs.c216 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
221 for_each_file_lock(fl, &flctx->flc_posix) { in nlm_traverse_locks()
273 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
275 for_each_file_lock(fl, &flctx->flc_posix) { in nlm_file_inuse()
/linux/fs/
H A Dlocks.c192 INIT_LIST_HEAD(&ctx->flc_posix); in locks_get_lock_context()
225 !list_empty(&ctx->flc_posix) || in locks_check_ctx_lists()
231 locks_dump_ctx_list(&ctx->flc_posix, "POSIX"); in locks_check_ctx_lists()
336 list_for_each_entry(flc, &flctx->flc_posix, flc_list) { in locks_owner_has_blockers()
961 if (!ctx || list_empty_careful(&ctx->flc_posix)) { in posix_test_lock()
968 list_for_each_entry(cfl, &ctx->flc_posix, c.flc_list) { in posix_test_lock()
1187 list_for_each_entry(fl, &ctx->flc_posix, c.flc_list) { in posix_lock_inode()
1233 list_for_each_entry(fl, &ctx->flc_posix, c.flc_list) { in posix_lock_inode()
1239 list_for_each_entry_safe_from(fl, tmp, &ctx->flc_posix, c.flc_list) { in posix_lock_inode()
2617 if (!ctx || list_empty(&ctx->flc_posix)) in locks_remove_posix()
[all …]
/linux/fs/ceph/
H A Dlocks.c389 for_each_file_lock(lock, &ctx->flc_posix) in ceph_count_locks()
458 for_each_file_lock(lock, &ctx->flc_posix) { in ceph_encode_locks_to_buffer()
/linux/fs/nfs/
H A Dwrite.c1189 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()
1320 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
1326 if (!list_empty(&flctx->flc_posix)) { in nfs_can_extend_write()
1327 fl = list_first_entry(&flctx->flc_posix, struct file_lock, in nfs_can_extend_write()
H A Ddelegation.c159 list = &flctx->flc_posix; in nfs_delegation_claim_locks()
171 if (list == &flctx->flc_posix) { in nfs_delegation_claim_locks()
H A Dnfs4state.c1512 list = &flctx->flc_posix; in nfs4_reclaim_locks()
1554 if (list == &flctx->flc_posix) { in nfs4_reclaim_locks()
H A Dpagelist.c1085 !(list_empty_careful(&flctx->flc_posix) && in nfs_coalesce_size()
/linux/include/linux/
H A Dfilelock.h145 struct list_head flc_posix; member
/linux/fs/smb/server/
H A Dvfs.c336 if (!ctx || list_empty_careful(&ctx->flc_posix)) in check_lock_range()
340 for_each_file_lock(flock, &ctx->flc_posix) { in check_lock_range()
/linux/fs/smb/client/
H A Dfile.c1838 list_for_each(el, &flctx->flc_posix) { in cifs_push_posix_locks()
1861 for_each_file_lock(flock, &flctx->flc_posix) { in cifs_push_posix_locks()
/linux/fs/nfsd/
H A Dnfs4state.c8395 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in check_for_locks()
8397 for_each_file_lock(fl, &flctx->flc_posix) { in check_for_locks()