• Home
  • Raw
  • Download

Lines Matching refs:disk

1949 					 struct btrfs_disk_key *disk)  in btrfs_disk_key_to_cpu()  argument
1951 cpu->offset = le64_to_cpu(disk->offset); in btrfs_disk_key_to_cpu()
1952 cpu->type = disk->type; in btrfs_disk_key_to_cpu()
1953 cpu->objectid = le64_to_cpu(disk->objectid); in btrfs_disk_key_to_cpu()
1956 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk, in btrfs_cpu_key_to_disk() argument
1959 disk->offset = cpu_to_le64(cpu->offset); in btrfs_cpu_key_to_disk()
1960 disk->type = cpu->type; in btrfs_cpu_key_to_disk()
1961 disk->objectid = cpu_to_le64(cpu->objectid); in btrfs_cpu_key_to_disk()
2199 struct btrfs_disk_balance_args *disk) in btrfs_disk_balance_args_to_cpu() argument
2203 cpu->profiles = le64_to_cpu(disk->profiles); in btrfs_disk_balance_args_to_cpu()
2204 cpu->usage = le64_to_cpu(disk->usage); in btrfs_disk_balance_args_to_cpu()
2205 cpu->devid = le64_to_cpu(disk->devid); in btrfs_disk_balance_args_to_cpu()
2206 cpu->pstart = le64_to_cpu(disk->pstart); in btrfs_disk_balance_args_to_cpu()
2207 cpu->pend = le64_to_cpu(disk->pend); in btrfs_disk_balance_args_to_cpu()
2208 cpu->vstart = le64_to_cpu(disk->vstart); in btrfs_disk_balance_args_to_cpu()
2209 cpu->vend = le64_to_cpu(disk->vend); in btrfs_disk_balance_args_to_cpu()
2210 cpu->target = le64_to_cpu(disk->target); in btrfs_disk_balance_args_to_cpu()
2211 cpu->flags = le64_to_cpu(disk->flags); in btrfs_disk_balance_args_to_cpu()
2212 cpu->limit = le64_to_cpu(disk->limit); in btrfs_disk_balance_args_to_cpu()
2213 cpu->stripes_min = le32_to_cpu(disk->stripes_min); in btrfs_disk_balance_args_to_cpu()
2214 cpu->stripes_max = le32_to_cpu(disk->stripes_max); in btrfs_disk_balance_args_to_cpu()
2218 btrfs_cpu_balance_args_to_disk(struct btrfs_disk_balance_args *disk, in btrfs_cpu_balance_args_to_disk() argument
2221 memset(disk, 0, sizeof(*disk)); in btrfs_cpu_balance_args_to_disk()
2223 disk->profiles = cpu_to_le64(cpu->profiles); in btrfs_cpu_balance_args_to_disk()
2224 disk->usage = cpu_to_le64(cpu->usage); in btrfs_cpu_balance_args_to_disk()
2225 disk->devid = cpu_to_le64(cpu->devid); in btrfs_cpu_balance_args_to_disk()
2226 disk->pstart = cpu_to_le64(cpu->pstart); in btrfs_cpu_balance_args_to_disk()
2227 disk->pend = cpu_to_le64(cpu->pend); in btrfs_cpu_balance_args_to_disk()
2228 disk->vstart = cpu_to_le64(cpu->vstart); in btrfs_cpu_balance_args_to_disk()
2229 disk->vend = cpu_to_le64(cpu->vend); in btrfs_cpu_balance_args_to_disk()
2230 disk->target = cpu_to_le64(cpu->target); in btrfs_cpu_balance_args_to_disk()
2231 disk->flags = cpu_to_le64(cpu->flags); in btrfs_cpu_balance_args_to_disk()
2232 disk->limit = cpu_to_le64(cpu->limit); in btrfs_cpu_balance_args_to_disk()
2233 disk->stripes_min = cpu_to_le32(cpu->stripes_min); in btrfs_cpu_balance_args_to_disk()
2234 disk->stripes_max = cpu_to_le32(cpu->stripes_max); in btrfs_cpu_balance_args_to_disk()