Searched refs:quotas (Results 1 - 12 of 12) sorted by path

/linux-master/drivers/infiniband/hw/mlx4/
H A Dmain.c532 props->max_qp = dev->dev->quotas.qp;
539 props->max_cq = dev->dev->quotas.cq;
541 props->max_mr = dev->dev->quotas.mpt;
546 props->max_srq = dev->dev->quotas.srq;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c1251 err = mlx4_create_eq(dev, dev->quotas.cq +
H A Dfw.c546 int err = 0, quotas = 0; local
575 quotas = !!(func_cap->flags & QUERY_FUNC_CAP_FLAG_QUOTAS);
583 if (quotas) {
715 * TODO: set per-resource quotas */
H A Dmain.c999 dev->quotas.qp = func_cap->qp_quota;
1000 dev->quotas.srq = func_cap->srq_quota;
1001 dev->quotas.cq = func_cap->cq_quota;
1002 dev->quotas.mpt = func_cap->mpt_quota;
1003 dev->quotas.mtt = func_cap->mtt_quota;
H A Dresource_tracker.c447 /* quotas for VFs are initialized in mlx4_slave_cap */
452 dev->quotas.qp = dev->caps.num_qps - dev->caps.reserved_qps -
454 dev->quotas.cq = dev->caps.num_cqs - dev->caps.reserved_cqs;
455 dev->quotas.srq = dev->caps.num_srqs - dev->caps.reserved_srqs;
456 dev->quotas.mtt = dev->caps.num_mtts - dev->caps.reserved_mtts;
457 dev->quotas.mpt = dev->caps.num_mpts - dev->caps.reserved_mrws;
462 dev->quotas.qp =
464 dev->quotas.cq =
466 dev->quotas.srq =
468 dev->quotas
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h82 * @quotas: allocations per binding
88 struct iwl_time_quota_data_v1 quotas[MAX_BINDINGS]; member in struct:iwl_time_quota_cmd_v1
120 * @quotas: allocations per binding
123 struct iwl_time_quota_data quotas[MAX_BINDINGS]; member in struct:iwl_time_quota_cmd
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h2130 struct iwl_time_quota_data_v1 *quotas; local
2133 return &cmd->quotas[i];
2135 quotas = (struct iwl_time_quota_data_v1 *)cmd->quotas;
2136 return (struct iwl_time_quota_data *)&quotas[i];
/linux-master/fs/bcachefs/
H A Dbcachefs.h1071 struct bch_memquota_type quotas[QTYP_NR];
1065 struct bch_memquota_type quotas[QTYP_NR]; member in struct:bch_fs
H A Dbcachefs_format.h1517 x(quotas, 5, 0, \
H A Dquota.c136 _q = &(_c)->quotas[_i], \
228 struct bch_memquota_type *q = &c->quotas[qtype];
395 q = &c->quotas[k.k->p.inode];
428 for (i = 0; i < ARRAY_SIZE(c->quotas); i++)
429 genradix_free(&c->quotas[i].table);
436 for (i = 0; i < ARRAY_SIZE(c->quotas); i++)
437 mutex_init(&c->quotas[i].lock);
470 struct bch_memquota_type *q = &c->quotas[i];
547 /* Enable/disable/delete quotas for an entire filesystem: */
685 state->s_state[i].spc_timelimit = c->quotas[
[all...]
/linux-master/include/linux/mlx4/
H A Ddevice.h880 struct mlx4_quotas quotas; member in struct:mlx4_dev
/linux-master/mm/damon/
H A Dsysfs-schemes.c143 * access pattern, the watermarks, the quotas, and the filters,
1170 * quotas directory
1188 static int damon_sysfs_quotas_add_dirs(struct damon_sysfs_quotas *quotas) argument
1199 &quotas->kobj, "weights");
1204 quotas->weights = weights;
1212 &damos_sysfs_quota_goals_ktype, &quotas->kobj,
1218 quotas->goals = goals;
1224 static void damon_sysfs_quotas_rm_dirs(struct damon_sysfs_quotas *quotas) argument
1226 kobject_put(&quotas->weights->kobj);
1227 damos_sysfs_quota_goals_rm_dirs(quotas
1234 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1243 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1255 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1264 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1276 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1285 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1297 struct damon_sysfs_quotas *quotas = container_of(kobj, local
1443 struct damon_sysfs_quotas *quotas; member in struct:damon_sysfs_scheme
1503 struct damon_sysfs_quotas *quotas = damon_sysfs_quotas_alloc(); local
[all...]

Completed in 277 milliseconds