Lines Matching refs:flctx
207 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
210 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
214 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
215 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
225 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
231 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
262 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
267 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
268 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
269 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_file_inuse()
271 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
275 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()