HomeSort by: relevance | last modified time | path
    Searched refs:queue (Results 1 - 25 of 1008) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
vchiq_util.c 41 int vchiu_queue_init(VCHIU_QUEUE_T *queue, int size)
45 queue->size = size;
46 queue->read = 0;
47 queue->write = 0;
48 queue->initialized = 1;
50 _sema_init(&queue->pop, 0);
51 _sema_init(&queue->push, 0);
53 queue->storage = kzalloc(size * sizeof(VCHIQ_HEADER_T *), GFP_KERNEL);
54 if (queue->storage == NULL) {
55 vchiu_queue_delete(queue);
    [all...]
vchiq_util.h 55 extern int vchiu_queue_init(VCHIU_QUEUE_T *queue, int size);
56 extern void vchiu_queue_delete(VCHIU_QUEUE_T *queue);
58 extern int vchiu_queue_is_empty(VCHIU_QUEUE_T *queue);
59 extern int vchiu_queue_is_full(VCHIU_QUEUE_T *queue);
61 extern void vchiu_queue_push(VCHIU_QUEUE_T *queue, VCHIQ_HEADER_T *header);
63 extern VCHIQ_HEADER_T *vchiu_queue_peek(VCHIU_QUEUE_T *queue);
64 extern VCHIQ_HEADER_T *vchiu_queue_pop(VCHIU_QUEUE_T *queue);
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_marker.c 42 void vmw_marker_queue_init(struct vmw_marker_queue *queue)
44 INIT_LIST_HEAD(&queue->head);
45 queue->lag = 0;
46 queue->lag_time = ktime_get_raw_ns();
47 spin_lock_init(&queue->lock);
50 void vmw_marker_queue_takedown(struct vmw_marker_queue *queue)
54 list_for_each_entry_safe(marker, next, &queue->head, head) {
57 spin_lock_destroy(&queue->lock);
60 int vmw_marker_push(struct vmw_marker_queue *queue,
70 spin_lock(&queue->lock)
    [all...]
ttm_lock.c 53 DRM_INIT_WAITQUEUE(&lock->queue, "ttmlock");
62 DRM_SPIN_WAKEUP_ALL(&lock->queue, &lock->lock);
83 DRM_SPIN_WAIT_UNTIL(ret, &lock->queue, &lock->lock,
86 DRM_SPIN_WAIT_NOINTR_UNTIL(ret, &lock->queue, &lock->lock,
119 DRM_SPIN_WAIT_UNTIL(ret, &lock->queue, &lock->lock,
122 DRM_SPIN_WAIT_NOINTR_UNTIL(ret, &lock->queue, &lock->lock,
138 DRM_SPIN_WAKEUP_ALL(&lock->queue, &lock->lock);
164 DRM_SPIN_WAIT_UNTIL(ret, &lock->queue, &lock->lock,
168 DRM_SPIN_WAKEUP_ONE(&lock->queue, &lock->lock);
171 DRM_SPIN_WAIT_NOINTR_UNTIL(ret, &lock->queue, &lock->lock
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
spsc_queue.h 32 /** SPSC lockless queue */
50 static inline void spsc_queue_init(struct spsc_queue *queue)
52 queue->head = NULL;
53 atomic_long_set(&queue->tail, (long)&queue->head);
54 atomic_set(&queue->job_count, 0);
57 static inline struct spsc_node *spsc_queue_peek(struct spsc_queue *queue)
59 return queue->head;
62 static inline int spsc_queue_count(struct spsc_queue *queue)
64 return atomic_read(&queue->job_count)
    [all...]
  /src/share/man/man3/
Makefile 13 makedev.3 offsetof.3 param.3 paths.3 queue.3 rbtree.3 sigevent.3 \
19 USETBL= # used by queue.3
142 MLINKS+=queue.3 LIST.3 \
143 queue.3 LIST_EMPTY.3 \
144 queue.3 LIST_ENTRY.3 \
145 queue.3 LIST_FIRST.3 \
146 queue.3 LIST_FOREACH.3 \
147 queue.3 LIST_FOREACH_SAFE.3 \
148 queue.3 LIST_HEAD.3 \
149 queue.3 LIST_HEAD_INITIALIZER.3
    [all...]
  /src/sys/altq/
altq_wfq.c 87 /* global value : pointer to wfq queue list */
117 wfq *queue; local in function:wfq_ifattach
138 queue = malloc(sizeof(wfq) * DEFAULT_QSIZE, M_DEVBUF, M_WAITOK|M_ZERO);
139 if (queue == NULL) {
150 new_wfqp->queue = queue;
154 for (i = 0; i < new_wfqp->nums; i++, queue++) {
155 queue->next = queue->prev = NULL;
156 queue->head = queue->tail = NULL
254 wfq *queue; local in function:wfq_ifenqueue
418 wfq *queue, *max_queue = NULL; local in function:wfq_maxqueue
438 wfq *queue; local in function:wfq_ifdequeue
517 wfq *queue; local in function:wfq_setweight
541 wfq *queue; local in function:wfq_getstats
566 wfq *queue; local in function:wfq_config
    [all...]
  /src/sys/external/bsd/drm2/amdgpu/
amdgpu_task.h 35 #include <sys/queue.h>
40 SIMPLEQ_ENTRY(amdgpu_task) queue;
  /src/sys/external/bsd/drm2/i915drm/
i915_pci.h 35 #include <sys/queue.h>
40 SIMPLEQ_ENTRY(i915drmkms_task) queue;
  /src/sys/external/bsd/drm2/nouveau/
nouveau_pci.h 35 #include <sys/queue.h>
40 SIMPLEQ_ENTRY(nouveau_pci_task) queue;
  /src/sys/external/bsd/drm2/radeon/
radeon_task.h 35 #include <sys/queue.h>
40 SIMPLEQ_ENTRY(radeon_task) queue;
  /src/sys/external/bsd/drm2/vmwgfx/
vmwgfx_task.h 32 #include <sys/queue.h>
37 SIMPLEQ_ENTRY(vmwgfx_task) queue;
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_kernel_queue.c 42 /* Initialize a kernel queue, including allocations of GART memory
43 * needed for the queue.
55 pr_debug("Initializing queue type %d size %d\n", KFD_QUEUE_TYPE_HIQ,
75 pr_err("Invalid queue type %d\n", type);
145 if (init_queue(&kq->queue, &prop) != 0)
148 kq->queue->device = dev;
149 kq->queue->process = kfd_get_process(current);
151 kq->queue->mqd_mem_obj = kq->mqd_mgr->allocate_mqd(kq->mqd_mgr->dev,
152 &kq->queue->properties);
153 if (!kq->queue->mqd_mem_obj
    [all...]
  /src/sys/dev/raidframe/
rf_diskqueue.c 31 * rf_diskqueue.c -- higher-level disk queue code
39 * queue is locked, and no further I/Os are dispatched until the queue
47 * currently has the queue locked, so we make no such attempt. Since
107 * the disk queue switch defines all the functions used in the
108 * different queueing disciplines queue ID, init routine, enqueue
157 /* configures a single disk queue */
241 RF_ERRORMSG2("Unknown queue type \"%s\". Using %s\n", cfgPtr->diskQueueType, diskqueuesw[0].queueType);
282 * when any request arrives at a queue, we have two choices:
284 * queue it u
    [all...]
rf_sstf.c 109 /* insert after s, at end of queue */
118 /* for removing from head-of-queue */
120 _r_ = (_q_)->queue; \
122 (_q_)->queue = (_r_)->next; \
126 RF_ASSERT((_q_)->queue == NULL); \
130 RF_ASSERT((_q_)->queue->prev == (_r_)); \
131 (_q_)->queue->prev = NULL; \
135 /* for removing from end-of-queue */
142 RF_ASSERT((_r_) == (_q_)->queue); \
144 (_q_)->queue = NULL;
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
cik.h 32 u32 me, u32 pipe, u32 queue, u32 vmid);
si.h 32 u32 me, u32 pipe, u32 queue, u32 vmid);
vi.h 32 u32 me, u32 pipe, u32 queue, u32 vmid);
  /src/usr.bin/grep/
queue.c 1 /* $NetBSD: queue.c,v 1.5 2011/08/31 16:24:57 plunky Exp $ */
2 /* $FreeBSD: head/usr.bin/grep/queue.c 211496 2010-08-19 09:28:59Z des $ */
30 * A really poor man's queue. It does only what it has to and gets out of
31 * Dodge. It is used in place of <sys/queue.h> to get a better performance.
39 __RCSID("$NetBSD: queue.c,v 1.5 2011/08/31 16:24:57 plunky Exp $");
42 #include <sys/queue.h>
54 static STAILQ_HEAD(, qentry) queue = STAILQ_HEAD_INITIALIZER(queue);
72 STAILQ_INSERT_TAIL(&queue, item, list);
86 item = STAILQ_FIRST(&queue);
    [all...]
  /src/sys/uvm/
uvm_device.h 34 #include <sys/queue.h>
48 #include <sys/queue.h>
  /src/bin/stty/
stty.h 43 int queue; /* queue size */ member in struct:info
  /src/sys/arch/acorn32/eb7500atx/
rsbus.h 8 #include <sys/queue.h>
  /src/sys/arch/algor/include/
intr.h 36 #include <sys/queue.h>
  /src/sys/arch/arm/ixp12x0/
ixpsipvar.h 34 #include <sys/queue.h>
  /src/sys/arch/evbmips/include/
intr.h 35 #include <sys/queue.h>

Completed in 20 milliseconds

1 2 3 4 5 6 7 8 91011>>