Home
last modified time | relevance | path

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

12

/openbmc/linux/mm/damon/
H A Dsysfs-schemes.c906 static int damon_sysfs_quotas_add_dirs(struct damon_sysfs_quotas *quotas) in damon_sysfs_quotas_add_dirs() argument
916 &quotas->kobj, "weights"); in damon_sysfs_quotas_add_dirs()
920 quotas->weights = weights; in damon_sysfs_quotas_add_dirs()
924 static void damon_sysfs_quotas_rm_dirs(struct damon_sysfs_quotas *quotas) in damon_sysfs_quotas_rm_dirs() argument
926 kobject_put(&quotas->weights->kobj); in damon_sysfs_quotas_rm_dirs()
932 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_show() local
935 return sysfs_emit(buf, "%lu\n", quotas->ms); in ms_show()
941 struct damon_sysfs_quotas *quotas = container_of(kobj, in ms_store() local
943 int err = kstrtoul(buf, 0, &quotas->ms); in ms_store()
953 struct damon_sysfs_quotas *quotas = container_of(kobj, in bytes_show() local
[all …]
/openbmc/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
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h88 struct iwl_time_quota_data_v1 quotas[MAX_BINDINGS]; member
123 struct iwl_time_quota_data quotas[MAX_BINDINGS]; member
/openbmc/linux/fs/quota/
H A DKconfig11 usage (also called disk quotas). Currently, it works for the
14 Ext3, ext4 and reiserfs also support journaled quotas for which
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon190 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
196 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
202 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
205 Description: Writing to and reading from this file sets and gets the quotas
208 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
215 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_…
222 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
343 the scheme's quotas.
/openbmc/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)
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst84 │ │ │ │ │ │ │ quotas/ms,bytes,reset_interval_ms
272 In each scheme directory, five directories (``access_pattern``, ``quotas``,
313 schemes/<N>/quotas/
316 The directory for the :ref:`quotas <damon_design_damos_quotas>` of the given
319 Under ``quotas`` directory, three files (``ms``, ``bytes``,
483 # # set quotas
484 # echo 10 > quotas/ms
485 # echo $((1024*1024*1024)) > quotas/bytes
486 # echo 1000 > quotas/reset_interval_ms
656 Users can set the :ref:`quotas <damon_design_damos_quotas>` of the given scheme
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Dhighuid.rst17 - Disk quotas have an interesting limitation that is not related to the
/openbmc/linux/fs/reiserfs/
H A DKconfig20 for NFS and quotas, please see
/openbmc/linux/Documentation/filesystems/
H A Dceph.rst77 Finally, Ceph also allows quotas to be set on any directory in the system.
85 A limitation of the current quotas implementation is that it relies on the
H A Dtmpfs.rst157 Note that tmpfs quotas do not support user namespaces so no uid/gid
158 translation is done if quotas are enabled inside user namespaces.
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
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h1979 struct iwl_time_quota_data_v1 *quotas; in iwl_mvm_quota_cmd_get_quota() local
1982 return &cmd->quotas[i]; in iwl_mvm_quota_cmd_get_quota()
1984 quotas = (struct iwl_time_quota_data_v1 *)cmd->quotas; in iwl_mvm_quota_cmd_get_quota()
1985 return (struct iwl_time_quota_data *)&quotas[i]; in iwl_mvm_quota_cmd_get_quota()
/openbmc/linux/Documentation/mm/damon/
H A Ddesign.rst311 feature called quotas. It lets users specify an upper limit of time that DAMOS
321 A mechanism for making a good decision under the quotas. When the action
322 cannot be applied to all regions of interest due to the quotas, DAMOS
324 priorities so that it will not exceed the quotas.
/openbmc/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.c997 dev->quotas.qp = func_cap->qp_quota; in mlx4_slave_cap()
998 dev->quotas.srq = func_cap->srq_quota; in mlx4_slave_cap()
999 dev->quotas.cq = func_cap->cq_quota; in mlx4_slave_cap()
1000 dev->quotas.mpt = func_cap->mpt_quota; in mlx4_slave_cap()
1001 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()
/openbmc/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()
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h880 struct mlx4_quotas quotas; member
/openbmc/linux/Documentation/security/
H A Dcredentials.rst35 accounting and limitation (disk quotas and task rlimits for example).
/openbmc/linux/net/netfilter/
H A DKconfig591 enforce bytes quotas.

12