Lines Matching refs:flctx
213 struct file_lock_context *flctx = locks_inode_context(inode);
216 if (!flctx || list_empty_careful(&flctx->flc_posix))
220 spin_lock(&flctx->flc_lock);
221 for_each_file_lock(fl, &flctx->flc_posix) {
231 spin_unlock(&flctx->flc_lock);
237 spin_unlock(&flctx->flc_lock);
268 struct file_lock_context *flctx = locks_inode_context(inode);
273 if (flctx && !list_empty_careful(&flctx->flc_posix)) {
274 spin_lock(&flctx->flc_lock);
275 for_each_file_lock(fl, &flctx->flc_posix) {
277 spin_unlock(&flctx->flc_lock);
281 spin_unlock(&flctx->flc_lock);