Home
last modified time | relevance | path

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

/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vnops.c192 if ((dnode->tn_mode & S_ISTXT) && in tmpfs_lookup1()
375 mode = atomic_load_short(&node->tn_mode); in tmpfs_fplookup_vexec()
396 return (vaccess(vp->v_type, node->tn_mode, node->tn_uid, node->tn_gid, in tmpfs_access_locked()
413 (node->tn_mode & all_x) == all_x)) in tmpfs_access()
461 sb->st_mode = node->tn_mode | VTTOIF(vp->v_type); in tmpfs_stat()
509 vap->va_mode = node->tn_mode; in tmpfs_getattr()
700 if (node->tn_mode & (S_ISUID | S_ISGID)) { in tmpfs_write()
702 newmode = node->tn_mode & ~(S_ISUID | S_ISGID); in tmpfs_write()
704 atomic_store_short(&node->tn_mode, newmode); in tmpfs_write()
1609 node->tn_mode, node->tn_uid, node->tn_gid, in tmpfs_print()
H A Dtmpfs_subr.c629 nnode->tn_mode = mode; in tmpfs_alloc_node()
2136 newmode = node->tn_mode & ~ALLPERMS; in tmpfs_chmod()
2138 atomic_store_short(&node->tn_mode, newmode); in tmpfs_chmod()
2210 if ((node->tn_mode & (S_ISUID | S_ISGID)) != 0 && in tmpfs_chown()
2213 newmode = node->tn_mode & ~(S_ISUID | S_ISGID); in tmpfs_chown()
2214 atomic_store_short(&node->tn_mode, newmode); in tmpfs_chown()
H A Dtmpfs.h212 mode_t tn_mode; /* (v) */ member