Home
last modified time | relevance | path

Searched refs:nmoved (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c1199 offset_t nmoved; in spec_write() local
1201 nmoved = (uiop->uio_loffset - (off + on)); in spec_write()
1202 if (nmoved < 0 || nmoved > n) { in spec_write()
1207 (on + nmoved); in spec_write()
1208 if (nzero < 0 || (on + nmoved + nzero > MAXBSIZE)) { in spec_write()
1212 (void) kzero(base + on + nmoved, (size_t)nzero); in spec_write()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c3256 int nzero, nmoved; in ud_wrip() local
3258 nmoved = (int)(uio->uio_loffset - (off + mapon)); in ud_wrip()
3259 ASSERT(nmoved >= 0 && nmoved <= n); in ud_wrip()
3260 nzero = roundup(on + n, PAGESIZE) - nmoved; in ud_wrip()
3261 ASSERT(nzero > 0 && mapon + nmoved + nzero <= MAXBSIZE); in ud_wrip()
3262 (void) kzero(base + mapon + nmoved, (uint32_t)nzero); in ud_wrip()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c341 long nmoved; in wrtmp() local
343 nmoved = uio->uio_offset - offset; in wrtmp()
344 ASSERT((nmoved + pageoffset) <= PAGESIZE); in wrtmp()
350 if ((zoffset = pageoffset + nmoved) < PAGESIZE) in wrtmp()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c512 offset_t nzero, nmoved; in rwpcp() local
514 nmoved = uio->uio_loffset - (off + mapon); in rwpcp()
515 nzero = roundup(mapon + n, PAGESIZE) - nmoved; in rwpcp()
516 (void) kzero(base + mapon + nmoved, (size_t)nzero); in rwpcp()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c988 int nzero, nmoved; in wrip() local
990 nmoved = (int)(uio->uio_loffset - (off + mapon)); in wrip()
991 ASSERT(nmoved >= 0 && nmoved <= n); in wrip()
992 nzero = roundup(on + n, PAGESIZE) - nmoved; in wrip()
993 ASSERT(nzero > 0 && mapon + nmoved + nzero <= MAXBSIZE); in wrip()
994 (void) kzero(base + mapon + nmoved, (uint_t)nzero); in wrip()