Searched defs:fsid (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/svc/startd/
H A Dspecials.c105 ulong_t rfsid, fsid; local
116 if ((ret = fs_is_read_only("/var", &fsid)) == 1) {
119 if (rfsid != fsid) {
128 if ((ret = fs_is_read_only("/var", &fsid)) != 1) {
169 if ((ret = fs_is_read_only("/etc/svc", &fsid)) != 1) {
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_qinfo_fs.c91 fsid_t fsid; local
98 fsid = SMB_NODE_FSID(snode);
108 fsid.val[0], /* serial no. (l) */
H A Dsmb_fsinfo.c151 * The fsid provides a system-wide unique file system ID.
152 * fsid.val[0] is the 32-bit dev for the file system of the share root
154 * fsid.val[1] is the file system type.
167 fsid_t fsid; local
183 fsid = SMB_NODE_FSID(snode);
220 "%lb#c", sr, fsid.val[0],
227 fsid.val[0], length, tree->t_volume);
250 fsid.val[0], /* Volume serial number */
H A Dsmb2_create.c351 fsid_t fsid; local
353 fsid = SMB_NODE_FSID(of->f_node);
360 fsid.val[0], /* l */
361 fsid.val[1]); /* l */
H A Dsmb_node.c256 fsid_t fsid; local
281 * The fsid for a file is that of the tree, even
285 fsid = SMB_TREE_FSID(sr->tid_tree);
291 fsid = vp->v_vfsp->vfs_fsid;
294 node_hdr = smb_node_get_hash(&fsid, &attr, &hashkey);
1315 smb_node_get_hash(fsid_t *fsid, smb_attr_t *attr, uint32_t *phashkey) argument
1319 hashkey = fsid->val[0] + attr->sa_vattr.va_nodeid;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c560 int rdev, blocks, fsid, fileid; local
571 fsid = getxdr_long();
586 fsid, fileid);
H A Dsnoop_nfs3.c887 u_longlong_t size, used, fsid, fileid; local
898 fsid = getxdr_u_longlong();
916 fsid, fileid);
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c394 hsfs_setup_named_kstats(struct hsfs *fsp, int fsid, char *name, argument
404 ksp = kstat_create("hsfs_fs", fsid, name, "hsfs",
428 hsfs_init_kstats(struct hsfs *fsp, int fsid) argument
430 fsp->hsfs_kstats = hsfs_setup_named_kstats(fsp, fsid, "hsfs_read_stats",
H A Dhsfs_vfsops.c216 extern void hsched_init(struct hsfs *fsp, int fsid,
219 extern void hsfs_init_kstats(struct hsfs *fsp, int fsid);
521 * Compute a CD-ROM fsid by checksumming the first 64K of data on the CD
532 int fsid; local
548 fsid = 0;
551 fsid ^= ibuf[ i ];
556 fsid = hsvp->cre_date.tv_sec;
561 return (fsid);
583 int fsid; local
706 fsid
[all...]
H A Dhsfs_vnops.c1992 hsched_init(struct hsfs *fsp, int fsid, struct modlinkage *modlinkage) argument
2057 (void) snprintf(namebuf, sizeof (namebuf), "hsched_task_%d", fsid);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c281 dev_t fsid; local
294 fsid = sockdev;
309 vap->va_fsid = fsid;
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c114 getvfs(fsid_t *fsid) argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c150 fsid_t fsid; local
156 fsid = vp->v_vfsp->vfs_fsid;
158 exi->exi_fsid = fsid;
171 exi->exi_fh.fh_fsid = fsid;
1053 * with LOFS, compare exi_fid/fsid here.
1198 * with LOFS, compare exi_fid/fsid here.
H A Dnfs3_xdr.c515 IXDR_GET_U_HYPER(ptr, na->fsid);
533 IXDR_PUT_U_HYPER(ptr, na->fsid);
553 xdr_u_longlong_t(xdrs, &na->fsid) &&
623 /* fsid is ignored */
672 uint64 fsid; local
686 xdr_u_longlong_t(xdrs, &fsid) && /* ignored */
H A Dnfs4_rnode.c381 * fsid of the server object being mounted.
382 * Here we compare this object's server fsid
383 * with the fsid we saved at mount. If they
1787 * within this fsid reside in the rnode cache, other
1798 fattr4_fsid *fsid; local
1813 * replicated fs may have the same fsid
1817 fsid = &rp->r_srv_fsid;
1818 if (FATTR4_FSID_EQ(moved_fsid, fsid)) {
H A Dnfs_export.c118 #define exptablehash(fsid, fid) (nfs_fhhash((fsid), (fid)) & (EXPTABLESIZE - 1))
132 * File handle hash function, XOR over all bytes in fsid and fid.
135 nfs_fhhash(fsid_t *fsid, fid_t *fid) argument
140 h = xor_hash((uint8_t *)fsid, sizeof (fsid_t));
1025 fsid_t fsid; local
1146 fsid = vp->v_vfsp->vfs_fsid;
1168 for (ex2 = exptable[exptablehash(&fsid, &fid)]; ex2;
1187 exi->exi_fsid = fsid;
1210 exi->exi_fh.fh_fsid = fsid;
2446 checkexport(fsid_t *fsid, fid_t *fid) argument
2483 checkexport4(fsid_t *fsid, fid_t *fid, vnode_t *vp) argument
[all...]
H A Dnfs_server.c178 #define PUBLICFH_CHECK(disp, exi, fsid, xfid) \
182 fsid, xfid))))
1584 fsid_t *fsid; local
1593 fsid = &fh2->fh_fsid;
1599 fsid = &fh3->fh3_fsid;
1648 exi = checkexport(fsid, xfid);
1651 publicfh_ok = PUBLICFH_CHECK(disp, exi, fsid, xfid);
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c890 dev_t fsid; local
978 fsid = vattr.va_fsid;
987 if (fsid != vattr.va_fsid) {
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c67 fsid_t fsid; /* filesystem fsid */ member in struct:db_list
86 static struct db_list *db_get_db(char *fhpath, fsid_t *fsid, int *errorp,
217 db_get_db(char *fhpath, fsid_t *fsid, int *errorp, int create_flag) argument
225 (p != NULL) && memcmp(&p->fsid, fsid, sizeof (*fsid));
239 (void) sprintf(fsidstr, "%08x%08x", fsid->val[0], fsid->val[1]);
275 (void) memcpy(&newp->fsid, fsi
311 fsid_t fsid; local
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c216 uint64_t fsid; local
290 fsid = (((uint64_t)vp->v_vfsp->vfs_fsid.val[0] << 32) |
294 fsid) == 0);
H A Dvfs.c443 /* Verify that fstype refers to a loaded fs (and not fsid 0). */
3345 * fsid in "the usual way" - by munging some underlying dev_t and
3346 * the filesystem type number into the 64-bit fsid. Note that
3351 * fsid in a different way, and indeed they should.
3355 * the fact that fsid's are "known" to NFS), we compress the device
3362 panic("device number too big for fsid!");
3460 * with the same fsid as UFS (or other) file systems will not hide the
3611 * with the same fsid as UFS (or other) file systems will not hide
3676 getvfs(fsid_t *fsid) argument
3679 int val0 = fsid
[all...]
H A Dvnode.c668 /* Need to get the fsid to build a kstat name */
670 /* Create a name for our kstats based on fsid */
1584 dev_t fsid; local
1607 fsid = vattr.va_fsid;
1611 if (fsid != vattr.va_fsid) {
1649 dev_t fsid; local
1704 * We check fsid's, not vfs pointers, so loopback fs works.
1710 fsid = vattr.va_fsid;
1714 if (fsid != vattr.va_fsid) {
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_attr.h317 fattr4_fsid fsid; member in union:nfs4_attr_u
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c50 #include <sys/fsid.h>
4086 ulong_t fsid; local
/illumos-gate/usr/src/boot/sys/sys/
H A Dmount.h50 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ struct
520 fsid_t vc_fsid; /* fsid to operate on */
876 struct mount *vfs_getvfs(fsid_t *); /* return vfs given fsid */

Completed in 344 milliseconds

12