Home
last modified time | relevance | path

Searched refs:UIO_READ (Results 1 – 25 of 125) sorted by relevance

12345

/titanic_44/usr/src/uts/common/fs/proc/
H A Dprusrio.c70 case UIO_READ: in prusrio()
77 (error = uiomove(bp, len, UIO_READ, uiop)) != 0) in prusrio()
/titanic_44/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c535 sizeof (sym) - partial, UIO_READ, uio)) != 0 || in read_symtab()
551 if ((error = uiomove((char *)&sym, sizeof (sym), UIO_READ, in read_symtab()
656 sizeof (ehdr) - uio->uio_loffset, UIO_READ, uio)) != 0 || in objfs_data_read()
685 sizeof (shdr) - off, UIO_READ, uio)) != 0 || in objfs_data_read()
719 sect_size(sp, mp) - off, UIO_READ, uio); in objfs_data_read()
735 nextoff - uio->uio_loffset, UIO_READ, in objfs_data_read()
/titanic_44/usr/src/uts/common/exec/java/
H A Djava.c107 if ((error = vn_rdwr(UIO_READ, vp, lochdr, sizeof (lochdr), in javaexec()
123 if ((error = vn_rdwr(UIO_READ, vp, xfhdr, sizeof (xfhdr), in javaexec()
/titanic_44/usr/src/uts/common/os/
H A Dmove.c81 if (rw == UIO_READ) { in uiomove()
94 if (rw == UIO_READ) in uiomove()
205 if (rw == UIO_READ) { in uiocopy()
218 if (rw == UIO_READ) in uiocopy()
459 if (uioa->uio_segflg != UIO_USERSPACE || rw != UIO_READ) { in uioamove()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Duio.h38 enum uio_rw { UIO_READ, UIO_WRITE }; enumerator
/titanic_44/usr/src/lib/libfakekernel/common/
H A Duio.c50 if (rw == UIO_READ) in uiomove()
/titanic_44/usr/src/uts/common/io/
H A Dsmbios.c139 err = uiomove((char *)ep + off, eprlen, UIO_READ, uio); in smb_uiomove()
151 MIN(len, cp->c_stlen - bufoff), UIO_READ, uio); in smb_uiomove()
H A Dmem.c255 (uint_t)(rw == UIO_READ ? PROT_READ : PROT_READ|PROT_WRITE), in mmio()
392 if (rw == UIO_READ) { in mmrw()
410 if (rw == UIO_READ) in mmrw()
427 return (mmrw(dev, uio, UIO_READ, cred)); in mmread()
H A Dcpuid_drv.c134 if ((error = uiomove(&crs, sizeof (crs), UIO_READ, uio)) != 0) in cpuid_read()
H A Drandom.c258 error = uiomove(random_bytes, len, UIO_READ, uiop); in rnd_read()
/titanic_44/usr/src/uts/common/fs/fd/
H A Dfdops.c137 UIO_READ, uiop); in fdread()
153 UIO_READ, uiop); in fdread()
294 if (uiomove((caddr_t)dirent, reclen, UIO_READ, uiop)) in fdreaddir()
/titanic_44/usr/src/uts/i86xpv/io/
H A Ddomcaps.c115 UIO_READ, uio)); in domcaps_read()
/titanic_44/usr/src/uts/common/fs/ctfs/
H A Dctfs_sym.c117 UIO_READ, uiop)); in ctfs_sym_readlink()
/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_svc.c444 int reading = (rw == UIO_READ); in ndr_uiomove()
448 assert(rw == UIO_READ || rw == UIO_WRITE); in ndr_uiomove()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsodirect.c177 if (!uioamove(mp1->b_rptr, len, UIO_READ, uioap)) { in sod_uioa_mblk_init()
297 UIO_READ, uioap); in sod_uioa_so_init()
H A Dnl7c.c379 ret = vn_rdwr(UIO_READ, vp, buf, sizeof (buf), off, in ncaportconf_read()
545 ret = vn_rdwr(UIO_READ, vp, buf, sizeof (buf), off, in ncakmodconf_read()
668 ret = vn_rdwr(UIO_READ, vp, buf, sizeof (buf), off, in ncalogdconf_read()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_sa.c81 MIN((size_t)bufsz, uio->uio_resid), UIO_READ, uio); in zfs_sa_readlink()
87 MIN((size_t)bufsz, uio->uio_resid), UIO_READ, uio); in zfs_sa_readlink()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c242 error = rwpcp(pcp, uiop, UIO_READ, ioflag); in pcfs_read()
326 ASSERT(rw == UIO_READ || rw == UIO_WRITE); in rwpcp()
329 if (uio->uio_loffset >= UINT32_MAX && rw == UIO_READ) { in rwpcp()
376 if (rw == UIO_READ) { in rwpcp()
545 if (rw == UIO_READ) { in rwpcp()
1359 (void) uiomove(ld, ld->d_reclen, UIO_READ, uiop); in pcfs_readdir()
1373 (void) uiomove(ld, ld->d_reclen, UIO_READ, uiop); in pcfs_readdir()
2345 (void) uiomove((caddr_t)ld, ld->d_reclen, UIO_READ, uiop); in pc_read_long_fn()
2389 ld->d_reclen, UIO_READ, uiop); in pc_read_short_fn()
/titanic_44/usr/src/uts/common/exec/shbin/
H A Dshbin.c144 if (error = vn_rdwr(UIO_READ, vp, linep, sizeof (linep), (offset_t)0, in checkshbinmagic()
/titanic_44/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_async.c254 ret = uiomove(&arq, sizeof (arq), UIO_READ, uiop); in av1394_async_read()
272 ret = uiomove(mp->b_rptr, len, UIO_READ, uiop); in av1394_async_read()
/titanic_44/usr/src/uts/common/exec/elf/
H A Delf.c498 if ((error = vn_rdwr(UIO_READ, vp, (caddr_t)cap, in elfexec()
567 if ((error = vn_rdwr(UIO_READ, vp, dlnp, dyphdr->p_filesz, in elfexec()
1007 if ((error = vn_rdwr(UIO_READ, vp, (caddr_t)ehdr, in getelfhead()
1048 if ((error = vn_rdwr(UIO_READ, vp, (caddr_t)&shdr, in getelfhead()
1102 if ((err = vn_rdwr(UIO_READ, vp, *phbasep, *phsizep, in getelfphdr()
1153 if ((err = vn_rdwr(UIO_READ, vp, *shbasep, *shsizep, in getelfshdr()
1180 if ((err = vn_rdwr(UIO_READ, vp, *shstrbasep, *shstrsizep, in getelfshdr()
1437 if (vn_rdwr(UIO_READ, src_vp, buf, len, src->sh_offset + off, in copy_scn()
/titanic_44/usr/src/uts/common/exec/intp/
H A Dintp.c111 if (error = vn_rdwr(UIO_READ, vp, linep, INTPSZ, (offset_t)0, in getintphead()
/titanic_44/usr/src/uts/common/sys/
H A Duio.h210 typedef enum uio_rw { UIO_READ, UIO_WRITE } uio_rw_t; enumerator
/titanic_44/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c291 error = uiomove(base + mapon, n, UIO_READ, uiop); in dc_read()
443 error = vn_rdwr(UIO_READ, dp->dc_subvp, saddr, rdsize, rdoff, in dc_getblock_miss()
946 error = vn_rdwr(UIO_READ, vp, (caddr_t)hdr, sizeof (struct comphdr), 0, in decompvp()
963 error = vn_rdwr(UIO_READ, vp, (caddr_t)hdr, hdrsize, 0, UIO_SYSSPACE, in decompvp()
/titanic_44/usr/src/uts/common/xen/io/
H A Devtchn_dev.c222 if (uiomove(&ep->ring[EVTCHN_RING_MASK(c)], bytes1, UIO_READ, uio) || in evtchndrv_read()
223 ((bytes2 != 0) && uiomove(&ep->ring[0], bytes2, UIO_READ, uio))) { in evtchndrv_read()

12345