Home
last modified time | relevance | path

Searched refs:dq_id (Results 1 – 9 of 9) sorted by relevance

/linux/fs/quota/
A Dquota_v2.c245 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_mem2diskdqb()
255 d->dqb_id = cpu_to_le32(from_kqid(&init_user_ns, dquot->dq_id)); in v2r0_mem2diskdqb()
264 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_is_id()
268 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, in v2r0_is_id()
270 dquot->dq_id); in v2r0_is_id()
298 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_mem2diskdqb()
318 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_is_id()
322 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, in v2r1_is_id()
324 dquot->dq_id); in v2r1_is_id()
334 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_read_dquot()
[all …]
A Dquota_v1.c58 int type = dquot->dq_id.type; in v1_read_dqblk()
69 v1_dqoff(from_kqid(&init_user_ns, dquot->dq_id))); in v1_read_dqblk()
84 short type = dquot->dq_id.type; in v1_commit_dqblk()
89 if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || in v1_commit_dqblk()
90 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) { in v1_commit_dqblk()
100 v1_dqoff(from_kqid(&init_user_ns, dquot->dq_id))); in v1_commit_dqblk()
A Dquota_tree.c246 mark_info_dirty(dquot->dq_sb, dquot->dq_id.type); in find_free_dqentry()
315 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
324 dquot->dq_id, depth)])); in do_insert_tree()
334 ref[get_index(info, dquot->dq_id, depth)] = in do_insert_tree()
366 int type = dquot->dq_id.type; in qtree_write_dquot()
498 ref[get_index(info, dquot->dq_id, depth)] = cpu_to_le32(0); in remove_tree()
557 from_kqid(&init_user_ns, dquot->dq_id)); in find_block_dqentry()
586 blk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in find_tree_dqentry()
614 int type = dquot->dq_id.type; in qtree_read_dquot()
635 dquot->dq_id)); in qtree_read_dquot()
[all …]
A Ddquot.c366 info[dquot->dq_id.type].dqi_dirty_list); in dquot_mark_dquot_dirty()
443 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire()
445 dquot->dq_sb, dquot->dq_id.type); in dquot_acquire()
501 if (dqopt->ops[dquot->dq_id.type]->release_dqblk) { in dquot_release()
506 dquot->dq_sb, dquot->dq_id.type); in dquot_release()
544 if (dquot->dq_id.type != type) in invalidate_dquots()
760 quotatypes[dquot->dq_id.type], in dqput()
761 from_kqid(&init_user_ns, dquot->dq_id)); in dqput()
830 dquot->dq_id = make_kqid_invalid(type); in get_empty_dquot()
877 dquot->dq_id = qid; in dqget()
[all …]
/linux/fs/ocfs2/
A Dquota_global.c118 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in ocfs2_global_is_id()
123 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, in ocfs2_global_is_id()
125 dquot->dq_id); in ocfs2_global_is_id()
487 int type = dquot->dq_id.type; in __ocfs2_sync_dquot()
568 " (type=%d, id=%u)\n", dquot->dq_id.type, in __ocfs2_sync_dquot()
605 dquot->dq_id.type, in ocfs2_sync_dquot_helper()
607 if (type != dquot->dq_id.type) in ocfs2_sync_dquot_helper()
666 dquot->dq_id.type); in ocfs2_write_dquot()
726 dquot->dq_id.type); in ocfs2_release_dquot()
797 int type = dquot->dq_id.type; in ocfs2_acquire_dquot()
[all …]
A Docfs2_trace.h1985 TP_PROTO(unsigned int dq_id, long long dqb_curspace,
1988 TP_ARGS(dq_id, dqb_curspace, spacechange, curinodes, inodechange),
1990 __field(unsigned int, dq_id)
1997 __entry->dq_id = dq_id;
2003 TP_printk("%u %lld %lld %lld %lld", __entry->dq_id,
2009 TP_PROTO(unsigned int dq_id, unsigned int dq_type, unsigned long type,
2011 TP_ARGS(dq_id, dq_type, type, s_id),
2014 __field(unsigned int, dq_id)
2020 __entry->dq_id = dq_id;
2025 TP_printk("%u %u %lu %s", __entry->dq_id, __entry->dq_type,
A Dquota_local.c881 od->dq_dquot.dq_id)); in olq_set_dquot()
891 from_kqid(&init_user_ns, od->dq_dquot.dq_id)); in olq_set_dquot()
900 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; in ocfs2_local_write_dquot()
1221 int type = dquot->dq_id.type; in ocfs2_create_local_dquot()
1275 int type = dquot->dq_id.type; in ocfs2_local_release_dquot()
/linux/include/linux/
A Dquota.h303 struct kqid dq_id; /* ID this applies to (uid, gid, projid) */ member
/linux/fs/ext4/
A Dsuper.c6126 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()

Completed in 32 milliseconds