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

/freebsd-11-stable/usr.sbin/autofs/
H A Dautounmountd.c65 automounted_find(fsid_t fsid) argument
70 if (af->af_fsid.val[0] == fsid.val[0] &&
71 af->af_fsid.val[1] == fsid.val[1])
79 automounted_add(fsid_t fsid, const char *mountpoint) argument
87 af->af_fsid = fsid;
157 unmount_by_fsid(const fsid_t fsid, const char *mountpoint) argument
162 ret = asprintf(&fsid_str, "FSID:%d:%d", fsid.val[0], fsid.val[1]);
/freebsd-11-stable/sbin/umount/
H A Dumount.c74 fsid_t *fsid, dowhat what);
78 int parsehexfsid(const char *hex, fsid_t *fsid);
254 * Do magic checks on mountpoint/device/fsid, and then call unmount(2).
415 /* XXX, non-root users get a zero fsid, so don't warn. */
478 getmntentry(const char *fromname, const char *onname, fsid_t *fsid, dowhat what) argument
510 if (fsid != NULL && bcmp(&sfs->f_fsid, fsid,
511 sizeof(*fsid)) != 0)
589 fsid_t fsid; local
592 if (parsehexfsid(mntname, &fsid)
624 parsehexfsid(const char *hex, fsid_t *fsid) argument
[all...]
/freebsd-11-stable/sys/security/mac_bsdextended/
H A Dmac_bsdextended.h75 #define MBO_FSID_DEFINED 0x00000004 /* fsid field should be matched */
104 struct fsid mbo_fsid;
/freebsd-11-stable/usr.bin/fstat/
H A Dfuser.c95 uint32_t fsid; member in struct:reqfile
156 reqfile->fsid = sb.st_dev;
307 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) {
310 else if (reqfiles[i].fsid == vn.vn_fsid &&
H A Dfstat.c70 uint32_t fsid; member in struct:devs
247 if (d->fsid == vn.vn_fsid) {
558 cur->fsid = statbuf.st_dev;
/freebsd-11-stable/contrib/amd/conf/nfs_prot/
H A Dnfs_prot_freebsd2.h66 #define na_fsid fsid
H A Dnfs_prot_freebsd3.h101 #define na_fsid fsid
/freebsd-11-stable/lib/libugidfw/
H A Dugidfw.c786 bsde_parse_fsid(char *spec, struct fsid *fsid, size_t buflen, char *errstr) argument
796 *fsid = buf.f_fsid;
810 struct fsid fsid; local
867 snprintf(errstr, buflen, "one fsid only");
870 if (bsde_parse_fsid(argv[current+1], &fsid,
954 object->mbo_fsid = fsid;
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-nfs.c788 my_fsid fsid; local
806 Parse_fh((const u_char *)dp, len, &fsid, &ino, NULL, &sfsname, 0);
827 fsid.Fsid_dev.Major, fsid.Fsid_dev.Minor));
830 if(fsid.Fsid_dev.Minor == 257)
832 ND_PRINT((ndo, "%s", fsid.Opaque_Handle));
1079 ND_PRINT((ndo, " fsid %" PRIx64,
1094 ND_PRINT((ndo, " nlink %d rdev 0x%x fsid 0x%x nodeid 0x%x a/m/ctime",
/freebsd-11-stable/sys/kern/
H A Dvfs_subr.c707 vfs_getvfs(fsid_t *fsid) argument
711 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid);
714 if (mp->mnt_stat.f_fsid.val[0] == fsid->val[0] &&
715 mp->mnt_stat.f_fsid.val[1] == fsid->val[1]) {
722 CTR2(KTR_VFS, "%s: lookup failed for %p id", __func__, fsid);
737 vfs_busyfs(fsid_t *fsid) argument
746 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid);
747 hash = fsid
4934 vfs_event_signal(fsid_t *fsid, uint32_t event, intptr_t data __unused) argument
[all...]
/freebsd-11-stable/contrib/openbsm/bsm/
H A Dlibbsm.h228 u_int32_t fsid; member in struct:__anon3932
237 u_int32_t fsid; member in struct:__anon3933
/freebsd-11-stable/include/rpcsvc/
H A Dnfs_prot.x129 unsigned fsid; /* device # */
409 uint64 fsid; /* device # */
/freebsd-11-stable/usr.sbin/mountd/
H A Dmountd.c1615 "fsid mismatch");
2172 * Compare old and current exportlist entries for the fsid and return 0
2388 ex_search(fsid_t *fsid, struct exportlisthead *exhp) argument
2393 i = EXPHASH(fsid);
2395 if (ep->ex_fs.val[0] == fsid->val[0] &&
2396 ep->ex_fs.val[1] == fsid->val[1])
/freebsd-11-stable/contrib/amd/include/
H A Dam_defs.h327 * Actions to take if <sys/fsid.h> exists.
330 # include <sys/fsid.h>
H A Dam_xdr_func.h190 uint64 fsid; member in struct:am_fattr3
/freebsd-11-stable/lib/libprocstat/
H A Dlibprocstat.c1352 uint32_t fsid; local
1366 fsid = kve->kve_vn_fsid;
1376 fsid = kif->kf_un.kf_file.kf_file_fsid;
1411 vn->vn_fsid = fsid;
/freebsd-11-stable/usr.bin/truss/
H A Dsyscalls.c2083 char fsid[17]; local
2085 bzero(fsid, sizeof(fsid));
2088 snprintf(&fsid[i*2],
2089 sizeof(fsid) - (i*2), "%02x",
2094 "fsid=%s }", buf.f_fstypename, buf.f_mntonname,
2095 buf.f_mntfromname, fsid);
/freebsd-11-stable/contrib/openbsm/libbsm/
H A Dbsm_io.c1676 READ_TOKEN_U_INT32(buf, len, tok->tt.attr32.fsid, tok->len, err);
1706 open_attr(fp, "fsid");
1707 print_4_bytes(fp, tok->tt.attr32.fsid, "%u");
1724 print_4_bytes(fp, tok->tt.attr32.fsid, "%u");
1757 READ_TOKEN_U_INT32(buf, len, tok->tt.attr64.fsid, tok->len, err);
1787 open_attr(fp, "fsid");
1788 print_4_bytes(fp, tok->tt.attr64.fsid, "%u");
1805 print_4_bytes(fp, tok->tt.attr64.fsid, "%u");
/freebsd-11-stable/sys/sys/
H A Dmount.h50 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ struct
526 fsid_t vc_fsid; /* fsid to operate on */
883 struct mount *vfs_getvfs(fsid_t *); /* return vfs given fsid */
/freebsd-11-stable/contrib/amd/amd/
H A Dnfs_subr.c967 fattr3->fsid = (uint64) fattr->na_fsid;
/freebsd-11-stable/contrib/amd/libamu/
H A Dxdr_func.c1177 if (!xdr_uint64(xdrs, &objp->fsid))

Completed in 442 milliseconds