Home
last modified time | relevance | path

Searched refs:quotas (Results 1 – 24 of 24) sorted by relevance

/linux/mm/damon/
H A Dsysfs-schemes.c1183 * quotas directory
1201 static int damon_sysfs_quotas_add_dirs(struct damon_sysfs_quotas *quotas) in damon_sysfs_quotas_add_dirs()
1212 &quotas->kobj, "weights"); in damon_sysfs_quotas_add_dirs()
1217 quotas->weights = weights; in damon_sysfs_quotas_add_dirs()
1225 &damos_sysfs_quota_goals_ktype, &quotas->kobj, in damon_sysfs_quotas_rm_dirs() argument
1231 quotas->goals = goals;
1237 static void damon_sysfs_quotas_rm_dirs(struct damon_sysfs_quotas *quotas) in ms_show()
1239 kobject_put(&quotas->weights->kobj); in ms_show()
1240 damos_sysfs_quota_goals_rm_dirs(quotas->goals);
1241 kobject_put(&quotas
1189 damon_sysfs_quotas_add_dirs(struct damon_sysfs_quotas * quotas) damon_sysfs_quotas_add_dirs() argument
1235 struct damon_sysfs_quotas *quotas = container_of(kobj, ms_show() local
1244 struct damon_sysfs_quotas *quotas = container_of(kobj, ms_store() local
1256 struct damon_sysfs_quotas *quotas = container_of(kobj, bytes_show() local
1265 struct damon_sysfs_quotas *quotas = container_of(kobj, bytes_store() local
1277 struct damon_sysfs_quotas *quotas = container_of(kobj, reset_interval_ms_show() local
1286 struct damon_sysfs_quotas *quotas = container_of(kobj, reset_interval_ms_store() local
1298 struct damon_sysfs_quotas *quotas = container_of(kobj, effective_bytes_show() local
1444 struct damon_sysfs_quotas *quotas; global() member
1508 struct damon_sysfs_quotas *quotas = damon_sysfs_quotas_alloc(); damon_sysfs_scheme_set_quotas() local
[all...]
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst76 │ │ │ │ │ │ │ quotas/ms,bytes,reset_interval_ms
206 在每个方案目录中,存在五个目录(``access_pattern``、``quotas``、``watermarks``、
231 schemes/<N>/quotas/
242 在 ``quotas`` 目录下,存在三个文件(``ms``, ``bytes``, ``reset_interval_ms``)和一个
319 # # set quotas
320 # echo 10 > quotas/ms
321 # echo $((1024*1024*1024)) > quotas/bytes
322 # echo 1000 > quotas/reset_interval_ms
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
H A Dusage.rst76 │ │ │ │ │ │ │ quotas/ms,bytes,reset_interval_ms
206 在每個方案目錄中,存在五個目錄(``access_pattern``、``quotas``、``watermarks``、
231 schemes/<N>/quotas/
242 在 ``quotas`` 目錄下,存在三個文件(``ms``, ``bytes``, ``reset_interval_ms``)和一個
319 # # set quotas
320 # echo 10 > quotas/ms
321 # echo $((1024*1024*1024)) > quotas/bytes
322 # echo 1000 > quotas/reset_interval_ms
/linux/fs/bcachefs/
H A Dquota.c136 _q = &(_c)->quotas[_i], \
228 struct bch_memquota_type *q = &c->quotas[qtype]; in bch2_quota_check_limit()
395 q = &c->quotas[k.k->p.inode]; in __bch2_quota_set()
428 for (i = 0; i < ARRAY_SIZE(c->quotas); i++) in bch2_fs_quota_exit()
429 genradix_free(&c->quotas[i].table); in bch2_fs_quota_exit()
436 for (i = 0; i < ARRAY_SIZE(c->quotas); i++) in bch2_fs_quota_init()
437 mutex_init(&c->quotas[i].lock); in bch2_fs_quota_init()
470 struct bch_memquota_type *q = &c->quotas[i]; in bch2_sb_quota_read()
685 state->s_state[i].spc_timelimit = c->quotas[i].limits[Q_SPC].timelimit; in bch2_quota_get_state()
686 state->s_state[i].spc_warnlimit = c->quotas[i].limits[Q_SPC].warnlimit; in bch2_quota_get_state()
[all …]
H A Dbcachefs.h1037 struct bch_memquota_type quotas[QTYP_NR]; member
H A Dbcachefs_format.h1334 x(quotas, 5, 0, \
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon39 '.../quotas/effective_bytes' files of this kdamond.
207 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
213 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
219 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/effective_bytes
225 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
228 Description: Writing to and reading from this file sets and gets the quotas
231 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/nr_goals
238 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_metric
244 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_value
250 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goal
[all...]
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst80 │ │ │ │ │ │ │ :ref:`quotas <sysfs_quotas>`/ms,bytes,reset_interval_ms,effective_bytes
152 kdamond. For more details, refer to :ref:`quotas directory <sysfs_quotas>`.
285 In each scheme directory, five directories (``access_pattern``, ``quotas``,
318 schemes/<N>/quotas/
321 The directory for the :ref:`quotas <damon_design_damos_quotas>` of the given
324 Under ``quotas`` directory, four files (``ms``, ``bytes``,
355 schemes/<N>/quotas/goals/
531 # # set quotas
532 # echo 10 > quotas/ms
533 # echo $((1024*1024*1024)) > quotas/byte
361 sysfs_schemes_quota_goalsschemes/<N>/quotas/ global() argument
[all...]
H A Dreclaim.rst125 While keeping the caps that set by other quotas, DAMON_RECLAIM automatically
139 While keeping the caps that set by other quotas, DAMON_RECLAIM automatically
/linux/Documentation/filesystems/ext4/
H A Dspecial_inodes.rst53 - Inode number of quota file tracking project quotas
H A Dsuper.rst438 - Inode that tracks project quotas.
722 - Filesystem tracks project quotas. (RO_COMPAT_PROJECT)
/linux/Documentation/admin-guide/
H A Dhighuid.rst17 - Disk quotas have an interesting limitation that is not related to the
/linux/Documentation/mm/damon/
H A Ddesign.rst451 feature called quotas. It lets users specify an upper limit of time that DAMOS
455 To know how user-space can set the basic quotas via :ref:`DAMON sysfs interface
456 <sysfs_interface>`, refer to :ref:`quotas <sysfs_quotas>` part of the
465 A mechanism for making a good decision under the quotas. When the action
466 cannot be applied to all regions of interest due to the quotas, DAMOS
468 priorities so that it will not exceed the quotas.
646 <damon_design_damos_access_pattern>`, :ref:`quotas
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c452 dev->quotas.qp = dev->caps.num_qps - dev->caps.reserved_qps - in mlx4_init_quotas()
454 dev->quotas.cq = dev->caps.num_cqs - dev->caps.reserved_cqs; in mlx4_init_quotas()
455 dev->quotas.srq = dev->caps.num_srqs - dev->caps.reserved_srqs; in mlx4_init_quotas()
456 dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts; in mlx4_init_quotas()
457 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws; in mlx4_init_quotas()
462 dev->quotas.qp = in mlx4_init_quotas()
464 dev->quotas.cq = in mlx4_init_quotas()
466 dev->quotas.srq = in mlx4_init_quotas()
468 dev->quotas.mtt = in mlx4_init_quotas()
470 dev->quotas.mpt = in mlx4_init_quotas()
H A Dmain.c993 dev->quotas.qp = func_cap->qp_quota; in mlx4_slave_cap()
994 dev->quotas.srq = func_cap->srq_quota; in mlx4_slave_cap()
995 dev->quotas.cq = func_cap->cq_quota; in mlx4_slave_cap()
996 dev->quotas.mpt = func_cap->mpt_quota; in mlx4_slave_cap()
997 dev->quotas.mtt = func_cap->mtt_quota; in mlx4_slave_cap()
H A Dfw.c546 int err = 0, quotas = 0; in mlx4_QUERY_FUNC_CAP() local
575 quotas = !!(func_cap->flags & QUERY_FUNC_CAP_FLAG_QUOTAS); in mlx4_QUERY_FUNC_CAP()
583 if (quotas) { in mlx4_QUERY_FUNC_CAP()
H A Deq.c1251 err = mlx4_create_eq(dev, dev->quotas.cq + in mlx4_init_eq_table()
/linux/Documentation/filesystems/
H A Dnilfs2.rst43 - quotas
H A Dext2.rst218 quotas). It also keeps the filesystem from filling up entirely which
H A Dlocking.rst221 writes to quota files with quotas on). For other details about locking
/linux/include/linux/mlx4/
H A Ddevice.h880 struct mlx4_quotas quotas; member
/linux/Documentation/security/
H A Dcredentials.rst35 accounting and limitation (disk quotas and task rlimits for example).
/linux/net/netfilter/
H A DKconfig591 enforce bytes quotas.
/linux/Documentation/security/keys/
H A Dcore.rst171 * Each user has two quotas against which the keys they own are tracked. One