Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 57) sorted by relevance

123

/include/drm/
Ddrm_buffer.h52 return buf->iterator / PAGE_SIZE; in drm_buffer_page()
59 return buf->iterator & (PAGE_SIZE - 1); in drm_buffer_index()
131 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)]; in drm_buffer_pointer_to_dword()
145 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)]; in drm_buffer_pointer_to_byte()
Ddrm_mem_util.h37 if (size * nmemb <= PAGE_SIZE) in drm_calloc_large()
50 if (size * nmemb <= PAGE_SIZE) in drm_malloc_ab()
/include/linux/raid/
Dpq.h27 extern const char raid6_empty_zero_page[PAGE_SIZE];
48 #ifndef PAGE_SIZE
49 # define PAGE_SIZE 4096 macro
51 extern const char raid6_empty_zero_page[PAGE_SIZE];
131 # define __get_free_pages(x, y) ((unsigned long)mmap(NULL, PAGE_SIZE << (y), \
135 # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y))
/include/linux/
Dpfn.h8 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
9 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
Dbootmem.h116 __alloc_bootmem(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
118 __alloc_bootmem_nopanic(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
124 __alloc_bootmem_node(pgdat, x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
126 __alloc_bootmem_node_nopanic(pgdat, x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
131 __alloc_bootmem_low(x, PAGE_SIZE, 0)
133 __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0)
Dresource.h71 #define MLOCK_LIMIT ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
Dlinkage.h17 #define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
18 #define __page_aligned_bss __section(.bss..page_aligned) __aligned(PAGE_SIZE)
Dthreads.h33 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
Da.out.h112 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)
128 #define PAGE_SIZE 0x400 macro
129 #define SEGMENT_SIZE PAGE_SIZE
143 #define SEGMENT_SIZE PAGE_SIZE
Dflex_array.h7 #define FLEX_ARRAY_PART_SIZE PAGE_SIZE
8 #define FLEX_ARRAY_BASE_SIZE PAGE_SIZE
Dpid_namespace.h16 #define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8)
Dkmalloc_sizes.h1 #if (PAGE_SIZE == 4096)
Dhugetlb.h252 return (unsigned long)PAGE_SIZE << h->order; in huge_page_size()
288 return size_to_hstate(PAGE_SIZE << compound_order(page)); in page_hstate()
314 #define huge_page_size(h) PAGE_SIZE
316 #define vma_kernel_pagesize(v) PAGE_SIZE
317 #define vma_mmu_pagesize(v) PAGE_SIZE
Dpercpu-defs.h135 __aligned(PAGE_SIZE)
139 __aligned(PAGE_SIZE)
Dnfsacl.h38 #define NFSACL_MAXPAGES ((2*(8+12*NFS_ACL_MAX_ENTRIES) + PAGE_SIZE-1) \
Dpktcdvd.h175 #if (PAGE_SIZE % CD_FRAMESIZE) != 0
179 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
Dshm.h21 #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */
Dpipe_fs_i.h135 #define PIPE_SIZE PAGE_SIZE
Dlp.h119 #define LP_BUFFER_SIZE PAGE_SIZE
/include/asm-generic/
Dpage.h17 #define PAGE_SIZE (1 << PAGE_SHIFT)
19 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro
21 #define PAGE_MASK (~(PAGE_SIZE-1))
30 #define clear_page(page) memset((page), 0, PAGE_SIZE)
31 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
Dshmparam.h4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
Dtlb.h58 ((PAGE_SIZE - sizeof(struct mmu_table_batch)) / sizeof(void *))
79 ((PAGE_SIZE - sizeof(struct mmu_gather_batch)) / sizeof(void *))
/include/sound/
Dmemalloc.h95 return (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in snd_sgbuf_aligned_pages()
105 return addr + offset % PAGE_SIZE; in snd_sgbuf_get_addr()
113 return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; in snd_sgbuf_get_ptr()
/include/video/
Dudlfb.h67 #define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE)
/include/linux/sunrpc/
Dsvc.h172 #define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE \
335 return vec->iov_len <= PAGE_SIZE; in xdr_ressize_check()

123