| /src/usr.bin/aiomixer/ |
| main.c | 63 select_class(struct aiomixer *aio, unsigned int n) 68 if (n >= aio->numclasses) 71 class = &aio->classes[n]; 72 aio->widgets_resized = true; 73 aio->class_scroll_y = 0; 74 aio->curcontrol = 0; 75 aio->curclass = n; 78 draw_control(aio, &class->controls[i], false); 80 draw_classbar(aio); 85 select_control(struct aiomixer *aio, unsigned int n 502 struct aiomixer *aio; local [all...] |
| draw.c | 80 draw_control(struct aiomixer *aio, 90 if (ioctl(aio->fd, AUDIO_MIXER_READ, &value) < 0) 106 draw_enum(control, value.un.ord, selected, aio->use_colour); 109 draw_set(control, value.un.mask, aio->use_colour); 113 aio->channels_unlocked, selected, aio->use_colour); 121 draw_screen(struct aiomixer *aio) 126 if (aio->widgets_resized) { 127 aio->widgets_resized = false; 135 wnoutrefresh(aio->header) [all...] |
| parse.c | 42 get_class(struct aiomixer *aio, int class) 46 for (i = 0; i < aio->numclasses; ++i) { 47 if (aio->classes[i].index == class) { 48 return &aio->classes[i]; 95 aiomixer_parse(struct aiomixer *aio) 103 ioctl(aio->fd, AUDIO_MIXER_DEVINFO, &info) != -1; ++info.index) { 106 if (aio->numclasses >= __arraycount(aio->classes)) 108 class = &aio->classes[aio->numclasses++] [all...] |
| /src/sys/arch/amiga/stand/bootblock/boot/ |
| xd.c | 72 xdinit(void *aio) 74 aio_save = aio; 98 struct AmigaIO *aio = (struct AmigaIO *)devd; local 103 aio->cmd = Cmd_Rd; 104 aio->length = size; 105 aio->offset = aio_base + (dblk << 9); 106 aio->buf = buf; 110 (long)dblk, (long)aio->offset, (long)size, (unsigned long)buf); 113 DoIO(aio); 116 printf("strategy got err %ld, rsize %ld\n", (long)aio->err, (long)aio->actual) [all...] |
| /src/crypto/external/bsd/heimdal/dist/kcm/ |
| sessions.c | 65 auditinfo_addr_t aio; 68 if (au_sdev_read_aia(h, &event, &aio) != 0) 80 kcm_cache_remove_session(aio.ai_asid);
|
| /src/sys/modules/aio/ |
| Makefile | 7 KMOD= aio
|
| /src/crypto/external/apache2/openssl/dist/engines/ |
| e_afalg.c | 75 static int afalg_init_aio(afalg_aio *aio); 185 static int afalg_setup_async_event_notification(afalg_aio *aio) 201 &aio->efd, &custom); 205 * and set it. efd will be signaled when AIO operation completes 207 aio->efd = eventfd(0); 208 if (aio->efd == -1) { 216 aio->efd, custom, 220 close(aio->efd); 224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { 229 aio->mode = MODE_ASYNC [all...] |
| e_afalg.h | 90 afalg_aio aio; member in struct:afalg_ctx_st
|
| /src/crypto/external/bsd/openssl/dist/engines/ |
| e_afalg.c | 74 static int afalg_init_aio(afalg_aio *aio); 185 static int afalg_setup_async_event_notification(afalg_aio *aio) 201 &aio->efd, &custom); 205 * and set it. efd will be signaled when AIO operation completes 207 aio->efd = eventfd(0); 208 if (aio->efd == -1) { 216 aio->efd, custom, 220 close(aio->efd); 224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { 229 aio->mode = MODE_ASYNC [all...] |
| e_afalg.h | 91 afalg_aio aio; member in struct:afalg_ctx_st
|
| /src/crypto/external/bsd/openssl.old/dist/engines/ |
| e_afalg.c | 71 static int afalg_init_aio(afalg_aio *aio); 137 static int afalg_setup_async_event_notification(afalg_aio *aio) 153 &aio->efd, &custom); 157 * and set it. efd will be signaled when AIO operation completes 159 aio->efd = eventfd(0); 160 if (aio->efd == -1) { 168 aio->efd, custom, 172 close(aio->efd); 176 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) { 181 aio->mode = MODE_ASYNC [all...] |
| e_afalg.h | 91 afalg_aio aio; member in struct:afalg_ctx_st
|
| /src/sys/kern/ |
| sys_aio.c | 110 MODULE(MODULE_CLASS_MISC, aio, NULL); 113 * System-wide limits and counter of AIO operations. 190 * Tear down all AIO state. 203 /* Abort if any processes are using AIO. */ 225 * Initialize global AIO state. 267 struct aioproc *aio; local 270 /* Allocate and initialize AIO structure */ 271 aio = kmem_zalloc(sizeof(*aio), KM_SLEEP); 274 error = aiosp_initialize(&aio->aiosp) 309 struct aioproc *aio; local 606 struct aioproc *aio = p->p_aio; local 1573 struct aioproc *aio; local 1737 struct aioproc *aio; local 1846 struct aioproc *aio = p->p_aio; local 1883 struct aioproc *aio = p->p_aio; local 1893 struct aioproc *aio = p->p_aio; local 1908 struct aioproc *aio = p->p_aio; local 1955 struct aioproc *aio = p->p_aio; local 1965 struct aioproc *aio; local 2172 struct aioproc *aio; local [all...] |
| /src/sys/arch/amiga/stand/bootblock/bootxx_ffs/ |
| main.c | 71 pain(void *aio) 80 xdinit(aio); 126 /* call boot+12(aio, sysbase); */ 128 startit(kp, aio, ConsoleBase);
|
| /src/include/ |
| aio.h | 1 /* $NetBSD: aio.h,v 1.7 2009/01/13 15:11:09 christos Exp $ */ 39 #include <sys/aio.h>
|
| Makefile | 10 INCS= a.out.h aio.h ar.h assert.h atomic.h \
|
| /src/lib/libc/compat/sys/ |
| compat_aio_suspend.c | 47 #include <compat/include/aio.h> 50 "warning: reference to compatibility aio_suspend(); include <aio.h> to generate correct reference")
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| vdev_queue.c | 502 vdev_queue_agg_io_done(zio_t *aio) 504 if (aio->io_type == ZIO_TYPE_READ) { 507 while ((pio = zio_walk_parents(aio, &zl)) != NULL) { 508 bcopy((char *)aio->io_data + (pio->io_offset - 509 aio->io_offset), pio->io_data, pio->io_size); 513 zio_buf_free(aio->io_data, aio->io_size); 649 zio_t *first, *last, *aio, *dio, *mandatory, *nio; local 763 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset, 767 aio->io_timestamp = first->io_timestamp 797 zio_t *zio, *aio; local [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| zvol.h | 59 extern int zvol_aread(dev_t dev, struct aio_req *aio, cred_t *cr); 60 extern int zvol_awrite(dev_t dev, struct aio_req *aio, cred_t *cr);
|
| /src/tests/lib/libpthread/ |
| t_compat_cancel.c | 37 #include <aio.h> 48 #include <compat/include/aio.h> 113 struct aiocb aio = { local 119 const struct aiocb *const aiolist[] = { &aio }; 122 aio.aio_fildes = fd[0]; 123 RL(aio_read(&aio));
|
| /src/lib/librt/ |
| Makefile | 14 MAN+= aio.3 aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \
|
| /src/lib/libc/net/ |
| getaddrinfo.c | 705 struct ai_order *aio; local 720 if ((aio = calloc(n, sizeof(*aio))) == NULL) 727 free(aio); 732 aio[i].aio_ai = ai; 733 aio[i].aio_dstscope = gai_addr2scopetype(ai->ai_addr); 734 aio[i].aio_dstpolicy = match_addrselectpolicy(ai->ai_addr, 736 set_source(&aio[i], &policyhead, svd); 740 qsort(aio, n, sizeof(*aio), comp_dst) [all...] |
| /src/lib/libpthread/ |
| pthread_compat.c | 44 #include <sys/aio.h>
|
| /src/tests/lib/libc/sys/ |
| t_aio_rw.c | 32 #include <aio.h>
|
| t_aio_suspend.c | 32 #include <aio.h>
|