Home
last modified time | relevance | path

Searched refs:first_page (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/vm/
H A Dvm_phys.c111 vm_page_t first_page; member
576 seg->first_page = &vm_page_array[npages]; in vm_phys_init()
579 seg->first_page = PHYS_TO_VM_PAGE(seg->start); in vm_phys_init()
1000 return (&seg->first_page[atop(pa - seg->start)]); in vm_phys_seg_paddr_to_vm_page()
1032 m = &seg->first_page[atop(pa - seg->start)]; in vm_phys_fictitious_to_vm_page()
1073 if (pi >= first_page && (pi - first_page) < vm_page_array_size) { in vm_phys_fictitious_reg_range()
1074 fp = &vm_page_array[pi - first_page]; in vm_phys_fictitious_reg_range()
1075 if ((pe - first_page) > vm_page_array_size) { in vm_phys_fictitious_reg_range()
1084 dpage_count = vm_page_array_size - (pi - first_page); in vm_phys_fictitious_reg_range()
1097 } else if (pe > first_page && (pe - first_page) < vm_page_array_size) { in vm_phys_fictitious_reg_range()
[all …]
H A Dvm_page.c153 long first_page; variable
677 first_page = low_avail / PAGE_SIZE; in vm_page_startup()
769 vm_page_init_page(m, (first_page + ii) << PAGE_SHIFT, 0, in vm_page_startup()
816 for (m = seg->first_page, pa = seg->start; in vm_page_startup()
1290 if (pi >= first_page && (pi - first_page) < vm_page_array_size) { in PHYS_TO_VM_PAGE()
1291 m = &vm_page_array[pi - first_page]; in PHYS_TO_VM_PAGE()
H A Dvm_page.h502 extern long first_page; /* first physical page number */
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_fmr_pool.c110 static inline u32 ib_fmr_hash(u64 first_page) in ib_fmr_hash() argument
112 return jhash_2words((u32) first_page, (u32) (first_page >> 32), 0) & in ib_fmr_hash()
/freebsd/lib/libc/db/hash/
H A Dhash_page.c656 int bit, first_page, free_bit, free_page, i, in_use_bits, j; in overflow_page() local
667 first_page = hashp->LAST_FREED >>(hashp->BSHIFT + BYTE_SHIFT); in overflow_page()
668 for ( i = first_page; i <= free_page; i++ ) { in overflow_page()
677 if (i == first_page) { in overflow_page()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode_os.c1624 loff_t first_page, last_page, page_len; in zfs_free_range() local
1628 first_page = (off + PAGE_SIZE - 1) >> PAGE_SHIFT; in zfs_free_range()
1633 first_page_offset = first_page << PAGE_SHIFT; in zfs_free_range()
1644 if (first_page > last_page) { in zfs_free_range()
/freebsd/sys/dev/gve/
H A Dgve_tx.c444 uint64_t first_page = iov_offset / PAGE_SIZE; in gve_dma_sync_for_device() local
448 for (page = first_page; page <= last_page; page++) { in gve_dma_sync_for_device()
/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c3572 u8 first_page[SF_PAGE_SIZE]; in t4_load_fw() local
3631 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw()
3632 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); in t4_load_fw()
3633 ret = t4_write_flash(adap, fw_start, SF_PAGE_SIZE, first_page, 1); in t4_load_fw()
/freebsd/sys/powerpc/aim/
H A Dmmu_radix.c6447 pfn = first_page + (va - start) / sizeof(struct vm_page); in mmu_radix_page_array_startup()
/freebsd/sys/amd64/amd64/
H A Dpmap.c5076 pfn = first_page + (va - start) / sizeof(struct vm_page); in pmap_page_array_startup()