Lines Matching refs:btrfs_dev_item
236 struct btrfs_dev_item { struct
486 struct btrfs_dev_item dev_item;
2388 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
2389 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64);
2390 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
2391 BTRFS_SETGET_FUNCS(device_io_align, struct btrfs_dev_item, io_align, 32);
2392 BTRFS_SETGET_FUNCS(device_io_width, struct btrfs_dev_item, io_width, 32);
2393 BTRFS_SETGET_FUNCS(device_start_offset, struct btrfs_dev_item,
2395 BTRFS_SETGET_FUNCS(device_sector_size, struct btrfs_dev_item, sector_size, 32);
2396 BTRFS_SETGET_FUNCS(device_id, struct btrfs_dev_item, devid, 64);
2397 BTRFS_SETGET_FUNCS(device_group, struct btrfs_dev_item, dev_group, 32);
2398 BTRFS_SETGET_FUNCS(device_seek_speed, struct btrfs_dev_item, seek_speed, 8);
2399 BTRFS_SETGET_FUNCS(device_bandwidth, struct btrfs_dev_item, bandwidth, 8);
2400 BTRFS_SETGET_FUNCS(device_generation, struct btrfs_dev_item, generation, 64);
2402 BTRFS_SETGET_STACK_FUNCS(stack_device_type, struct btrfs_dev_item, type, 64);
2403 BTRFS_SETGET_STACK_FUNCS(stack_device_total_bytes, struct btrfs_dev_item,
2405 BTRFS_SETGET_STACK_FUNCS(stack_device_bytes_used, struct btrfs_dev_item,
2407 BTRFS_SETGET_STACK_FUNCS(stack_device_io_align, struct btrfs_dev_item,
2409 BTRFS_SETGET_STACK_FUNCS(stack_device_io_width, struct btrfs_dev_item,
2411 BTRFS_SETGET_STACK_FUNCS(stack_device_sector_size, struct btrfs_dev_item,
2413 BTRFS_SETGET_STACK_FUNCS(stack_device_id, struct btrfs_dev_item, devid, 64);
2414 BTRFS_SETGET_STACK_FUNCS(stack_device_group, struct btrfs_dev_item,
2416 BTRFS_SETGET_STACK_FUNCS(stack_device_seek_speed, struct btrfs_dev_item,
2418 BTRFS_SETGET_STACK_FUNCS(stack_device_bandwidth, struct btrfs_dev_item,
2420 BTRFS_SETGET_STACK_FUNCS(stack_device_generation, struct btrfs_dev_item,
2423 static inline unsigned long btrfs_device_uuid(struct btrfs_dev_item *d) in btrfs_device_uuid()
2425 return (unsigned long)d + offsetof(struct btrfs_dev_item, uuid); in btrfs_device_uuid()
2428 static inline unsigned long btrfs_device_fsid(struct btrfs_dev_item *d) in btrfs_device_fsid()
2430 return (unsigned long)d + offsetof(struct btrfs_dev_item, fsid); in btrfs_device_fsid()