/linux-6.12.1/mm/damon/ |
D | sysfs-schemes.c | 1189 static int damon_sysfs_quotas_add_dirs(struct damon_sysfs_quotas *quotas) in damon_sysfs_quotas_add_dirs() argument 1200 "as->kobj, "weights"); in damon_sysfs_quotas_add_dirs() 1205 quotas->weights = weights; in damon_sysfs_quotas_add_dirs() 1213 &damos_sysfs_quota_goals_ktype, "as->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("as->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("as->goals->kobj); in damon_sysfs_quotas_rm_dirs() 1235 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_show() local [all …]
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 81 │ │ │ │ │ │ │ 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-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
D | usage.rst | 81 │ │ │ │ │ │ │ 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-6.12.1/fs/bcachefs/ |
D | quota.c | 136 _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 …]
|
D | bcachefs.h | 1038 struct bch_memquota_type quotas[QTYP_NR]; member
|
D | bcachefs_format.h | 1306 x(quotas, 5, 0, \
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | binding.h | 88 struct iwl_time_quota_data_v1 quotas[MAX_BINDINGS]; member 123 struct iwl_time_quota_data quotas[MAX_BINDINGS]; member
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 39 '.../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-6.12.1/fs/quota/ |
D | Kconfig | 11 usage (also called disk quotas). Currently, it works for the 14 Ext3, ext4 and reiserfs also support journaled quotas for which
|
/linux-6.12.1/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 86 │ │ │ │ │ │ │ :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 …]
|
D | reclaim.rst | 125 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-6.12.1/Documentation/filesystems/ext4/ |
D | special_inodes.rst | 53 - Inode number of quota file tracking project quotas
|
D | super.rst | 438 - Inode that tracks project quotas. 722 - Filesystem tracks project quotas. (RO_COMPAT_PROJECT)
|
/linux-6.12.1/Documentation/admin-guide/ |
D | highuid.rst | 17 - Disk quotas have an interesting limitation that is not related to the
|
/linux-6.12.1/Documentation/mm/damon/ |
D | design.rst | 394 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-6.12.1/fs/reiserfs/ |
D | Kconfig | 20 for NFS and quotas, please see
|
/linux-6.12.1/Documentation/filesystems/ |
D | ceph.rst | 80 Finally, Ceph also allows quotas to be set on any directory in the system. 88 A limitation of the current quotas implementation is that it relies on the
|
D | tmpfs.rst | 157 Note that tmpfs quotas do not support user namespaces so no uid/gid 158 translation is done if quotas are enabled inside user namespaces.
|
D | nilfs2.rst | 43 - quotas
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mvm.h | 2194 struct iwl_time_quota_data_v1 *quotas; in iwl_mvm_quota_cmd_get_quota() local 2197 return &cmd->quotas[i]; in iwl_mvm_quota_cmd_get_quota() 2199 quotas = (struct iwl_time_quota_data_v1 *)cmd->quotas; in iwl_mvm_quota_cmd_get_quota() 2200 return (struct iwl_time_quota_data *)"as[i]; in iwl_mvm_quota_cmd_get_quota()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 452 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()
|
D | main.c | 993 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()
|
D | fw.c | 546 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()
|
/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | main.c | 532 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-6.12.1/include/linux/mlx4/ |
D | device.h | 880 struct mlx4_quotas quotas; member
|