Searched refs:PAGE_SIZE (Results 251 - 275 of 784) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_icm.c110 sg_set_page(mem, page, PAGE_SIZE << order, 0);
117 void *buf = dma_alloc_coherent(dev, PAGE_SIZE << order,
122 sg_set_buf(mem, buf, PAGE_SIZE << order);
124 sg_dma_len(mem) = PAGE_SIZE << order;
/freebsd-11-stable/stand/efi/loader/
H A Dbootinfo.c481 addr = roundup(addr, PAGE_SIZE);
488 addr = roundup(addr, PAGE_SIZE);
497 addr += roundup(dtb_size, PAGE_SIZE);
525 kernend = roundup(addr + size, PAGE_SIZE);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_markup.cpp114 if (pc < PAGE_SIZE) return _URC_NORMAL_STOP;
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_gart.c75 PAGE_SIZE, BUS_SPACE_MAXADDR);
136 PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM,
245 p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE);
251 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) {
289 p = t / (PAGE_SIZE / RADEON_GPU_PAGE_SIZE);
296 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) {
325 for (j = 0; j < (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); j++, t++) {
349 /* We need PAGE_SIZE >= RADEON_GPU_PAGE_SIZE */
350 if (PAGE_SIZE < RADEON_GPU_PAGE_SIZE) {
358 rdev->gart.num_cpu_pages = rdev->mc.gtt_size / PAGE_SIZE;
[all...]
/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_page_alloc_dma.c59 #define NUM_PAGES_TO_ALLOC (PAGE_SIZE/sizeof(struct page *))
221 val = val / (PAGE_SIZE >> 10);
230 NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 7),
231 NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10));
235 NUM_PAGES_TO_ALLOC*(PAGE_SIZE >> 10));
257 val = val * (PAGE_SIZE >> 10);
259 return snprintf(buffer, PAGE_SIZE, "%u\n", val);
607 pool->size = PAGE_SIZE;
717 (unsigned)(PAGE_SIZE/sizeof(struct page *)));
/freebsd-11-stable/sys/kern/
H A Dkern_sendfile.c199 return (omin(PAGE_SIZE - (off & PAGE_MASK), len));
204 return (PAGE_SIZE);
217 return (trunc_page(off + i * PAGE_SIZE));
246 *space -= (old - new) * PAGE_SIZE;
694 npages = howmany(space + (off & PAGE_MASK), PAGE_SIZE);
703 rhpages = howmany(rem + (off & PAGE_MASK), PAGE_SIZE) - npages;
705 rhpages = min(howmany(MAXPHYS, PAGE_SIZE), rhpages);
706 rhpages = min(howmany(obj_size - trunc_page(off), PAGE_SIZE) -
764 m0->m_ext.ext_size = PAGE_SIZE;
H A Dkern_sharedpage.c113 shared_page_obj = vm_pager_allocate(OBJT_PHYS, 0, PAGE_SIZE,
119 addr = kva_alloc(PAGE_SIZE);
H A Dsubr_param.c239 maxusers = physpages / (2 * 1024 * 1024 / PAGE_SIZE);
291 maxpipekva = (physpages / 64) * PAGE_SIZE;
/freebsd-11-stable/contrib/binutils/gas/
H A Decoff.c770 If PAGE_SIZE is > 4096, the string length in the shash_t structure
785 #ifndef PAGE_SIZE
786 #define PAGE_SIZE (8*1024) /* size of varray pages */
789 #define PAGE_USIZE ((unsigned long) PAGE_SIZE)
814 #define OBJECTS_PER_PAGE(type) (PAGE_SIZE / sizeof (type))
816 #define OBJECTS_PER_PAGE(type) ((sizeof (type) > 1) ? 1 : PAGE_SIZE)
1031 char byte [ PAGE_SIZE ];
1032 unsigned char ubyte [ PAGE_SIZE ];
1033 efdr_t file [ PAGE_SIZE / sizeof (efdr_t) ];
1034 FDR ofile [ PAGE_SIZE / sizeo
784 #define PAGE_SIZE macro
[all...]
/freebsd-11-stable/sys/arm/include/
H A Dpmap_var.h41 #define NPG_IN_PT1 (NB_IN_PT1 / PAGE_SIZE)
44 #define NPT2_IN_PG (PAGE_SIZE / NB_IN_PT2)
/freebsd-11-stable/sys/powerpc/ofw/
H A Drtas.c106 rtas_bounce_virt = contigmalloc(rtas_size + PAGE_SIZE, M_RTAS, 0, 0,
113 rtas_bounce_size = PAGE_SIZE;
/freebsd-11-stable/sys/powerpc/powermac/
H A Dgrackle.c135 sc->sc_addr = (vm_offset_t)pmap_mapdev(GRACKLE_ADDR, PAGE_SIZE);
136 sc->sc_data = (vm_offset_t)pmap_mapdev(GRACKLE_DATA, PAGE_SIZE);
H A Duninorthpci.c162 sc->sc_addr = (vm_offset_t)pmap_mapdev(regbase + 0x800000, PAGE_SIZE);
163 sc->sc_data = (vm_offset_t)pmap_mapdev(regbase + 0xc00000, PAGE_SIZE);
/freebsd-11-stable/sys/mips/mips/
H A Dlocore.S165 PTR_ADDU sp, (PAGE_SIZE * 2) - CALLFRAME_SIZ
H A Dtlb.c315 if ((va & PAGE_SIZE) == 0) {
331 mips_wr_entryhi(TLBHI_ENTRY(MIPS_KSEG0_START + (2 * i * PAGE_SIZE), 0));
/freebsd-11-stable/sys/dev/qlxge/
H A Dqls_dbg.c282 (PAGE_SIZE >> 2));
294 (PAGE_SIZE >> 2));
/freebsd-11-stable/sys/x86/xen/
H A Dhvm.c170 wrmsr(regs[1], vtophys(&hypercall_page + i * PAGE_SIZE) + i);
189 HYPERVISOR_shared_info = malloc(PAGE_SIZE, M_XENHVM, M_NOWAIT);
/freebsd-11-stable/sys/i386/i386/
H A Delf_machdep.c67 .sv_pagesize = PAGE_SIZE,
83 .sv_shared_page_len = PAGE_SIZE,
/freebsd-11-stable/sys/powerpc/powerpc/
H A Delf32_machdep.c82 .sv_pagesize = PAGE_SIZE,
106 .sv_shared_page_len = PAGE_SIZE,
H A Ddb_trace.c159 if (stackframe < PAGE_SIZE)
177 if (stackframe < PAGE_SIZE)
/freebsd-11-stable/sys/arm/arm/
H A Delf_machdep.c72 .sv_pagesize = PAGE_SIZE,
91 .sv_shared_page_len = PAGE_SIZE,
/freebsd-11-stable/sys/arm64/arm64/
H A Dvm_machdep.c89 td2->td_kstack_pages * PAGE_SIZE) - 1;
230 td->td_kstack_pages * PAGE_SIZE) - 1;
/freebsd-11-stable/sys/dev/agp/
H A Dagp.c156 entries * sizeof(u_int32_t), M_NOWAIT | M_ZERO, 0, ~0, PAGE_SIZE,
541 for (i = 0; i < mem->am_size; i += PAGE_SIZE) {
545 * entries in the GATT (assuming that PAGE_SIZE >=
570 for (i = 0; i < mem->am_size; i += PAGE_SIZE) {
575 * AGP_PAGE_SIZE < PAGE_SIZE and mem->am_size is not
576 * aligned to PAGE_SIZE, we don't modify too many GATT
579 for (j = 0; j < PAGE_SIZE && i + j < mem->am_size;
613 for (k = 0; k < mem->am_size; k += PAGE_SIZE) {
652 for (i = 0; i < mem->am_size; i += PAGE_SIZE) {
1002 for (i = 0; i < size; i += PAGE_SIZE) {
[all...]
/freebsd-11-stable/sys/dev/hyperv/vmbus/
H A Dhyperv.c268 PAGE_SIZE); local
286 hypercall_context.hc_addr = (void *)kmem_malloc(kernel_arena, PAGE_SIZE,
H A Dvmbus_reg.h102 CTASSERT(sizeof(struct vmbus_mnf) == PAGE_SIZE); variable
133 CTASSERT(sizeof(struct vmbus_bufring) == PAGE_SIZE); variable

Completed in 405 milliseconds

<<11121314151617181920>>