Lines Matching +defs:point +defs:size
307 size_t size = 0;
311 fp = open_memstream(&modifier_name, &size);
414 size_t size = 0;
416 fp = open_memstream(&mod_amd, &size);
677 drm_public void *drmMalloc(int size)
679 return calloc(1, size);
1428 * entry point and many drm<Device> extensions
1571 * \param size of the memory in bytes.
1582 * - \p size will be the size of the frame buffer in bytes, and
1592 * - \p size will be the size of the register area bytes, and
1600 * - \p size will be the desired size of the SAREA in bytes,
1604 * A shared memory area of the requested size will be created and locked in
1614 drm_public int drmAddMap(int fd, drm_handle_t offset, drmSize size, drmMapType type,
1621 map.size = size;
1648 * \param size size of each buffer.
1659 drm_public int drmAddBufs(int fd, int count, int size, drmBufDescFlags flags,
1666 request.size = size;
1769 * \param size size in bytes. Must match the size used by drmAddMap().
1778 drm_public int drmMap(int fd, drm_handle_t handle, drmSize size,
1789 size = (size + pagesize_mask) & ~pagesize_mask;
1791 *address = drm_mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, handle);
1802 * \param size size in bytes. Must match the size used by drmMap().
1809 drm_public int drmUnmap(drmAddress address, drmSize size)
1811 return drm_munmap(address, size);
1844 retval->list[i].size = info.list[i].size;
2320 * \param size requested memory size in bytes. Will be rounded to page boundary.
2332 drm_public int drmAgpAlloc(int fd, unsigned long size, unsigned long type,
2339 b.size = size;
2517 * Get AGP aperture size.
2521 * \return aperture size on success, zero on failure.
2630 drm_public int drmScatterGatherAlloc(int fd, unsigned long size,
2638 sg.size = size;
2876 drm_public int drmGetMap(int fd, int idx, drm_handle_t *offset, drmSize *size,
2887 *size = map.size;
3042 * \param size size of the data to be read and written.
3104 * \param size size of the data to be read.
3113 void *data, unsigned long size)
3118 DRM_COMMAND_BASE + drmCommandIndex, size);
3133 * \param size size of the data to be written.
3142 void *data, unsigned long size)
3147 DRM_COMMAND_BASE + drmCommandIndex, size);
3162 * \param size size of the data to be read and written.
3171 void *data, unsigned long size)
3176 DRM_COMMAND_BASE + drmCommandIndex, size);
3536 size_t size = 0, len;
3554 while ((num = getline(&line, &size, fp)) >= 0) {
4221 size_t max_node_length, extra, size;
4229 size = sizeof(*device) + extra + bus_size + device_size;
4231 device = calloc(1, size);
5300 drm_public int drmSyncobjEventfd(int fd, uint32_t handle, uint64_t point, int ev_fd,
5307 args.point = point;