Lines Matching refs:tn_size
326 node->tn_size = 0; in tmpfs_node_ctor()
624 nnode->tn_size = strlen(target); in tmpfs_alloc_node()
628 symlink = cache_symlink_alloc(nnode->tn_size + 1, in tmpfs_alloc_node()
633 symlink = malloc(nnode->tn_size + 1, M_TMPFSNAME, in tmpfs_alloc_node()
637 memcpy(symlink, target, nnode->tn_size + 1); in tmpfs_alloc_node()
797 cache_symlink_free(symlink, node->tn_size + 1); in tmpfs_free_node_locked()
1483 dnode->tn_size += sizeof(struct tmpfs_dirent); in tmpfs_dir_attach()
1530 dnode->tn_size -= sizeof(struct tmpfs_dirent); in tmpfs_dir_detach()
1846 MPASS(dnode->tn_size == 0); in tmpfs_dir_clear_whiteouts()
1878 oldsize = node->tn_size; in tmpfs_reg_resize()
1884 node->tn_size = newsize; in tmpfs_reg_resize()
1913 node->tn_size = newsize; in tmpfs_reg_resize()
1941 len = omin(node->tn_size - off, *length); in tmpfs_reg_punch_hole()
2391 error = node->tn_size == length ? 0 : tmpfs_reg_resize(vp, length, in tmpfs_truncate()