Searched refs:dq_id (Results 1 – 9 of 9) sorted by relevance
/linux-4.19.296/fs/quota/ |
D | quota_v2.c | 246 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_mem2diskdqb() 256 d->dqb_id = cpu_to_le32(from_kqid(&init_user_ns, dquot->dq_id)); in v2r0_mem2diskdqb() 265 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_is_id() 269 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, in v2r0_is_id() 271 dquot->dq_id); in v2r0_is_id() 299 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_mem2diskdqb() 309 d->dqb_id = cpu_to_le32(from_kqid(&init_user_ns, dquot->dq_id)); in v2r1_mem2diskdqb() 319 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_is_id() 323 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, in v2r1_is_id() 325 dquot->dq_id); in v2r1_is_id() [all …]
|
D | quota_v1.c | 57 int type = dquot->dq_id.type; in v1_read_dqblk() 68 v1_dqoff(from_kqid(&init_user_ns, dquot->dq_id))); in v1_read_dqblk() 83 short type = dquot->dq_id.type; in v1_commit_dqblk() 88 if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || in v1_commit_dqblk() 89 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) { in v1_commit_dqblk() 99 v1_dqoff(from_kqid(&init_user_ns, dquot->dq_id))); in v1_commit_dqblk()
|
D | quota_tree.c | 289 mark_info_dirty(dquot->dq_sb, dquot->dq_id.type); in find_free_dqentry() 358 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree() 367 dquot->dq_id, depth)])); in do_insert_tree() 377 ref[get_index(info, dquot->dq_id, depth)] = in do_insert_tree() 409 int type = dquot->dq_id.type; in qtree_write_dquot() 528 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree() 544 ref[get_index(info, dquot->dq_id, depth)] = cpu_to_le32(0); in remove_tree() 603 from_kqid(&init_user_ns, dquot->dq_id)); in find_block_dqentry() 632 blk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in find_tree_dqentry() 660 int type = dquot->dq_id.type; in qtree_read_dquot() [all …]
|
D | dquot.c | 291 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id); in insert_dquot_hash() 308 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot() 391 info[dquot->dq_id.type].dqi_dirty_list); in dquot_mark_dquot_dirty() 457 ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); in dquot_acquire() 465 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_acquire() 467 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire() 468 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire() 469 dquot->dq_sb, dquot->dq_id.type); in dquot_acquire() 504 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_commit() 525 if (dqopt->ops[dquot->dq_id.type]->release_dqblk) { in dquot_release() [all …]
|
/linux-4.19.296/fs/ocfs2/ |
D | quota_global.c | 101 d->dqb_id = cpu_to_le32(from_kqid(&init_user_ns, dquot->dq_id)); in ocfs2_global_mem2diskdqb() 118 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() 488 int type = dquot->dq_id.type; in __ocfs2_sync_dquot() 517 trace_ocfs2_sync_dquot(from_kqid(&init_user_ns, dquot->dq_id), in __ocfs2_sync_dquot() 569 " (type=%d, id=%u)\n", dquot->dq_id.type, in __ocfs2_sync_dquot() 570 (unsigned)from_kqid(&init_user_ns, dquot->dq_id)); in __ocfs2_sync_dquot() 605 trace_ocfs2_sync_dquot_helper(from_kqid(&init_user_ns, dquot->dq_id), in ocfs2_sync_dquot_helper() 606 dquot->dq_id.type, in ocfs2_sync_dquot_helper() [all …]
|
D | ocfs2_trace.h | 1983 TP_PROTO(unsigned int dq_id, long long dqb_curspace, 1986 TP_ARGS(dq_id, dqb_curspace, spacechange, curinodes, inodechange), 1988 __field(unsigned int, dq_id) 1995 __entry->dq_id = dq_id; 2001 TP_printk("%u %lld %lld %lld %lld", __entry->dq_id, 2007 TP_PROTO(unsigned int dq_id, unsigned int dq_type, unsigned long type, 2009 TP_ARGS(dq_id, dq_type, type, s_id), 2012 __field(unsigned int, dq_id) 2018 __entry->dq_id = dq_id; 2023 TP_printk("%u %u %lu %s", __entry->dq_id, __entry->dq_type,
|
D | quota_local.c | 879 od->dq_dquot.dq_id)); in olq_set_dquot() 889 from_kqid(&init_user_ns, od->dq_dquot.dq_id)); in olq_set_dquot() 898 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; in ocfs2_local_write_dquot() 1219 int type = dquot->dq_id.type; in ocfs2_create_local_dquot() 1273 int type = dquot->dq_id.type; in ocfs2_local_release_dquot()
|
/linux-4.19.296/include/linux/ |
D | quota.h | 303 struct kqid dq_id; /* ID this applies to (uid, gid, projid) */ member
|
/linux-4.19.296/fs/ext4/ |
D | super.c | 5656 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
|