Home
last modified time | relevance | path

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

/freebsd/sys/fs/tmpfs/
H A Dtmpfs_subr.c235 tm = node->tn_reg.tn_tmp; in tmpfs_pager_freespace()
241 KASSERT(node->tn_reg.tn_pages >= c, in tmpfs_pager_freespace()
243 (uintmax_t)node->tn_reg.tn_pages, (uintmax_t)c)); in tmpfs_pager_freespace()
244 node->tn_reg.tn_pages -= c; in tmpfs_pager_freespace()
258 tm = node->tn_reg.tn_tmp; in tmpfs_page_inserted()
262 node->tn_reg.tn_pages += 1; in tmpfs_page_inserted()
277 tm = node->tn_reg.tn_tmp; in tmpfs_page_removed()
284 KASSERT(node->tn_reg.tn_pages >= 1, in tmpfs_page_removed()
286 (uintmax_t)node->tn_reg.tn_pages)); in tmpfs_page_removed()
287 node->tn_reg.tn_pages -= 1; in tmpfs_page_removed()
[all …]
H A Dtmpfs.h314 struct tn_reg { struct
328 } tn_reg; member
337 #define tn_reg tn_spec.tn_reg macro
612 return (node->tn_reg.tn_tmp); in VM_TO_TMPFS_MP()
H A Dtmpfs_vnops.c318 KASSERT(vp->v_type != VREG || (node->tn_reg.tn_aobj->flags & in tmpfs_open()
352 tmpfs_free_node(node->tn_reg.tn_tmp, node); in tmpfs_fo_close()
482 vm_object_t obj = node->tn_reg.tn_aobj; in tmpfs_stat()
487 sb->st_blocks = ptoa(node->tn_reg.tn_pages); in tmpfs_stat()
528 vm_object_t obj = node->tn_reg.tn_aobj; in tmpfs_getattr()
532 vap->va_bytes = ptoa(node->tn_reg.tn_pages); in tmpfs_getattr()
614 return (uiomove_object(node->tn_reg.tn_aobj, node->tn_size, uio)); in tmpfs_read()
640 object = node->tn_reg.tn_aobj; in tmpfs_read_pgcache()
650 tmpfs_set_accessed(node->tn_reg.tn_tmp, node); in tmpfs_read_pgcache()
698 error = uiomove_object(node->tn_reg in tmpfs_write()
[all...]