Home
last modified time | relevance | path

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

12

/freebsd/sys/security/mac_veriexec/
H A Dveriexec_metadata.c56 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 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.c228 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 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. */ 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 Dautounmountd.c61 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 Dautomount.c231 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 Dhammer.c63 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 Dhammer2_disk.h1011 * NOTE: We can't use {volume_data->fsid, pfs_clid} to uniquely
1244 uuid_t fsid; /* 0040 */ member
/freebsd/usr.bin/fstat/
H A Dfuser.c93 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 Dfstat.c73 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 Dugidfw.c785 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 Dprint-nfs.c859 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 Dp9_protocol.h176 uint64_t fsid; /* file system id */ member
H A Dp9_client.c1106 &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 Dlibbsm.h231 u_int32_t fsid; member
240 u_int32_t fsid; member
/freebsd/include/rpcsvc/
H A Dnfs_prot.x120 unsigned fsid; /* device # */ member
400 uint64 fsid; /* device # */ member
/freebsd/sys/kern/
H A Dvfs_subr.c981 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 Dvfs_mount.c1728 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 Dfcall.h287 uint64_t fsid; /* file system identifier */ member
/freebsd/usr.bin/truss/
H A Dsyscalls.c2212 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 Dzfs_vfsops.c1115 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 Dlibprocstat.c1383 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 Dbsm_io.c1676 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 Dmount.h51 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ struct

12