unsigned long dev_discard_max_bytes(const char *sysfs_dir, struct device *dev) { return _dev_topology_attribute("queue/discard_max_bytes", sysfs_dir, dev); }
unsigned long dev_discard_granularity(const char *sysfs_dir, struct device *dev) { return _dev_topology_attribute("queue/discard_granularity", sysfs_dir, dev); }
unsigned long dev_alignment_offset(const char *sysfs_dir, struct device *dev) { return _dev_topology_attribute("alignment_offset", sysfs_dir, dev); }
unsigned long dev_optimal_io_size(const char *sysfs_dir, struct device *dev) { return _dev_topology_attribute("queue/optimal_io_size", sysfs_dir, dev); }
int dev_is_rotational(struct dev_types *dt, struct device *dev) { return (int) _dev_topology_attribute(dt, "queue/rotational", dev, 1UL); }
unsigned long dev_discard_granularity(struct dev_types *dt, struct device *dev) { return _dev_topology_attribute(dt, "queue/discard_granularity", dev, 0UL); }
unsigned long dev_discard_max_bytes(struct dev_types *dt, struct device *dev) { return _dev_topology_attribute(dt, "queue/discard_max_bytes", dev, 0UL); }
unsigned long dev_optimal_io_size(struct dev_types *dt, struct device *dev) { return _dev_topology_attribute(dt, "queue/optimal_io_size", dev, 0UL); }
unsigned long dev_alignment_offset(struct dev_types *dt, struct device *dev) { return _dev_topology_attribute(dt, "alignment_offset", dev, 0UL); }