• Home
  • Raw
  • Download

Lines Matching refs:qid

276 hashfn(const struct super_block *sb, struct kqid qid)  in hashfn()  argument
278 unsigned int id = from_kqid(&init_user_ns, qid); in hashfn()
279 int type = qid.type; in hashfn()
302 struct kqid qid) in find_dquot() argument
309 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot()
932 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget() argument
934 unsigned int hashent = hashfn(sb, qid); in dqget()
937 if (!qid_has_mapping(sb->s_user_ns, qid)) in dqget()
940 if (!sb_has_quota_active(sb, qid.type)) in dqget()
945 if (!sb_has_quota_active(sb, qid.type)) { in dqget()
953 dquot = find_dquot(hashent, sb, qid); in dqget()
957 empty = get_empty_dquot(sb, qid.type); in dqget()
964 dquot->dq_id = qid; in dqget()
1530 struct kqid qid; in __dquot_initialize() local
1552 qid = make_kqid_uid(inode->i_uid); in __dquot_initialize()
1555 qid = make_kqid_gid(inode->i_gid); in __dquot_initialize()
1561 qid = make_kqid_projid(projid); in __dquot_initialize()
1564 dquot = dqget(sb, qid); in __dquot_initialize()
2210 int dquot_get_next_id(struct super_block *sb, struct kqid *qid) in dquot_get_next_id() argument
2214 if (!sb_has_quota_active(sb, qid->type)) in dquot_get_next_id()
2216 if (!dqopt->ops[qid->type]->get_next_id) in dquot_get_next_id()
2218 return dqopt->ops[qid->type]->get_next_id(sb, qid); in dquot_get_next_id()
2712 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk() argument
2717 dquot = dqget(sb, qid); in dquot_get_dqblk()
2727 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, in dquot_get_next_dqblk() argument
2735 err = sb->dq_op->get_next_id(sb, qid); in dquot_get_next_dqblk()
2738 dquot = dqget(sb, *qid); in dquot_get_next_dqblk()
2845 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk() argument
2851 dquot = dqget(sb, qid); in dquot_set_dqblk()