Lines Matching refs:flctx
1194 struct file_lock_context *flctx = locks_inode_context(file_inode(file));
1212 if (l_ctx && flctx &&
1213 !(list_empty_careful(&flctx->flc_posix) &&
1214 list_empty_careful(&flctx->flc_flock))) {
1330 struct file_lock_context *flctx = locks_inode_context(inode);
1340 if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
1341 list_empty_careful(&flctx->flc_posix)))
1346 spin_lock(&flctx->flc_lock);
1347 if (!list_empty(&flctx->flc_posix)) {
1348 fl = list_first_entry(&flctx->flc_posix, struct file_lock,
1352 } else if (!list_empty(&flctx->flc_flock)) {
1353 fl = list_first_entry(&flctx->flc_flock, struct file_lock,
1358 spin_unlock(&flctx->flc_lock);