tmpfs_mount_t
int tmpfs_alloc_node(tmpfs_mount_t *, enum vtype, uid_t, gid_t,
void tmpfs_free_node(tmpfs_mount_t *, tmpfs_node_t *);
int tmpfs_alloc_dirent(tmpfs_mount_t *, const char *, uint16_t,
void tmpfs_free_dirent(tmpfs_mount_t *, tmpfs_dirent_t *);
void tmpfs_mntmem_init(tmpfs_mount_t *, uint64_t);
void tmpfs_mntmem_destroy(tmpfs_mount_t *);
uint64_t tmpfs_pages_total(tmpfs_mount_t *);
uint64_t tmpfs_pages_avail(tmpfs_mount_t *);
int tmpfs_mem_incr(tmpfs_mount_t *, size_t);
void tmpfs_mem_decr(tmpfs_mount_t *, size_t);
tmpfs_dirent_t *tmpfs_dirent_get(tmpfs_mount_t *);
void tmpfs_dirent_put(tmpfs_mount_t *, tmpfs_dirent_t *);
tmpfs_node_t * tmpfs_node_get(tmpfs_mount_t *);
void tmpfs_node_put(tmpfs_mount_t *, tmpfs_node_t *);
char * tmpfs_strname_alloc(tmpfs_mount_t *, size_t);
void tmpfs_strname_free(tmpfs_mount_t *, char *, size_t);
static inline tmpfs_mount_t *
tmpfs_mount_t *tmp = mp->mnt_data;
tmpfs_alloc_node(tmpfs_mount_t *tmp, enum vtype type, uid_t uid, gid_t gid,
tmpfs_free_node(tmpfs_mount_t *tmp, tmpfs_node_t *node)
tmpfs_mount_t *tmp = VFS_TO_TMPFS(dvp->v_mount);
tmpfs_alloc_dirent(tmpfs_mount_t *tmp, const char *name, uint16_t len,
tmpfs_free_dirent(tmpfs_mount_t *tmp, tmpfs_dirent_t *de)
tmpfs_mount_t *tmp = VFS_TO_TMPFS(vp->v_mount);
tmpfs_mount_t *tmp;
tmp = malloc(sizeof(tmpfs_mount_t), M_MISCFSMNT, M_WAITOK);
tmpfs_mount_t *tmp = VFS_TO_TMPFS(mp);
free(tmp, M_MISCFSMNT, sizeof(tmpfs_mount_t));
tmpfs_mount_t *tmp = VFS_TO_TMPFS(mp);
tmpfs_mount_t *tmp;
tmpfs_mount_t *tmp;
tmpfs_mount_t *tmp = VFS_TO_TMPFS(vp->v_mount);
tmpfs_mount_t *tmp = VFS_TO_TMPFS(dvp->v_mount);