Searched refs:npg (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/arch/x86/mm/pat/ |
A D | set_memory.c | 573 unsigned long pfn, unsigned long npg, in static_protections() argument 587 end = start + npg * PAGE_SIZE - 1; in static_protections() 599 if (lpsize != (npg * PAGE_SIZE) || (start & (lpsize - 1))) { in static_protections() 606 res = protect_pci_bios(pfn, pfn + npg - 1); in static_protections() 610 res = protect_rodata(pfn, pfn + npg - 1); in static_protections() 621 unsigned long pfn, unsigned long npg) in verify_rwx() argument 643 end = start + npg * PAGE_SIZE - 1; in verify_rwx() 1004 unsigned int npg = PFN_DOWN(size); in split_set_pte() local 1015 prot = static_protections(ref_prot, address, pfn, npg, 0, CPA_PROTECT); in split_set_pte()
|
/linux-6.3-rc2/fs/nfs/blocklayout/ |
A D | blocklayout.c | 124 do_add_page_to_bio(struct bio *bio, int npg, enum req_op op, sector_t isect, in do_add_page_to_bio() argument 134 npg, (__force u32)op, (unsigned long long)isect, offset, *len); in do_add_page_to_bio() 157 bio = bio_alloc(map->bdev, bio_max_segs(npg), op, GFP_NOIO); in do_add_page_to_bio()
|
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-gic-v3-its.c | 2735 unsigned int psz, esz, idx, npg, gpsz; in allocate_vpe_l2_table() local 2751 npg = FIELD_GET(GICR_VPROPBASER_4_1_SIZE, val) + 1; in allocate_vpe_l2_table() 2770 return (id < (npg * psz / (esz * SZ_8))); in allocate_vpe_l2_table() 2774 if (idx >= (npg * psz / GITS_LVL1_ENTRY_SIZE)) in allocate_vpe_l2_table() 2805 u64 val, gpsz, npg, pa; in allocate_vpe_l1_table() local 2888 npg = DIV_ROUND_UP(nl2 * SZ_8, psz); in allocate_vpe_l1_table() 2890 npg = 1; in allocate_vpe_l1_table() 2893 val |= FIELD_PREP(GICR_VPROPBASER_4_1_SIZE, npg - 1); in allocate_vpe_l1_table() 2896 np = DIV_ROUND_UP(npg * psz, PAGE_SIZE); in allocate_vpe_l1_table() 2899 np, npg, psz, epp, esz); in allocate_vpe_l1_table()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | pgtable.h | 839 static inline unsigned long pages_to_mb(unsigned long npg) in pages_to_mb() argument 841 return npg >> (20 - PAGE_SHIFT); in pages_to_mb()
|
Completed in 23 milliseconds