/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_icm.c | 110 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 D | bootinfo.c | 481 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 D | sanitizer_symbolizer_markup.cpp | 114 if (pc < PAGE_SIZE) return _URC_NORMAL_STOP;
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_gart.c | 75 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 D | ttm_page_alloc_dma.c | 59 #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 D | kern_sendfile.c | 199 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 D | kern_sharedpage.c | 113 shared_page_obj = vm_pager_allocate(OBJT_PHYS, 0, PAGE_SIZE, 119 addr = kva_alloc(PAGE_SIZE);
|
H A D | subr_param.c | 239 maxusers = physpages / (2 * 1024 * 1024 / PAGE_SIZE); 291 maxpipekva = (physpages / 64) * PAGE_SIZE;
|
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | ecoff.c | 770 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 D | pmap_var.h | 41 #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 D | rtas.c | 106 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 D | grackle.c | 135 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 D | uninorthpci.c | 162 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 D | locore.S | 165 PTR_ADDU sp, (PAGE_SIZE * 2) - CALLFRAME_SIZ
|
H A D | tlb.c | 315 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 D | qls_dbg.c | 282 (PAGE_SIZE >> 2)); 294 (PAGE_SIZE >> 2));
|
/freebsd-11-stable/sys/x86/xen/ |
H A D | hvm.c | 170 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 D | elf_machdep.c | 67 .sv_pagesize = PAGE_SIZE, 83 .sv_shared_page_len = PAGE_SIZE,
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | elf32_machdep.c | 82 .sv_pagesize = PAGE_SIZE, 106 .sv_shared_page_len = PAGE_SIZE,
|
H A D | db_trace.c | 159 if (stackframe < PAGE_SIZE) 177 if (stackframe < PAGE_SIZE)
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | elf_machdep.c | 72 .sv_pagesize = PAGE_SIZE, 91 .sv_shared_page_len = PAGE_SIZE,
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | vm_machdep.c | 89 td2->td_kstack_pages * PAGE_SIZE) - 1; 230 td->td_kstack_pages * PAGE_SIZE) - 1;
|
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp.c | 156 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 D | hyperv.c | 268 PAGE_SIZE); local 286 hypercall_context.hc_addr = (void *)kmem_malloc(kernel_arena, PAGE_SIZE,
|
H A D | vmbus_reg.h | 102 CTASSERT(sizeof(struct vmbus_mnf) == PAGE_SIZE); variable 133 CTASSERT(sizeof(struct vmbus_bufring) == PAGE_SIZE); variable
|