/ast/src/cmd/3d/ |
H A D | brk3d.c | 32 register Mount_t* mp; local 37 for (mp = state.global; mp; mp = mp->global) 38 if (fssys(mp, MSG_break)) 39 fscall(mp, MSG_break, 0, p);
|
H A D | exit3d.c | 30 Mount_t* mp; local 37 for (mp = state.global; mp; mp = mp->global) 38 if (fssys(mp, MSG_exit)) 39 fscall(mp, MSG_exit, 0, code, state.pid);
|
H A D | fchmod3d.c | 32 Mount_t* mp; local 36 mp = monitored(); 41 if (mp) 42 fscall(mp, MSG_fchmod, 0, fd, mode); 43 for (mp = state.global; mp; mp = mp->global) 44 if (fssys(mp, MSG_fchmod)) 45 fscall(mp, MSG_fchmo [all...] |
H A D | fstatvfs3d.c | 34 Mount_t* mp; local 38 mp = monitored(); 43 if (mp) 44 fscall(mp, MSG_fstatfs, 0, fd, fs); 45 for (mp = state.global; mp; mp = mp->global) 46 if (fssys(mp, MSG_fstatfs)) 47 fscall(mp, MSG_fstatf [all...] |
H A D | fsync3d.c | 32 Mount_t* mp; local 36 mp = monitored(); 41 if (mp) 42 fscall(mp, MSG_fsync, 0, fd); 43 for (mp = state.global; mp; mp = mp->global) 44 if (fssys(mp, MSG_fsync)) 45 fscall(mp, MSG_fsyn [all...] |
H A D | kill3d.c | 32 Mount_t* mp; local 38 for (mp = state.global; mp; mp = mp->global) 39 if (fssys(mp, MSG_kill)) 40 fscall(mp, MSG_kill, 0, pid, sig);
|
H A D | sbrk3d.c | 32 register Mount_t* mp; local 37 for (mp = state.global; mp; mp = mp->global) 38 if (fssys(mp, MSG_break)) 39 fscall(mp, MSG_break, 0, p);
|
H A D | close3d.c | 35 register Mount_t* mp; local 59 if ((mp = state.file[fd].mount) && fssys(mp, MSG_close)) 63 fscall(mp, MSG_close, 0, fd, state.path.st.st_mtime); 65 for (mp = state.global; mp; mp = mp->global) 66 if (fssys(mp, MSG_close)) 70 fscall(mp, MSG_clos [all...] |
H A D | fchown3d.c | 32 Mount_t* mp; local 36 mp = monitored(); 41 if (mp) 42 fscall(mp, MSG_fchown, 0, fd, uid, gid); 43 for (mp = state.global; mp; mp = mp->global) 44 if (fssys(mp, MSG_fchown)) 45 fscall(mp, MSG_fchow [all...] |
H A D | pipe3d.c | 53 Mount_t* mp; local 55 for (mp = state.global; mp; mp = mp->global) 56 if (fssys(mp, MSG_pipe)) 57 fscall(mp, MSG_pipe, 0, fds);
|
H A D | statvfs3d.c | 33 Mount_t* mp; local 37 mp = monitored(); 44 if (mp) 45 fscall(mp, MSG_statfs, 0, state.path.name, fs); 46 for (mp = state.global; mp; mp = mp->global) 47 if (fssys(mp, MSG_statfs)) 48 fscall(mp, MSG_statf [all...] |
H A D | chown3d.c | 35 register Mount_t* mp; local 39 mp = monitored(); 47 if (mp) 48 fscall(mp, MSG_chown, 0, path, uid, gid); 49 for (mp = state.global; mp; mp = mp->global) 50 if (fssys(mp, MSG_chown)) 51 fscall(mp, MSG_chow [all...] |
H A D | dup3d.c | 31 register Mount_t* mp; local 46 if (mp = state.file[nfd].mount) 47 fscall(mp, MSG_dup, nfd, ofd); 48 for (mp = state.global; mp; mp = mp->global) 49 if (fssys(mp, MSG_dup)) 50 fscall(mp, MSG_dup, nfd, ofd);
|
H A D | fpathconf3d.c | 34 Mount_t* mp; local 38 mp = monitored(); 47 if (mp) 48 fscall(mp, MSG_fpathconf, 0, fd, op); 49 for (mp = state.global; mp; mp = mp->global) 50 if (fssys(mp, MSG_fpathconf)) 51 fscall(mp, MSG_fpathcon [all...] |
H A D | getdents3d.c | 34 register Mount_t* mp; local 38 mp = monitored(); 43 if (mp) 44 fscall(mp, MSG_getdents, r, fd, buf, n); 45 for (mp = state.global; mp; mp = mp->global) 46 if (fssys(mp, MSG_getdents)) 47 fscall(mp, MSG_getdent 67 register Mount_t* mp; local [all...] |
H A D | pathconf3d.c | 35 Mount_t* mp; local 39 mp = monitored(); 50 if (mp) 51 fscall(mp, MSG_pathconf, 0, sp, op); 52 for (mp = state.global; mp; mp = mp->global) 53 if (fssys(mp, MSG_pathconf)) 54 fscall(mp, MSG_pathcon [all...] |
H A D | readlink3d.c | 31 Mount_t* mp; local 39 mp = monitored(); 54 if (mp) fscall(mp, MSG_readlink, r, path, buf, size); 55 for (mp = state.global; mp; mp = mp->global) 56 if (fssys(mp, MSG_readlink)) 57 fscall(mp, MSG_readlin [all...] |
H A D | unlink3d.c | 32 Mount_t* mp; local 36 mp = monitored(); 59 if (mp) 60 fscall(mp, MSG_remove, 0, path); 61 for (mp = state.global; mp; mp = mp->global) 62 if (fssys(mp, MSG_remove)) 63 fscall(mp, MSG_remov [all...] |
H A D | chmod3d.c | 50 register Mount_t* mp; local 54 mp = monitored(); 62 if (mp) 63 fscall(mp, MSG_chmod, 0, state.path.name, mode); 64 for (mp = state.global; mp; mp = mp->global) 65 if (fssys(mp, MSG_chmod)) 66 fscall(mp, MSG_chmo [all...] |
H A D | facl3d.c | 40 register Mount_t* mp; local 44 mp = monitored(); 50 if (mp) 51 fscall(mp, MSG_facl, 0, fd, cmd, cnt, buf); 52 for (mp = state.global; mp; mp = mp->global) 53 if (fssys(mp, MSG_facl)) 54 fscall(mp, MSG_fac [all...] |
H A D | fstat3d.c | 56 Mount_t* mp; local 62 mp = monitored(); 79 if (mp) 80 fscall(mp, MSG_fstat, 0, fd, st); 81 for (mp = state.global; mp; mp = mp->global) 82 if (fssys(mp, MSG_fstat)) 83 fscall(mp, MSG_fsta 104 Mount_t* mp; local [all...] |
H A D | fstatfs3d.c | 74 Mount_t* mp; local 94 mp = monitored(); 100 if (mp || state.global) 110 if (mp) 111 fscall(mp, MSG_fstatfs, 0, fd, VFS, size, type); 112 for (mp = state.global; mp; mp = mp->global) 113 if (fssys(mp, MSG_fstatf [all...] |
/ast/src/lib/libast/misc/ |
H A D | mimetype.c | 37 drop(Mime_t* mp) argument 39 if (mp->magic) 41 magicclose(mp->magic); 42 mp->magic = 0; 51 mimetype(Mime_t* mp, Sfio_t* fp, const char* file, struct stat* st) argument 53 if (mp->disc->flags & MIME_NOMAGIC) 55 if (!mp->magic) 57 mp->magicd.version = MAGIC_VERSION; 58 mp->magicd.flags = MAGIC_MIME; 59 mp [all...] |
/ast/src/cmd/mailx/port/ |
H A D | mimetype.c | 83 drop(Mime_t* mp) argument 85 if (mp->magic) 87 magicclose(mp->magic); 88 mp->magic = 0; 97 mimetype(Mime_t* mp, Sfio_t* fp, const char* file, struct stat* st) argument 99 if (mp->disc->flags & MIME_NOMAGIC) 101 if (!mp->magic) 103 mp->magicd.version = MAGIC_VERSION; 104 mp->magicd.flags = MAGIC_MIME; 105 mp [all...] |
/ast/src/lib/libast/port/ |
H A D | touch.c | 51 Tv_t* mp; local 64 mp = TV_TOUCH_RETAIN; 66 mp = 0; 71 mp = &mv; 73 return tvtouch(path, ap, mp, NiL, flags & 1);
|