Lines Matching refs:flctx
1179 struct file_lock_context *flctx = locks_inode_context(file_inode(file));
1197 if (l_ctx && flctx &&
1198 !(list_empty_careful(&flctx->flc_posix) &&
1199 list_empty_careful(&flctx->flc_flock))) {
1315 struct file_lock_context *flctx = locks_inode_context(inode);
1325 if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
1326 list_empty_careful(&flctx->flc_posix)))
1331 spin_lock(&flctx->flc_lock);
1332 if (!list_empty(&flctx->flc_posix)) {
1333 fl = list_first_entry(&flctx->flc_posix, struct file_lock,
1337 } else if (!list_empty(&flctx->flc_flock)) {
1338 fl = list_first_entry(&flctx->flc_flock, struct file_lock,
1343 spin_unlock(&flctx->flc_lock);