Home
last modified time | relevance | path

Searched refs:tn_size (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_tnode.c174 t->tn_size = 0; in tmpnode_init()
233 size_t oldsize = tp->tn_size; in tmpnode_trunc()
277 tp->tn_size = newsize; in tmpnode_trunc()
303 tp->tn_size = newsize; in tmpnode_trunc()
H A Dtmp_vnops.c220 P2ROUNDUP_TYPED(tp->tn_size, PAGESIZE, u_offset_t); in wrtmp()
250 if (offset + bytes > tp->tn_size) { in wrtmp()
252 old_tn_size = tp->tn_size; in wrtmp()
394 tp->tn_size = new_tn_size; in wrtmp()
512 diff = tp->tn_size - offset; in rdtmp()
635 uiop->uio_loffset = tp->tn_size; in tmp_write()
705 vap->va_size = (u_offset_t)tp->tn_size; in tmp_getattr()
1623 self->tn_size = len - 1; in tmp_symlink()
1644 error = uiomove(tp->tn_symlink, tp->tn_size, UIO_READ, uiop); in tmp_readlink()
1696 if (tp->tn_size != 0) { in tmp_inactive()
[all …]
H A Dtmp_dir.c580 dir->tn_size -= (sizeof (struct tdirent) + namelen); in tdirdelete()
661 dir->tn_size = 2 * sizeof (struct tdirent) + 5; /* dot and dotdot */ in tdirinit()
714 dir->tn_size -= (sizeof (struct tdirent) + namelen); in tdirtrunc()
723 ASSERT(dir->tn_size == 0); in tdirtrunc()
995 dir->tn_size += alloc_size; in tdiraddentry()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dtmpnode.h114 #define tn_size tn_attr.va_size macro