• Home
  • Raw
  • Download

Lines Matching refs:cpu

1838 static inline void btrfs_disk_key_to_cpu(struct btrfs_key *cpu,  in btrfs_disk_key_to_cpu()  argument
1841 cpu->offset = le64_to_cpu(disk->offset); in btrfs_disk_key_to_cpu()
1842 cpu->type = disk->type; in btrfs_disk_key_to_cpu()
1843 cpu->objectid = le64_to_cpu(disk->objectid); in btrfs_disk_key_to_cpu()
1847 const struct btrfs_key *cpu) in btrfs_cpu_key_to_disk() argument
1849 disk->offset = cpu_to_le64(cpu->offset); in btrfs_cpu_key_to_disk()
1850 disk->type = cpu->type; in btrfs_cpu_key_to_disk()
1851 disk->objectid = cpu_to_le64(cpu->objectid); in btrfs_cpu_key_to_disk()
2075 btrfs_disk_balance_args_to_cpu(struct btrfs_balance_args *cpu, in btrfs_disk_balance_args_to_cpu() argument
2078 memset(cpu, 0, sizeof(*cpu)); in btrfs_disk_balance_args_to_cpu()
2080 cpu->profiles = le64_to_cpu(disk->profiles); in btrfs_disk_balance_args_to_cpu()
2081 cpu->usage = le64_to_cpu(disk->usage); in btrfs_disk_balance_args_to_cpu()
2082 cpu->devid = le64_to_cpu(disk->devid); in btrfs_disk_balance_args_to_cpu()
2083 cpu->pstart = le64_to_cpu(disk->pstart); in btrfs_disk_balance_args_to_cpu()
2084 cpu->pend = le64_to_cpu(disk->pend); in btrfs_disk_balance_args_to_cpu()
2085 cpu->vstart = le64_to_cpu(disk->vstart); in btrfs_disk_balance_args_to_cpu()
2086 cpu->vend = le64_to_cpu(disk->vend); in btrfs_disk_balance_args_to_cpu()
2087 cpu->target = le64_to_cpu(disk->target); in btrfs_disk_balance_args_to_cpu()
2088 cpu->flags = le64_to_cpu(disk->flags); in btrfs_disk_balance_args_to_cpu()
2089 cpu->limit = le64_to_cpu(disk->limit); in btrfs_disk_balance_args_to_cpu()
2090 cpu->stripes_min = le32_to_cpu(disk->stripes_min); in btrfs_disk_balance_args_to_cpu()
2091 cpu->stripes_max = le32_to_cpu(disk->stripes_max); in btrfs_disk_balance_args_to_cpu()
2096 const struct btrfs_balance_args *cpu) in btrfs_cpu_balance_args_to_disk() argument
2100 disk->profiles = cpu_to_le64(cpu->profiles); in btrfs_cpu_balance_args_to_disk()
2101 disk->usage = cpu_to_le64(cpu->usage); in btrfs_cpu_balance_args_to_disk()
2102 disk->devid = cpu_to_le64(cpu->devid); in btrfs_cpu_balance_args_to_disk()
2103 disk->pstart = cpu_to_le64(cpu->pstart); in btrfs_cpu_balance_args_to_disk()
2104 disk->pend = cpu_to_le64(cpu->pend); in btrfs_cpu_balance_args_to_disk()
2105 disk->vstart = cpu_to_le64(cpu->vstart); in btrfs_cpu_balance_args_to_disk()
2106 disk->vend = cpu_to_le64(cpu->vend); in btrfs_cpu_balance_args_to_disk()
2107 disk->target = cpu_to_le64(cpu->target); in btrfs_cpu_balance_args_to_disk()
2108 disk->flags = cpu_to_le64(cpu->flags); in btrfs_cpu_balance_args_to_disk()
2109 disk->limit = cpu_to_le64(cpu->limit); in btrfs_cpu_balance_args_to_disk()
2110 disk->stripes_min = cpu_to_le32(cpu->stripes_min); in btrfs_cpu_balance_args_to_disk()
2111 disk->stripes_max = cpu_to_le32(cpu->stripes_max); in btrfs_cpu_balance_args_to_disk()