Searched refs:sysfs_get_attr (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/hdparm-9.43/
H A Dgeom.c83 if (0 == sysfs_get_attr(fd, "size", "%llu", nsectors, NULL, 0))
112 if (sysfs_get_attr(fd, "md/level", "%s", buf, NULL, 0)
113 || sysfs_get_attr(fd, "md/raid_disks", "%u", &raid_disks, NULL, 0))
121 if (sysfs_get_attr(fd, member_path, "%llu", &member_offset, NULL, 0))
124 if (sysfs_get_attr(fd, member_path, "%s", buf, NULL, 0))
129 if (sysfs_get_attr(fd, member_path, "%llu", &member_start, NULL, 0))
161 if (0 == sysfs_get_attr(fd, "start", "%llu", &result, NULL, 0)
H A Dhdparm.h17 int sysfs_get_attr (int fd, const char *attr, const char *fmt, void *val1, void *val2, int verbose);
H A Dsysfs.c176 int sysfs_get_attr (int fd, const char *attr, const char *fmt, void *val1, void *val2, int verbose) function
H A Dhdparm.c1273 err = sysfs_get_attr(fd, "queue/max_sectors_kb", "%u", &max_kb, NULL, 0);
2075 err = sysfs_get_attr(fd, "device/queue_depth", "%u", &dma_q, NULL, 1);

Completed in 98 milliseconds