Lines Matching defs:nios
79 * The syscall context allocates the structure and initializes 'nios'
81 * paging operations, it increments 'nios'.
83 * Every I/O completion calls sendfile_iodone(), which decrements the 'nios',
85 * linking them and sending to socket. Whoever reaches zero 'nios' is
90 volatile u_int nios;
282 while (atomic_load_int(&sfio->nios) != 1)
323 if (!refcount_release(&sfio->nios))
414 sendfile_swapin(vm_object_t obj, struct sf_io *sfio, int *nios, off_t off,
422 *nios = 0;
523 refcount_acquire(&sfio->nios);
553 (*nios)++;
556 if (*nios == 0 && npages != 0)
760 int nios, space, npages, rhpages;
853 nios = 0;
929 refcount_init(&sfio->nios, 1);
943 error = sendfile_swapin(obj, sfio, &nios, off, space, rhpages,
1042 if (nios) {
1110 if (nios)
1160 if (nios == 0) {