Searched refs:aio_req_t (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/ |
H A D | aio_impl.h | 78 typedef struct aio_req_t { struct 84 struct aio_req_t *aio_req_next; /* doneq and pollq pointers */ argument 85 struct aio_req_t *aio_req_prev; /* doubly linked list */ argument 86 struct aio_req_t *aio_hash_next; /* next in a hash bucket */ argument 98 } aio_req_t; argument 112 aio_req_t *aio_portq; /* port queue head */ 113 aio_req_t *aio_portcleanupq; /* port cleanup queue head */ 114 aio_req_t *aio_portpending; /* list of pending requests */ 115 aio_req_t *aio_free; /* freelist of aio requests */ 117 aio_req_t *aio_doneq; /* done queue head */ [all …]
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | asyncio.h | 68 typedef struct aio_req aio_req_t; typedef 120 aio_req_t *req_link; /* hash/freelist chain link */ 126 aio_req_t *req_next; /* request/done queue link */ 127 aio_req_t *req_prev; /* double linked list */ 235 aio_req_t *work_head1; /* head of work request queue 1 */ 236 aio_req_t *work_tail1; /* tail of work request queue 1 */ 237 aio_req_t *work_next1; /* work queue one's next pointer */ 238 aio_req_t *work_prev1; /* last request done from queue 1 */ 239 aio_req_t *work_req; /* active work request */ 250 aio_req_t *hash_ptr; [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio_subr.c | 50 void aphysio_unlock(aio_req_t *); 58 static void aio_hash_delete(aio_t *, aio_req_t *); 60 static int aio_cleanup_cleanupq(aio_t *, aio_req_t *, int); 61 static int aio_cleanup_notifyq(aio_t *, aio_req_t *, int); 62 static void aio_cleanup_pollq(aio_t *, aio_req_t *, int); 63 static void aio_cleanup_portq(aio_t *, aio_req_t *, int); 80 aio_req_t *reqp = (aio_req_t *)aio->aio_private; in aphysio() 188 aio_req_t *reqp; in aio_done() 206 reqp = (aio_req_t *)bp->b_forw; in aio_done() 440 aio_zerolen(aio_req_t *reqp) in aio_zerolen() [all …]
|
H A D | aio.c | 84 static void lio_set_error(aio_req_t *, int portused); 86 static int aio_req_alloc(aio_req_t **, aio_result_t *); 88 static aio_req_t *aio_req_done(void *); 89 static aio_req_t *aio_req_remove(aio_req_t *); 90 static int aio_req_find(aio_result_t *, aio_req_t **); 91 static int aio_hash_insert(struct aio_req_t *, aio_t *); 92 static int aio_req_setup(aio_req_t **, aio_t *, aiocb_t *, 97 extern void aio_zerolen(aio_req_t *); 101 aio_req_t *reqlist, aio_t *aiop, model_t model); 102 static int aio_reqlist_concat(aio_t *aiop, aio_req_t **reqlist, int max); [all …]
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 36 static int _aio_hash_insert(aio_result_t *, aio_req_t *); 37 static aio_req_t *_aio_req_get(aio_worker_t *); 38 static void _aio_req_add(aio_req_t *, aio_worker_t **, int); 39 static void _aio_req_del(aio_worker_t *, aio_req_t *, int); 41 static void _aio_enq_doneq(aio_req_t *); 48 static int _aio_fsync_del(aio_worker_t *, aio_req_t *); 49 static void _aiodone(aio_req_t *, ssize_t, int); 84 aio_req_t *_aio_done_tail; /* list of done requests */ 85 aio_req_t *_aio_done_head; 99 aio_req_t *_aio_doneq; /* double linked done queue list */ [all …]
|
H A D | aio_alloc.c | 151 aio_req_t *_aio_freelist = NULL; /* free list of request structures */ 152 aio_req_t *_aio_freelast = NULL; 161 aio_req_t * 164 aio_req_t *reqp; in _aio_req_alloc() 179 _aio_freelist = (aio_req_t *)(uintptr_t)(chp + 1); in _aio_req_alloc() 180 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_req_t); in _aio_req_alloc() 208 _aio_req_free(aio_req_t *reqp) in _aio_req_free()
|
H A D | posix_aio.c | 634 aio_req_t *reqp; in aio_error() 673 aio_req_t *reqp; in aio_return() 727 _lio_remove(aio_req_t *reqp) in _lio_remove() 861 aio_req_t *reqp; in aio_cancel() 940 aio_req_t *reqp; in __aio_waitn() 1551 aio_req_t *reqp; in aio_return64() 1718 aio_req_t *reqp; in aio_cancel64()
|