Lines Matching refs:ret
65 int ret; in vol_attribute_show() local
84 ret = sprintf(buf, "%d\n", vol->reserved_pebs); in vol_attribute_show()
92 ret = sprintf(buf, "%s\n", tp); in vol_attribute_show()
94 ret = sprintf(buf, "%s\n", vol->name); in vol_attribute_show()
96 ret = sprintf(buf, "%d\n", vol->corrupted); in vol_attribute_show()
98 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show()
100 ret = sprintf(buf, "%d\n", vol->usable_leb_size); in vol_attribute_show()
102 ret = sprintf(buf, "%lld\n", vol->used_bytes); in vol_attribute_show()
104 ret = sprintf(buf, "%d\n", vol->upd_marker); in vol_attribute_show()
107 ret = -EINVAL; in vol_attribute_show()
115 return ret; in vol_attribute_show()