Home
last modified time | relevance | path

Searched refs:no_wait (Results 1 – 18 of 18) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_object.h30 static inline int qxl_bo_reserve(struct qxl_bo *bo, bool no_wait) in qxl_bo_reserve() argument
34 r = ttm_bo_reserve(&bo->tbo, true, no_wait, false, NULL); in qxl_bo_reserve()
66 bool no_wait) in qxl_bo_wait() argument
70 r = ttm_bo_reserve(&bo->tbo, true, no_wait, false, NULL); in qxl_bo_wait()
82 r = ttm_bo_wait(&bo->tbo, true, true, no_wait); in qxl_bo_wait()
/linux-4.4.14/include/linux/
Deventfd.h39 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt);
69 static inline ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, in eventfd_ctx_read() argument
/linux-4.4.14/include/drm/ttm/
Dttm_memory.h149 bool no_wait, bool interruptible);
154 bool no_wait, bool interruptible);
Dttm_bo_driver.h780 bool no_wait, bool use_ticket, in __ttm_bo_reserve() argument
785 if (no_wait) { in __ttm_bo_reserve()
850 bool no_wait, bool use_ticket, in ttm_bo_reserve() argument
857 ret = __ttm_bo_reserve(bo, interruptible, no_wait, use_ticket, ticket); in ttm_bo_reserve()
Dttm_bo_api.h318 bool interruptible, bool no_wait);
419 ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait);
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_object.c154 int virtio_gpu_object_wait(struct virtio_gpu_object *bo, bool no_wait) in virtio_gpu_object_wait() argument
158 r = ttm_bo_reserve(&bo->tbo, true, no_wait, false, NULL); in virtio_gpu_object_wait()
161 r = ttm_bo_wait(&bo->tbo, true, true, no_wait); in virtio_gpu_object_wait()
Dvirtgpu_drv.h360 int virtio_gpu_object_wait(struct virtio_gpu_object *bo, bool no_wait);
399 bool no_wait) in virtio_gpu_object_reserve() argument
403 r = ttm_bo_reserve(&bo->tbo, true, no_wait, false, NULL); in virtio_gpu_object_reserve()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_memory.c517 bool no_wait, bool interruptible) in ttm_mem_global_alloc_zone() argument
525 if (no_wait) in ttm_mem_global_alloc_zone()
536 bool no_wait, bool interruptible) in ttm_mem_global_alloc() argument
543 return ttm_mem_global_alloc_zone(glob, NULL, memory, no_wait, in ttm_mem_global_alloc()
550 bool no_wait, bool interruptible) in ttm_mem_global_alloc_page() argument
567 return ttm_mem_global_alloc_zone(glob, zone, PAGE_SIZE, no_wait, in ttm_mem_global_alloc_page()
Dttm_bo.c1539 bool lazy, bool interruptible, bool no_wait) in ttm_bo_wait() argument
1552 if (no_wait) in ttm_bo_wait()
1566 if (no_wait) in ttm_bo_wait()
1586 int ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait) in ttm_bo_synccpu_write_grab() argument
1594 ret = ttm_bo_reserve(bo, true, no_wait, false, NULL); in ttm_bo_synccpu_write_grab()
1597 ret = ttm_bo_wait(bo, false, true, no_wait); in ttm_bo_synccpu_write_grab()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_drv.h245 static inline int cirrus_bo_reserve(struct cirrus_bo *bo, bool no_wait) in cirrus_bo_reserve() argument
249 ret = ttm_bo_reserve(&bo->bo, true, no_wait, false, NULL); in cirrus_bo_reserve()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_drv.h280 static inline int mgag200_bo_reserve(struct mgag200_bo *bo, bool no_wait) in mgag200_bo_reserve() argument
284 ret = ttm_bo_reserve(&bo->bo, true, no_wait, false, NULL); in mgag200_bo_reserve()
/linux-4.4.14/fs/
Deventfd.c186 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt) in eventfd_ctx_read() argument
196 else if (!no_wait) { in eventfd_ctx_read()
Duserfaultfd.c542 static ssize_t userfaultfd_ctx_read(struct userfaultfd_ctx *ctx, int no_wait, in userfaultfd_ctx_read() argument
603 if (no_wait) { in userfaultfd_ctx_read()
624 int no_wait = file->f_flags & O_NONBLOCK; in userfaultfd_read() local
632 _ret = userfaultfd_ctx_read(ctx, no_wait, &msg); in userfaultfd_read()
644 no_wait = O_NONBLOCK; in userfaultfd_read()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_drv.h367 static inline int ast_bo_reserve(struct ast_bo *bo, bool no_wait) in ast_bo_reserve() argument
371 ret = ttm_bo_reserve(&bo->bo, true, no_wait, false, NULL); in ast_bo_reserve()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_object.h123 bool no_wait);
Dradeon_object.c827 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) in radeon_bo_wait() argument
831 r = ttm_bo_reserve(&bo->tbo, true, no_wait, false, NULL); in radeon_bo_wait()
837 r = ttm_bo_wait(&bo->tbo, true, true, no_wait); in radeon_bo_wait()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_gem.c863 bool no_wait = !!(req->flags & NOUVEAU_GEM_CPU_PREP_NOWAIT); in nouveau_gem_ioctl_cpu_prep() local
872 if (no_wait) in nouveau_gem_ioctl_cpu_prep()
/linux-4.4.14/drivers/md/
Ddm-bufio.c886 static void __write_dirty_buffers_async(struct dm_bufio_client *c, int no_wait, in __write_dirty_buffers_async() argument
900 if (no_wait && test_bit(B_WRITING, &b->state)) in __write_dirty_buffers_async()