Lines Matching refs:flctx
168 struct file_lock_context *flctx = inode->i_flctx; in nlm_traverse_locks() local
171 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()
175 spin_lock(&flctx->flc_lock); in nlm_traverse_locks()
176 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_traverse_locks()
187 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
199 spin_unlock(&flctx->flc_lock); in nlm_traverse_locks()
230 struct file_lock_context *flctx = inode->i_flctx; in nlm_file_inuse() local
235 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
236 spin_lock(&flctx->flc_lock); in nlm_file_inuse()
237 list_for_each_entry(fl, &flctx->flc_posix, fl_list) { in nlm_file_inuse()
239 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()
243 spin_unlock(&flctx->flc_lock); in nlm_file_inuse()