/freebsd/sys/security/mac_veriexec/ |
H A D | veriexec_metadata.c | 56 dev_t fsid; /**< file system identifier of the mount point */ member 104 get_veriexec_file(struct veriexec_devhead *head, dev_t fsid, long fileid, in get_veriexec_file() argument 117 " files=%d\n", (uintmax_t)fileid, gen, (uintmax_t)fsid, in get_veriexec_file() 125 if (lp->fsid == fsid) in get_veriexec_file() 131 (uintmax_t)lp->fsid)); in get_veriexec_file() 192 sbuf_printf(sbp, " FS id: %ju\n", (uintmax_t)lp->fsid); in mac_veriexec_print_db_head() 233 mac_veriexec_metadata_has_file(dev_t fsid, long fileid, unsigned long gen) in mac_veriexec_metadata_has_file() argument 236 return (mac_veriexec_metadata_get_file_info(fsid, fileid, gen, NULL, in mac_veriexec_metadata_has_file() 254 free_veriexec_dev(dev_t fsid, struct veriexec_devhead *head) in free_veriexec_dev() argument 262 if (lp->fsid == fsid) break; in free_veriexec_dev() [all …]
|
H A D | mac_veriexec_internal.h | 79 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 D | mac_veriexec.h | 177 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 D | mac_veriexec.c | 228 dev_t fsid; in mac_veriexec_vfs_unmounted() local 230 fsid = SLOT(mp->mnt_label); in mac_veriexec_vfs_unmounted() 231 if (fsid) { in mac_veriexec_vfs_unmounted() 233 (uintmax_t)fsid); in mac_veriexec_vfs_unmounted() 234 mac_veriexec_metadata_unmounted(fsid, td); in mac_veriexec_vfs_unmounted()
|
/freebsd/sbin/umount/ |
H A D | umount.c | 72 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. */ in umountfs() 486 getmntentry(const char *fromname, const char *onname, fsid_t *fsid, dowhat what) in getmntentry() argument 518 if (fsid != NULL && fsidcmp(&sfs->f_fsid, fsid) != 0) in getmntentry() 596 fsid_t fsid; in checkmntlist() local 599 if (parsehexfsid(mntname, &fsid) == 0) in checkmntlist() 600 sfs = getmntentry(NULL, NULL, &fsid, FIN in checkmntlist() 631 parsehexfsid(const char * hex,fsid_t * fsid) parsehexfsid() argument [all...] |
/freebsd/usr.sbin/autofs/ |
H A D | autounmountd.c | 61 automounted_find(fsid_t fsid) in automounted_find() argument 66 if (fsidcmp(&af->af_fsid, &fsid) == 0) in automounted_find() 74 automounted_add(fsid_t fsid, const char *mountpoint) in automounted_add() argument 82 af->af_fsid = fsid; in automounted_add() 152 unmount_by_fsid(const fsid_t fsid, const char *mountpoint) in unmount_by_fsid() argument 157 ret = asprintf(&fsid_str, "FSID:%d:%d", fsid.val[0], fsid.val[1]); in unmount_by_fsid()
|
H A D | automount.c | 231 flush_autofs(const char *fspath, const fsid_t *fsid) in flush_autofs() argument 245 __DECONST(void *, fsid), sizeof(*fsid)); in flush_autofs()
|
/freebsd/usr.sbin/fstyp/ |
H A D | hammer.c | 63 static hammer_uuid_t fsid, fstype; in test_ondisk() local 79 memcpy(&fsid, &ondisk->vol_fsid, sizeof(fsid)); in test_ondisk() 85 if (memcmp(&ondisk->vol_fsid, &fsid, sizeof(fsid))) in test_ondisk()
|
H A D | hammer2_disk.h | 1011 * NOTE: We can't use {volume_data->fsid, pfs_clid} to uniquely 1244 uuid_t fsid; /* 0040 */ member
|
/freebsd/usr.bin/fstat/ |
H A D | fuser.c | 93 dev_t fsid; member 154 reqfile->fsid = sb.st_dev; in addfile() 304 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) { in dofiles() 307 else if (reqfiles[i].fsid == vn.vn_fsid && in dofiles()
|
H A D | fstat.c | 73 uint64_t fsid; member 253 if (d->fsid == vn.vn_fsid) { in print_file_info() 632 cur->fsid = statbuf.st_dev; in getfname()
|
/freebsd/lib/libugidfw/ |
H A D | ugidfw.c | 785 bsde_parse_fsid(char *spec, struct fsid *fsid, size_t buflen, char *errstr) in bsde_parse_fsid() argument 795 *fsid = buf.f_fsid; in bsde_parse_fsid() 809 struct fsid fsid; in bsde_parse_object() local 869 if (bsde_parse_fsid(argv[current+1], &fsid, in bsde_parse_object() 953 object->mbo_fsid = fsid; in bsde_parse_object()
|
/freebsd/contrib/tcpdump/ |
H A D | print-nfs.c | 859 my_fsid fsid; in nfs_printfh() local 889 Parse_fh(ndo, (const u_char *)dp, len, &fsid, &ino, NULL, &sfsname, 0); in nfs_printfh() 912 fsid.Fsid_dev.Major, fsid.Fsid_dev.Minor); in nfs_printfh() 915 if(fsid.Fsid_dev.Minor == UINT_MAX && fsid.Fsid_dev.Major == UINT_MAX) in nfs_printfh() 917 fn_print_str(ndo, (const u_char *)fsid.Opaque_Handle); in nfs_printfh()
|
/freebsd/sys/fs/p9fs/ |
H A D | p9_protocol.h | 176 uint64_t fsid; /* file system id */ member
|
H A D | p9_client.c | 1106 &stat->bavail, &stat->files, &stat->ffree, &stat->fsid, in p9_client_statfs() 1119 (uintmax_t)stat->fsid, (uintmax_t)stat->namelen); in p9_client_statfs()
|
/freebsd/contrib/openbsm/bsm/ |
H A D | libbsm.h | 231 u_int32_t fsid; member 240 u_int32_t fsid; member
|
/freebsd/include/rpcsvc/ |
H A D | nfs_prot.x | 120 unsigned fsid; /* device # */ member 400 uint64 fsid; /* device # */ member
|
/freebsd/sys/kern/ |
H A D | vfs_subr.c | 981 vfs_getvfs(fsid_t *fsid) in vfs_getvfs() argument 985 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid); in vfs_getvfs() 988 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) { in vfs_getvfs() 995 CTR2(KTR_VFS, "%s: lookup failed for %p id", __func__, fsid); in vfs_getvfs() 1010 vfs_busyfs(fsid_t *fsid) in vfs_busyfs() argument 1019 CTR2(KTR_VFS, "%s: fsid %p", __func__, fsid); in vfs_busyfs() 1020 hash = fsid->val[0] ^ fsid->val[1]; in vfs_busyfs() 1023 if (mp == NULL || fsidcmp(&mp->mnt_stat.f_fsid, fsid) != 0) in vfs_busyfs() 1029 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) in vfs_busyfs() 1037 if (fsidcmp(&mp->mnt_stat.f_fsid, fsid) == 0) { in vfs_busyfs() [all …]
|
H A D | vfs_mount.c | 1728 fsid_t fsid; in kern_unmount() local 1748 if (sscanf(fsidbuf, "FSID:%d:%d", &fsid.val[0], &fsid.val[1]) != 2) { in kern_unmount() 1753 mp = vfs_getvfs(&fsid); in kern_unmount()
|
/freebsd/contrib/lib9p/ |
H A D | fcall.h | 287 uint64_t fsid; /* file system identifier */ member
|
/freebsd/usr.bin/truss/ |
H A D | syscalls.c | 2212 char fsid[17]; in print_arg() local 2214 bzero(fsid, sizeof(fsid)); in print_arg() 2217 snprintf(&fsid[i*2], in print_arg() 2218 sizeof(fsid) - (i*2), "%02x", in print_arg() 2224 buf.f_mntfromname, fsid); in print_arg()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_vfsops.c | 1115 uint64_t fsid = dmu_objset_fsid_guid(zfsvfs->z_os); in zfs_statvfs() local 1151 statp->f_fsid.val[0] = (uint32_t)fsid; in zfs_statvfs() 1152 statp->f_fsid.val[1] = (uint32_t)(fsid >> 32); in zfs_statvfs()
|
/freebsd/lib/libprocstat/ |
H A D | libprocstat.c | 1383 uint64_t fsid; in procstat_get_vnode_info_sysctl() local 1397 fsid = kve->kve_vn_fsid; in procstat_get_vnode_info_sysctl() 1407 fsid = kif->kf_un.kf_file.kf_file_fsid; in procstat_get_vnode_info_sysctl() 1442 vn->vn_fsid = fsid; in procstat_get_vnode_info_sysctl()
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_io.c | 1676 READ_TOKEN_U_INT32(buf, len, tok->tt.attr32.fsid, tok->len, err); in fetch_attr32_tok() 1707 print_4_bytes(fp, tok->tt.attr32.fsid, "%u"); in print_attr32_tok() 1724 print_4_bytes(fp, tok->tt.attr32.fsid, "%u"); in print_attr32_tok() 1757 READ_TOKEN_U_INT32(buf, len, tok->tt.attr64.fsid, tok->len, err); in fetch_attr64_tok() 1788 print_4_bytes(fp, tok->tt.attr64.fsid, "%u"); in print_attr64_tok() 1805 print_4_bytes(fp, tok->tt.attr64.fsid, "%u"); in print_attr64_tok()
|
/freebsd/sys/sys/ |
H A D | mount.h | 51 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ struct
|