/linux/mm/damon/ |
H A 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/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
H A 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/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
H A 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/fs/bcachefs/ |
H A 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 …]
|
H A D | bcachefs.h | 1038 struct bch_memquota_type quotas[QTYP_NR]; member
|
H A D | bcachefs_format.h | 1306 x(quotas, 5, 0, \
|
/linux/Documentation/ABI/testing/ |
H A 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/Documentation/admin-guide/mm/damon/ |
H A 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 …]
|
H A 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/Documentation/filesystems/ext4/ |
H A D | special_inodes.rst | 53 - Inode number of quota file tracking project quotas
|
H A D | super.rst | 438 - Inode that tracks project quotas. 722 - Filesystem tracks project quotas. (RO_COMPAT_PROJECT)
|
/linux/Documentation/admin-guide/ |
H A D | highuid.rst | 17 - Disk quotas have an interesting limitation that is not related to the
|
/linux/Documentation/mm/damon/ |
H A 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/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mvm.h | 2200 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 *)"as[i]; in iwl_mvm_quota_cmd_get_quota()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | eq.c | 1251 err = mlx4_create_eq(dev, dev->quotas.cq + in mlx4_init_eq_table()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A 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/Documentation/filesystems/ |
H A D | nilfs2.rst | 43 - quotas
|
H A D | ext2.rst | 218 quotas). It also keeps the filesystem from filling up entirely which
|
H A D | locking.rst | 216 writes to quota files with quotas on). For other details about locking
|
/linux/include/linux/mlx4/ |
H A D | device.h | 880 struct mlx4_quotas quotas; member
|
/linux/Documentation/security/ |
H A D | credentials.rst | 35 accounting and limitation (disk quotas and task rlimits for example).
|
/linux/net/netfilter/ |
H A D | Kconfig | 591 enforce bytes quotas.
|