Lines Matching defs:size
53 drm_order(unsigned long size)
56 unsigned long tmp = size;
61 if (size & ~(1 << order))
83 unsigned long size, drm_map_type_t type,
102 if ((offset & PAGE_MASK) || (size & PAGE_MASK))
104 if (offset + size < offset)
125 map->size = size;
142 map->handle = ddi_umem_alloc(map->size,
185 kva = gfxp_map_kernel_space(map->offset, map->size,
229 request.size = request32.size;
238 err = drm_addmap(dev, request.offset, request.size, request.type,
245 request.size = map->size;
255 request32.size = (uint32_t)request.size;
295 gfxp_unmap_kernel_space(map->dev_addr, map->size);
329 request.size = request32.size;
420 int size;
430 order = drm_order(request->size);
431 size = 1 << order;
434 ? round_page(size) : size;
452 entry->buf_size = size;
511 request->size = size;
528 int size;
536 order = drm_order(request->size);
537 size = 1 << order;
540 ? round_page(size) : size;
552 entry->buf_size = size;
603 request->size = size;
621 order = drm_order(request->size);
657 order = drm_order(request->size);
694 request.size = request32.size;
713 request32.size = request.size;
800 uint_t size;
832 size = round_page(map->size);
835 size = round_page(dma->byte_count);
838 request.virtual = drm_smmap(NULL, size, PROT_READ | PROT_WRITE,