Lines Matching defs:flctx
1119 struct file_lock_context *flctx = locks_inode_context(file_inode(file));
1137 if (l_ctx && flctx &&
1138 !(list_empty_careful(&flctx->flc_posix) &&
1139 list_empty_careful(&flctx->flc_flock))) {
1255 struct file_lock_context *flctx = locks_inode_context(inode);
1268 if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
1269 list_empty_careful(&flctx->flc_posix)))
1274 spin_lock(&flctx->flc_lock);
1275 if (!list_empty(&flctx->flc_posix)) {
1276 fl = list_first_entry(&flctx->flc_posix, struct file_lock,
1280 } else if (!list_empty(&flctx->flc_flock)) {
1281 fl = list_first_entry(&flctx->flc_flock, struct file_lock,
1286 spin_unlock(&flctx->flc_lock);