Lines Matching refs:flctx
210 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
213 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
217 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
218 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
228 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
234 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
265 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
270 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
271 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
272 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_file_inuse()
274 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
278 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()