Home
last modified time | relevance | path

Searched refs:fsid (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/svc/startd/
H A Dspecials.c103 ulong_t rfsid, fsid; in special_fsminimal_post_online() local
114 if ((ret = fs_is_read_only("/var", &fsid)) == 1) { in special_fsminimal_post_online()
117 if (rfsid != fsid) { in special_fsminimal_post_online()
126 if ((ret = fs_is_read_only("/var", &fsid)) != 1) { in special_fsminimal_post_online()
167 if ((ret = fs_is_read_only("/etc/svc", &fsid)) != 1) { in special_fsminimal_post_online()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c217 extern void hsched_init(struct hsfs *fsp, int fsid,
220 extern void hsfs_init_kstats(struct hsfs *fsp, int fsid);
533 int fsid; in compute_cdrom_id() local
549 fsid = 0; in compute_cdrom_id()
552 fsid ^= ibuf[ i ]; in compute_cdrom_id()
557 fsid = hsvp->cre_date.tv_sec; in compute_cdrom_id()
562 return (fsid); in compute_cdrom_id()
584 int fsid; in hs_mountfs() local
707 fsid = compute_cdrom_id(fsp, devvp); in hs_mountfs()
711 if (fsid == 0 || fsid == -1) { in hs_mountfs()
[all …]
H A Dhsfs_subr.c392 hsfs_setup_named_kstats(struct hsfs *fsp, int fsid, char *name, in hsfs_setup_named_kstats() argument
402 ksp = kstat_create("hsfs_fs", fsid, name, "hsfs", in hsfs_setup_named_kstats()
426 hsfs_init_kstats(struct hsfs *fsp, int fsid) in hsfs_init_kstats() argument
428 fsp->hsfs_kstats = hsfs_setup_named_kstats(fsp, fsid, "hsfs_read_stats", in hsfs_init_kstats()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/features/
H A Dids2 lib fsid,getfsgid,isfsg sys/types.h sys/fss.h fsg.h -lfsg
4 mac fsid sys/types.h sys/fss.h fsg.h
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c65 fsid_t fsid; /* filesystem fsid */ member
84 static struct db_list *db_get_db(char *fhpath, fsid_t *fsid, int *errorp,
215 db_get_db(char *fhpath, fsid_t *fsid, int *errorp, int create_flag) in db_get_db() argument
223 (p != NULL) && memcmp(&p->fsid, fsid, sizeof (*fsid)); in db_get_db()
237 (void) sprintf(fsidstr, "%08x%08x", fsid->val[0], fsid->val[1]); in db_get_db()
273 (void) memcpy(&newp->fsid, fsid, sizeof (*fsid)); in db_get_db()
309 fsid_t fsid; in db_get_all_databases() local
364 (ulong_t *)&fsid.val[0], (ulong_t *)&fsid.val[1]); in db_get_all_databases()
365 dbp = db_get_db(fhpath, &fsid, &error, 0); in db_get_all_databases()
1700 dbp->fsid.val[0], dbp->fsid.val[1]); in db_print_all_keys()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsinfo.c167 fsid_t fsid; in smb_com_trans2_query_fs_information() local
183 fsid = SMB_NODE_FSID(snode); in smb_com_trans2_query_fs_information()
220 "%lb#c", sr, fsid.val[0], in smb_com_trans2_query_fs_information()
227 fsid.val[0], length, tree->t_volume); in smb_com_trans2_query_fs_information()
250 fsid.val[0], /* Volume serial number */ in smb_com_trans2_query_fs_information()
H A Dsmb2_qinfo_fs.c101 fsid_t fsid; in smb2_qfs_volume() local
109 fsid = SMB_NODE_FSID(snode); in smb2_qfs_volume()
119 fsid.val[0], /* serial no. (l) */ in smb2_qfs_volume()
H A Dsmb_node.c268 fsid_t fsid; in smb_node_lookup() local
297 fsid = SMB_TREE_FSID(sr->tid_tree); in smb_node_lookup()
303 fsid = vp->v_vfsp->vfs_fsid; in smb_node_lookup()
306 node_hdr = smb_node_get_hash(&fsid, &attr, &hashkey); in smb_node_lookup()
1392 smb_node_get_hash(fsid_t *fsid, smb_attr_t *attr, uint32_t *phashkey) in smb_node_get_hash() argument
1396 hashkey = fsid->val[0] + attr->sa_vattr.va_nodeid; in smb_node_get_hash()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dwebnfs.x127 unsigned fsid; /* device # */ member
261 wnl_uint64 fsid; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c558 int rdev, blocks, fsid, fileid; in detail_fattr() local
569 fsid = getxdr_long(); in detail_fattr()
584 fsid, fileid); in detail_fattr()
H A Dsnoop_nfs3.c887 u_longlong_t size, used, fsid, fileid; in detail_fattr3() local
898 fsid = getxdr_u_longlong(); in detail_fattr3()
916 fsid, fileid); in detail_fattr3()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c285 dev_t fsid; in socket_vop_getattr() local
305 fsid = sockdev; in socket_vop_getattr()
320 vap->va_fsid = fsid; in socket_vop_getattr()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_export.c118 #define exptablehash(fsid, fid) (nfs_fhhash((fsid), (fid)) & (EXPTABLESIZE - 1)) argument
144 nfs_fhhash(fsid_t *fsid, fid_t *fid) in nfs_fhhash() argument
149 h = xor_hash((uint8_t *)fsid, sizeof (fsid_t)); in nfs_fhhash()
1252 fsid_t fsid; in exportfs() local
1376 fsid = vp->v_vfsp->vfs_fsid; in exportfs()
1398 for (ex2 = ne->exptable[exptablehash(&fsid, &fid)]; ex2; in exportfs()
1417 exi->exi_fsid = fsid; in exportfs()
1442 exi->exi_fh.fh_fsid = fsid; in exportfs()
2703 checkexport(fsid_t *fsid, fid_t *fid) in checkexport() argument
2709 for (exi = ne->exptable[exptablehash(fsid, fid)]; in checkexport()
[all …]
H A Dnfs4_srv_attr.c669 int *pmaj = (int *)&na->fsid.major; in rfs4_fattr4_fsid()
682 na->fsid.major = 1; in rfs4_fattr4_fsid()
683 na->fsid.minor = 0; in rfs4_fattr4_fsid()
687 na->fsid.minor = 0; in rfs4_fattr4_fsid()
689 na->fsid.major = getmajor(sarg->vap->va_fsid); in rfs4_fattr4_fsid()
690 na->fsid.minor = getminor(sarg->vap->va_fsid); in rfs4_fattr4_fsid()
698 if (na->fsid.major != 1 || in rfs4_fattr4_fsid()
699 na->fsid.minor != 0) in rfs4_fattr4_fsid()
704 na->fsid.minor != 0) in rfs4_fattr4_fsid()
707 if (na->fsid.major != getmajor(sarg->vap->va_fsid) || in rfs4_fattr4_fsid()
[all …]
H A Dnfs4_srv_ns.c154 fsid_t fsid; in pseudo_exportfs() local
160 fsid = vp->v_vfsp->vfs_fsid; in pseudo_exportfs()
162 exi->exi_fsid = fsid; in pseudo_exportfs()
176 exi->exi_fh.fh_fsid = fsid; in pseudo_exportfs()
H A Dnfs_server.c188 #define PUBLICFH_CHECK(ne, disp, exi, fsid, xfid) \ argument
192 fsid, xfid))))
1604 fsid_t *fsid; in common_dispatch() local
1613 fsid = &fh2->fh_fsid; in common_dispatch()
1619 fsid = &fh3->fh3_fsid; in common_dispatch()
1652 exi = checkexport(fsid, xfid); in common_dispatch()
1655 publicfh_ok = PUBLICFH_CHECK(ne, disp, exi, fsid, xfid); in common_dispatch()
/illumos-gate/usr/src/uts/common/nfs/
H A Dexport.h612 #define exportmatch(exi, fsid, fid) \ argument
613 (EQFSID(&(exi)->exi_fsid, (fsid)) && EQFID(&(exi)->exi_fid, (fid)))
H A Dnfs4_attr.h332 fattr4_fsid fsid; member
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c130 getvfs(fsid_t *fsid) in getvfs() argument
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs_xdr.c94 if (!xdr_u_int(xdrs, &objp->fsid)) { in xdr_b_fattr()
H A Dnfs3_xdr.c66 if (!xdr_u_longlong_t(xdrs, &objp->fsid)) in xdr_b_fattr3()
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_prot.x127 unsigned fsid; /* device # */ member
468 uint64 fsid; member
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c920 dev_t fsid; in sdev_rename() local
1008 fsid = vattr.va_fsid; in sdev_rename()
1017 if (fsid != vattr.va_fsid) { in sdev_rename()
/illumos-gate/usr/src/lib/lib9p/common/
H A Dfcall.h287 uint64_t fsid; /* file system identifier */ member
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Did.c281 fs_id = fsid(0); in getids()

12