/ast/src/cmd/3d/ |
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | acl3d.c | 42 register Mount_t* mp; local 46 mp = monitored(); 54 if (mp) 55 fscall(mp, MSG_acl, 0, state.path.name, cmd, cnt, buf); 56 for (mp = state.global; mp; mp = mp->global) 57 if (fssys(mp, MSG_acl)) 58 fscall(mp, MSG_ac [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 | 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 | 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 | 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 | read3d.c | 33 Mount_t* mp; local 39 mp = monitored(); 45 if (mp) 52 fscall(mp, r, MSG_read3d, fd, buf, n, off); 54 for (mp = state.global; mp; mp = mp->global) 55 if (fssys(mp, MSG_read)) 62 fscall(mp, MSG_read3 [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 | write3d.c | 33 Mount_t* mp; local 39 mp = monitored(); 45 if (mp) 52 fscall(mp, MSG_write3d, r, fd, buf, n, off); 54 for (mp = state.global; mp; mp = mp->global) 55 if (fssys(mp, MSG_write)) 62 fscall(mp, MSG_write3 [all...] |
H A D | ftruncate3d.c | 43 Mount_t* mp; local 47 mp = monitored(); 66 if (mp) 67 fscall(mp, MSG_ftruncate, 0, fd, size); 68 for (mp = state.global; mp; mp = mp->global) 69 if (fssys(mp, MSG_ftruncate)) 70 fscall(mp, MSG_ftruncat 82 Mount_t* mp; local [all...] |
H A D | truncate3d.c | 44 Mount_t* mp; local 48 mp = monitored(); 69 if (mp) 70 fscall(mp, MSG_truncate, 0, path, size); 71 for (mp = state.global; mp; mp = mp->global) 72 if (fssys(mp, MSG_truncate)) 87 Mount_t* mp; local [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/string/ |
H A D | ccmapid.c | 126 ccmaplist(Ccmap_t* mp) argument 128 return !mp ? (Ccmap_t*)maps : (++mp)->name ? mp : (Ccmap_t*)0; 138 register const Ccmap_t* mp; local 146 for (mp = maps; mp->name; mp++) 147 if (strgrpmatch(name, mp->match, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_ICASE)) 150 return mp 167 register const Ccmap_t* mp; local [all...] |
/ast/src/lib/libast/port/ |
H A D | mnt.c | 267 register Handle_t* mp; 278 if (!(mp = newof(0, Handle_t, 1, n))) 281 n = getfsstat(mp->next = mp->buf, n + sizeof(struct statfs), MNT_WAIT); 283 n = getmntinfo(&mp->next, 0); 287 free(mp); 290 mp->last = mp->next + n; 291 return (void*)mp; 297 register Handle_t* mp [all...] |