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()
510 vap->va_mode = node->tn_mode; in tmpfs_getattr()
701 if (node->tn_mode & (S_ISUID | S_ISGID)) { in tmpfs_write()
703 newmode = node->tn_mode & ~(S_ISUID | S_ISGID); in tmpfs_write()
705 atomic_store_short(&node->tn_mode, newmode); in tmpfs_write()
1632 node->tn_mode, nod in tmpfs_print()
[all...]
H A Dtmpfs_subr.c590 nnode->tn_mode = mode; in tmpfs_alloc_node()
2131 newmode = node->tn_mode & ~ALLPERMS; in tmpfs_chmod()
2133 atomic_store_short(&node->tn_mode, newmode); in tmpfs_chmod()
2205 if ((node->tn_mode & (S_ISUID | S_ISGID)) != 0 && in tmpfs_chown()
2208 newmode = node->tn_mode & ~(S_ISUID | S_ISGID); in tmpfs_chown()
2209 atomic_store_short(&node->tn_mode, newmode); in tmpfs_chown()
H A Dtmpfs.h212 mode_t tn_mode; /* (v) */ member