Searched refs:interruptible (Results 1 - 96 of 96) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_dmabuf.c40 * @interruptible: Use interruptible wait.
53 bool interruptible) vmw_dmabuf_to_placement()
58 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); vmw_dmabuf_to_placement()
64 ret = ttm_bo_reserve(bo, interruptible, false, false, NULL); vmw_dmabuf_to_placement()
68 ret = ttm_bo_validate(bo, placement, interruptible, false); vmw_dmabuf_to_placement()
88 * @interruptible: Use interruptible wait.
95 bool pin, bool interruptible) vmw_dmabuf_to_vram_or_gmr()
101 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); vmw_dmabuf_to_vram_or_gmr()
108 ret = ttm_bo_reserve(bo, interruptible, false, false, NULL); vmw_dmabuf_to_vram_or_gmr()
124 ret = ttm_bo_validate(bo, placement, interruptible, false); vmw_dmabuf_to_vram_or_gmr()
139 ret = ttm_bo_validate(bo, placement, interruptible, false); vmw_dmabuf_to_vram_or_gmr()
158 * @interruptible: Use interruptible wait.
165 bool pin, bool interruptible) vmw_dmabuf_to_vram()
176 interruptible); vmw_dmabuf_to_vram()
190 * @interruptible: Use interruptible wait.
197 bool pin, bool interruptible) vmw_dmabuf_to_start_of_vram()
215 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); vmw_dmabuf_to_start_of_vram()
221 ret = ttm_bo_reserve(bo, interruptible, false, false, NULL); vmw_dmabuf_to_start_of_vram()
231 ret = ttm_bo_validate(bo, &placement, interruptible, false); vmw_dmabuf_to_start_of_vram()
253 * @interruptible: Use interruptible wait.
260 bool interruptible) vmw_dmabuf_unpin()
269 interruptible); vmw_dmabuf_unpin()
50 vmw_dmabuf_to_placement(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, struct ttm_placement *placement, bool interruptible) vmw_dmabuf_to_placement() argument
93 vmw_dmabuf_to_vram_or_gmr(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, bool pin, bool interruptible) vmw_dmabuf_to_vram_or_gmr() argument
163 vmw_dmabuf_to_vram(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, bool pin, bool interruptible) vmw_dmabuf_to_vram() argument
195 vmw_dmabuf_to_start_of_vram(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, bool pin, bool interruptible) vmw_dmabuf_to_start_of_vram() argument
258 vmw_dmabuf_unpin(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, bool interruptible) vmw_dmabuf_unpin() argument
H A Dvmwgfx_irq.c115 bool interruptible, vmw_fallback_wait()
141 (interruptible) ? vmw_fallback_wait()
159 __set_current_state((interruptible) ? vmw_fallback_wait()
163 if (interruptible && signal_pending(current)) { vmw_fallback_wait()
243 bool interruptible, unsigned long timeout) vmw_wait_seqno()
258 interruptible, timeout); vmw_wait_seqno()
262 interruptible, timeout); vmw_wait_seqno()
266 if (interruptible) vmw_wait_seqno()
111 vmw_fallback_wait(struct vmw_private *dev_priv, bool lazy, bool fifo_idle, uint32_t seqno, bool interruptible, unsigned long timeout) vmw_fallback_wait() argument
241 vmw_wait_seqno(struct vmw_private *dev_priv, bool lazy, uint32_t seqno, bool interruptible, unsigned long timeout) vmw_wait_seqno() argument
H A Dvmwgfx_overlay.c99 bool interruptible) vmw_overlay_send_put()
187 bool interruptible) vmw_overlay_send_stop()
202 interruptible, 3*HZ); vmw_overlay_send_stop()
203 if (interruptible && ret == -ERESTARTSYS) vmw_overlay_send_stop()
254 bool interruptible) vmw_overlay_stop()
267 interruptible); vmw_overlay_stop()
273 interruptible); vmw_overlay_stop()
274 if (interruptible && ret == -ERESTARTSYS) vmw_overlay_stop()
302 bool interruptible) vmw_overlay_update_stream()
316 false, interruptible); vmw_overlay_update_stream()
323 ret = vmw_overlay_send_put(dev_priv, buf, arg, interruptible); vmw_overlay_update_stream()
327 BUG_ON(!interruptible); vmw_overlay_update_stream()
335 ret = vmw_overlay_move_buffer(dev_priv, buf, true, interruptible); vmw_overlay_update_stream()
339 ret = vmw_overlay_send_put(dev_priv, buf, arg, interruptible); vmw_overlay_update_stream()
96 vmw_overlay_send_put(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, struct drm_vmw_control_stream_arg *arg, bool interruptible) vmw_overlay_send_put() argument
185 vmw_overlay_send_stop(struct vmw_private *dev_priv, uint32_t stream_id, bool interruptible) vmw_overlay_send_stop() argument
252 vmw_overlay_stop(struct vmw_private *dev_priv, uint32_t stream_id, bool pause, bool interruptible) vmw_overlay_stop() argument
299 vmw_overlay_update_stream(struct vmw_private *dev_priv, struct vmw_dma_buffer *buf, struct drm_vmw_control_stream_arg *arg, bool interruptible) vmw_overlay_update_stream() argument
H A Dvmwgfx_fence.h91 bool interruptible, unsigned long timeout);
126 bool interruptible);
H A Dvmwgfx_fifo.c221 uint32_t bytes, bool interruptible, vmw_fifo_wait_noirq()
232 (interruptible) ? vmw_fifo_wait_noirq()
242 if (interruptible && signal_pending(current)) { vmw_fifo_wait_noirq()
254 uint32_t bytes, bool interruptible, vmw_fifo_wait()
266 interruptible, timeout); vmw_fifo_wait()
279 if (interruptible) vmw_fifo_wait()
220 vmw_fifo_wait_noirq(struct vmw_private *dev_priv, uint32_t bytes, bool interruptible, unsigned long timeout) vmw_fifo_wait_noirq() argument
253 vmw_fifo_wait(struct vmw_private *dev_priv, uint32_t bytes, bool interruptible, unsigned long timeout) vmw_fifo_wait() argument
H A Dvmwgfx_resource.c415 bool interruptible, vmw_dmabuf_init()
432 0, interruptible, vmw_dmabuf_init()
1080 * @interruptible: Whether any sleeps during allocation should be
1081 * performed while interruptible.
1084 bool interruptible) vmw_resource_buf_alloc()
1102 interruptible, vmw_resource_buf_alloc()
1214 * @interruptible: Whether any sleeps during allocation should be
1215 * performed while interruptible.
1221 bool interruptible, vmw_resource_check_buffer()
1229 ret = vmw_resource_buf_alloc(res, interruptible); vmw_resource_check_buffer()
1238 ret = ttm_eu_reserve_buffers(NULL, &val_list, interruptible, NULL); vmw_resource_check_buffer()
1319 * @interruptible: Whether to wait interruptible.
1321 int vmw_resource_do_evict(struct vmw_resource *res, bool interruptible) vmw_resource_do_evict() argument
1331 ret = vmw_resource_check_buffer(res, interruptible, &val_buf); vmw_resource_do_evict()
412 vmw_dmabuf_init(struct vmw_private *dev_priv, struct vmw_dma_buffer *vmw_bo, size_t size, struct ttm_placement *placement, bool interruptible, void (*bo_free) (struct ttm_buffer_object *bo)) vmw_dmabuf_init() argument
1083 vmw_resource_buf_alloc(struct vmw_resource *res, bool interruptible) vmw_resource_buf_alloc() argument
1220 vmw_resource_check_buffer(struct vmw_resource *res, bool interruptible, struct ttm_validate_buffer *val_buf) vmw_resource_check_buffer() argument
H A Dvmwgfx_drv.h679 bool interruptible);
682 bool pin, bool interruptible);
685 bool pin, bool interruptible);
688 bool pin, bool interruptible);
691 bool interruptible);
838 uint32_t seqno, bool interruptible,
849 bool interruptible,
H A Dvmwgfx_fence.c513 bool interruptible, unsigned long timeout) vmw_fence_obj_wait()
515 long ret = fence_wait_timeout(&fence->base, interruptible, timeout); vmw_fence_obj_wait()
971 * @interruptible: Interruptible waits if possible.
983 bool interruptible) vmw_event_fence_action_queue()
1023 bool interruptible) vmw_event_fence_action_create()
1066 interruptible); vmw_event_fence_action_create()
1072 interruptible); vmw_event_fence_action_create()
512 vmw_fence_obj_wait(struct vmw_fence_obj *fence, bool lazy, bool interruptible, unsigned long timeout) vmw_fence_obj_wait() argument
978 vmw_event_fence_action_queue(struct drm_file *file_priv, struct vmw_fence_obj *fence, struct drm_pending_event *event, uint32_t *tv_sec, uint32_t *tv_usec, bool interruptible) vmw_event_fence_action_queue() argument
1019 vmw_event_fence_action_create(struct drm_file *file_priv, struct vmw_fence_obj *fence, uint32_t flags, uint64_t user_data, bool interruptible) vmw_event_fence_action_create() argument
H A Dvmwgfx_drv.c293 * No interruptible waits are done within this function.
/linux-4.1.27/include/drm/ttm/
H A Dttm_lock.h102 * @interruptible: Interruptible sleeping while waiting for a lock.
106 * -ERESTARTSYS If interrupted by a signal and interruptible is true.
108 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
114 * @interruptible: Interruptible sleeping while waiting for a lock.
123 * -ERESTARTSYS If interrupted by a signal and interruptible is true.
125 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
140 * @interruptible: Interruptible sleeping while waiting for a lock.
144 * -ERESTARTSYS If interrupted by a signal and interruptible is true.
146 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
179 * @interruptible: Interruptible sleeping while waiting for a lock.
184 * -ERESTARTSYS If interrupted by a signal and interruptible is true.
187 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
214 * @interruptible: Interruptible sleeping while waiting for a lock.
218 * -ERESTARTSYS If interrupted by a signal and interruptible is true.
220 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
H A Dttm_bo_driver.h389 * @interruptible: Use interruptible sleeps if possible when sleeping.
397 bool evict, bool interruptible,
682 * @interruptible: Sleep interruptible when sliping.
692 * -ERESTARTSYS: An interruptible sleep was interrupted by a signal.
697 bool interruptible,
750 bool interruptible);
760 * @interruptible: Sleep interruptible if waiting.
779 bool interruptible, __ttm_bo_reserve()
794 if (interruptible) __ttm_bo_reserve()
807 * @interruptible: Sleep interruptible if waiting.
849 bool interruptible, ttm_bo_reserve()
857 ret = __ttm_bo_reserve(bo, interruptible, no_wait, use_ticket, ticket); ttm_bo_reserve()
867 * @interruptible: Sleep interruptible if waiting.
875 bool interruptible, ttm_bo_reserve_slowpath()
882 if (interruptible) ttm_bo_reserve_slowpath()
778 __ttm_bo_reserve(struct ttm_buffer_object *bo, bool interruptible, bool no_wait, bool use_ticket, struct ww_acquire_ctx *ticket) __ttm_bo_reserve() argument
848 ttm_bo_reserve(struct ttm_buffer_object *bo, bool interruptible, bool no_wait, bool use_ticket, struct ww_acquire_ctx *ticket) ttm_bo_reserve() argument
874 ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo, bool interruptible, struct ww_acquire_ctx *ticket) ttm_bo_reserve_slowpath() argument
H A Dttm_memory.h149 bool no_wait, bool interruptible);
154 bool no_wait, bool interruptible);
H A Dttm_bo_api.h307 * @interruptible: Use interruptible wait.
318 bool interruptible, bool no_wait);
324 * @interruptible: Sleep interruptible if sleeping.
337 bool interruptible,
455 * @interruptible: If needing to sleep to wait for GPU resources,
456 * sleep interruptible.
502 * @interruptible: If needing to sleep while waiting for GPU resources,
503 * sleep interruptible.
524 bool interruptible,
H A Dttm_execbuf_util.h70 * @intr: should the wait be interruptible
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_lock.c83 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) ttm_read_lock() argument
87 if (interruptible) ttm_read_lock()
120 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) ttm_read_trylock() argument
125 if (interruptible) ttm_read_trylock()
169 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) ttm_write_lock() argument
173 if (interruptible) { ttm_write_lock()
231 bool interruptible, ttm_vt_lock()
236 if (interruptible) { ttm_vt_lock()
230 ttm_vt_lock(struct ttm_lock *lock, bool interruptible, struct ttm_object_file *tfile) ttm_vt_lock() argument
H A Dttm_bo.c278 bool evict, bool interruptible, ttm_bo_handle_move_mem()
335 ret = bdev->driver->move(bo, evict, interruptible, ttm_bo_handle_move_mem()
478 * @interruptible Any sleeps should occur interruptibly.
483 bool interruptible, ttm_bo_cleanup_refs_and_unlock()
499 interruptible, ttm_bo_cleanup_refs_and_unlock()
659 static int ttm_bo_evict(struct ttm_buffer_object *bo, bool interruptible, ttm_bo_evict() argument
667 ret = ttm_bo_wait(bo, false, interruptible, no_wait_gpu); ttm_bo_evict()
686 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, interruptible, ttm_bo_evict()
697 ret = ttm_bo_handle_move_mem(bo, &evict_mem, true, interruptible, ttm_bo_evict()
713 bool interruptible, ttm_mem_evict_first()
749 ret = ttm_bo_cleanup_refs_and_unlock(bo, interruptible, ttm_mem_evict_first()
762 ret = ttm_bo_evict(bo, interruptible, no_wait_gpu); ttm_mem_evict_first()
786 bool interruptible, ttm_bo_mem_force_space()
800 interruptible, no_wait_gpu); ttm_bo_mem_force_space()
865 bool interruptible, ttm_bo_mem_space()
952 interruptible, no_wait_gpu); ttm_bo_mem_space()
967 bool interruptible, ttm_bo_move_buffer()
980 ret = ttm_bo_wait(bo, false, interruptible, no_wait_gpu); ttm_bo_move_buffer()
992 interruptible, no_wait_gpu); ttm_bo_move_buffer()
996 interruptible, no_wait_gpu); ttm_bo_move_buffer()
1040 bool interruptible, ttm_bo_validate()
1051 ret = ttm_bo_move_buffer(bo, placement, interruptible, ttm_bo_validate()
1081 bool interruptible, ttm_bo_init()
1167 ret = ttm_bo_validate(bo, placement, interruptible, false); ttm_bo_init()
1213 bool interruptible, ttm_bo_create()
1227 interruptible, persistent_swap_storage, acc_size, ttm_bo_create()
1535 bool lazy, bool interruptible, bool no_wait) ttm_bo_wait()
1552 interruptible, timeout); ttm_bo_wait()
1566 interruptible, timeout); ttm_bo_wait()
1701 * ttm_bo_wait_unreserved - interruptible wait for a buffer object to become
276 ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, struct ttm_mem_reg *mem, bool evict, bool interruptible, bool no_wait_gpu) ttm_bo_handle_move_mem() argument
482 ttm_bo_cleanup_refs_and_unlock(struct ttm_buffer_object *bo, bool interruptible, bool no_wait_gpu) ttm_bo_cleanup_refs_and_unlock() argument
710 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, const struct ttm_place *place, bool interruptible, bool no_wait_gpu) ttm_mem_evict_first() argument
782 ttm_bo_mem_force_space(struct ttm_buffer_object *bo, uint32_t mem_type, const struct ttm_place *place, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_gpu) ttm_bo_mem_force_space() argument
862 ttm_bo_mem_space(struct ttm_buffer_object *bo, struct ttm_placement *placement, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_gpu) ttm_bo_mem_space() argument
965 ttm_bo_move_buffer(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu) ttm_bo_move_buffer() argument
1038 ttm_bo_validate(struct ttm_buffer_object *bo, struct ttm_placement *placement, bool interruptible, bool no_wait_gpu) ttm_bo_validate() argument
1075 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct file *persistent_swap_storage, size_t acc_size, struct sg_table *sg, struct reservation_object *resv, void (*destroy) (struct ttm_buffer_object *)) ttm_bo_init() argument
1208 ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct file *persistent_swap_storage, struct ttm_buffer_object **p_bo) ttm_bo_create() argument
1534 ttm_bo_wait(struct ttm_buffer_object *bo, bool lazy, bool interruptible, bool no_wait) ttm_bo_wait() argument
H A Dttm_memory.c517 bool no_wait, bool interruptible) ttm_mem_global_alloc_zone()
536 bool no_wait, bool interruptible) ttm_mem_global_alloc()
544 interruptible); ttm_mem_global_alloc()
550 bool no_wait, bool interruptible) ttm_mem_global_alloc_page()
568 interruptible); ttm_mem_global_alloc_page()
514 ttm_mem_global_alloc_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t memory, bool no_wait, bool interruptible) ttm_mem_global_alloc_zone() argument
535 ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, bool no_wait, bool interruptible) ttm_mem_global_alloc() argument
548 ttm_mem_global_alloc_page(struct ttm_mem_global *glob, struct page *page, bool no_wait, bool interruptible) ttm_mem_global_alloc_page() argument
H A Dttm_bo_util.c80 int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible) ttm_mem_io_lock() argument
85 if (interruptible) ttm_mem_io_lock()
/linux-4.1.27/kernel/sched/
H A Dcompletion.c115 * interruptible and there is no timeout.
133 * interruptible.
150 * interruptible and there is no timeout. The caller is accounted as waiting
166 * interruptible. The caller is accounted as waiting for IO (which traditionally
184 * interruptible.
203 * specified timeout to expire. It is interruptible. The timeout is in jiffies.
H A Dwait.c382 * To allow interruptible waiting and asynchronous (i.e. nonblocking)
526 * To allow interruptible waiting and asynchronous (i.e. nonblocking) waiting,
/linux-4.1.27/include/linux/
H A Dvgaarb.h81 * @interruptible: blocking should be interruptible by signals ?
97 * afaik). You can indicate whether this blocking should be interruptible
105 extern int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
107 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible) { return 0; } vga_get() argument
H A Dww_mutex.h233 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
306 * ww_mutex_lock_slow_interruptible - slowpath acquiring of the w/w mutex, interruptible
H A Dfence.h313 * @intr: [in] if true, do an interruptible wait
/linux-4.1.27/drivers/ssb/
H A Dsprom.c79 /* Use interruptible locking, as the SPROM write might ssb_attr_sprom_show()
122 /* Use interruptible locking, as the SPROM write might ssb_attr_sprom_store()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.h85 int nouveau_bo_validate(struct nouveau_bo *, bool interruptible,
H A Dnouveau_bo.c499 nouveau_bo_validate(struct nouveau_bo *nvbo, bool interruptible, nouveau_bo_validate() argument
505 interruptible, no_wait_gpu); nouveau_bo_validate()
/linux-4.1.27/drivers/gpu/host1x/
H A Dintr.h41 * Wake up a interruptible task.
/linux-4.1.27/include/linux/soc/ti/
H A Dknav_qmss.h30 #define KNAV_QUEUE_QPEND ((unsigned)-2) /* interruptible qpend queue */
/linux-4.1.27/kernel/
H A Dlatencytop.c160 * @inter - 1 if the sleep was interruptible, 0 if uninterruptible
166 * sleeps: specifically, interruptible sleep longer than 5 msec is skipped
179 /* Long interruptible waits are generally user requested... */ __account_scheduler_latency()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_modeset_lock.c329 bool interruptible, bool slow) modeset_lock()
340 } else if (interruptible && slow) { modeset_lock()
342 } else if (interruptible) { modeset_lock()
368 bool interruptible) modeset_backoff()
379 return modeset_lock(contended, ctx, interruptible, true); modeset_backoff()
327 modeset_lock(struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx, bool interruptible, bool slow) modeset_lock() argument
367 modeset_backoff(struct drm_modeset_acquire_ctx *ctx, bool interruptible) modeset_backoff() argument
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_cmd.c107 const void *new_elt, bool interruptible) qxl_ring_push()
122 if (interruptible) { qxl_ring_push()
179 uint32_t type, bool interruptible) qxl_push_command_ring_release()
187 return qxl_ring_push(qdev->command_ring, &cmd, interruptible); qxl_push_command_ring_release()
192 uint32_t type, bool interruptible) qxl_push_cursor_ring_release()
200 return qxl_ring_push(qdev->cursor_ring, &cmd, interruptible); qxl_push_cursor_ring_release()
106 qxl_ring_push(struct qxl_ring *ring, const void *new_elt, bool interruptible) qxl_ring_push() argument
178 qxl_push_command_ring_release(struct qxl_device *qdev, struct qxl_release *release, uint32_t type, bool interruptible) qxl_push_command_ring_release() argument
191 qxl_push_cursor_ring_release(struct qxl_device *qdev, struct qxl_release *release, uint32_t type, bool interruptible) qxl_push_cursor_ring_release() argument
H A Dqxl_drv.h473 int qxl_ring_push(struct qxl_ring *ring, const void *new_elt, bool interruptible);
497 uint32_t type, bool interruptible);
500 uint32_t type, bool interruptible);
H A Dqxl_ttm.c348 bool evict, bool interruptible, qxl_bo_move()
347 qxl_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) qxl_bo_move() argument
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_shrinker.c274 was_interruptible = dev_priv->mm.interruptible; i915_gem_shrinker_oom()
275 dev_priv->mm.interruptible = false; i915_gem_shrinker_oom()
279 dev_priv->mm.interruptible = was_interruptible; i915_gem_shrinker_oom()
H A Di915_gem.c1132 bool interruptible) i915_gem_check_wedge()
1135 /* Non-interruptible callers can't handle -EAGAIN, hence return i915_gem_check_wedge()
1137 if (!interruptible) i915_gem_check_wedge()
1196 * @interruptible: do an interruptible wait (normally yes)
1211 bool interruptible, __i915_wait_request()
1251 interruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE); __i915_wait_request()
1258 ret = i915_gem_check_wedge(&dev_priv->gpu_error, interruptible); __i915_wait_request()
1269 if (interruptible && signal_pending(current)) { __i915_wait_request()
1331 bool interruptible; i915_wait_request() local
1339 interruptible = dev_priv->mm.interruptible; i915_wait_request()
1343 ret = i915_gem_check_wedge(&dev_priv->gpu_error, interruptible); i915_wait_request()
1354 interruptible, NULL, NULL); i915_wait_request()
1414 BUG_ON(!dev_priv->mm.interruptible); i915_gem_object_wait_rendering__nonblocking()
4490 was_interruptible = dev_priv->mm.interruptible; i915_gem_free_object()
4491 dev_priv->mm.interruptible = false; i915_gem_free_object()
4495 dev_priv->mm.interruptible = was_interruptible; i915_gem_free_object()
4998 dev_priv->mm.interruptible = true; i915_gem_load()
1131 i915_gem_check_wedge(struct i915_gpu_error *error, bool interruptible) i915_gem_check_wedge() argument
1209 __i915_wait_request(struct drm_i915_gem_request *req, unsigned reset_counter, bool interruptible, s64 *timeout, struct drm_i915_file_private *file_priv) __i915_wait_request() argument
H A Di915_gem_gtt.c1577 bool ret = dev_priv->mm.interruptible; do_idling()
1580 dev_priv->mm.interruptible = false; do_idling()
1591 static void undo_idling(struct drm_i915_private *dev_priv, bool interruptible) undo_idling() argument
1594 dev_priv->mm.interruptible = interruptible; undo_idling()
1985 bool interruptible; i915_gem_gtt_finish_object() local
1987 interruptible = do_idling(dev_priv); i915_gem_gtt_finish_object()
1994 undo_idling(dev_priv, interruptible); i915_gem_gtt_finish_object()
H A Di915_gem_userptr.c79 was_interruptible = dev_priv->mm.interruptible; cancel_userptr()
80 dev_priv->mm.interruptible = false; cancel_userptr()
88 dev_priv->mm.interruptible = was_interruptible; cancel_userptr()
H A Dintel_lrc.c991 if (dev_priv->mm.interruptible && signal_pending(current)) { logical_ring_wait_for_space()
997 dev_priv->mm.interruptible); logical_ring_wait_for_space()
1076 dev_priv->mm.interruptible); intel_logical_ring_begin()
H A Di915_drv.h1196 * Are we in a non-interruptible section of code like
1199 bool interruptible; member in struct:i915_gem_mm
2709 bool interruptible);
2758 bool interruptible,
H A Dintel_ringbuffer.c2121 if (dev_priv->mm.interruptible && signal_pending(current)) { ring_wait_for_space()
2127 dev_priv->mm.interruptible); ring_wait_for_space()
2243 dev_priv->mm.interruptible); intel_ring_begin()
H A Dintel_display.c2420 dev_priv->mm.interruptible = false; intel_pin_and_fence_fb_obj()
2437 dev_priv->mm.interruptible = true; intel_pin_and_fence_fb_obj()
2444 dev_priv->mm.interruptible = true; intel_pin_and_fence_fb_obj()
3162 bool was_interruptible = dev_priv->mm.interruptible; intel_finish_fb()
3173 dev_priv->mm.interruptible = false; intel_finish_fb()
3175 dev_priv->mm.interruptible = was_interruptible; intel_finish_fb()
4448 dev_priv->mm.interruptible = false; intel_crtc_dpms_overlay()
4450 dev_priv->mm.interruptible = true; intel_crtc_dpms_overlay()
/linux-4.1.27/kernel/locking/
H A Drtmutex-tester.c45 RTTEST_LOCKINT, /* 5 Lock interruptible, data = lockindex */
46 RTTEST_LOCKINTNOWAIT, /* 6 Lock interruptible no wait in wakeup, data = lockindex */
H A Dmutex.c502 * Lock a mutex (possibly interruptible), slowpath:
778 * mutex_lock_interruptible - acquire the mutex, interruptible
H A Drtmutex.c1388 * rt_mutex_lock_interruptible - lock a rt_mutex interruptible
1418 * rt_mutex_timed_lock - lock a rt_mutex interruptible
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c310 bool evict, bool interruptible, radeon_move_vram_ram()
332 interruptible, no_wait_gpu); radeon_move_vram_ram()
357 bool evict, bool interruptible, radeon_move_ram_vram()
379 interruptible, no_wait_gpu); radeon_move_ram_vram()
397 bool evict, bool interruptible, radeon_bo_move()
426 r = radeon_move_vram_ram(bo, evict, interruptible, radeon_bo_move()
430 r = radeon_move_ram_vram(bo, evict, interruptible, radeon_bo_move()
309 radeon_move_vram_ram(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) radeon_move_vram_ram() argument
356 radeon_move_ram_vram(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) radeon_move_ram_vram() argument
396 radeon_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) radeon_bo_move() argument
H A Dradeon_fence.c533 * @intr: use interruptible sleep
H A Dradeon.h385 int radeon_fence_wait(struct radeon_fence *fence, bool interruptible);
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dcontext.c117 * we don't acquire the state mutex interruptible, and we don't spu_forget()
H A Dsched.c741 /* not a candidate for interruptible because it's called either spu_schedule()
878 interruptible */ __spu_deactivate()
/linux-4.1.27/drivers/usb/serial/
H A Ddigi_acceleport.c213 unsigned char *buf, int count, int interruptible);
217 unsigned int modem_signals, int interruptible);
385 * the interruptible flag is true, or a negative error
390 unsigned char *buf, int count, int interruptible) digi_write_oob_command()
408 if (interruptible && signal_pending(current)) digi_write_oob_command()
527 unsigned int modem_signals, int interruptible) digi_set_modem_signals()
550 if (interruptible && signal_pending(current)) digi_set_modem_signals()
389 digi_write_oob_command(struct usb_serial_port *port, unsigned char *buf, int count, int interruptible) digi_write_oob_command() argument
526 digi_set_modem_signals(struct usb_serial_port *port, unsigned int modem_signals, int interruptible) digi_set_modem_signals() argument
/linux-4.1.27/drivers/misc/ibmasm/
H A Dibmasmfs.c62 * read: sleep (interruptible) until an event occurs
66 * read: sleep (interruptible) until the reverse heartbeat fails
/linux-4.1.27/drivers/dma-buf/
H A Dfence.c142 * @intr: [in] if true, do an interruptible wait
334 * @intr: [in] if true, do an interruptible wait
/linux-4.1.27/net/nfc/nci/
H A Dspi.c279 * is non-interruptible, and has no timeout.
/linux-4.1.27/sound/firewire/
H A Diso-resources.c101 * interruptible and can return -ERESTARTSYS. On success, the caller is
/linux-4.1.27/drivers/usb/misc/
H A Dadutux.c321 mutex_lock(&adutux_mutex); /* not interruptible */ adu_release()
807 mutex_lock(&dev->mtx); /* not interruptible */ adu_disconnect()
H A Dlegousbtower.c71 * - make device locking interruptible
/linux-4.1.27/security/keys/
H A Drequest_key.c614 * completion of keys undergoing construction with a non-interruptible wait.
651 * completion of keys undergoing construction with a non-interruptible wait.
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_queue.c370 * could result in an interruptible wait in uvc_dequeue_buffer. Do not uvc_queue_cancel()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Daddi_apci_1032.c44 * Channels 0 to 15 are interruptible. These channels can be configured
H A Daddi_apci_1564.c251 * Channels 0 to 15 are interruptible. These channels can be configured
H A Dquatech_daqp_cs.c322 /* Maybe could use a timeout here, but it's interruptible */ daqp_ai_insn_read()
/linux-4.1.27/drivers/gpu/drm/ast/
H A Dast_ttm.c190 bool evict, bool interruptible, ast_bo_move()
189 ast_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) ast_bo_move() argument
/linux-4.1.27/drivers/gpu/drm/bochs/
H A Dbochs_mm.c169 bool evict, bool interruptible, bochs_bo_move()
168 bochs_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) bochs_bo_move() argument
/linux-4.1.27/drivers/gpu/drm/cirrus/
H A Dcirrus_ttm.c190 bool evict, bool interruptible, cirrus_bo_move()
189 cirrus_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) cirrus_bo_move() argument
/linux-4.1.27/drivers/gpu/drm/mgag200/
H A Dmgag200_ttm.c190 bool evict, bool interruptible, mgag200_bo_move()
189 mgag200_bo_move(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_mem_reg *new_mem) mgag200_bo_move() argument
/linux-4.1.27/drivers/usb/gadget/function/
H A Duvc_queue.c249 * could result in an interruptible wait in uvc_dequeue_buffer. Do not uvcg_queue_cancel()
H A Df_mass_storage.c3115 /* FIXME: make interruptible or killable somehow? */ fsg_unbind()
/linux-4.1.27/sound/soc/intel/atom/sst/
H A Dsst_pvt.c120 * This function waits with a timeout value (and is not interruptible) on a
/linux-4.1.27/drivers/macintosh/
H A Dsmu.c1008 * when interruptible is 1
1011 unsigned int *size, int interruptible) __smu_get_sdb_partition()
1023 if (interruptible) { __smu_get_sdb_partition()
1010 __smu_get_sdb_partition(int id, unsigned int *size, int interruptible) __smu_get_sdb_partition() argument
/linux-4.1.27/drivers/block/
H A Dswim3.c249 int interruptible);
835 int interruptible) grab_drive()
845 if (!interruptible) grab_drive()
834 grab_drive(struct floppy_state *fs, enum swim_state state, int interruptible) grab_drive() argument
H A Dfloppy.c869 static int lock_fdc(int drive, bool interruptible) lock_fdc() argument
1966 static int wait_til_done(void (*handler)(void), bool interruptible) wait_til_done() argument
1972 if (interruptible) wait_til_done()
2928 static int poll_drive(bool interruptible, int flag) poll_drive() argument
2939 return wait_til_done(floppy_ready, interruptible); poll_drive()
2959 static int user_reset_fdc(int drive, int arg, bool interruptible) user_reset_fdc() argument
2963 if (lock_fdc(drive, interruptible)) user_reset_fdc()
2970 ret = wait_til_done(reset_fdc, interruptible); user_reset_fdc()
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dmixer_reg.c363 /* TODO: consider adding interruptible */ mxr_reg_wait4vsync()
/linux-4.1.27/drivers/gpu/vga/
H A Dvgaarb.c358 int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible) vga_get() argument
394 set_current_state(interruptible ? vga_get()
/linux-4.1.27/drivers/net/ethernet/neterion/
H A Ds2io.c1861 u64 interruptible; en_dis_err_alarms() local
1953 interruptible = (RMAC_RX_BUFF_OVRN | RMAC_RX_SM_ERR | en_dis_err_alarms()
1957 interruptible |= RMAC_LINK_STATE_CHANGE_INT; en_dis_err_alarms()
1958 do_s2io_write_bits(interruptible, en_dis_err_alarms()
2414 u16 interruptible; stop_nic() local
2418 interruptible = TX_TRAFFIC_INTR | RX_TRAFFIC_INTR; stop_nic()
2419 interruptible |= TX_PIC_INTR; stop_nic()
2420 en_dis_able_nic_intrs(nic, interruptible, DISABLE_INTRS); stop_nic()
7153 u16 interruptible; s2io_card_up() local
7242 interruptible = TX_TRAFFIC_INTR | TX_PIC_INTR; s2io_card_up()
7243 en_dis_able_nic_intrs(sp, interruptible, ENABLE_INTRS); s2io_card_up()
7245 interruptible = TX_TRAFFIC_INTR | RX_TRAFFIC_INTR; s2io_card_up()
7246 interruptible |= TX_PIC_INTR; s2io_card_up()
7247 en_dis_able_nic_intrs(sp, interruptible, ENABLE_INTRS); s2io_card_up()
/linux-4.1.27/drivers/md/
H A Ddm.c2985 static int dm_wait_for_completion(struct mapped_device *md, int interruptible) dm_wait_for_completion() argument
2993 set_current_state(interruptible); dm_wait_for_completion()
2998 if (interruptible == TASK_INTERRUPTIBLE && dm_wait_for_completion()
3133 unsigned suspend_flags, int interruptible) __dm_suspend()
3199 r = dm_wait_for_completion(md, interruptible); __dm_suspend()
3132 __dm_suspend(struct mapped_device *md, struct dm_table *map, unsigned suspend_flags, int interruptible) __dm_suspend() argument
H A Draid1.c1116 * userspace, we want an interruptible make_request()
H A Dmd.c7685 /* We need to wait 'interruptible' so as not to for_each_mddev()
H A Draid5.c5273 * userspace, we want an interruptible make_request()
/linux-4.1.27/drivers/s390/block/
H A Ddasd.c2136 static int _dasd_sleep_on(struct dasd_ccw_req *maincqr, int interruptible) _dasd_sleep_on() argument
2174 if (interruptible) { _dasd_sleep_on()
2190 if (interruptible) { _dasd_sleep_on()
2195 /* wait (non-interruptible) for final status */ _dasd_sleep_on()
2231 static int _dasd_sleep_on_queue(struct list_head *ccw_queue, int interruptible) _dasd_sleep_on_queue() argument
2259 if (interruptible) { list_for_each_entry_safe()
2320 * interruptible for it's completion.
/linux-4.1.27/drivers/usb/core/
H A Dmessage.c39 * is NOT interruptible. Many device driver i/o requests should be
40 * interruptible and therefore these drivers should implement their
41 * own interruptible routines.
/linux-4.1.27/drivers/spi/
H A Dspi.c2111 * is non-interruptible, and has no timeout. Low-overhead controller
2138 * is non-interruptible, and has no timeout. Low-overhead controller
2159 * is non-interruptible, and has no timeout.
2190 * is non-interruptible, and has no timeout.
/linux-4.1.27/drivers/char/
H A Dapm-emulation.c299 * wait_event_freezable() is interruptible and pending apm_ioctl()
/linux-4.1.27/drivers/usb/
H A Dusb-skeleton.c263 * hence wait in an interruptible state skel_read()
/linux-4.1.27/drivers/staging/media/omap4iss/
H A Diss_video.c800 * interruptible context. The pipeline is started and stopped synchronously
/linux-4.1.27/drivers/w1/
H A Dw1.c1138 /* hold list_mutex until after interruptible to prevent loosing w1_process()
/linux-4.1.27/include/uapi/drm/
H A Dvmwgfx_drm.h580 * Waits for a fence object to signal. The wait is interruptible, so that
/linux-4.1.27/drivers/media/platform/omap3isp/
H A Dispvideo.c979 * interruptible context. The pipeline is started and stopped synchronously
/linux-4.1.27/drivers/char/xillybus/
H A Dxillybus_core.c98 * Only interruptible blocking is allowed on mutexes and wait queues.
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_sync.c1667 /* (Ab)use interruptible sleep to avoid increasing sync_thread_master()
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c516 * probably call udelay() instead of the interruptible sleep. cosa_probe()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc91x.c1224 * between the interruptible transmit functions and this smc_interrupt()
/linux-4.1.27/drivers/atm/
H A Dfirestream.c1125 is taking too long. Maybe just use non-interruptible sleep on? -- REW */ fs_close()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dclient.c2026 * a set \a data. Callback for l_wait_event for interruptible waits.
/linux-4.1.27/drivers/tty/
H A Dn_gsm.c1563 /* Packetised interruptible data */ gsm_dlci_data()
/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c5194 /* tasklets are interruptible. */ rx_proc_task()
5213 /* tasklets are interruptible. */ tx_proc_task()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_sli.c10389 * non-interruptible wait.
10531 * interruptible wait. If the thread is woken up due to a

Completed in 4489 milliseconds