Lines Matching refs:btrfs_dev_item
236 struct btrfs_dev_item { struct
486 struct btrfs_dev_item dev_item;
2344 BTRFS_SETGET_FUNCS(device_type, struct btrfs_dev_item, type, 64);
2345 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64);
2346 BTRFS_SETGET_FUNCS(device_bytes_used, struct btrfs_dev_item, bytes_used, 64);
2347 BTRFS_SETGET_FUNCS(device_io_align, struct btrfs_dev_item, io_align, 32);
2348 BTRFS_SETGET_FUNCS(device_io_width, struct btrfs_dev_item, io_width, 32);
2349 BTRFS_SETGET_FUNCS(device_start_offset, struct btrfs_dev_item,
2351 BTRFS_SETGET_FUNCS(device_sector_size, struct btrfs_dev_item, sector_size, 32);
2352 BTRFS_SETGET_FUNCS(device_id, struct btrfs_dev_item, devid, 64);
2353 BTRFS_SETGET_FUNCS(device_group, struct btrfs_dev_item, dev_group, 32);
2354 BTRFS_SETGET_FUNCS(device_seek_speed, struct btrfs_dev_item, seek_speed, 8);
2355 BTRFS_SETGET_FUNCS(device_bandwidth, struct btrfs_dev_item, bandwidth, 8);
2356 BTRFS_SETGET_FUNCS(device_generation, struct btrfs_dev_item, generation, 64);
2358 BTRFS_SETGET_STACK_FUNCS(stack_device_type, struct btrfs_dev_item, type, 64);
2359 BTRFS_SETGET_STACK_FUNCS(stack_device_total_bytes, struct btrfs_dev_item,
2361 BTRFS_SETGET_STACK_FUNCS(stack_device_bytes_used, struct btrfs_dev_item,
2363 BTRFS_SETGET_STACK_FUNCS(stack_device_io_align, struct btrfs_dev_item,
2365 BTRFS_SETGET_STACK_FUNCS(stack_device_io_width, struct btrfs_dev_item,
2367 BTRFS_SETGET_STACK_FUNCS(stack_device_sector_size, struct btrfs_dev_item,
2369 BTRFS_SETGET_STACK_FUNCS(stack_device_id, struct btrfs_dev_item, devid, 64);
2370 BTRFS_SETGET_STACK_FUNCS(stack_device_group, struct btrfs_dev_item,
2372 BTRFS_SETGET_STACK_FUNCS(stack_device_seek_speed, struct btrfs_dev_item,
2374 BTRFS_SETGET_STACK_FUNCS(stack_device_bandwidth, struct btrfs_dev_item,
2376 BTRFS_SETGET_STACK_FUNCS(stack_device_generation, struct btrfs_dev_item,
2379 static inline unsigned long btrfs_device_uuid(struct btrfs_dev_item *d) in btrfs_device_uuid()
2381 return (unsigned long)d + offsetof(struct btrfs_dev_item, uuid); in btrfs_device_uuid()
2384 static inline unsigned long btrfs_device_fsid(struct btrfs_dev_item *d) in btrfs_device_fsid()
2386 return (unsigned long)d + offsetof(struct btrfs_dev_item, fsid); in btrfs_device_fsid()