Home
last modified time | relevance | path

Searched refs:GRPQUOTA (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/fs/quota/
Dkqid.c20 case GRPQUOTA: in qid_eq()
46 case GRPQUOTA: in qid_lt()
73 case GRPQUOTA: in from_kqid()
106 case GRPQUOTA: in from_kqid_munged()
125 case GRPQUOTA: in qid_valid()
Dquota.c40 (type == GRPQUOTA && in_egroup_p(make_kgid(current_user_ns(), id)))) in check_quotactl_permission()
75 case GRPQUOTA: in qtype_enforce_flag()
340 if (state->s_state[GRPQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
342 if (state->s_state[GRPQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
382 if (state.s_state[GRPQUOTA].ino) { in quota_getstate()
383 fqs->qs_gquota.qfs_ino = state.s_state[GRPQUOTA].ino; in quota_getstate()
384 fqs->qs_gquota.qfs_nblks = state.s_state[GRPQUOTA].blocks; in quota_getstate()
385 fqs->qs_gquota.qfs_nextents = state.s_state[GRPQUOTA].nextents; in quota_getstate()
393 if (!(state.s_state[GRPQUOTA].flags & QCI_ACCT_ENABLED)) { in quota_getstate()
480 if (state.s_state[GRPQUOTA].ino) { in quota_getstatev()
[all …]
Dquota_v1.c90 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) { in v1_commit_dqblk()
Ddquot.c1187 case GRPQUOTA: in need_print_warning()
1484 case GRPQUOTA: in __dquot_initialize()
2120 transfer_to[GRPQUOTA] = dquot; in dquot_transfer()
/kernel/linux/linux-5.10/include/linux/
Dquota.h52 #undef GRPQUOTA
56 GRPQUOTA = 1, /* element used for group quotas */ enumerator
62 #define QTYPE_MASK_GRP (1 << GRPQUOTA)
107 case GRPQUOTA: in make_kqid()
134 case GRPQUOTA: in make_kqid_invalid()
165 kqid.type = GRPQUOTA; in make_kqid_gid()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_quotaops.c71 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
73 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
81 xfs_qm_fill_state(&state->s_state[GRPQUOTA], mp, q->qi_gquotaip, in xfs_fs_get_quota_state()
94 case GRPQUOTA: in xfs_quota_type()
Dxfs_trans_dquot.c562 qtype = GRPQUOTA; in xfs_quota_warn()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dquota.h12 #define GRPQUOTA 1 macro
/kernel/linux/linux-5.10/include/uapi/linux/
Dquota.h42 #define GRPQUOTA 1 /* element used for group quotas */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dquota.h25 #define GRPQUOTA 1 macro
/kernel/linux/linux-5.10/fs/f2fs/
Dsuper.c441 F2FS_OPTION(sbi).s_qf_names[GRPQUOTA] || in f2fs_check_quota_options()
447 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
448 F2FS_OPTION(sbi).s_qf_names[GRPQUOTA]) in f2fs_check_quota_options()
449 clear_opt(sbi, GRPQUOTA); in f2fs_check_quota_options()
455 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
779 set_opt(sbi, GRPQUOTA); in parse_options()
790 ret = f2fs_set_qf_name(sb, GRPQUOTA, &args[0]); in parse_options()
805 ret = f2fs_clear_qf_name(sb, GRPQUOTA); in parse_options()
826 clear_opt(sbi, GRPQUOTA); in parse_options()
1546 if (F2FS_OPTION(sbi).s_qf_names[GRPQUOTA]) in f2fs_show_quota_options()
[all …]
Df2fs.h4177 F2FS_OPTION(sbi).s_qf_names[GRPQUOTA] || in is_journalled_quota()
/kernel/linux/linux-5.10/fs/gfs2/
Dquota.c1407 USRQUOTA : GRPQUOTA; in gfs2_quota_init()
1609 state->s_state[GRPQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1614 state->s_state[GRPQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1626 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state()
1646 (qid.type != GRPQUOTA)) in gfs2_get_dqblk()
1687 (qid.type != GRPQUOTA)) in gfs2_set_dqblk()
Dsys.c219 qid = make_kqid(current_user_ns(), GRPQUOTA, id); in quota_refresh_group_store()
/kernel/linux/linux-5.10/fs/reiserfs/
Dsuper.c773 if (REISERFS_SB(s)->s_qf_names[GRPQUOTA]) in reiserfs_show_options()
775 REISERFS_SB(s)->s_qf_names[GRPQUOTA]); in reiserfs_show_options()
1251 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA; in reiserfs_parse_options()
1331 && (qf_names[USRQUOTA] || qf_names[GRPQUOTA])) { in reiserfs_parse_options()
1339 sb_has_quota_loaded(s, GRPQUOTA))) { in reiserfs_parse_options()
2353 REISERFS_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { in reiserfs_mark_dquot_dirty()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dquota.rst46 - type of quota being exceeded (one of USRQUOTA, GRPQUOTA)
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c2111 return set_qf_name(sb, GRPQUOTA, &args[0]); in handle_mount_opt()
2115 return clear_qf_name(sb, GRPQUOTA); in handle_mount_opt()
2455 grp_qf_name = get_qf_name(sb, sbi, GRPQUOTA); in parse_options()
2460 if (test_opt(sb, GRPQUOTA) && grp_qf_name) in parse_options()
2461 clear_opt(sb, GRPQUOTA); in parse_options()
2463 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options()
2513 grp_qf_name = rcu_dereference(sbi->s_qf_names[GRPQUOTA]); in ext4_show_quota_options()
6298 sbi->s_qf_names[USRQUOTA] || sbi->s_qf_names[GRPQUOTA]) { in ext4_mark_dquot_dirty()
6434 case GRPQUOTA: in ext4_check_quota_inum()
6494 test_opt(sb, GRPQUOTA), in ext4_enable_quotas()
/kernel/linux/linux-5.10/fs/ocfs2/
Dfile.c1244 transfer_to[GRPQUOTA] = dqget(sb, make_kqid_gid(attr->ia_gid)); in ocfs2_setattr()
1245 if (IS_ERR(transfer_to[GRPQUOTA])) { in ocfs2_setattr()
1246 status = PTR_ERR(transfer_to[GRPQUOTA]); in ocfs2_setattr()
1247 transfer_to[GRPQUOTA] = NULL; in ocfs2_setattr()
/kernel/linux/linux-5.10/fs/ext2/
Dsuper.c308 if (test_opt(sb, GRPQUOTA)) in ext2_show_options()
608 set_opt(opts->s_mount_opt, GRPQUOTA); in parse_options()