Home
last modified time | relevance | path

Searched refs:fsinfo (Results 1 – 4 of 4) sorted by relevance

/third_party/FreeBSD/sbin/fsck_msdosfs/
Dboot.c51 u_char fsinfo[2 * DOSBOOTBLOCKSIZE]; in readboot() local
204 || read(dosfs, fsinfo, sizeof fsinfo) != sizeof fsinfo) { in readboot()
208 if (memcmp(fsinfo, "RRaA", 4) in readboot()
209 || memcmp(fsinfo + 0x1e4, "rrAa", 4) in readboot()
210 || fsinfo[0x1fc] in readboot()
211 || fsinfo[0x1fd] in readboot()
212 || fsinfo[0x1fe] != 0x55 in readboot()
213 || fsinfo[0x1ff] != 0xaa in readboot()
214 || fsinfo[0x3fc] in readboot()
215 || fsinfo[0x3fd] in readboot()
[all …]
/third_party/e2fsprogs/misc/
Dfilefrag.c418 static struct statfs fsinfo; local
453 if (fstatfs(fd, &fsinfo) < 0) {
459 blksize = fsinfo.f_bsize;
462 (unsigned long)fsinfo.f_type);
465 if (fsinfo.f_type == 0xef51 || fsinfo.f_type == 0xef52 ||
466 fsinfo.f_type == 0xef53) {
475 long cylgroups = div_ceil(fsinfo.f_blocks, blksize * 8);
482 (fsinfo.f_files / 8 / cylgroups) - 3;
486 width = ulong_log10(fsinfo.f_blocks);
/third_party/NuttX/fs/nfs/
Drpc.h510 struct nfsv3_fsinfo fsinfo; member
Dnfs_adapter.c2766 struct rpc_call_fs fsinfo; in nfs_fsinfo() local
2773 fsinfo.fs.fsroot.length = txdr_unsigned(nmp->nm_fhsize); in nfs_fsinfo()
2774 fsinfo.fs.fsroot.handle = nmp->nm_fh; in nfs_fsinfo()
2780 (void *)&fsinfo, sizeof(struct FS3args), in nfs_fsinfo()
2787 if (txdr_unsigned(fsp.fsinfo.obj_attributes.obj_attribute_follow) == 1) in nfs_fsinfo()
2789 rep_info = (struct nfs_fsinfo *)&fsp.fsinfo.fs_rtmax; in nfs_fsinfo()
2793 rep_info = (struct nfs_fsinfo *)((void *)(&fsp.fsinfo.obj_attributes.attributes)); in nfs_fsinfo()