/macosx-10.10/smb-759.0/lib/smb/ |
H A D | remount.h | 23 int smb_remount_with_fsid(fsid_t fsid);
|
H A D | remount.c | 45 * utility routine to call sysctl by fsid 48 SysctlByFSID(int op, fsid_t fsid, void *oldp, size_t *oldlenp, void *newp, argument 66 vc.vc_fsid = fsid; 76 * Calls into sysctl with a fsid to retrieve the remount information, may be 78 * the fsid. Need to decide if there any secuity concerns with doing it that 82 SysctlRemountInfo(fsid_t fsid, struct smb_remount_info *info) argument 87 if (SysctlByFSID(SMBFS_SYSCTL_REMOUNT_INFO, fsid, info, &size, NULL, 0) == -1) { 89 __FUNCTION__, fsid.val[0], fsid.val[1], strerror(errno)); 101 * Calls into sysctl with a fsid t 107 SysctlRemountFS(fsid_t fsid, int devId) argument 230 smb_remount_with_fsid(fsid_t fsid) argument [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/sys/_types/ |
H A D | _fsid_t.h | 30 typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */ struct
|
/macosx-10.10/autofs-246/automountlib/ |
H A D | umount_by_fsid.c | 31 umount_by_fsid(fsid_t *fsid, int flag) argument 33 return (sysctl_fsid(VFS_CTL_UMOUNT, fsid, NULL, NULL, &flag,
|
H A D | sysctl_fsid.c | 31 sysctl_fsid(int op, fsid_t *fsid, void *oldp, size_t *oldlenp, void *newp, argument 46 vc.vc_fsid = *fsid;
|
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | fsgetpath.h | 48 * ssize_t fsgetpath_np(char *restrict buf, size_t bufsize, fsid_t fsid, uint64_t objid); 50 #define fsgetpath(buf, bufsize, fsid, objid) \ 51 (ssize_t)syscall(SYS_fsgetpath, buf, (size_t)bufsize, fsid, (uint64_t)objid) 56 * fsid : value corresponding to getattlist ATTR_CMN_FSID attribute, or 57 * value of stat's st.st_dev ; set fsid = {st.st_dev, 0} 69 int openbyid_np(fsid_t* fsid, fsobj_id_t* objid, int flags);
|
H A D | mount.h | 400 fsid_t vc_fsid; /* fsid to operate on. */ 413 fsid_t vc_fsid; /* fsid to operate on. */ 421 fsid_t vc_fsid; /* fsid to operate on. */ 1154 @param fsid Filesystem ID to look up. 1173 @param fsid ID of filesystem to unmount, as found through (for example) statfs. 1184 @param fsid Unused. 1196 int vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx); 1268 @param fsid FSID for filesystem in question. 1275 int vfs_settriggercallback(fsid_t *fsid, vfs_trigger_callback_t vtc, void *data, uint32_t flags, vfs_context_t ctx);
|
/macosx-10.10/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_notification.c | 59 fsid_t fsid; local 67 fsid.val[0] = hfsmp->hfs_raw_dev; 68 fsid.val[1] = vfs_typenum(HFSTOVFS(hfsmp)); 102 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL); 108 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL); 113 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL); 126 vfs_event_signal(&fsid, VQ_UPDATE, (intptr_t)NULL); 128 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);
|
H A D | hfs_attrlist.c | 725 fsid_t fsid; local 727 fsid.val[0] = hfsmp->hfs_raw_dev; 728 fsid.val[1] = vfs_typenum(mp); 729 *((fsid_t *)attrbufptr) = fsid;
|
H A D | hfs_vfsops.c | 3054 fsid_t fsid; local 3056 fsid.val[0] = (int32_t)hfsmp->hfs_raw_dev; 3057 fsid.val[1] = (int32_t)vfs_typenum(HFSTOVFS(hfsmp)); 3058 vfs_event_signal(&fsid, VQ_UPDATE, (intptr_t)NULL); 3109 fsid_t fsid; local 3111 fsid.val[0] = (int32_t)hfsmp->hfs_raw_dev; 3112 fsid.val[1] = (int32_t)vfs_typenum(HFSTOVFS(hfsmp)); 3113 vfs_event_signal(&fsid, VQ_UPDATE, (intptr_t)NULL);
|
/macosx-10.10/autofs-246/headers/ |
H A D | autofs.h | 136 fsid_t fsid; member in struct:autofs_update_args 151 fsid_t fsid; member in struct:autofs_update_args_32 165 fsid_t fsid; member in struct:autofs_update_args_64
|
/macosx-10.10/autofs-246/mig/ |
H A D | autofs_prot.defs | 66 in mntpnt_fsid : fsid_t; /* fsid of FS on which we're mounting */ 70 out fsid : fsid_t; /* fsid of FS we mounted */ 81 * given fsid with the given fstype, etc.. 86 in mntpnt_fsid : fsid_t; /* mntpnt fsid */ 172 out fsid : fsid_t; /* fsid of FS we mounted */ 188 in mntpnt_fsid : fsid_t; /* fsid of FS on which we're mounting */ 191 out fsid : fsid_t; /* fsid o [all...] |
/macosx-10.10/diskdev_cmds-576/umount.tproj/ |
H A D | umount.c | 499 * the unmount by fsid. (Note: the sysctl only works for root) 550 getmntfsid(const char *name, fsid_t *fsid) argument 561 *fsid = mntbuf[i].f_fsid; 603 fsid_t *fsid, 623 vc.vc_fsid = *fsid; 633 fsid_t fsid; local 634 if (getmntfsid(mntpt, &fsid) < 0) 637 printf("attempting to unmount %s by fsid\n", mntpt); 638 return sysctl_fsid(VFS_CTL_UMOUNT, &fsid, NULL, 0, &flag, sizeof(flag)); 601 sysctl_fsid( int op, fsid_t *fsid, void *oldp, size_t *oldlenp, void *newp, size_t newlen) argument
|
/macosx-10.10/smb-759.0/lib/smbclient/ |
H A D | util.c | 486 fsid_t fsid = *(fsid_t *)inputBuffer; local 488 if (inputBufferLen == sizeof(fsid)) { 489 int error = smb_remount_with_fsid(fsid);
|
/macosx-10.10/lsof-53/lsof/dialects/darwin/kmem/ |
H A D | dmnt.c | 207 vp->fsid = m.m_stat.f_fsid;
|
H A D | dlsof.h | 256 fsid_t fsid; /* file system ID */ member in struct:l_vfs
|
/macosx-10.10/NFS-82/rpc.rquotad/ |
H A D | rquotad.c | 115 fsid_t fsid; /* fsid for the file system */ member in struct:fsq_stat 728 fs->fsid.val[0] = fst->f_fsid.val[0]; 729 fs->fsid.val[1] = fst->f_fsid.val[1]; 758 if ((fs->fsid.val[0] != fst->f_fsid.val[0]) || 759 (fs->fsid.val[1] != fst->f_fsid.val[1]))
|
/macosx-10.10/tcpdump-61/tcpdump/ |
H A D | print-nfs.c | 855 my_fsid fsid; local 873 Parse_fh((const u_char *)dp, len, &fsid, &ino, NULL, &sfsname, 0); 890 fsid.Fsid_dev.Major, fsid.Fsid_dev.Minor); 893 if(fsid.Fsid_dev.Minor == 257) 895 (void)printf("%s", fsid.Opaque_Handle); 1182 printf(" fsid %" PRIx64, 1197 printf(" nlink %d rdev %x fsid %x nodeid %x a/m/ctime",
|
/macosx-10.10/xnu-2782.1.97/bsd/nfs/ |
H A D | nfsmount.h | 309 nfs_fsid fsid; /* NFS file system id */ member in struct:nfsmount::__anon14799::__anon14801 408 #define nm_fsid nm_un.v4.fsid
|
H A D | nfs_vfsops.c | 2467 /* save the NFS fsid */ 3847 fsid_t fsid; /* FSID that we need to try to unmount */ member in struct:nfs_ephemeral_mount_harvester_info 3875 if (hinfo->fsid.val[0] || hinfo->fsid.val[1]) { 3877 vfs_unmountbyfsid(&hinfo->fsid, 0, vfs_context_kernel()); 3878 hinfo->fsid.val[0] = hinfo->fsid.val[1] = 0; 3883 * on mp so save its fsid for the next call iteration to unmount. 3885 hinfo->fsid.val[0] = mp->mnt_vfsstat.f_fsid.val[0]; 3886 hinfo->fsid 5205 fsid_t fsid; local [all...] |
/macosx-10.10/Librpcsvc-24/ |
H A D | nfs_prot.x | 127 unsigned fsid; /* device # */ 414 uint64 fsid; /* device # */
|
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/ |
H A D | id.c | 151 sfputr(sp, " fsid=", -1); 281 fs_id = fsid(0); 353 putid(sp, flags, " fsid", fs_name, fs_id);
|
/macosx-10.10/autofs-246/automountd/ |
H A D | autod_mount.c | 386 fsid_t fsid; member in struct:attr_buffer 672 if (FSIDS_EQUAL(mntpnt_fsid, attrbuf.fsid)) { 674 * OK, the file system there has the same fsid 688 *fsidp = attrbuf.fsid; 694 * fsid the file system had then, and if we unmount it, that fsid
|
/macosx-10.10/autofs-246/autofs_kext/ |
H A D | auto_subr.c | 1079 fsid_t fsid, 1095 ret = autofs_unmount(automount_port, fsid.val[0], fsid.val[1],
|
/macosx-10.10/NFS-82/nfsstat/ |
H A D | nfsstat.c | 446 read_mountinfo(fsid_t *fsid, char **buf, uint *buflen) argument 472 /* copy fsid to buffer to tell kernel which fs to read info for */ 474 bufxdr[0] = htonl(fsid->val[0]); 475 bufxdr[1] = htonl(fsid->val[1]); 499 /* copy fsid to buffer to tell kernel which fs to read info for */ 501 bufxdr[0] = htonl(fsid->val[0]); 502 bufxdr[1] = htonl(fsid->val[1]);
|