Home
last modified time | relevance | path

Searched refs:aio (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_file_aio_read.c45 if (aio == NULL) { in ngx_file_aio_init()
49 aio->file = file; in ngx_file_aio_init()
51 aio->event.data = aio; in ngx_file_aio_init()
55 file->aio = aio; in ngx_file_aio_init()
77 aio = file->aio; in ngx_file_aio_read()
78 ev = &aio->event; in ngx_file_aio_read()
144 return ngx_file_aio_result(aio->file, aio, ev); in ngx_file_aio_read()
191 aio->err = 0; in ngx_file_aio_result()
192 aio->nbytes = n; in ngx_file_aio_result()
208 aio = ev->data; in ngx_file_aio_event_handler()
[all …]
H A Dngx_linux_aio_read.c30 ngx_event_aio_t *aio; in ngx_file_aio_init() local
33 if (aio == NULL) { in ngx_file_aio_init()
37 aio->file = file; in ngx_file_aio_init()
38 aio->fd = file->fd; in ngx_file_aio_init()
39 aio->event.data = aio; in ngx_file_aio_init()
40 aio->event.ready = 1; in ngx_file_aio_init()
43 file->aio = aio; in ngx_file_aio_init()
66 aio = file->aio; in ngx_file_aio_read()
67 ev = &aio->event; in ngx_file_aio_read()
142 aio = ev->data; in ngx_file_aio_event_handler()
[all …]
H A Dngx_freebsd_sendfile_chain.c50 ngx_event_aio_t *aio; in ngx_freebsd_sendfile_chain() local
81 aio = NULL; in ngx_freebsd_sendfile_chain()
183 aio = file->file->aio; in ngx_freebsd_sendfile_chain()
184 flags = (aio && aio->preload_handler) ? SF_NODISKIO : 0; in ngx_freebsd_sendfile_chain()
258 if (aio->event.active) { in ngx_freebsd_sendfile_chain()
280 aio->preload_handler = NULL; in ngx_freebsd_sendfile_chain()
290 n = aio->preload_handler(file); in ngx_freebsd_sendfile_chain()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_copy_filter_module.c149 ctx->aio = r->aio; in ngx_http_copy_filter()
181 r->aio = 1; in ngx_http_copy_aio_handler()
182 ctx->aio = 1; in ngx_http_copy_aio_handler()
194 r = aio->data; in ngx_http_copy_aio_event_handler()
203 r->aio = 0; in ngx_http_copy_aio_event_handler()
225 aio = file->file->aio; in ngx_http_copy_aio_sendfile_preload()
247 r = aio->data; in ngx_http_copy_aio_sendfile_event_handler()
250 r->aio = 0; in ngx_http_copy_aio_sendfile_event_handler()
300 r->aio = 1; in ngx_http_copy_thread_handler()
303 ctx->aio = 1; in ngx_http_copy_thread_handler()
[all …]
H A Dngx_http_file_cache.c678 if (clcf->aio == NGX_HTTP_AIO_ON && ngx_file_aio) { in ngx_http_file_cache_aio_read()
688 c->file.aio->data = r; in ngx_http_file_cache_aio_read()
689 c->file.aio->handler = ngx_http_cache_aio_event_handler; in ngx_http_file_cache_aio_read()
692 r->aio = 1; in ngx_http_file_cache_aio_read()
701 if (clcf->aio == NGX_HTTP_AIO_THREADS) { in ngx_http_file_cache_aio_read()
725 ngx_event_aio_t *aio; in ngx_http_cache_aio_event_handler() local
729 aio = ev->data; in ngx_http_cache_aio_event_handler()
730 r = aio->data; in ngx_http_cache_aio_event_handler()
739 r->aio = 0; in ngx_http_cache_aio_event_handler()
788 r->aio = 1; in ngx_http_cache_thread_handler()
[all …]
H A Dngx_http_request.h457 unsigned aio:1; member
H A Dngx_http_core_module.h386 ngx_flag_t aio; /* aio */ member
H A Dngx_http_upstream.c561 if (r->aio) { in ngx_http_upstream_init_request()
3165 if (clcf->aio == NGX_HTTP_AIO_THREADS && clcf->aio_write) { in ngx_http_upstream_send_response()
3775 r->aio = 1; in ngx_http_upstream_thread_handler()
3776 p->aio = 1; in ngx_http_upstream_thread_handler()
3797 r->aio = 0; in ngx_http_upstream_thread_event_handler()
3829 p->aio = r->aio; in ngx_http_upstream_output_filter()
3854 p->aio = r->aio; in ngx_http_upstream_process_downstream()
3944 if (p->writing && !p->aio) { in ngx_http_upstream_process_request()
H A Dngx_http_core_module.c3425 clcf->aio = NGX_CONF_UNSET; in ngx_http_core_create_loc_conf()
3650 ngx_conf_merge_value(conf->aio, prev->aio, NGX_HTTP_AIO_OFF); in ngx_http_core_merge_loc_conf()
4470 if (clcf->aio != NGX_CONF_UNSET) { in ngx_http_core_set_aio()
4482 clcf->aio = NGX_HTTP_AIO_OFF; in ngx_http_core_set_aio()
4488 clcf->aio = NGX_HTTP_AIO_ON; in ngx_http_core_set_aio()
4501 clcf->aio = NGX_HTTP_AIO_ON; in ngx_http_core_set_aio()
4520 clcf->aio = NGX_HTTP_AIO_THREADS; in ngx_http_core_set_aio()
/f-stack/freebsd/contrib/device-tree/Bindings/sound/
H A Dsocionext,uniphier-aio.yaml4 $id: http://devicetree.org/schemas/sound/socionext,uniphier-aio.yaml#
15 - socionext,uniphier-ld11-aio
16 - socionext,uniphier-ld20-aio
17 - socionext,uniphier-pxs2-aio
26 const: aio
32 const: aio
70 compatible = "socionext,uniphier-ld20-aio";
75 clock-names = "aio";
77 reset-names = "aio";
H A Duniphier,aio.txt8 "socionext,uniphier-ld11-aio"
9 "socionext,uniphier-ld20-aio"
10 "socionext,uniphier-pxs2-aio"
16 "aio"
20 "aio"
33 compatible = "socionext,uniphier-ld20-aio";
38 clock-names = "aio";
40 reset-names = "aio";
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_queue.c623 vdev_queue_agg_io_done(zio_t *aio) in vdev_queue_agg_io_done() argument
625 abd_free(aio->io_abd); in vdev_queue_agg_io_done()
800 aio->io_timestamp = first->io_timestamp; in vdev_queue_aggregate()
807 zio_add_child(dio, aio); in vdev_queue_aggregate()
829 abd_gang_add(aio->io_abd, in vdev_queue_aggregate()
844 ASSERT3U(abd_get_size(aio->io_abd), ==, aio->io_size); in vdev_queue_aggregate()
860 return (aio); in vdev_queue_aggregate()
866 zio_t *zio, *aio; in vdev_queue_io_to_issue() local
896 aio = vdev_queue_aggregate(vq, zio); in vdev_queue_io_to_issue()
897 if (aio != NULL) in vdev_queue_io_to_issue()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_output_chain.c54 && !ctx->aio in ngx_output_chain()
93 if (ctx->aio) { in ngx_output_chain()
309 ngx_event_aio_t *aio; in ngx_output_chain_aio_setup() local
311 if (file->aio == NULL && ngx_file_aio_init(file, ctx->pool) != NGX_OK) { in ngx_output_chain_aio_setup()
315 aio = file->aio; in ngx_output_chain_aio_setup()
317 aio->data = ctx->filter_ctx; in ngx_output_chain_aio_setup()
318 aio->preload_handler = ctx->aio_preload; in ngx_output_chain_aio_setup()
H A Dngx_file.h34 ngx_event_aio_t *aio; member
H A Dngx_buf.h89 unsigned aio:1; member
/f-stack/freebsd/contrib/openzfs/config/
H A Duser-libaio.m45 …ZFS_AC_FIND_SYSTEM_LIBRARY(LIBAIO, [], [libaio.h], [], [aio], [], [user_libaio=yes], [user_libaio=…
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_pipe.h68 unsigned aio:1; member
H A Dngx_event_pipe.c117 if (p->aio) { in ngx_event_pipe_read_upstream()
745 if (p->aio) { in ngx_event_pipe_write_chain_to_temp_file()
/f-stack/freebsd/contrib/device-tree/src/arm64/socionext/
H A Duniphier-ld11.dtsi224 compatible = "socionext,uniphier-ld11-aio";
230 clock-names = "aio";
232 reset-names = "aio";
H A Duniphier-ld20.dtsi349 compatible = "socionext,uniphier-ld20-aio";
355 clock-names = "aio";
357 reset-names = "aio";
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_epoll_module.c950 ngx_event_aio_t *aio; in ngx_epoll_eventfd_handler() local
1003 aio = e->data; in ngx_epoll_eventfd_handler()
1004 aio->res = event[i].res; in ngx_epoll_eventfd_handler()
/f-stack/app/nginx-1.16.1/
H A DCHANGES.ru821 *) Исправление: при использовании директив "aio threads" и sendfile мог
945 *) Исправление: при использовании директивы "aio threads" соединения
986 aio post".
1000 *) Исправление: при использовании директив sendfile и "aio threads"
1297 *) Изменение: устаревшие методы обработки соединений aio и rtsig больше
1342 *) Изменение: параметр sendfile директивы aio более не нужен; теперь
1344 если одновременно используются директивы aio и sendfile.
1710 *) Исправление: nginx не собирался с параметром --with-file-aio на
2901 *) Исправление: при использовании "aio sendfile" могла происходить
4049 *) Исправление: nginx не собирался без параметра --with-file-aio на
[all …]
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Duniphier-pxs2.dtsi260 compatible = "socionext,uniphier-pxs2-aio";
271 clock-names = "aio";
273 reset-names = "aio";
/f-stack/app/nginx-1.16.1/auto/
H A Doptions213 --with-file-aio) NGX_FILE_AIO=YES ;;
445 --with-file-aio enable file AIO support
/f-stack/freebsd/kern/
H A Dvfs_aio.c104 FEATURE(aio, "Asynchronous I/O");
110 static SYSCTL_NODE(_vfs, OID_AUTO, aio, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
394 DECLARE_MODULE(aio, aio_mod, SI_SUB_VFS, SI_ORDER_ANY);
395 MODULE_VERSION(aio, 1);

12