Searched refs:PAGE_SIZE (Results 1 – 25 of 77) sorted by relevance
1234
/include/linux/ |
D | generic-radix-tree.h | 102 BUILD_BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset() 104 BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset() 107 size_t objs_per_page = PAGE_SIZE / obj_size; in __idx_to_offset() 109 return (idx / objs_per_page) * PAGE_SIZE + in __idx_to_offset() 181 PAGE_SIZE / __genradix_obj_size(_radix))) 189 (iter->offset & (PAGE_SIZE - 1)) + obj_size > PAGE_SIZE) in __genradix_iter_advance() 190 iter->offset = round_up(iter->offset, PAGE_SIZE); in __genradix_iter_advance()
|
D | bvec.h | 59 (mp_bvec_iter_offset((bvec), (iter)) / PAGE_SIZE) 70 (mp_bvec_iter_offset((bvec), (iter)) % PAGE_SIZE) 74 PAGE_SIZE - bvec_iter_offset((bvec), (iter))) 155 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance() 173 unsigned last_page = (total - 1) / PAGE_SIZE; in mp_bvec_last_segment() 178 if (bvec->bv_offset >= last_page * PAGE_SIZE) { in mp_bvec_last_segment() 179 seg->bv_offset = bvec->bv_offset % PAGE_SIZE; in mp_bvec_last_segment() 183 seg->bv_len = total - last_page * PAGE_SIZE; in mp_bvec_last_segment()
|
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 | ndctl.h | 19 ND_MIN_NAMESPACE_SIZE = PAGE_SIZE,
|
D | moduleloader.h | 96 #define MODULE_ALIGN (PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT) 98 #define MODULE_ALIGN PAGE_SIZE
|
D | a.out.h | 13 #define SEGMENT_SIZE PAGE_SIZE
|
D | threads.h | 34 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
|
D | serial.h | 29 #define SERIAL_XMIT_SIZE PAGE_SIZE
|
D | trace_seq.h | 15 unsigned char buffer[PAGE_SIZE]; 23 seq_buf_init(&s->seq, s->buffer, PAGE_SIZE); in trace_seq_init()
|
D | nfsacl.h | 19 #define NFSACL_MAXPAGES ((2*(8+12*NFS_ACL_MAX_ENTRIES) + PAGE_SIZE-1) \
|
D | pktcdvd.h | 80 #if (PAGE_SIZE % CD_FRAMESIZE) != 0 84 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
|
D | scs.h | 18 #define SCS_SIZE PAGE_SIZE
|
D | mm_types_task.h | 66 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
|
/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 | 181 ((PAGE_SIZE - sizeof(struct mmu_table_batch)) / sizeof(void *)) 221 ((PAGE_SIZE - sizeof(struct mmu_gather_batch)) / sizeof(void *)) 426 return __tlb_remove_page_size(tlb, page, PAGE_SIZE); in __tlb_remove_page() 435 return tlb_remove_page_size(tlb, page, PAGE_SIZE); in tlb_remove_page() 547 tlb_flush_pte_range(tlb, address, PAGE_SIZE); \ 614 tlb_flush_pmd_range(tlb, address, PAGE_SIZE); \ 623 tlb_flush_pud_range(tlb, address, PAGE_SIZE); \ 633 tlb_flush_p4d_range(tlb, address, PAGE_SIZE); \ 644 __tlb_adjust_range(tlb, address, PAGE_SIZE); \
|
D | shmparam.h | 5 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
|
D | vmlinux.lds.h | 307 . = ALIGN(PAGE_SIZE); \ 310 . = ALIGN(PAGE_SIZE); \ 722 . = ALIGN(PAGE_SIZE); \ 724 . = ALIGN(PAGE_SIZE); \ 898 . = ALIGN(PAGE_SIZE); \ 900 . = ALIGN(PAGE_SIZE); 945 . = ALIGN(PAGE_SIZE); \ 999 . = ALIGN(PAGE_SIZE); \ 1025 . = ALIGN(PAGE_SIZE); \
|
/include/linux/raid/ |
D | pq.h | 22 extern const char raid6_empty_zero_page[PAGE_SIZE]; 43 #ifndef PAGE_SIZE 44 # define PAGE_SIZE 4096 macro 46 extern const char raid6_empty_zero_page[PAGE_SIZE]; 171 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \ 175 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
|
/include/sound/ |
D | memalloc.h | 64 return (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in snd_sgbuf_aligned_pages() 98 addr &= ~((dma_addr_t)PAGE_SIZE - 1); in snd_sgbuf_get_addr() 99 return addr + offset % PAGE_SIZE; in snd_sgbuf_get_addr() 109 return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; in snd_sgbuf_get_ptr()
|
/include/uapi/linux/ |
D | resource.h | 72 #define MLOCK_LIMIT ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
|
D | binfmts.h | 15 #define MAX_ARG_STRLEN (PAGE_SIZE * 32)
|
/include/rdma/ |
D | ib_umem.h | 65 return (ALIGN(umem->address + umem->length, PAGE_SIZE) - in ib_umem_num_pages() 66 ALIGN_DOWN(umem->address, PAGE_SIZE)) >> in ib_umem_num_pages()
|
/include/crypto/ |
D | if_alg.h | 189 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf() 201 return PAGE_SIZE <= af_alg_sndbuf(sk); in af_alg_writable() 215 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf() 227 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/xen/interface/io/ |
D | vscsiif.h | 187 #define VSCSIIF_SG_PER_PAGE (PAGE_SIZE / sizeof(struct scsiif_request_segment))
|
1234