Searched refs:fsid (Results 1 - 12 of 12) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dfsgetpath.h48 * 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)
H A Dmount.h88 typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */ struct
401 fsid_t vc_fsid; /* fsid to operate on. */
414 fsid_t vc_fsid; /* fsid to operate on. */
422 fsid_t vc_fsid; /* fsid to operate on. */
1132 @param fsid Filesystem ID to look up.
1151 @param fsid ID of filesystem to unmount, as found through (for example) statfs.
1162 @param fsid Unused.
1174 int vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx);
1247 @param fsid FSID for filesystem in question.
1254 int vfs_settriggercallback(fsid_t *fsid, vfs_trigger_callback_
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_notification.c59 fsid_t fsid; local
69 fsid.val[0] = (long)hfsmp->hfs_raw_dev;
70 fsid.val[1] = (long)vfs_typenum(HFSTOVFS(hfsmp));
108 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);
118 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);
121 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);
127 vfs_event_signal(&fsid, VQ_UPDATE, (intptr_t)NULL);
129 vfs_event_signal(&fsid, hfsmp->hfs_notification_conditions, (intptr_t)NULL);
H A Dhfs_attrlist.c563 fsid_t fsid; local
565 fsid.val[0] = (long)hfsmp->hfs_raw_dev;
566 fsid.val[1] = (long)vfs_typenum(mp);
567 *((fsid_t *)attrbufptr) = fsid;
H A Dhfs_vfsops.c3029 fsid_t fsid; local
3031 fsid.val[0] = (int32_t)hfsmp->hfs_raw_dev;
3032 fsid.val[1] = (int32_t)vfs_typenum(HFSTOVFS(hfsmp));
3033 vfs_event_signal(&fsid, VQ_UPDATE, (intptr_t)NULL);
3084 fsid_t fsid; local
3086 fsid.val[0] = (int32_t)hfsmp->hfs_raw_dev;
3087 fsid.val[1] = (int32_t)vfs_typenum(HFSTOVFS(hfsmp));
3088 vfs_event_signal(&fsid, VQ_UPDATE, (intptr_t)NULL);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfsmount.h302 nfs_fsid fsid; /* NFS file system id */ member in struct:nfsmount::__anon450::__anon452
400 #define nm_fsid nm_un.v4.fsid
H A Dnfs_vfsops.c2456 /* save the NFS fsid */
3788 fsid_t fsid; /* FSID that we need to try to unmount */ member in struct:nfs_ephemeral_mount_harvester_info
3816 if (hinfo->fsid.val[0] || hinfo->fsid.val[1]) {
3818 vfs_unmountbyfsid(&hinfo->fsid, 0, vfs_context_kernel());
3819 hinfo->fsid.val[0] = hinfo->fsid.val[1] = 0;
3824 * on mp so save its fsid for the next call iteration to unmount.
3826 hinfo->fsid.val[0] = mp->mnt_vfsstat.f_fsid.val[0];
3827 hinfo->fsid
5064 fsid_t fsid; local
[all...]
H A Dnfs_subs.c1522 * For NFSv4, if the fsid doesn't match the fsid for the mount, then
3159 uint32_t fsid, expid; local
3163 fsid = ntohl(nxh->nxh_fsid);
3165 nx = NFSRVEXPHASH(fsid, expid)->lh_first;
3167 if (nx->nx_fs->nxfs_id != fsid)
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_lookup.c1624 vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx) argument
1629 mp = mount_lookupby_volfsid(fsid->val[0], 1);
H A Dvfs_subr.c1165 vfs_getvfs(fsid_t *fsid) argument
1167 return (mount_list_lookupby_fsid(fsid, 0, 0));
1171 vfs_getvfs_locked(fsid_t *fsid) argument
1173 return(mount_list_lookupby_fsid(fsid, 1, 0));
1200 * Get a new unique fsid
1212 /* generate a new fsid */
3152 vfs_event_signal(fsid_t *fsid, u_int32_t event, intptr_t data) argument
3155 struct mount *mp = vfs_getvfs(fsid);
3290 * Do a sysctl by fsid.
3576 NULL, 0, sysctl_vfs_vfslist, "S,fsid", "Lis
4957 mount_list_lookupby_fsid(fsid_t *fsid, int locked, int withref) argument
[all...]
H A Dvfs_syscalls.c1691 vfs_unmountbyfsid(fsid_t * fsid, int flags, vfs_context_t ctx) argument
1695 mp = mount_list_lookupby_fsid(fsid, 0, 1);
2052 static fsid_t fsid = { { 0, 0 } }; local
2055 vfs_event_signal(&fsid, VQ_SYNCEVENT, (intptr_t)NULL);
9214 fsid_t fsid; local
9220 if ((error = copyin(uap->fsid, (caddr_t)&fsid, sizeof(fsid)))) {
9223 AUDIT_ARG(value32, fsid.val[0]);
9234 if ((mp = mount_lookupby_volfsid(fsid
[all...]
H A Dkpi_vfs.c2625 * The fsid can be obtained from the mountpoint directly.
2934 vfs_settriggercallback(fsid_t *fsid, vfs_trigger_callback_t vtc, void *data, uint32_t flags __unused, vfs_context_t ctx) argument
2939 mp = mount_list_lookupby_fsid(fsid, 0 /* locked */, 1 /* withref */);

Completed in 157 milliseconds