Home
last modified time | relevance | path

Searched refs:aio_worker_t (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/lib/libc/inc/
H A Dasyncio.h71 typedef struct aio_worker aio_worker_t; typedef
140 aio_worker_t *req_worker; /* associate request with worker */
233 aio_worker_t *work_forw; /* forward link in list of workers */
234 aio_worker_t *work_backw; /* backwards link in list of workers */
269 extern int _aio_rw(aiocb_t *, aio_lio_t *, aio_worker_t **, int, int);
271 extern int _aio_rw64(aiocb64_t *, aio_lio_t *, aio_worker_t **, int, int);
274 extern int _aio_cancel_req(aio_worker_t *, aio_req_t *, int *, int *);
281 extern aio_worker_t *_aio_worker_alloc(void);
287 extern int _aio_idle(aio_worker_t *);
301 extern aio_worker_t *_kaiowp; /* points to kaio cleanup thread */
[all …]
/titanic_50/usr/src/lib/libc/port/aio/
H A Daio.c38 static aio_req_t *_aio_req_get(aio_worker_t *);
39 static void _aio_req_add(aio_req_t *, aio_worker_t **, int);
40 static void _aio_req_del(aio_worker_t *, aio_req_t *, int);
41 static void _aio_work_done(aio_worker_t *);
50 static int _aio_fsync_del(aio_worker_t *, aio_req_t *);
52 static void _aio_cancel_work(aio_worker_t *, int, int *, int *);
53 static void _aio_finish_request(aio_worker_t *, ssize_t, int);
75 aio_worker_t *__workers_rw; /* circular list of AIO workers */
76 aio_worker_t *__nextworker_rw; /* next worker in list of workers */
82 aio_worker_t *__workers_no; /* circular list of AIO workers */
[all …]
H A Daio_alloc.c85 aio_worker_t *worker_freelist = NULL; /* free list of worker structures */
86 aio_worker_t *worker_freelast = NULL;
93 aio_worker_t *
96 aio_worker_t *aiowp; in _aio_worker_alloc()
111 worker_freelist = (aio_worker_t *)(uintptr_t)(chp + 1); in _aio_worker_alloc()
112 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_worker_t); in _aio_worker_alloc()
137 aio_worker_t *aiowp = arg; in _aio_worker_free()
H A Dposix_aio.c749 __aio_fsync_bar(aiocb_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar()
754 aio_worker_t *next = aiowp; in __aio_fsync_bar()
863 aio_worker_t *aiowp; in aio_cancel()
1607 __aio_fsync_bar64(aiocb64_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar64()
1612 aio_worker_t *next = aiowp; in __aio_fsync_bar64()
1721 aio_worker_t *aiowp; in aio_cancel64()
/titanic_50/usr/src/lib/libc/port/threads/
H A Dsigaction.c186 aio_worker_t *aiowp = pthread_getspecific(_aio_key); in call_user_handler()