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

12

/freebsd-current/sys/security/mac_veriexec/
H A Dveriexec_metadata.c56 dev_t fsid; /**< file system identifier of the mount point */ member in struct:veriexec_dev_list
88 * @p fileid in the file system identified by @p fsid
90 * If meta-data exists for file system identified by @p fsid, it has a
95 * @param fsid file system identifier to look for
104 get_veriexec_file(struct veriexec_devhead *head, dev_t fsid, long fileid, argument
117 " files=%d\n", (uintmax_t)fileid, gen, (uintmax_t)fsid,
125 if (lp->fsid == fsid)
131 (uintmax_t)lp->fsid));
192 sbuf_printf(sbp, " FS id: %ju\n", (uintmax_t)lp->fsid);
233 mac_veriexec_metadata_has_file(dev_t fsid, long fileid, unsigned long gen) argument
254 free_veriexec_dev(dev_t fsid, struct veriexec_devhead *head) argument
305 find_veriexec_dev(dev_t fsid, struct veriexec_devhead *head) argument
405 mac_veriexec_metadata_unmounted(dev_t fsid, struct thread *td) argument
440 mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid, unsigned long gen, int *flags, int check_files) argument
600 mac_veriexec_metadata_get_file_label(dev_t fsid, long fileid, unsigned long gen, int check_files) argument
635 mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid, unsigned long gen, unsigned char fingerprint[MAXFINGERPRINTLEN], char *label, size_t labellen, int flags, const char *fp_type, int override) argument
776 mac_veriexec_metadata_get_file_info(dev_t fsid, long fileid, unsigned long gen, int *found_dev, struct mac_veriexec_file_info **ipp, int check_files) argument
[all...]
H A Dmac_veriexec_internal.h79 int mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid,
81 int mac_veriexec_metadata_get_file_info(dev_t fsid, long fileid,
86 int mac_veriexec_metadata_unmounted(dev_t fsid, struct thread *td);
H A Dmac_veriexec.h177 int mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid,
181 const char *mac_veriexec_metadata_get_file_label(dev_t fsid, long fileid,
183 int mac_veriexec_metadata_has_file(dev_t fsid, long fileid,
H A Dmac_veriexec.c209 MAC_VERIEXEC_DBG(3, "set fsid to %ju for mount %p",
228 dev_t fsid; local
230 fsid = SLOT(mp->mnt_label);
231 if (fsid) {
232 MAC_VERIEXEC_DBG(3, "fsid %ju, cleaning up mount",
233 (uintmax_t)fsid);
234 mac_veriexec_metadata_unmounted(fsid, td);
/freebsd-current/usr.sbin/fstyp/
H A Dhammer.c63 static hammer_uuid_t fsid, fstype; local
79 memcpy(&fsid, &ondisk->vol_fsid, sizeof(fsid));
85 if (memcmp(&ondisk->vol_fsid, &fsid, sizeof(fsid)))
H A Dhammer2_disk.h1011 * NOTE: We can't use {volume_data->fsid, pfs_clid} to uniquely
1244 uuid_t fsid; /* 0040 */ member in struct:hammer2_volume_data
/freebsd-current/usr.sbin/autofs/
H A Dautounmountd.c61 automounted_find(fsid_t fsid) argument
66 if (fsidcmp(&af->af_fsid, &fsid) == 0)
74 automounted_add(fsid_t fsid, const char *mountpoint) argument
82 af->af_fsid = fsid;
152 unmount_by_fsid(const fsid_t fsid, const char *mountpoint) argument
157 ret = asprintf(&fsid_str, "FSID:%d:%d", fsid.val[0], fsid.val[1]);
H A Dautomount.c231 flush_autofs(const char *fspath, const fsid_t *fsid) argument
244 build_iovec(&iov, &iovlen, "fsid",
245 __DECONST(void *, fsid), sizeof(*fsid));
/freebsd-current/sbin/umount/
H A Dumount.c72 fsid_t *fsid, dowhat what);
76 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. */
486 getmntentry(const char *fromname, const char *onname, fsid_t *fsid, dowhat what) argument
518 if (fsid != NULL && fsidcmp(&sfs->f_fsid, fsid) != 0)
596 fsid_t fsid; local
599 if (parsehexfsid(mntname, &fsid) == 0)
600 sfs = getmntentry(NULL, NULL, &fsid, FIN
631 parsehexfsid(const char *hex, fsid_t *fsid) argument
[all...]
/freebsd-current/usr.bin/fstat/
H A Dfuser.c93 dev_t fsid; member in struct:reqfile
154 reqfile->fsid = sb.st_dev;
304 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) {
307 else if (reqfiles[i].fsid == vn.vn_fsid &&
H A Dfstat.c73 uint64_t fsid; member in struct:devs
253 if (d->fsid == vn.vn_fsid) {
632 cur->fsid = statbuf.st_dev;
/freebsd-current/lib/libugidfw/
H A Dugidfw.c785 bsde_parse_fsid(char *spec, struct fsid *fsid, size_t buflen, char *errstr) argument
795 *fsid = buf.f_fsid;
809 struct fsid fsid; local
866 snprintf(errstr, buflen, "one fsid only");
869 if (bsde_parse_fsid(argv[current+1], &fsid,
953 object->mbo_fsid = fsid;
/freebsd-current/sys/fs/p9fs/
H A Dp9_protocol.h176 uint64_t fsid; /* file system id */ member in struct:p9_statfs
H A Dp9_client.c1085 &stat->bavail, &stat->files, &stat->ffree, &stat->fsid,
1093 "fsid %ju namelen %ju\n",
1098 (uintmax_t)stat->fsid, (uintmax_t)stat->namelen);
/freebsd-current/contrib/tcpdump/
H A Dprint-nfs.c851 my_fsid fsid; local
881 Parse_fh(ndo, (const u_char *)dp, len, &fsid, &ino, NULL, &sfsname, 0);
902 fsid.Fsid_dev.Major, fsid.Fsid_dev.Minor);
905 if(fsid.Fsid_dev.Minor == 257)
907 ND_PRINT("%s", fsid.Opaque_Handle);
1156 ND_PRINT(" fsid %" PRIx64,
1171 ND_PRINT(" nlink %u rdev 0x%x fsid 0x%x nodeid 0x%x a/m/ctime",
/freebsd-current/contrib/openbsm/bsm/
H A Dlibbsm.h231 u_int32_t fsid; member in struct:__anon5836
240 u_int32_t fsid; member in struct:__anon5837
/freebsd-current/contrib/lib9p/
H A Dfcall.h287 uint64_t fsid; /* file system identifier */ member in struct:l9p_statfs
/freebsd-current/include/rpcsvc/
H A Dnfs_prot.x120 unsigned fsid; /* device # */
400 uint64 fsid; /* device # */
/freebsd-current/sys/kern/
H A Dvfs_subr.c941 vfs_getvfs(fsid_t *fsid) argument
945 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid);
948 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) {
955 CTR2(KTR_VFS, "%s: lookup failed for %p id", __func__, fsid);
970 vfs_busyfs(fsid_t *fsid) argument
979 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid);
980 hash = fsid->val[0] ^ fsid
6452 vfs_event_signal(fsid_t *fsid, uint32_t event, intptr_t data __unused) argument
[all...]
H A Dvfs_mount.c1385 if (vfs_getopt(*optlist, "fsid", (void **)&fsid_up,
1395 vfs_deleteopt(*optlist, "fsid");
1728 fsid_t fsid; local
1748 if (sscanf(fsidbuf, "FSID:%d:%d", &fsid.val[0], &fsid.val[1]) != 2) {
1753 mp = vfs_getvfs(&fsid);
2983 sbuf_cat(&sb, "\" fsid=0x");
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c1103 uint64_t fsid = dmu_objset_fsid_guid(zfsvfs->z_os); local
1139 statp->f_fsid.val[0] = (uint32_t)fsid;
1140 statp->f_fsid.val[1] = (uint32_t)(fsid >> 32);
/freebsd-current/usr.sbin/mountd/
H A Dmountd.c1678 "fsid mismatch");
2281 * Compare old and current exportlist entries for the fsid and return 0
2497 ex_search(fsid_t *fsid, struct exportlisthead *exhp) argument
2502 i = EXPHASH(fsid);
2504 if (fsidcmp(&ep->ex_fs, fsid) == 0)
/freebsd-current/lib/libprocstat/
H A Dlibprocstat.c1383 uint64_t fsid; local
1397 fsid = kve->kve_vn_fsid;
1407 fsid = kif->kf_un.kf_file.kf_file_fsid;
1442 vn->vn_fsid = fsid;
/freebsd-current/usr.bin/truss/
H A Dsyscalls.c2212 char fsid[17]; local
2214 bzero(fsid, sizeof(fsid));
2217 snprintf(&fsid[i*2],
2218 sizeof(fsid) - (i*2), "%02x",
2223 "fsid=%s }", buf.f_fstypename, buf.f_mntonname,
2224 buf.f_mntfromname, fsid);
/freebsd-current/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");

Completed in 203 milliseconds

12