Searched refs:npg (Results 1 - 4 of 4) sorted by relevance

/linux-master/arch/x86/mm/pat/
H A Dset_memory.c574 unsigned long pfn, unsigned long npg,
588 end = start + npg * PAGE_SIZE - 1;
600 if (lpsize != (npg * PAGE_SIZE) || (start & (lpsize - 1))) {
607 res = protect_pci_bios(pfn, pfn + npg - 1);
611 res = protect_rodata(pfn, pfn + npg - 1);
622 unsigned long pfn, unsigned long npg)
644 end = start + npg * PAGE_SIZE - 1;
1009 unsigned int npg = PFN_DOWN(size); local
1020 prot = static_protections(ref_prot, address, pfn, npg, 0, CPA_PROTECT);
573 static_protections(pgprot_t prot, unsigned long start, unsigned long pfn, unsigned long npg, unsigned long lpsize, int warnlvl) argument
621 verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, unsigned long pfn, unsigned long npg) argument
/linux-master/fs/nfs/blocklayout/
H A Dblocklayout.c124 do_add_page_to_bio(struct bio *bio, int npg, enum req_op op, sector_t isect, argument
133 dprintk("%s: npg %d rw %d isect %llu offset %u len %d\n", __func__,
134 npg, (__force u32)op, (unsigned long long)isect, offset, *len);
157 bio = bio_alloc(map->bdev, bio_max_segs(npg), op, GFP_NOIO);
/linux-master/drivers/irqchip/
H A Dirq-gic-v3-its.c2778 unsigned int psz, esz, idx, npg, gpsz; local
2794 npg = FIELD_GET(GICR_VPROPBASER_4_1_SIZE, val) + 1;
2813 return (id < (npg * psz / (esz * SZ_8)));
2817 if (idx >= (npg * psz / GITS_LVL1_ENTRY_SIZE))
2848 u64 val, gpsz, npg, pa; local
2931 npg = DIV_ROUND_UP(nl2 * SZ_8, psz);
2933 npg = 1;
2936 val |= FIELD_PREP(GICR_VPROPBASER_4_1_SIZE, npg - 1);
2939 np = DIV_ROUND_UP(npg * psz, PAGE_SIZE);
2941 pr_debug("np = %d, npg
[all...]
/linux-master/arch/x86/include/asm/
H A Dpgtable.h1061 static inline unsigned long pages_to_mb(unsigned long npg) argument
1063 return npg >> (20 - PAGE_SHIFT);

Completed in 209 milliseconds