/include/linux/ |
D | generic-radix-tree.h | 104 BUILD_BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset() 106 BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset() 109 size_t objs_per_page = PAGE_SIZE / obj_size; in __idx_to_offset() 111 return (idx / objs_per_page) * PAGE_SIZE + in __idx_to_offset() 183 PAGE_SIZE / __genradix_obj_size(_radix))) 197 (iter->offset & (PAGE_SIZE - 1)) + obj_size > PAGE_SIZE) in __genradix_iter_advance() 198 iter->offset = round_up(iter->offset, PAGE_SIZE); in __genradix_iter_advance()
|
D | pfn.h | 18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) 19 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
|
D | highmem.h | 315 kmsan_unpoison_memory(page_address(to), PAGE_SIZE); in copy_user_highpage() 331 ret = copy_mc_to_kernel(vto, vfrom, PAGE_SIZE); in copy_mc_user_highpage() 333 kmsan_unpoison_memory(page_address(to), PAGE_SIZE); in copy_mc_user_highpage() 371 VM_BUG_ON(dst_off + len > PAGE_SIZE || src_off + len > PAGE_SIZE); in memcpy_page() 382 VM_BUG_ON(offset + len > PAGE_SIZE); in memset_page() 392 VM_BUG_ON(offset + len > PAGE_SIZE); in memcpy_from_page() 402 VM_BUG_ON(offset + len > PAGE_SIZE); in memcpy_to_page() 412 VM_BUG_ON(offset + len > PAGE_SIZE); in memzero_page()
|
D | ring_buffer_ext.h | 34 page_va = ALIGN_DOWN(page_va, PAGE_SIZE); in rb_ext_page_get_footer() 36 return (struct rb_ext_page_footer *)(page_va + PAGE_SIZE - in rb_ext_page_get_footer()
|
D | ndctl.h | 19 ND_MIN_NAMESPACE_SIZE = PAGE_SIZE,
|
D | moduleloader.h | 107 #define MODULE_ALIGN (PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT) 109 #define MODULE_ALIGN PAGE_SIZE
|
D | threads.h | 34 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
|
D | highmem-internal.h | 78 struct page *page = folio_page(folio, offset / PAGE_SIZE); in kmap_local_folio() 79 return __kmap_local_page_prot(page, kmap_prot) + offset % PAGE_SIZE; in kmap_local_folio() 203 kunmap_flush_on_unmap(PTR_ALIGN_DOWN(addr, PAGE_SIZE)); in __kunmap_local() 230 kunmap_flush_on_unmap(PTR_ALIGN_DOWN(addr, PAGE_SIZE)); in __kunmap_atomic()
|
D | bvec.h | 88 (mp_bvec_iter_offset((bvec), (iter)) / PAGE_SIZE) 99 (mp_bvec_iter_offset((bvec), (iter)) % PAGE_SIZE) 103 PAGE_SIZE - bvec_iter_offset((bvec), (iter))) 192 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance()
|
D | pktcdvd.h | 80 #if (PAGE_SIZE % CD_FRAMESIZE) != 0 84 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
|
D | trace_seq.h | 15 char buffer[PAGE_SIZE]; 23 seq_buf_init(&s->seq, s->buffer, PAGE_SIZE); in trace_seq_init()
|
D | mm_types_task.h | 54 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
|
D | nfsacl.h | 19 #define NFSACL_MAXPAGES ((2*(8+12*NFS_ACL_MAX_ENTRIES) + PAGE_SIZE-1) \
|
D | bootmem_info.h | 63 kmemleak_free_part(page_to_virt(page), PAGE_SIZE); in free_bootmem_page()
|
D | io-mapping.h | 167 return io_mapping_map_wc(mapping, offset, PAGE_SIZE); in io_mapping_map_atomic_wc() 181 return io_mapping_map_wc(mapping, offset, PAGE_SIZE); in io_mapping_map_local_wc()
|
/include/asm-generic/ |
D | page.h | 18 #define PAGE_SIZE (1 << PAGE_SHIFT) 20 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro 22 #define PAGE_MASK (~(PAGE_SIZE-1)) 28 #define clear_page(page) memset((page), 0, PAGE_SIZE) 29 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
|
D | tlb.h | 202 ((PAGE_SIZE - sizeof(struct mmu_table_batch)) / sizeof(void *)) 253 ((PAGE_SIZE - sizeof(struct mmu_gather_batch)) / sizeof(void *)) 444 return __tlb_remove_page_size(tlb, page, PAGE_SIZE); in __tlb_remove_page() 453 return tlb_remove_page_size(tlb, page, PAGE_SIZE); in tlb_remove_page() 569 tlb_flush_pte_range(tlb, address, PAGE_SIZE); \ 636 tlb_flush_pmd_range(tlb, address, PAGE_SIZE); \ 645 tlb_flush_pud_range(tlb, address, PAGE_SIZE); \ 654 tlb_flush_p4d_range(tlb, address, PAGE_SIZE); \ 663 __tlb_adjust_range(tlb, address, PAGE_SIZE); \
|
D | shmparam.h | 5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
|
D | pgalloc.h | 140 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free() 177 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in __pud_free()
|
D | vmlinux.lds.h | 378 . = ALIGN(PAGE_SIZE); \ 381 . = ALIGN(PAGE_SIZE); \ 783 . = ALIGN(PAGE_SIZE); \ 785 . = ALIGN(PAGE_SIZE); \ 997 . = ALIGN(PAGE_SIZE); \ 999 . = ALIGN(PAGE_SIZE); 1076 . = ALIGN(PAGE_SIZE); \ 1130 . = ALIGN(PAGE_SIZE); \ 1156 . = ALIGN(PAGE_SIZE); \
|
/include/linux/raid/ |
D | pq.h | 22 extern const char raid6_empty_zero_page[PAGE_SIZE]; 44 #ifndef PAGE_SIZE 45 # define PAGE_SIZE 4096 macro 50 extern const char raid6_empty_zero_page[PAGE_SIZE]; 175 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ 179 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
|
/include/uapi/linux/ |
D | binfmts.h | 15 #define MAX_ARG_STRLEN (PAGE_SIZE * 32)
|
/include/crypto/ |
D | if_alg.h | 190 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf() 202 return PAGE_SIZE <= af_alg_sndbuf(sk); in af_alg_writable() 216 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf() 228 return PAGE_SIZE <= af_alg_rcvbuf(sk); in af_alg_readable()
|
/include/xen/ |
D | page.h | 23 #define XEN_PFN_PER_PAGE (PAGE_SIZE / XEN_PAGE_SIZE)
|
/include/linux/sunrpc/ |
D | svc.h | 193 #define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE \ 376 return vec->iov_len <= PAGE_SIZE; in xdr_ressize_check() 588 xdr->end = resv->iov_base + PAGE_SIZE - rqstp->rq_auth_slack; in svcxdr_init_encode() 591 buf->buflen = PAGE_SIZE * (rqstp->rq_page_end - buf->pages); in svcxdr_init_encode()
|