Home
last modified time | relevance | path

Searched refs:esz (Results 1 – 4 of 4) sorted by relevance

/linux/mm/damon/
H A Dcore.c368 quota->esz = 0; in damos_quota_init()
1695 if (!ret || !s->quota.esz || !c->ops.get_scheme_score) in damos_valid_target()
1965 if (quota->esz && quota->charged_sz + sz > quota->esz) { in damos_apply_scheme()
1966 sz = ALIGN_DOWN(quota->esz - quota->charged_sz, in damos_apply_scheme()
1984 if (quota->esz && quota->charged_sz >= quota->esz) { in damos_apply_scheme()
2012 if (quota->esz && quota->charged_sz >= quota->esz) in damon_do_apply_schemes()
2232 unsigned long esz = ULONG_MAX; in damos_set_effective_quota() local
2235 quota->esz = quota->sz; in damos_set_effective_quota()
2245 esz = quota->esz_bp / 10000; in damos_set_effective_quota()
2254 esz = min(throughput * quota->ms, esz); in damos_set_effective_quota()
[all …]
H A Dsysfs-schemes.c2670 sysfs_quotas->effective_sz = scheme->quota.esz; in damos_sysfs_update_effective_quotas()
/linux/drivers/irqchip/
H A Dirq-gic-v3-its.c2385 u64 esz = GITS_BASER_ENTRY_SIZE(val); in its_setup_baser() local
2426 ((esz - 1) << GITS_BASER_ENTRY_SIZE_SHIFT) | in its_setup_baser()
2478 tmp = indirect ? GITS_LVL1_ENTRY_SIZE : esz; in its_setup_baser()
2484 indirect ? "indirect" : "flat", (int)esz, in its_setup_baser()
2496 u64 esz = GITS_BASER_ENTRY_SIZE(tmp); in its_parse_indirect_baser() local
2503 if ((esz << ids) > (psz * 2)) { in its_parse_indirect_baser()
2519 ids -= ilog2(psz / (int)esz); in its_parse_indirect_baser()
2520 esz = GITS_LVL1_ENTRY_SIZE; in its_parse_indirect_baser()
2531 new_order = max_t(u32, get_order(esz << ids), new_order); in its_parse_indirect_baser()
2534 ids = ilog2(PAGE_ORDER_TO_SIZE(new_order) / (int)esz); in its_parse_indirect_baser()
[all …]
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c873 int esz = GITS_BASER_ENTRY_SIZE(baser); in vgic_its_check_id() local
893 if (id >= (l1_tbl_size / esz)) in vgic_its_check_id()
896 addr = base + id * esz; in vgic_its_check_id()
905 index = id / (SZ_64K / esz); in vgic_its_check_id()
925 index = id % (SZ_64K / esz); in vgic_its_check_id()
926 indirect_ptr += index * esz; in vgic_its_check_id()
2067 static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz, in scan_its_table() argument
2077 memset(entry, 0, esz); in scan_its_table()
2083 ret = kvm_read_guest_lock(kvm, gpa, entry, esz); in scan_its_table()
2091 byte_offset = next_offset * esz; in scan_its_table()