Searched refs:PAGE_ALIGN (Results 26 - 50 of 448) sorted by relevance
1234567891011>>
/linux-master/arch/powerpc/mm/ |
H A D | ioremap_32.c | 39 size = PAGE_ALIGN(addr + size) - p;
|
/linux-master/mm/kfence/ |
H A D | kfence.h | 105 #define KFENCE_METADATA_SIZE PAGE_ALIGN(sizeof(struct kfence_metadata) * \
|
/linux-master/mm/ |
H A D | ioremap.c | 34 size = PAGE_ALIGN(size + offset);
|
/linux-master/net/xdp/ |
H A D | xsk_queue.c | 39 * PAGE_ALIGN(), checking SIZE_MAX is enough due to the previous 47 size = PAGE_ALIGN(size);
|
/linux-master/drivers/gpu/drm/xe/display/ |
H A D | xe_dsb_buffer.c | 46 NULL, PAGE_ALIGN(size),
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc_ads.c | 131 return PAGE_ALIGN(ads->golden_lrc_size); 137 return PAGE_ALIGN(PAGE_SIZE); 152 return PAGE_ALIGN(ads_to_guc(ads)->fw.private_data_size); 167 return PAGE_ALIGN(offset); 177 return PAGE_ALIGN(offset); 187 return PAGE_ALIGN(offset); 197 return PAGE_ALIGN(offset); 256 alloc_size = PAGE_ALIGN(real_size); 640 alloc_size = PAGE_ALIGN(real_size);
|
H A D | xe_guc_hwconfig.c | 80 bo = xe_managed_bo_create_pin_map(xe, tile, PAGE_ALIGN(size),
|
/linux-master/arch/arm/mm/ |
H A D | mmap.c | 63 addr = PAGE_ALIGN(addr); 115 addr = PAGE_ALIGN(addr);
|
/linux-master/arch/microblaze/kernel/ |
H A D | setup.c | 105 romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base)); 108 romfs_size = PAGE_ALIGN(get_romfs_len((unsigned *)romfs_base));
|
/linux-master/arch/sh/mm/ |
H A D | mmap.c | 83 addr = PAGE_ALIGN(addr); 133 addr = PAGE_ALIGN(addr);
|
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | mmap.c | 128 size = PAGE_ALIGN(size); 158 size = PAGE_ALIGN(size);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mlock-random-test.c | 25 #define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1)) macro 176 if (locked_vm_size > PAGE_ALIGN(alloc_size, page_size) + page_size)
|
/linux-master/arch/m68k/amiga/ |
H A D | chipram.c | 78 size = PAGE_ALIGN(size);
|
/linux-master/drivers/mtd/maps/ |
H A D | uclinux.c | 80 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8))));
|
/linux-master/arch/xtensa/kernel/ |
H A D | syscall.c | 81 addr = PAGE_ALIGN(addr);
|
/linux-master/drivers/misc/ |
H A D | sram-exec.c | 96 pages = PAGE_ALIGN(size) / PAGE_SIZE;
|
/linux-master/arch/sh/include/asm/ |
H A D | processor_32.h | 36 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_dumb_buffers.c | 83 if (PAGE_ALIGN(size) == 0)
|
/linux-master/arch/x86/kernel/ |
H A D | shstk.c | 130 return PAGE_ALIGN(size); 132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); 311 need_to_check_vma = PAGE_ALIGN(*ssp) == *ssp; 528 aligned_size = PAGE_ALIGN(size);
|
/linux-master/arch/arc/mm/ |
H A D | mmap.c | 46 addr = PAGE_ALIGN(addr);
|
/linux-master/arch/arm64/include/asm/ |
H A D | kvm_pkvm.h | 54 return PAGE_ALIGN(KVM_MAX_PVMS * sizeof(void *)) >> PAGE_SHIFT;
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | mm.c | 57 cur = start + PAGE_ALIGN(size); 100 size = PAGE_ALIGN(size + offset_in_page(phys)); 123 end = PAGE_ALIGN(end); 165 end = PAGE_ALIGN((u64)hyp_phys_to_page(end));
|
/linux-master/arch/s390/mm/ |
H A D | mmap.c | 71 return PAGE_ALIGN(STACK_TOP - gap - rnd); 98 addr = PAGE_ALIGN(addr); 136 addr = PAGE_ALIGN(addr);
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 106 if (((addr + size) < addr) || PAGE_ALIGN(addr + size) < (addr + size)) 121 npages = PAGE_ALIGN(size + (addr & ~PAGE_MASK)) >> PAGE_SHIFT; 219 npages = PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT; 350 npages = PAGE_ALIGN(size + offset) >> PAGE_SHIFT; 426 return PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT;
|
/linux-master/fs/erofs/ |
H A D | decompressor.c | 134 omargin = PAGE_ALIGN(ctx->oend) - ctx->oend; 281 ctx.outpages = PAGE_ALIGN(ctx.oend) >> PAGE_SHIFT; 282 ctx.inpages = PAGE_ALIGN(rq->inputsize) >> PAGE_SHIFT; 319 PAGE_ALIGN(rq->pageofs_in + rq->inputsize) >> PAGE_SHIFT; 321 PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT;
|
Completed in 378 milliseconds
1234567891011>>