/macosx-10.10.1/bless-103/ |
H A D | unbless.c | 49 char *mntpnt = NULL; local 58 mntpnt = argv[1]; 60 ret = statfs(mntpnt, &sb); 62 err(1, "statfs(%s)", mntpnt); 64 if(0 != strcmp(mntpnt, sb.f_mntonname)) 67 ret = unbless(mntpnt);
|
/macosx-10.10.1/autofs-246/automountd/ |
H A D | autod_autofs.c | 60 const char *mntpnt, 78 me->map_fs->mfs_dir, mntpnt); 80 if (strcmp(mntpnt, "/-") == 0) { 90 mntpnt+strlen(rootp)) >= (int)sizeof (rel_mntpnt)) { 91 syslog(LOG_ERR, "mountpoint too long: %s", mntpnt); 120 me->map_mntopts, mntpnt); 133 if ((alp->mounta.path = strdup(mntpnt)) == NULL) 207 if (mount(MNTTYPE_AUTOFS, mntpnt, 212 error = get_triggered_mount_info(mntpnt, 57 mount_autofs( const char *mapname, struct mapent *me, const char *mntpnt, fsid_t mntpnt_fsid, action_list **alpp, const char *rootp, const char *subdir, const char *key, fsid_t *fsidp, uint32_t *retflags ) argument
|
H A D | autod_mount.c | 123 char mntpnt[MAXPATHLEN]; local 193 len = snprintf(mntpnt, sizeof (mntpnt), "%s%s%s", 196 len = snprintf(mntpnt, sizeof (mntpnt), "%s%s%s%s", 205 if ((size_t)len >= sizeof (mntpnt)) { 216 while (mntpnt[len] == '/') 217 mntpnt[len--] = '\0'; 219 (void) strlcpy(spec_mntpnt, mntpnt, sizeof(spec_mntpnt)); 400 char *mntpnt, boolean_ 399 mount_generic(char *special, char *fstype, char *opts, int nfsvers, char *mntpnt, boolean_t isdirect, boolean_t usenetauth, fsid_t mntpnt_fsid, uid_t sendereuid, au_asid_t asid, fsid_t *fsidp, uint32_t *retflags) argument 658 get_triggered_mount_info(const char *mntpnt, fsid_t mntpnt_fsid, fsid_t *fsidp, uint32_t *retflags) argument 921 do_unmount1(fsid_t mntpnt_fsid, autofs_pathname mntresource, autofs_pathname mntpnt, autofs_component fstype, autofs_opts mntopts) argument [all...] |
H A D | autod_nfs.c | 144 mount_nfs(struct mapent *me, char *mntpnt, char *prevhost, boolean_t isdirect, argument 168 mntpnt, me->map_mntopts); 179 err = nfsmount(mfs, mntpnt, me->map_mntopts, isdirect, 569 nfsmount(struct mapfs *mfs_in, char *mntpnt, char *opts, boolean_t isdirect, argument 601 mntpnt, opts); 617 if (!isdirect && lstat(mntpnt, &stbuf) < 0) { 618 syslog(LOG_ERR, "Couldn't stat %s: %m", mntpnt); 657 syslog(LOG_ERR, "%s: invalid port number", mntpnt); 663 syslog(LOG_ERR, "%s: invalid port number %ld", mntpnt, nfs_port); 675 syslog(LOG_ERR, "%s: invalid NFS version number", mntpnt); [all...] |
H A D | autod_main.c | 707 autofs_pathname mntresource, autofs_pathname mntpnt, 726 trace_prt(1, "UNMOUNT REQUEST: resource=%s fstype=%s mntpnt=%s mntopts=%s\n", 727 mntresource, fstype, mntpnt, mntopts); 730 *status = do_unmount1(mntpnt_fsid, mntresource, mntpnt, fstype, 706 autofs_unmount(__unused mach_port_t server, fsid_t mntpnt_fsid, autofs_pathname mntresource, autofs_pathname mntpnt, autofs_component fstype, autofs_opts mntopts, int *status, security_token_t token) argument
|
/macosx-10.10.1/autofs-246/automountlib/ |
H A D | auto_subr.c | 66 dirinit(char *mntpnt, char *map, char *opts, int direct, char **stack, argument 74 if (strcmp(mntpnt, "/-") == 0) 79 mntpntlen = strlen(mntpnt); 84 p = mntpnt + (mntpntlen - 1); 87 if (*mntpnt != '/') { 88 pr_msg("dir %s must start with '/'", mntpnt); 91 if ((p = check_hier(mntpnt)) != NULL) { 93 p, mntpnt); 101 if ((strcmp(mntpnt, "/-") == 0) && !(nodirect_map)) { 110 dir->dir_name = strdup(mntpnt); [all...] |
/macosx-10.10.1/autofs-246/mig/ |
H A D | autofs_prot.defs | 86 in mntpnt_fsid : fsid_t; /* mntpnt fsid */ 87 in mntresource : autofs_pathname; /* mntpnt source */ 88 in mntpnt : autofs_pathname; /* mntpnt to unmount */ 90 in mntopts : autofs_opts; /* mntpnt options */ 124 in rda_mntopts : autofs_opts; /* mntpnt options */
|
/macosx-10.10.1/autofs-246/autofs_kext/ |
H A D | auto_subr.c | 727 char *mntpnt; local 734 mntpnt = "."; 739 mntpnt = m->dir + 2; 742 error = auto_mount_subtrigger_request(m->path, mntpnt, m->path, 1081 char *mntpnt, 1091 " mntpnt=%s\n", fstype, mntpnt)); 1096 mntresource, mntpnt, fstype, mntopts, &status); 1225 * Tell the VFS layer the directory at mntpnt
|
/macosx-10.10.1/autofs-246/automount/ |
H A D | automount.c | 768 find_mount(mntpnt) 769 const char *mntpnt; 776 if (strcmp(mntpnt, mnt->f_mntonname) == 0)
|