Lines Matching refs:size
29 * Multipart buffer for coping data which is larger than the page size.
44 * size: The number of bytes to allocate.
46 int drm_buffer_alloc(struct drm_buffer **buf, int size)
48 int nr_pages = size / PAGE_SIZE + 1;
59 size, nr_pages);
63 (*buf)->size = size;
68 malloc(min(PAGE_SIZE, size - idx * PAGE_SIZE),
75 idx + 1, size, nr_pages);
102 * size: The Number of bytes to copy.
105 void __user *user_data, int size)
107 int nr_pages = size / PAGE_SIZE + 1;
110 if (size > buf->size) {
113 size, buf->size);
121 min(PAGE_SIZE, size - idx * PAGE_SIZE))) {
142 int nr_pages = buf->size / PAGE_SIZE + 1;
161 * objsize: The size of the objet in bytes.