Lines Matching refs:inherit
286 btrfs_print_qgroup_inherit(struct btrfs_qgroup_inherit *inherit) in btrfs_print_qgroup_inherit() argument
289 prfl_btrfs(btrfs_qgroup_inherit_flags, inherit->flags, in btrfs_print_qgroup_inherit()
294 inherit->num_qgroups, inherit->num_ref_copies, in btrfs_print_qgroup_inherit()
295 inherit->num_excl_copies); in btrfs_print_qgroup_inherit()
297 inherit->lim.flags, in btrfs_print_qgroup_inherit()
302 inherit->lim.max_rfer, inherit->lim.max_excl, in btrfs_print_qgroup_inherit()
303 inherit->lim.rsv_rfer, inherit->lim.rsv_excl); in btrfs_print_qgroup_inherit()
307 for (i = 0; i < inherit->num_qgroups; i++) { in btrfs_print_qgroup_inherit()
310 printf("%" PRI__u64, inherit->qgroups[i]); in btrfs_print_qgroup_inherit()
448 struct btrfs_qgroup_inherit *inherit; in btrfs_test_subvol_ioctls() local
450 sizeof(*inherit) + n_qgroups * sizeof(inherit->qgroups[0]); in btrfs_test_subvol_ioctls()
451 inherit = tail_alloc(vol_args_v2.size); in btrfs_test_subvol_ioctls()
453 inherit->flags = 0x3; in btrfs_test_subvol_ioctls()
454 inherit->num_ref_copies = 0; in btrfs_test_subvol_ioctls()
455 inherit->num_excl_copies = 0; in btrfs_test_subvol_ioctls()
456 inherit->num_qgroups = n_qgroups; in btrfs_test_subvol_ioctls()
458 inherit->qgroups[i] = 1ULL << i; in btrfs_test_subvol_ioctls()
459 inherit->lim.flags = 0x7f; in btrfs_test_subvol_ioctls()
460 inherit->lim.max_rfer = u64val; in btrfs_test_subvol_ioctls()
461 inherit->lim.max_excl = u64val; in btrfs_test_subvol_ioctls()
462 inherit->lim.rsv_rfer = u64val; in btrfs_test_subvol_ioctls()
463 inherit->lim.rsv_excl = u64val; in btrfs_test_subvol_ioctls()
464 vol_args_v2.qgroup_inherit = inherit; in btrfs_test_subvol_ioctls()