Lines Matching defs:ctx
4813 struct file_lock_context *ctx = locks_inode_context(inode);
4815 return ctx && !list_empty_careful(&ctx->flc_lease);
6012 struct file_lock_context *ctx;
6018 ctx = locks_inode_context(nf->fi_inode);
6019 if (!ctx)
6021 if (locks_owner_has_blockers(ctx, lo))
8428 struct file_lock_context *ctx;
8432 ctx = locks_inode_context(inode);
8433 if (!ctx)
8435 spin_lock(&ctx->flc_lock);
8436 list_for_each_entry(fl, &ctx->flc_lease, fl_list) {
8452 spin_unlock(&ctx->flc_lock);
8456 spin_unlock(&ctx->flc_lock);
8466 spin_unlock(&ctx->flc_lock);