Lines Matching refs:size
312 size_t size = 0;
316 fp = open_memstream(&modifier_name, &size);
453 size_t size = 0;
462 fp = open_memstream(&mod_amd, &size);
611 drm_public void *drmMalloc(int size)
613 return calloc(1, size);
1512 * \param size of the memory in bytes.
1523 * - \p size will be the size of the frame buffer in bytes, and
1533 * - \p size will be the size of the register area bytes, and
1541 * - \p size will be the desired size of the SAREA in bytes,
1545 * A shared memory area of the requested size will be created and locked in
1555 drm_public int drmAddMap(int fd, drm_handle_t offset, drmSize size, drmMapType type,
1562 map.size = size;
1589 * \param size size of each buffer.
1600 drm_public int drmAddBufs(int fd, int count, int size, drmBufDescFlags flags,
1607 request.size = size;
1710 * \param size size in bytes. Must match the size used by drmAddMap().
1719 drm_public int drmMap(int fd, drm_handle_t handle, drmSize size,
1730 size = (size + pagesize_mask) & ~pagesize_mask;
1732 *address = drm_mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, handle);
1743 * \param size size in bytes. Must match the size used by drmMap().
1750 drm_public int drmUnmap(drmAddress address, drmSize size)
1752 return drm_munmap(address, size);
1785 retval->list[i].size = info.list[i].size;
2261 * \param size requested memory size in bytes. Will be rounded to page boundary.
2273 drm_public int drmAgpAlloc(int fd, unsigned long size, unsigned long type,
2280 b.size = size;
2458 * Get AGP aperture size.
2462 * \return aperture size on success, zero on failure.
2571 drm_public int drmScatterGatherAlloc(int fd, unsigned long size,
2579 sg.size = size;
2817 drm_public int drmGetMap(int fd, int idx, drm_handle_t *offset, drmSize *size,
2828 *size = map.size;
2983 * \param size size of the data to be read and written.
3045 * \param size size of the data to be read.
3054 void *data, unsigned long size)
3059 DRM_COMMAND_BASE + drmCommandIndex, size);
3074 * \param size size of the data to be written.
3083 void *data, unsigned long size)
3088 DRM_COMMAND_BASE + drmCommandIndex, size);
3103 * \param size size of the data to be read and written.
3112 void *data, unsigned long size)
3117 DRM_COMMAND_BASE + drmCommandIndex, size);
3477 size_t size = 0, len;
3495 while ((num = getline(&line, &size, fp)) >= 0) {
4002 size_t max_node_length, extra, size;
4010 size = sizeof(*device) + extra + bus_size + device_size;
4012 device = calloc(1, size);