Home
last modified time | relevance | path

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

/linux-6.1.9/mm/damon/
Dcore.c271 quota->esz = 0; in damos_quota_init_priv()
691 if (!ret || !s->quota.esz || !c->ops.get_scheme_score) in damos_valid_target()
713 if (quota->esz && quota->charged_sz >= quota->esz) in damon_do_apply_schemes()
752 if (quota->esz && in damon_do_apply_schemes()
753 quota->charged_sz + sz > quota->esz) { in damon_do_apply_schemes()
754 sz = ALIGN_DOWN(quota->esz - quota->charged_sz, in damon_do_apply_schemes()
766 if (quota->esz && quota->charged_sz >= quota->esz) { in damon_do_apply_schemes()
787 unsigned long esz; in damos_set_effective_quota() local
790 quota->esz = quota->sz; in damos_set_effective_quota()
799 esz = throughput * quota->ms; in damos_set_effective_quota()
[all …]
/linux-6.1.9/arch/arm64/lib/
Dinsn.c1478 unsigned int immr, imms, n, ones, ror, esz, tmp; in aarch64_encode_immediate() local
1483 esz = 32; in aarch64_encode_immediate()
1487 esz = 64; in aarch64_encode_immediate()
1494 mask = GENMASK(esz - 1, 0); in aarch64_encode_immediate()
1504 for (tmp = esz / 2; tmp >= 2; tmp /= 2) { in aarch64_encode_immediate()
1510 esz = tmp; in aarch64_encode_immediate()
1515 n = esz == 64; in aarch64_encode_immediate()
1528 imms |= 0xf << ffs(esz); in aarch64_encode_immediate()
1563 immr = (esz - ror) % esz; in aarch64_encode_immediate()
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-its.c922 int esz = GITS_BASER_ENTRY_SIZE(baser); in vgic_its_check_id() local
942 if (id >= (l1_tbl_size / esz)) in vgic_its_check_id()
945 addr = base + id * esz; in vgic_its_check_id()
954 index = id / (SZ_64K / esz); in vgic_its_check_id()
974 index = id % (SZ_64K / esz); in vgic_its_check_id()
975 indirect_ptr += index * esz; in vgic_its_check_id()
2140 static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz, in scan_its_table() argument
2150 memset(entry, 0, esz); in scan_its_table()
2156 ret = kvm_read_guest_lock(kvm, gpa, entry, esz); in scan_its_table()
2164 byte_offset = next_offset * esz; in scan_its_table()
[all …]
/linux-6.1.9/drivers/irqchip/
Dirq-gic-v3-its.c2298 u64 esz = GITS_BASER_ENTRY_SIZE(val); in its_setup_baser() local
2339 ((esz - 1) << GITS_BASER_ENTRY_SIZE_SHIFT) | in its_setup_baser()
2389 tmp = indirect ? GITS_LVL1_ENTRY_SIZE : esz; in its_setup_baser()
2395 indirect ? "indirect" : "flat", (int)esz, in its_setup_baser()
2407 u64 esz = GITS_BASER_ENTRY_SIZE(tmp); in its_parse_indirect_baser() local
2414 if ((esz << ids) > (psz * 2)) { in its_parse_indirect_baser()
2430 ids -= ilog2(psz / (int)esz); in its_parse_indirect_baser()
2431 esz = GITS_LVL1_ENTRY_SIZE; in its_parse_indirect_baser()
2442 new_order = max_t(u32, get_order(esz << ids), new_order); in its_parse_indirect_baser()
2445 ids = ilog2(PAGE_ORDER_TO_SIZE(new_order) / (int)esz); in its_parse_indirect_baser()
[all …]
/linux-6.1.9/include/linux/
Ddamon.h148 unsigned long esz; /* Effective size quota in bytes */ member