Home
last modified time | relevance | path

Searched refs:mapoff (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/cmd/tail/
H A Dmisc.c69 if (startoff < mip->mapoff || startoff >= mip->mapoff + in mapprint()
74 n = (mip->mapoff + mip->maplen) - startoff; in mapprint()
77 WR(mip->start + (startoff - mip->mapoff), n); in mapprint()
96 mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1); in maparound()
98 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) in maparound()
99 mip->maplen = mip->maxoff - mip->mapoff; in maparound()
103 mip->fd, mip->mapoff)) == MAP_FAILED) in maparound()
H A Dreverse.c109 map.mapoff = map.maxoff = size; in r_reg()
119 if (curoff < map.mapoff || in r_reg()
120 curoff >= map.mapoff + (off_t)map.maplen) { in r_reg()
126 for (i = curoff - map.mapoff; i >= 0; i--) { in r_reg()
133 curoff = map.mapoff + i; in r_reg()
H A Dforward.c201 map.mapoff = map.maxoff = size; in rlines()
209 if (curoff < map.mapoff && maparound(&map, curoff) != 0) { in rlines()
213 for (i = curoff - map.mapoff; i >= 0; i--) in rlines()
217 curoff = map.mapoff + i; in rlines()
H A Dextern.h46 off_t mapoff; member
/titanic_41/usr/src/lib/libproc/common/
H A DPidle.c49 uintptr_t mapoff; in Pread_idle() local
56 mapoff = addr - mp->map_pmap.pr_vaddr; in Pread_idle()
57 len = MIN(resid, mp->map_pmap.pr_size - mapoff); in Pread_idle()
58 off = mp->map_offset + mapoff; in Pread_idle()
H A DPcore.c78 uintptr_t mapoff; in core_rw() local
94 mapoff = addr - mp->map_pmap.pr_vaddr; in core_rw()
95 len = MIN(resid, mp->map_pmap.pr_size - mapoff); in core_rw()
96 off = mp->map_offset + mapoff; in core_rw()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c2455 int mapoff; in snf_segmap() local
2485 mapoff = fileoff & PAGEOFFSET; in snf_segmap()
2523 mapoff, total_size); in snf_segmap()
2526 mapoff, mblk_size, BPRI_HI, in snf_segmap()
2553 mapoff = 0; in snf_segmap()
2565 mapoff = fileoff & MAXBOFFSET; in snf_segmap()
2566 chain_size = MAXBSIZE - mapoff; in snf_segmap()
2581 snfi->snfi_len = (size_t)roundup(mapoff+chain_size, in snf_segmap()
2582 PAGESIZE)- (mapoff & PAGEMASK); in snf_segmap()
2599 mapoff) & PAGEMASK), snfi->snfi_len, F_SOFTLOCK, in snf_segmap()
[all …]
/titanic_41/usr/src/cmd/backup/dump/
H A Ddumptraverse.c808 off64_t mapoff; local
831 mapoff = filoff - displacement;
833 len = (size_t)roundup(cnt + (filoff - mapoff), pagesize);
834 maddr = mmap64(NULL, len, PROT_READ, MAP_SHARED, mapfd, mapoff);
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c1893 uintptr_t mapoff; in mdb_gelf_rw() local
1900 mapoff = addr - php->p_vaddr; in mdb_gelf_rw()
1901 memlen = MIN(resid, php->p_memsz - mapoff); in mdb_gelf_rw()
1902 filelen = MIN(resid, php->p_filesz - mapoff); in mdb_gelf_rw()
1903 off = (off64_t)php->p_offset + mapoff; in mdb_gelf_rw()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vnops.c688 register int mapoff; in cachefs_read() local
743 mapoff = uiop->uio_loffset & MAXBOFFSET; in cachefs_read()
744 n = MAXBSIZE - mapoff; in cachefs_read()
784 error = uiomove(base+mapoff, n, UIO_READ, uiop); in cachefs_read()
792 if (n + mapoff == MAXBSIZE || in cachefs_read()