Lines Matching refs:flctx
167 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
170 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
174 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
175 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
186 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
198 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
229 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
234 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
235 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
236 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_file_inuse()
238 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
242 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()