• 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
307 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot()
930 struct dquot *dqget(struct super_block *sb, struct kqid qid) in dqget() argument
932 unsigned int hashent = hashfn(sb, qid); in dqget()
935 if (!qid_has_mapping(sb->s_user_ns, qid)) in dqget()
938 if (!sb_has_quota_active(sb, qid.type)) in dqget()
943 if (!sb_has_quota_active(sb, qid.type)) { in dqget()
951 dquot = find_dquot(hashent, sb, qid); in dqget()
955 empty = get_empty_dquot(sb, qid.type); in dqget()
962 dquot->dq_id = qid; in dqget()
1528 struct kqid qid; in __dquot_initialize() local
1550 qid = make_kqid_uid(inode->i_uid); in __dquot_initialize()
1553 qid = make_kqid_gid(inode->i_gid); in __dquot_initialize()
1559 qid = make_kqid_projid(projid); in __dquot_initialize()
1562 dquot = dqget(sb, qid); in __dquot_initialize()
2208 int dquot_get_next_id(struct super_block *sb, struct kqid *qid) in dquot_get_next_id() argument
2212 if (!sb_has_quota_active(sb, qid->type)) in dquot_get_next_id()
2214 if (!dqopt->ops[qid->type]->get_next_id) in dquot_get_next_id()
2216 return dqopt->ops[qid->type]->get_next_id(sb, qid); in dquot_get_next_id()
2710 int dquot_get_dqblk(struct super_block *sb, struct kqid qid, in dquot_get_dqblk() argument
2715 dquot = dqget(sb, qid); in dquot_get_dqblk()
2725 int dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, in dquot_get_next_dqblk() argument
2733 err = sb->dq_op->get_next_id(sb, qid); in dquot_get_next_dqblk()
2736 dquot = dqget(sb, *qid); in dquot_get_next_dqblk()
2843 int dquot_set_dqblk(struct super_block *sb, struct kqid qid, in dquot_set_dqblk() argument
2849 dquot = dqget(sb, qid); in dquot_set_dqblk()