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

/freebsd-12-stable/sys/security/mac_veriexec/
H A Dveriexec_metadata.c53 dev_t fsid; /**< file system identifier of the mount point */ member in struct:veriexec_dev_list
85 * @p fileid in the file system identified by @p fsid
87 * If meta-data exists for file system identified by @p fsid, it has a
92 * @param fsid file system identifier to look for
101 get_veriexec_file(struct veriexec_devhead *head, dev_t fsid, long fileid, argument
114 " files=%d\n", (uintmax_t)fileid, gen, (uintmax_t)fsid,
122 if (lp->fsid == fsid)
128 (uintmax_t)lp->fsid));
157 * @param fsid fil
168 find_veriexec_file(dev_t fsid, long fileid, unsigned long gen, int *found_dev, int check_files) argument
270 mac_veriexec_metadata_has_file(dev_t fsid, long fileid, unsigned long gen) argument
291 free_veriexec_dev(dev_t fsid, struct veriexec_devhead *head) argument
340 find_veriexec_dev(dev_t fsid, struct veriexec_devhead *head) argument
408 mac_veriexec_metadata_unmounted(dev_t fsid, struct thread *td) argument
443 mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid, unsigned long gen, int *flags, int check_files) argument
612 mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid, unsigned long gen, unsigned char fingerprint[MAXFINGERPRINTLEN], int flags, const char *fp_type, int override) argument
[all...]
H A Dmac_veriexec_internal.h77 int mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid,
81 int mac_veriexec_metadata_unmounted(dev_t fsid, struct thread *td);
H A Dmac_veriexec.h153 int mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid,
156 int mac_veriexec_metadata_has_file(dev_t fsid, long fileid,
H A Dmac_veriexec.c196 MAC_VERIEXEC_DBG(3, "set fsid to %u for mount %p", va.va_fsid, mp);
215 dev_t fsid; local
217 fsid = SLOT(mp->mnt_label);
218 if (fsid) {
219 MAC_VERIEXEC_DBG(3, "fsid %u, cleaning up mount", fsid);
220 mac_veriexec_metadata_unmounted(fsid, td);
/freebsd-12-stable/usr.sbin/autofs/
H A Dautounmountd.c65 automounted_find(fsid_t fsid) argument
70 if (fsidcmp(&af->af_fsid, &fsid) == 0)
78 automounted_add(fsid_t fsid, const char *mountpoint) argument
86 af->af_fsid = fsid;
156 unmount_by_fsid(const fsid_t fsid, const char *mountpoint) argument
161 ret = asprintf(&fsid_str, "FSID:%d:%d", fsid.val[0], fsid.val[1]);
/freebsd-12-stable/sbin/umount/
H A Dumount.c76 fsid_t *fsid, dowhat what);
80 int parsehexfsid(const char *hex, fsid_t *fsid);
252 * Do magic checks on mountpoint/device/fsid, and then call unmount(2).
413 /* XXX, non-root users get a zero fsid, so don't warn. */
476 getmntentry(const char *fromname, const char *onname, fsid_t *fsid, dowhat what) argument
508 if (fsid != NULL && fsidcmp(&sfs->f_fsid, fsid) != 0)
586 fsid_t fsid; local
589 if (parsehexfsid(mntname, &fsid) == 0)
590 sfs = getmntentry(NULL, NULL, &fsid, FIN
621 parsehexfsid(const char *hex, fsid_t *fsid) argument
[all...]
/freebsd-12-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.c76 uint64_t fsid; member in struct:devs
256 if (d->fsid == vn.vn_fsid) {
640 cur->fsid = statbuf.st_dev;
/freebsd-12-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-12-stable/lib/libugidfw/
H A Dugidfw.c787 bsde_parse_fsid(char *spec, struct fsid *fsid, size_t buflen, char *errstr) argument
797 *fsid = buf.f_fsid;
811 struct fsid fsid; local
868 snprintf(errstr, buflen, "one fsid only");
871 if (bsde_parse_fsid(argv[current+1], &fsid,
955 object->mbo_fsid = fsid;
/freebsd-12-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-12-stable/sys/kern/
H A Dvfs_subr.c698 vfs_getvfs(fsid_t *fsid) argument
702 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid);
705 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) {
712 CTR2(KTR_VFS, "%s: lookup failed for %p id", __func__, fsid);
727 vfs_busyfs(fsid_t *fsid) argument
736 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid);
737 hash = fsid->val[0] ^ fsid
5055 vfs_event_signal(fsid_t *fsid, uint32_t event, intptr_t data __unused) argument
[all...]
/freebsd-12-stable/contrib/openbsm/bsm/
H A Dlibbsm.h231 u_int32_t fsid; member in struct:__anon6736
240 u_int32_t fsid; member in struct:__anon6737
/freebsd-12-stable/include/rpcsvc/
H A Dnfs_prot.x129 unsigned fsid; /* device # */
409 uint64 fsid; /* device # */
/freebsd-12-stable/usr.sbin/mountd/
H A Dmountd.c1658 "fsid mismatch");
2230 * Compare old and current exportlist entries for the fsid and return 0
2446 ex_search(fsid_t *fsid, struct exportlisthead *exhp) argument
2451 i = EXPHASH(fsid);
2453 if (fsidcmp(&ep->ex_fs, fsid) == 0)
/freebsd-12-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-12-stable/lib/libprocstat/
H A Dlibprocstat.c1357 uint64_t fsid; local
1371 fsid = kve->kve_vn_fsid;
1381 fsid = kif->kf_un.kf_file.kf_file_fsid;
1416 vn->vn_fsid = fsid;
/freebsd-12-stable/usr.bin/truss/
H A Dsyscalls.c2218 char fsid[17]; local
2220 bzero(fsid, sizeof(fsid));
2223 snprintf(&fsid[i*2],
2224 sizeof(fsid) - (i*2), "%02x",
2229 "fsid=%s }", buf.f_fstypename, buf.f_mntonname,
2230 buf.f_mntfromname, fsid);
/freebsd-12-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-12-stable/sys/sys/
H A Dmount.h53 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ struct
571 fsid_t vc_fsid; /* fsid to operate on */
931 struct mount *vfs_getvfs(fsid_t *); /* return vfs given fsid */
/freebsd-12-stable/contrib/amd/amd/
H A Dnfs_subr.c967 fattr3->fsid = (uint64) fattr->na_fsid;
/freebsd-12-stable/contrib/amd/libamu/
H A Dxdr_func.c1177 if (!xdr_uint64(xdrs, &objp->fsid))

Completed in 337 milliseconds