Lines Matching defs:fsinfo
1184 struct btrfs_ioctl_fs_info_args fsinfo;
1188 if (ioctl(pfd, BTRFS_IOC_FS_INFO, &fsinfo))
1192 if (fsinfo.num_devices != 1)
1197 devinfo.devid = fsinfo.max_id;
1210 if (memcmp(sb2.fsid, fsinfo.fsid, sizeof fsinfo.fsid))
1222 if (memcmp(sb2.dev_item.fsid, fsinfo.fsid, sizeof fsinfo.fsid))
1231 struct btrfs_ioctl_fs_info_args fsinfo;
1241 if (ioctl(pfd, BTRFS_IOC_FS_INFO, &fsinfo))
1245 if (fsinfo.num_devices != 1)
1250 devinfo.devid = fsinfo.max_id;