Lines Matching defs:time
47 #include <time.h>
111 * For debugging purposes, this returns a time in seconds.
213 time_t time;
1385 /** Frees all cached buffers significantly older than @time. */
1387 cleanup_bo_cache(struct iris_bufmgr *bufmgr, time_t time)
1393 if (bufmgr->time == time)
1400 if (time - bo->real.free_time <= 1)
1413 if (time - bo->real.free_time <= 1)
1426 if (time - bo->real.free_time <= 1)
1446 bufmgr->time = time;
1450 bo_unreference_final(struct iris_bo *bo, time_t time)
1464 bo->real.free_time = time;
1483 struct timespec time;
1485 clock_gettime(CLOCK_MONOTONIC, &time);
1493 bo_unreference_final(bo, time.tv_sec);
1494 cleanup_bo_cache(bufmgr, time.tv_sec);
1579 * at mmap time. Instead, it's fixed when the object is created (this
1701 * Waits on a BO for the given amount of time.
1704 * @timeout_ns: amount of time to wait in nanoseconds.
1708 * object has completed within the allotted time. Otherwise some negative return
1713 * the operation to give up after a certain amount of time. Another subtle
1719 * referenced within a batch buffer at the time of the call. The wait will