<def f='src/src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h' l='869' ll='892' type='int __ttm_bo_reserve(struct ttm_buffer_object * bo, _Bool interruptible, _Bool no_wait, _Bool use_ticket, struct ww_acquire_ctx * ticket)'/>
<use f='src/src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h' l='948' u='c' c='ttm_bo_reserve'/>
<doc f='src/src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h' l='847'>/**
 * __ttm_bo_reserve:
 *
 * @bo: A pointer to a struct ttm_buffer_object.
 * @interruptible: Sleep interruptible if waiting.
 * @no_wait: Don&apos;t sleep while trying to reserve, rather return -EBUSY.
 * @use_ticket: If @bo is already reserved, Only sleep waiting for
 * it to become unreserved if @ticket-&gt;stamp is older.
 *
 * Will not remove reserved buffers from the lru lists.
 * Otherwise identical to ttm_bo_reserve.
 *
 * Returns:
 * -EDEADLK: The reservation may cause a deadlock.
 * Release all buffer reservations, wait for @bo to become unreserved and
 * try again. (only if use_sequence == 1).
 * -ERESTARTSYS: A wait for the buffer to become unreserved was interrupted by
 * a signal. Release all buffer reservations and return to user-space.
 * -EBUSY: The function needed to sleep, but @no_wait was true
 * -EALREADY: Bo already reserved using @ticket. This error code will only
 * be returned if @use_ticket is set to true.
 */</doc>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='447' u='c' c='ttm_bo_cleanup_refs_or_queue'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='549' u='c' c='ttm_bo_cleanup_refs_and_unlock'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='612' u='c' c='ttm_bo_delayed_delete'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='615' u='c' c='ttm_bo_delayed_delete'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='767' u='c' c='ttm_mem_evict_first'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='1757' u='c' c='ttm_bo_swapout'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c' l='1858' u='c' c='ttm_bo_wait_unreserved'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/ttm/ttm_execbuf_util.c' l='144' u='c' c='ttm_eu_reserve_buffers'/>
