Lines Matching refs:btrfs_dev_item
216 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
217 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64);
218 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
219 BTRFS_SETGET_FUNCS(device_io_align, struct btrfs_dev_item, io_align, 32);
220 BTRFS_SETGET_FUNCS(device_io_width, struct btrfs_dev_item, io_width, 32);
221 BTRFS_SETGET_FUNCS(device_start_offset, struct btrfs_dev_item,
223 BTRFS_SETGET_FUNCS(device_sector_size, struct btrfs_dev_item, sector_size, 32);
224 BTRFS_SETGET_FUNCS(device_id, struct btrfs_dev_item, devid, 64);
225 BTRFS_SETGET_FUNCS(device_group, struct btrfs_dev_item, dev_group, 32);
226 BTRFS_SETGET_FUNCS(device_seek_speed, struct btrfs_dev_item, seek_speed, 8);
227 BTRFS_SETGET_FUNCS(device_bandwidth, struct btrfs_dev_item, bandwidth, 8);
228 BTRFS_SETGET_FUNCS(device_generation, struct btrfs_dev_item, generation, 64);
230 BTRFS_SETGET_STACK_FUNCS(stack_device_type, struct btrfs_dev_item, type, 64);
231 BTRFS_SETGET_STACK_FUNCS(stack_device_total_bytes, struct btrfs_dev_item,
233 BTRFS_SETGET_STACK_FUNCS(stack_device_bytes_used, struct btrfs_dev_item,
235 BTRFS_SETGET_STACK_FUNCS(stack_device_io_align, struct btrfs_dev_item,
237 BTRFS_SETGET_STACK_FUNCS(stack_device_io_width, struct btrfs_dev_item,
239 BTRFS_SETGET_STACK_FUNCS(stack_device_sector_size, struct btrfs_dev_item,
241 BTRFS_SETGET_STACK_FUNCS(stack_device_id, struct btrfs_dev_item, devid, 64);
242 BTRFS_SETGET_STACK_FUNCS(stack_device_group, struct btrfs_dev_item,
244 BTRFS_SETGET_STACK_FUNCS(stack_device_seek_speed, struct btrfs_dev_item,
246 BTRFS_SETGET_STACK_FUNCS(stack_device_bandwidth, struct btrfs_dev_item,
248 BTRFS_SETGET_STACK_FUNCS(stack_device_generation, struct btrfs_dev_item,
251 static inline char *btrfs_device_uuid(struct btrfs_dev_item *d) in btrfs_device_uuid()
253 return (char *)d + offsetof(struct btrfs_dev_item, uuid); in btrfs_device_uuid()
256 static inline char *btrfs_device_fsid(struct btrfs_dev_item *d) in btrfs_device_fsid()
258 return (char *)d + offsetof(struct btrfs_dev_item, fsid); in btrfs_device_fsid()