Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dbtrfs-util.c1047 struct btrfs_ioctl_vol_args vol_args = {}; in subvol_remove_children() local
1086 strncpy(vol_args.name, subvolume, sizeof(vol_args.name)-1); in subvol_remove_children()
1087 if (ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &vol_args) >= 0) { in subvol_remove_children()
1171 if (ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &vol_args) < 0) in subvol_remove_children()
1409 struct btrfs_ioctl_vol_args_v2 vol_args = { in subvol_snapshot_children() local
1421 strncpy(vol_args.name, subvolume, sizeof(vol_args.name)-1); in subvol_snapshot_children()
1423 if (ioctl(new_fd, BTRFS_IOC_SNAP_CREATE_V2, &vol_args) < 0) in subvol_snapshot_children()
1436 r = btrfs_subvol_get_id(new_fd, vol_args.name, &new_subvol_id); in subvol_snapshot_children()