Home
last modified time | relevance | path

Searched refs:uio_offset (Results 1 – 25 of 40) sorted by relevance

12

/titanic_44/usr/src/uts/common/fs/fd/
H A Dfdops.c134 if (uiop->uio_offset < 2*FDSDSIZE) { in fdread()
135 error = uiomove((caddr_t)dotbuf + uiop->uio_offset, in fdread()
136 MIN(uiop->uio_resid, 2*FDSDSIZE - uiop->uio_offset), in fdread()
141 minfd = (uiop->uio_offset - 2*FDSDSIZE)/FDSDSIZE; in fdread()
142 maxfd = (uiop->uio_offset + uiop->uio_resid - 1)/FDSDSIZE; in fdread()
143 modoff = uiop->uio_offset % FDSDSIZE; in fdread()
239 if (uiop->uio_offset < 0 || uiop->uio_resid <= 0 || in fdreaddir()
240 (uiop->uio_offset % FDSDSIZE) != 0) in fdreaddir()
254 if ((off = uiop->uio_offset) == 0) { /* "." */ in fdreaddir()
276 dirent->d_off = (offset_t)(uiop->uio_offset + FDSDSIZE); in fdreaddir()
[all …]
/titanic_44/usr/src/uts/sun/io/
H A Dsbusmem.c362 if (uio->uio_offset > un->size) { in sbmem_rw()
366 if (uio->uio_offset == un->size) { in sbmem_rw()
369 msize = pagesize - (uio->uio_offset & (pagesize - 1)); in sbmem_rw()
370 if (ddi_map_regs(dip, 0, &reg, uio->uio_offset, in sbmem_rw()
379 ddi_unmap_regs(dip, 0, &reg, uio->uio_offset, (off_t)msize); in sbmem_rw()
/titanic_44/usr/src/uts/sun4v/io/
H A Dmdesc.c443 if (uiop->uio_offset < 0 || uiop->uio_offset > mdsp->mdesc_len) { in mdesc_rw()
448 if (len > (mdsp->mdesc_len - uiop->uio_offset)) in mdesc_rw()
449 len = mdsp->mdesc_len - uiop->uio_offset; in mdesc_rw()
464 retval = uiomove((void *)(buf + uiop->uio_offset), in mdesc_rw()
H A Dds_pri.c518 offset_t off = uiop->uio_offset; in ds_pri_read()
583 uiop->uio_offset = off; in ds_pri_read()
/titanic_44/usr/src/uts/common/io/
H A Dsmbios.c118 off_t off = uio->uio_offset; in smb_uiomove()
163 if (uio->uio_offset < 0 || in smb_read()
164 uio->uio_offset >= cp->c_eplen + cp->c_stlen) in smb_read()
213 uio.uio_offset = off; in smb_segmap()
H A Dtty_pty.c335 off = uio->uio_offset; in ptcread()
354 uio->uio_offset = off; in ptcread()
374 uio->uio_offset = off; in ptcread()
399 uio->uio_offset = off; in ptcread()
422 uio->uio_offset = off; in ptcread()
471 uio->uio_offset = off; in ptcread()
532 off = uio->uio_offset; in ptcwrite()
636 uio->uio_offset = off; in ptcwrite()
H A Dksyms.c285 off_t off = uio->uio_offset; in ksyms_symtbl_copy()
317 off_t off = uio->uio_offset; in ksyms_read()
357 auio.uio_offset = off; in ksyms_segmap()
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprusrio.c72 addr = uiop->uio_offset; in prusrio()
96 addr = uiop->uio_offset; in prusrio()
H A Dprvnops.c665 count -= uiop->uio_offset; in pr_uioread()
666 if (count > 0 && uiop->uio_offset >= 0) { in pr_uioread()
667 error = uiomove((char *)base + uiop->uio_offset, in pr_uioread()
1023 if (uiop->uio_offset >= (nsig-1)*sizeof (struct sigaction)) { in pr_read_sigact()
1052 if (uiop->uio_offset >= sizeof (auxv)) { in pr_read_auxv()
1091 if (uiop->uio_offset >= size) { in pr_read_ldt()
1138 if (uiop->uio_offset >= sizeof (prusage_t)) { in pr_read_usage()
1232 if (uiop->uio_offset >= size) { in pr_read_lusage()
1381 if (uiop->uio_offset >= size) { in pr_read_watch()
1425 if (uiop->uio_offset >= sizeof (*sp)) { in pr_read_lwpstatus()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Duio.h195 #define uio_offset _uio_offset._p._l macro
197 #define uio_offset uio_loffset macro
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Duio.h30 off_t uio_offset; member
/titanic_44/usr/src/uts/sun4u/io/i2c/clients/
H A Dseeprom.c396 if (uiop->uio_offset >= unitp->seeprom_memsize) { in seeprom_io()
404 seeprom_addr = uiop->uio_offset; in seeprom_io()
411 unitp->seeprom_memsize - uiop->uio_offset); in seeprom_io()
H A Dssc100.c639 if (uiop->uio_offset >= unitp->ssc100_size) { in ssc100_io()
650 ssc100_addr = uiop->uio_offset; in ssc100_io()
657 unitp->ssc100_size - uiop->uio_offset); in ssc100_io()
/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c989 if (uiop->uio_offset >= AUTOFS_DAEMONCOOKIE) { in auto_readdir()
999 rda.rda_offset = (uint_t)uiop->uio_offset; in auto_readdir()
1078 uiop->uio_offset = rd.rd_rddir.rddir_offset; in auto_readdir()
1104 if (uiop->uio_offset == 0) { in auto_readdir()
1146 if ((offset >= uiop->uio_offset) && in auto_readdir()
1197 uiop->uio_offset = offset; in auto_readdir()
1210 uiop->uio_offset = offset + 1; in auto_readdir()
1217 uiop->uio_offset = AUTOFS_DAEMONCOOKIE; in auto_readdir()
/titanic_44/usr/src/cmd/mdb/common/modules/crypto/
H A Dcommon.c101 mdb_printf("uio_offset\t%lld\n", uio.uio_offset); in uio_prt()
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_ipnetops.c215 if (uiop->uio_offset == 0) in devipnet_readdir()
H A Dsdev_netops.c322 if (uiop->uio_offset == 0) in devnet_readdir()
H A Dsdev_ptsops.c372 if (uiop->uio_offset == 0) { in devpts_readdir()
H A Dsdev_vtops.c436 if (uiop->uio_offset == 0) { in devvt_readdir()
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c193 offset = (long)uio->uio_offset; in wrtmp()
331 uio->uio_offset < P2ROUNDUP(offset + bytes, PAGESIZE)) { in wrtmp()
341 nmoved = uio->uio_offset - offset; in wrtmp()
506 offset = uio->uio_offset; in rdtmp()
1506 if (offset >= uiop->uio_offset) { in tmp_readdir()
1545 uiop->uio_offset = offset; in tmp_readdir()
/titanic_44/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c298 off_t off = uio->uio_offset; in sharefs_read()
/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_svc.c469 uio->uio_offset += nbytes; in ndr_uiomove()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_trans.c888 offset = uio->uio_offset; in ufs_trans_write_resv()
902 offset = uio->uio_offset + (nchunks - 1) * resid) { in ufs_trans_write_resv()
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c2628 offset = uio->uio_offset; in smbfs_readvdir()
2630 (int)uio->uio_offset, (int)uio->uio_resid); in smbfs_readvdir()
2679 uio->uio_offset = ++offset; in smbfs_readvdir()
2752 uio->uio_offset = ++offset; in smbfs_readvdir()
2783 (int)uio->uio_offset, (int)uio->uio_resid); in smbfs_readvdir()
/titanic_44/usr/src/cmd/ipf/tools/
H A Dip_fil.c850 offset = uio->uio_offset;
865 uio->uio_offset += num;

12