Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac_veriexec/
H A Dveriexec_metadata.c53 dev_t fsid; /**< file system identifier of the mount point */ member
114 " files=%d\n", (uintmax_t)fileid, gen, (uintmax_t)fsid, in get_veriexec_file()
122 if (lp->fsid == fsid) in get_veriexec_file()
128 (uintmax_t)lp->fsid)); in get_veriexec_file()
189 sbuf_printf(sbp, " FS id: %ju\n", (uintmax_t)lp->fsid); in mac_veriexec_print_db_head()
259 if (lp->fsid == fsid) break; in free_veriexec_dev()
311 if (lp->fsid == fsid) break; in find_veriexec_dev()
342 lp->fsid = fsid; in find_veriexec_dev()
410 error = free_veriexec_dev(fsid, &veriexec_dev_head); in mac_veriexec_metadata_unmounted()
626 lp = find_veriexec_dev(fsid, head); in mac_veriexec_metadata_add_file()
[all …]
H A Dmac_veriexec_internal.h79 int mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid,
82 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.h154 int mac_veriexec_metadata_add_file(int file_dev, dev_t fsid, long fileid,
158 int mac_veriexec_metadata_has_file(dev_t fsid, long fileid,
H A Dmac_veriexec.c218 dev_t fsid; in mac_veriexec_vfs_unmounted() local
220 fsid = SLOT(mp->mnt_label); in mac_veriexec_vfs_unmounted()
221 if (fsid) { in mac_veriexec_vfs_unmounted()
223 (uintmax_t)fsid); in mac_veriexec_vfs_unmounted()
224 mac_veriexec_metadata_unmounted(fsid, td); in mac_veriexec_vfs_unmounted()
/f-stack/freebsd/kern/
H A Dvfs_subr.c837 vfs_getvfs(fsid_t *fsid) in vfs_getvfs() argument
841 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid); in vfs_getvfs()
844 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) { in vfs_getvfs()
851 CTR2(KTR_VFS, "%s: lookup failed for %p id", __func__, fsid); in vfs_getvfs()
866 vfs_busyfs(fsid_t *fsid) in vfs_busyfs() argument
875 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid); in vfs_busyfs()
876 hash = fsid->val[0] ^ fsid->val[1]; in vfs_busyfs()
879 if (mp == NULL || fsidcmp(&mp->mnt_stat.f_fsid, fsid) != 0) in vfs_busyfs()
885 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) in vfs_busyfs()
893 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) { in vfs_busyfs()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c1103 uint64_t fsid = dmu_objset_fsid_guid(zfsvfs->z_os); in zfs_statvfs() local
1139 statp->f_fsid.val[0] = (uint32_t)fsid; in zfs_statvfs()
1140 statp->f_fsid.val[1] = (uint32_t)(fsid >> 32); in zfs_statvfs()
/f-stack/freebsd/sys/
H A Dmount.h53 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ struct