Home
last modified time | relevance | path

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

12

/linux/mm/damon/
H A Dsysfs-schemes.c1189 static int damon_sysfs_quotas_add_dirs(struct damon_sysfs_quotas *quotas) in damon_sysfs_quotas_add_dirs() argument
1200 &quotas->kobj, "weights"); in damon_sysfs_quotas_add_dirs()
1205 quotas->weights = weights; in damon_sysfs_quotas_add_dirs()
1213 &damos_sysfs_quota_goals_ktype, &quotas->kobj, in damon_sysfs_quotas_add_dirs()
1219 quotas->goals = goals; in damon_sysfs_quotas_add_dirs()
1225 static void damon_sysfs_quotas_rm_dirs(struct damon_sysfs_quotas *quotas) in damon_sysfs_quotas_rm_dirs() argument
1227 kobject_put(&quotas->weights->kobj); in damon_sysfs_quotas_rm_dirs()
1228 damos_sysfs_quota_goals_rm_dirs(quotas->goals); in damon_sysfs_quotas_rm_dirs()
1229 kobject_put(&quotas->goals->kobj); in damon_sysfs_quotas_rm_dirs()
1235 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_show() local
[all …]
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst81 │ │ │ │ │ │ │ quotas/ms,bytes,reset_interval_ms
211 在每个方案目录中,存在五个目录(``access_pattern``、``quotas``、``watermarks``、
236 schemes/<N>/quotas/
247 在 ``quotas`` 目录下,存在三个文件(``ms``, ``bytes``, ``reset_interval_ms``)和一个
324 # # set quotas
325 # echo 10 > quotas/ms
326 # echo $((1024*1024*1024)) > quotas/bytes
327 # echo 1000 > quotas/reset_interval_ms
515 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
H A Dusage.rst81 │ │ │ │ │ │ │ quotas/ms,bytes,reset_interval_ms
211 在每個方案目錄中,存在五個目錄(``access_pattern``、``quotas``、``watermarks``、
236 schemes/<N>/quotas/
247 在 ``quotas`` 目錄下,存在三個文件(``ms``, ``bytes``, ``reset_interval_ms``)和一個
324 # # set quotas
325 # echo 10 > quotas/ms
326 # echo $((1024*1024*1024)) > quotas/bytes
327 # echo 1000 > quotas/reset_interval_ms
515 # scheme+=" 10 $((1024*1024*1024)) 1000" # quotas
/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.h1038 struct bch_memquota_type quotas[QTYP_NR]; member
H A Dbcachefs_format.h1306 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_met…
244 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/target_val…
250 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/goals/<G>/current_va…
[all …]
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst86 │ │ │ │ │ │ │ :ref:`quotas <sysfs_quotas>`/ms,bytes,reset_interval_ms,effective_bytes
158 kdamond. For more details, refer to :ref:`quotas directory <sysfs_quotas>`.
291 In each scheme directory, five directories (``access_pattern``, ``quotas``,
324 schemes/<N>/quotas/
327 The directory for the :ref:`quotas <damon_design_damos_quotas>` of the given
330 Under ``quotas`` directory, four files (``ms``, ``bytes``,
361 schemes/<N>/quotas/goals/ argument
534 # # set quotas
535 # echo 10 > quotas/ms
536 # echo $((1024*1024*1024)) > quotas/bytes
[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.rst394 feature called quotas. It lets users specify an upper limit of time that DAMOS
398 To know how user-space can set the basic quotas via :ref:`DAMON sysfs interface
399 <sysfs_interface>`, refer to :ref:`quotas <sysfs_quotas>` part of the
408 A mechanism for making a good decision under the quotas. When the action
409 cannot be applied to all regions of interest due to the quotas, DAMOS
411 priorities so that it will not exceed the quotas.
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h2200 struct iwl_time_quota_data_v1 *quotas; in iwl_mvm_quota_cmd_get_quota() local
2203 return &cmd->quotas[i]; in iwl_mvm_quota_cmd_get_quota()
2205 quotas = (struct iwl_time_quota_data_v1 *)cmd->quotas; in iwl_mvm_quota_cmd_get_quota()
2206 return (struct iwl_time_quota_data *)&quotas[i]; in iwl_mvm_quota_cmd_get_quota()
/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/drivers/infiniband/hw/mlx4/
H A Dmain.c532 props->max_qp = dev->dev->quotas.qp; in mlx4_ib_query_device()
539 props->max_cq = dev->dev->quotas.cq; in mlx4_ib_query_device()
541 props->max_mr = dev->dev->quotas.mpt; in mlx4_ib_query_device()
546 props->max_srq = dev->dev->quotas.srq; in mlx4_ib_query_device()
/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.rst216 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.

12