Searched refs:mount (Results 1 - 25 of 36) sorted by relevance

12

/ast/src/lib/libast/comp/
H A Dmount.c28 NoN(mount)
39 mount(const char* a, char* b, int c, void* d)
H A Dstatvfs.c49 #include <sys/mount.h>
/ast/src/lib/libast/misc/
H A Dfs3d.c31 #define mount ______mount macro
35 #undef mount macro
57 if (!fsview && (!getenv("LD_PRELOAD") || mount("", "", 0, NiL)))
59 if (FS3D_op(op) == FS3D_OP_INIT && mount(FS3D_init, NiL, FS3D_VIEW, NiL))
61 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL))
91 if (v && mount(v, NiL, FS3D_VIEW, NiL))
102 * user code that includes <fs3d.h> will have mount() mapped to fs3d_mount()
103 * this restricts the various "standard" mount prototype conflicts to this spot
104 * this means that code that includes <fs3d.h> cannot access the real mount
108 #undef mount macro
[all...]
/ast/src/cmd/3d/
H A D3d.sh72 [m:mount?Mount the path \atop\a onto the path \abottom\a. If \abottom\a is a
108 [+mount=\avalue\a? ]
117 [+mount=\avalue\a? ]
209 mount="- -"
227 *) mount="$mount $o $a" ;;
244 m) mount="$mount $OPTARG" ;;
265 ?*) mount="$full $mount" ;;
[all...]
H A D3d.h43 __STDPP__directive pragma pp:hide fchown ftruncate mount readlink sbrk strmode truncate utimes __utimes
49 #undef mount
50 #define mount ______mount
92 #undef mount macro
93 #define mount ______mount macro
95 #undef mount macro
100 __STDPP__directive pragma pp:nohide fchown ftruncate mount readlink sbrk strmode truncate utimes __utimes
104 #undef mount
213 Mount_t* mount; member in struct:__anon2
345 #define monitored() ((state.path.monitor&&!state.path.mount)
391 char* mount; member in struct:__anon5
526 Mount_t mount[2 * TABSIZE]; member in struct:__anon7
[all...]
H A Dfork3d.c59 for (mp = state.mount; mp < state.mount + elementsof(state.mount); mp++)
95 if ((mp = state.file[fd].mount) && !(mp->fs->flags & FS_ACTIVE) && fssys(mp, MSG_dup))
H A Dclose3d.c59 if ((mp = state.file[fd].mount) && fssys(mp, MSG_close))
75 state.file[fd].mount = 0;
H A Dfs.c41 * initialize mount channel and return fs fd for mp
91 fp->open |= (1<<(mp-state.mount));
99 * return real fd for up under mount mp to be accessed by call
146 * state.path.monitor set if monitor or name service mount
183 state.path.mount = 0;
197 if ((!(fs->flags & FS_REGULAR) || (fp->flags & FILE_REGULAR)) && (!(fs->flags & FS_WRITE) || (fp->flags & FILE_WRITE)) && ((mp->flags & MOUNT_PRIMARY) || fd > 2) && !(fp->open & (1<<(mp-state.mount))))
258 if (fssys(mp, MSG_open) && ((mp->flags & MOUNT_PRIMARY) || fd > 2) && !(fp->open & (1<<(mp-state.mount))))
278 fp->open |= (1<<(mp-state.mount));
371 fp->mount = mp;
385 state.path.mount
[all...]
H A Ddup3d.c46 if (mp = state.file[nfd].mount)
H A Dinit.c56 * 3d mount get and set access functions
327 for (mp = state.mount; mp < state.mount + elementsof(state.mount) && mp->fs; mp++);
328 if (mp < state.mount + elementsof(state.mount))
699 if ((flags & MAP_EXEC) && state.file[n].mount && fssys(state.file[n].mount, MSG_close))
700 fscall(state.file[n].mount, MSG_close, 0, n);
709 if (state.file[n].mount
[all...]
H A Dfstatfs3d.c48 #include <sys/mount.h>
H A Dstatfs3d.c48 #include <sys/mount.h>
H A Dmap.c25 * 3d mount map support
213 message((-1, "mount: license=%s pattern=%s", state.license, buf));
391 message((-2, "mount: old fs=%s map=%-*s arg=%-*s op=%-*s", fs->special, map->keysize, map->key, arglen, arg, ov ? (oe - ov) : 6, ov));
402 for (mp = state.mount;; mp++)
404 if (mp >= state.mount + elementsof(state.mount))
411 message((-2, "mount: new fs=%s map=%-*s arg=%-*s op=%-*s", fs->special, map->keysize, map->key, arglen, arg, ov ? (oe - ov) : 6, ov));
507 message((-2, "mount: %-*s %-*s", from == state.null ? 1 : fromsize ? fromsize : strlen(from), from == state.null ? "-" : from, to == state.null ? 1 : tosize ? tosize : strlen(to), to == state.null ? "-" : to));
H A Dlib.c199 return mount(source, target, flags, data, 0, 0);
280 * return mount pointer for path
281 * under is set to the part of the path under the mount
508 if ((f->mount = mp) && fd > state.cache)
/ast/src/lib/libcs/
H A Dcsopen.c46 * create the state->mount <type>/<host>/<service>/<perm> subdirs
47 * state->mount modified, possibly destroyed on error
54 if (eaccess(state->mount, R_OK|W_OK|X_OK))
58 if (!endserv && !(endserv = strrchr(state->mount, '/')))
61 if (eaccess(state->mount, X_OK))
63 if (!endhost && !(endhost = strrchr(state->mount, '/')))
66 if (eaccess(state->mount, X_OK))
68 if (!endtype && !(endtype = strrchr(state->mount, '/')))
71 if (eaccess(state->mount, X_OK) && (mkdir(state->mount, S_IRWX
[all...]
H A Dcss.c219 strcpy(css->mount, css->state->mount);
220 css->control = strrchr(css->mount, '/') + 1;
224 if (stat(css->mount, &st))
227 (*css->disc->errorf)(css, css->disc, 3, "%s: cannot stat service directory", css->mount);
230 if ((css->disc->flags & CSS_DAEMON) && chdir(css->mount))
233 (*css->disc->errorf)(css, css->disc, 3, "%s: cannot set service directory", css->mount);
247 while (s > css->mount)
253 (*css->disc->errorf)(css, css->disc, 3, "%s: invalid mount directory", css->mount);
[all...]
H A Dcss.h108 char mount[PATH_MAX];/* service mount path */ member in struct:Css_s
109 char* control; /* CS_MNT_* in css.mount */
H A Dcsserve.c170 state->control = state->mount + (server->css->control - server->css->mount);
171 strcpy(state->mount, server->css->mount);
/ast/src/cmd/std/
H A DMakefile27 $(PACKAGE_LOCAL)mount :: mount.c LICENSE=since=1998,author=gsf $(CC.HOSTTYPE:N=sun4:?+last??)
29 $(PACKAGE_LOCAL)umount :LINK: $(PACKAGE_LOCAL)mount
H A Dmount.c25 * <mnt.h> based mount/umount
33 "[-?\n@(#)$Id: mount (AT&T Research) 2011-02-11 $\n]"
35 "[+NAME?mount - mount and display filesystems]"
38 " are hidden until the filesystem is unmounted. The filesystem mount"
52 "[o:options?Specify filesystem specific mount options. Options are a comma"
56 " a detailed description of mount options.]:[[no]]name[=value]][,...]]]"
110 __STDPP__directive pragma pp:hide mount umount unmount
112 #define mount ______mount
132 #include <sys/mount
[all...]
/ast/src/lib/libast/include/
H A Dfs3d.h93 * mount(2) ops
104 #define mount(s,t,f,d) fs3d_mount(s,t,f,d) macro
/ast/src/lib/libast/path/
H A Dpathkey.c112 if (!flags && fs3d(FS3D_TEST) && (c = mount(path, tmp, FS3D_GET|FS3D_ALL|FS3D_SIZE(PATH_MAX), NiL)) > 1 && c < PATH_MAX)
/ast/src/cmd/ksh93/bltins/
H A Dcd_pwd.c259 if(shp->gd->lim.fs3d && (flag = mount(e_dot,NIL(char*),FS3D_GET|FS3D_VIEW,0))>=0)
262 mount(e_dot,cp,FS3D_GET|FS3D_VIEW|FS3D_SIZE(flag),0);
H A Dmisc.c505 #include <sys/mount.h>
551 if((n = mount(*argv,(char*)0,flag,0)) >= 0)
554 n = mount(*argv,vend,flag|FS3D_SIZE(n),0);
584 if(mount(argv[n+1],argv[n],flag,0)<0)
/ast/src/cmd/cs/
H A Dcs.c60 "[m:mount?List the active connect stream mount directories on the standard"
177 * list the service mount directories
575 remote = !access(cs.mount, F_OK);
581 if (csauth(-1, cs.mount, NiL))
603 if (pathgetlink(cs.mount, buf, sizeof(buf)) <= 0)
605 error(ERROR_SYSTEM|2, "%s: cannot get service process mount", path);
612 error(2, "%s: %s: invalid service process mount", path, buf);
712 sfputr(sfstdout, cs.mount, '\n');

Completed in 566 milliseconds

12