Home
last modified time | relevance | path

Searched refs:tn_anon (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_tnode.c145 if (tp->tn_anon == NULL) { in tmpnode_growmap()
146 tp->tn_anon = anon_create(MAX(np, TMP_INIT_SZ), ANON_SLEEP); in tmpnode_growmap()
147 tp->tn_asize = tp->tn_anon->size; in tmpnode_growmap()
151 tp->tn_asize = anon_grow(tp->tn_anon, NULL, tp->tn_asize, in tmpnode_growmap()
286 freed = anon_pages(tp->tn_anon, btopr(newsize), in tmpnode_trunc()
289 anon_free(tp->tn_anon, btopr(newsize), delta); in tmpnode_trunc()
306 if (anon_get_ptr(tp->tn_anon, btop(newsize)) != NULL) { in tmpnode_trunc()
318 ASSERT(anon_get_ptr(tp->tn_anon, 0) == NULL); in tmpnode_trunc()
321 anon_release(tp->tn_anon, tp->tn_asize); in tmpnode_trunc()
322 tp->tn_anon = NULL; in tmpnode_trunc()
H A Dtmp_vnops.c270 if (anon_get_ptr(tp->tn_anon, pagenumber) == NULL) { in wrtmp()
271 (void) anon_set_ptr(tp->tn_anon, pagenumber, in wrtmp()
1790 if (non_anon(tp->tn_anon, btop(off), &tmpoff, &tlen)) { in tmp_getpage()
1802 if (anon_get_ptr(tp->tn_anon, btop(toff)) == NULL) { in tmp_getpage()
1804 (void) anon_set_ptr(tp->tn_anon, btop(toff), in tmp_getpage()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dtmpnode.h95 #define tn_anon un_tmpnode.un_anonstruct.un_anon macro