Home
last modified time | relevance | path

Searched refs:USRQUOTA (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/fs/quota/
Dkqid.c18 case USRQUOTA: in qid_eq()
44 case USRQUOTA: in qid_lt()
71 case USRQUOTA: in from_kqid()
104 case USRQUOTA: in from_kqid_munged()
123 case USRQUOTA: in qid_valid()
Dquota.c42 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission()
76 case USRQUOTA: in qtype_enforce_flag()
339 if (state->s_state[USRQUOTA].flags & QCI_ACCT_ENABLED) in quota_state_to_flags()
341 if (state->s_state[USRQUOTA].flags & QCI_LIMITS_ENFORCED) in quota_state_to_flags()
380 if (state.s_state[USRQUOTA].ino) { in quota_getstate()
381 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstate()
382 fqs->qs_uquota.qfs_nblks = state.s_state[USRQUOTA].blocks; in quota_getstate()
383 fqs->qs_uquota.qfs_nextents = state.s_state[USRQUOTA].nextents; in quota_getstate()
479 if (state.s_state[USRQUOTA].ino) { in quota_getstatev()
480 fqs->qs_uquota.qfs_ino = state.s_state[USRQUOTA].ino; in quota_getstatev()
[all …]
Dquota_v1.c89 if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || in v1_commit_dqblk()
Ddquot.c1194 case USRQUOTA: in need_print_warning()
1491 case USRQUOTA: in __dquot_initialize()
2147 transfer_to[USRQUOTA] = dquot; in dquot_transfer()
/linux-6.12.1/include/linux/
Dquota.h51 #undef USRQUOTA
55 USRQUOTA = 0, /* element used for user quotas */ enumerator
61 #define QTYPE_MASK_USR (1 << USRQUOTA)
104 case USRQUOTA: in make_kqid()
131 case USRQUOTA: in make_kqid_invalid()
153 kqid.type = USRQUOTA; in make_kqid_uid()
/linux-6.12.1/fs/xfs/
Dxfs_quotaops.c70 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED; in xfs_fs_get_quota_state()
72 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in xfs_fs_get_quota_state()
82 error = xfs_qm_fill_state(&state->s_state[USRQUOTA], mp, in xfs_fs_get_quota_state()
101 case USRQUOTA: in xfs_quota_type()
Dxfs_trans_dquot.c714 qtype = USRQUOTA; in xfs_quota_warn()
/linux-6.12.1/fs/gfs2/
Dquota.c221 ((qid.type == USRQUOTA) ? 0 : 1); in qd2index()
711 if (qd->qd_id.type == USRQUOTA) in do_qc()
1205 (qd->qd_id.type == USRQUOTA) ? "user" : "group", in print_message()
1442 USRQUOTA : GRPQUOTA; in gfs2_quota_init()
1643 state->s_state[USRQUOTA].flags |= QCI_LIMITS_ENFORCED; in gfs2_quota_get_state()
1647 state->s_state[USRQUOTA].flags |= QCI_ACCT_ENABLED | in gfs2_quota_get_state()
1656 state->s_state[USRQUOTA].ino = in gfs2_quota_get_state()
1658 state->s_state[USRQUOTA].blocks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_state()
1660 state->s_state[USRQUOTA].nextents = 1; /* unsupported */ in gfs2_quota_get_state()
1661 state->s_state[GRPQUOTA] = state->s_state[USRQUOTA]; in gfs2_quota_get_state()
[all …]
Dsys.c272 qid = make_kqid(current_user_ns(), USRQUOTA, id); in quota_refresh_user_store()
/linux-6.12.1/fs/reiserfs/
Dsuper.c767 if (REISERFS_SB(s)->s_qf_names[USRQUOTA]) in reiserfs_show_options()
769 REISERFS_SB(s)->s_qf_names[USRQUOTA]); in reiserfs_show_options()
831 #define QTYPE2NAME(t) ((t)==USRQUOTA?"user":"group")
1248 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA; in reiserfs_parse_options()
1286 if (qtype == USRQUOTA) in reiserfs_parse_options()
1291 if (qtype == USRQUOTA) in reiserfs_parse_options()
1328 && (qf_names[USRQUOTA] || qf_names[GRPQUOTA])) { in reiserfs_parse_options()
1334 sb_has_quota_loaded(s, USRQUOTA)) || in reiserfs_parse_options()
2341 if (REISERFS_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in reiserfs_mark_dquot_dirty()
2389 int opt = type == USRQUOTA ? REISERFS_USRQUOTA : REISERFS_GRPQUOTA; in reiserfs_quota_on()
/linux-6.12.1/mm/
Dshmem_quota.c200 if (dquot->dq_id.type == USRQUOTA) { in shmem_acquire_dquot()
243 if (dquot->dq_id.type == USRQUOTA) { in shmem_is_empty_dquot()
Dshmem.c4587 if (sb_has_quota_active(root->d_sb, USRQUOTA)) in shmem_show_options()
/linux-6.12.1/include/uapi/linux/
Dquota.h41 #define USRQUOTA 0 /* element used for user quotas */ macro
/linux-6.12.1/fs/f2fs/
Dsuper.c447 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in f2fs_check_quota_options()
450 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
451 F2FS_OPTION(sbi).s_qf_names[USRQUOTA]) in f2fs_check_quota_options()
452 clear_opt(sbi, USRQUOTA); in f2fs_check_quota_options()
462 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
924 set_opt(sbi, USRQUOTA); in parse_options()
933 ret = f2fs_set_qf_name(sb, USRQUOTA, &args[0]); in parse_options()
948 ret = f2fs_clear_qf_name(sb, USRQUOTA); in parse_options()
973 clear_opt(sbi, USRQUOTA); in parse_options()
1870 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA]) in f2fs_show_quota_options()
[all …]
Df2fs.h4669 if (F2FS_OPTION(sbi).s_qf_names[USRQUOTA] || in is_journalled_quota()
/linux-6.12.1/Documentation/filesystems/
Dquota.rst46 - type of quota being exceeded (one of USRQUOTA, GRPQUOTA)
/linux-6.12.1/fs/ocfs2/
Dfile.c1233 transfer_to[USRQUOTA] = dqget(sb, make_kqid_uid(attr->ia_uid)); in ocfs2_setattr()
1234 if (IS_ERR(transfer_to[USRQUOTA])) { in ocfs2_setattr()
1235 status = PTR_ERR(transfer_to[USRQUOTA]); in ocfs2_setattr()
1236 transfer_to[USRQUOTA] = NULL; in ocfs2_setattr()
/linux-6.12.1/fs/ext4/
Dsuper.c2168 return unnote_qf_name(fc, USRQUOTA); in ext4_parse_param()
2170 return note_qf_name(fc, USRQUOTA, param); in ext4_parse_param()
2632 usr_qf_name = (get_qf_name(sb, sbi, USRQUOTA) || in ext4_check_quota_consistency()
2633 ctx->s_qf_names[USRQUOTA]); in ext4_check_quota_consistency()
2638 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency()
2851 usr_qf_name = ctx->s_qf_names[USRQUOTA]; in ext4_validate_options()
2897 usr_qf_name = rcu_dereference(sbi->s_qf_names[USRQUOTA]); in ext4_show_quota_options()
7020 case USRQUOTA: in ext4_check_quota_inum()
7081 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
Dext4.h3530 sbi->s_qf_names[USRQUOTA] || sbi->s_qf_names[GRPQUOTA]); in ext4_is_quota_journalled()
/linux-6.12.1/fs/ext2/
Dsuper.c298 if (test_opt(sb, USRQUOTA)) in ext2_show_options()
599 set_opt(opts->s_mount_opt, USRQUOTA); in parse_options()