Lines Matching refs:flctx
1177 struct file_lock_context *flctx = file_inode(file)->i_flctx;
1195 if (l_ctx && flctx &&
1196 !(list_empty_careful(&flctx->flc_posix) &&
1197 list_empty_careful(&flctx->flc_flock))) {
1295 struct file_lock_context *flctx = inode->i_flctx;
1304 if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
1305 list_empty_careful(&flctx->flc_posix)))
1310 spin_lock(&flctx->flc_lock);
1311 if (!list_empty(&flctx->flc_posix)) {
1312 fl = list_first_entry(&flctx->flc_posix, struct file_lock,
1316 } else if (!list_empty(&flctx->flc_flock)) {
1317 fl = list_first_entry(&flctx->flc_flock, struct file_lock,
1322 spin_unlock(&flctx->flc_lock);