Lines Matching refs:info
334 struct sysinfo info;
335 sysinfo(&info);
337 uint64_t total_ram = (uint64_t)info.totalram * (uint64_t)info.mem_unit;
412 struct v3dv_wayland_info *info = data;
413 info->fd = open(device, O_RDWR | O_CLOEXEC);
414 info->is_set = info->fd != -1;
415 if (!info->is_set) {
422 if (drmGetMagic(info->fd, &magic)) {
424 close(info->fd);
425 info->fd = -1;
426 info->is_set = false;
429 wl_drm_authenticate(info->wl_drm, magic);
440 struct v3dv_wayland_info *info = data;
441 info->authenticated = true;
463 struct v3dv_wayland_info *info = data;
465 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface,
467 wl_drm_add_listener(info->wl_drm, &v3dv_drm_listener, data);
484 struct v3dv_wayland_info info = {
510 wl_registry_add_listener(registry, ®istry_listener, &info);
516 wl_drm_destroy(info.wl_drm);
522 if (!info.is_set)
525 if (!info.authenticated)
528 return info.fd;
2477 bind_image_memory(const VkBindImageMemoryInfo *info)
2479 V3DV_FROM_HANDLE(v3dv_image, image, info->image);
2480 V3DV_FROM_HANDLE(v3dv_device_memory, mem, info->memory);
2488 assert(info->memoryOffset % image->alignment == 0);
2489 assert(info->memoryOffset < mem->bo->size);
2492 image->mem_offset = info->memoryOffset;
2553 bind_buffer_memory(const VkBindBufferMemoryInfo *info)
2555 V3DV_FROM_HANDLE(v3dv_buffer, buffer, info->buffer);
2556 V3DV_FROM_HANDLE(v3dv_device_memory, mem, info->memory);
2564 assert(info->memoryOffset % buffer->alignment == 0);
2565 assert(info->memoryOffset < mem->bo->size);
2568 buffer->mem_offset = info->memoryOffset;