Lines Matching refs:io
128 struct coredump_iostate io;
268 io.io_lwp = l;
269 io.io_vp = vp;
270 io.io_cred = cred;
271 io.io_offset = 0;
274 error = (*p->p_execsw->es_coredump)(l, &io);
332 coredump_write(struct coredump_iostate *io, enum uio_seg segflg,
337 error = vn_rdwr(UIO_WRITE, io->io_vp, __UNCONST(data), len,
338 io->io_offset, segflg,
339 IO_NODELOCKED|IO_UNIT, io->io_cred, NULL,
340 segflg == UIO_USERSPACE ? io->io_lwp : NULL);
343 io->io_lwp->l_proc->p_pid, io->io_lwp->l_proc->p_comm,
345 len, data, (long long) io->io_offset, error);
349 io->io_offset += len;
354 coredump_offset(struct coredump_iostate *io)
356 return io->io_offset;