Lines Matching defs:ptyfs
94 #include <fs/ptyfs/ptyfs.h>
118 ptyfs_getinfo(struct ptyfsnode *ptyfs, struct lwp *l)
122 if (ptyfs->ptyfs_type == PTYFSroot) {
123 ptyfs->ptyfs_mode = S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|
127 ptyfs->ptyfs_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|
144 ptyfs->ptyfs_pty, ptyfs->ptyfs_type == PTYFSpts ? 't'
165 ptyfs->ptyfs_uid = va.va_uid;
166 ptyfs->ptyfs_gid = va.va_gid;
167 ptyfs->ptyfs_mode = va.va_mode;
168 ptyfs->ptyfs_flags = va.va_flags;
169 ptyfs->ptyfs_birthtime = va.va_birthtime;
170 ptyfs->ptyfs_ctime = va.va_ctime;
171 ptyfs->ptyfs_mtime = va.va_mtime;
172 ptyfs->ptyfs_atime = va.va_atime;
176 ptyfs->ptyfs_uid = ptyfs->ptyfs_gid = 0;
177 ptyfs->ptyfs_flag |= PTYFS_CHANGE;
178 PTYFS_ITIMES(ptyfs, NULL, NULL, NULL);
179 ptyfs->ptyfs_birthtime = ptyfs->ptyfs_mtime =
180 ptyfs->ptyfs_atime = ptyfs->ptyfs_ctime;
181 ptyfs->ptyfs_flags = 0;
215 struct ptyfsnode *ptyfs;
236 vp->v_data = ptyfs = ptyfs_free_get(type, pty, l);
237 ptyfs->ptyfs_vnode = vp;
248 spec_node_init(vp, PTYFS_MAKEDEV(ptyfs));
254 ptyfs_hashins(ptyfs);
265 struct ptyfsnode *ptyfs = VTOPTYFS(vp);
267 ptyfs_hashrem(ptyfs);