Lines Matching refs:snprintf
68 return snprintf(buf, PAGE_SIZE, "%llu\n", in dirty_segments_show()
81 return snprintf(buf, PAGE_SIZE, "%llu\n", in unusable_show()
90 return snprintf(buf, PAGE_SIZE, "%s (%d.%d.%d)\n", in encoding_show()
96 return snprintf(buf, PAGE_SIZE, "(none)"); in encoding_show()
105 return snprintf(buf, PAGE_SIZE, "0\n"); in lifetime_write_kbytes_show()
107 return snprintf(buf, PAGE_SIZE, "%llu\n", in lifetime_write_kbytes_show()
119 return snprintf(buf, PAGE_SIZE, "0\n"); in features_show()
122 len += snprintf(buf, PAGE_SIZE - len, "%s", in features_show()
125 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
128 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
131 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
134 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
137 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
140 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
143 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
146 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
149 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
152 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
155 len += snprintf(buf + len, PAGE_SIZE - len, "%s%s", in features_show()
157 len += snprintf(buf + len, PAGE_SIZE - len, "\n"); in features_show()
164 return snprintf(buf, PAGE_SIZE, "%u\n", sbi->current_reserved_blocks); in current_reserved_blocks_show()
184 len += snprintf(buf + len, PAGE_SIZE - len, in f2fs_sbi_show()
187 len += snprintf(buf + len, PAGE_SIZE - len, "%s\n", in f2fs_sbi_show()
190 len += snprintf(buf + len, PAGE_SIZE - len, in f2fs_sbi_show()
193 len += snprintf(buf + len, PAGE_SIZE - len, "%s\n", in f2fs_sbi_show()
200 return snprintf(buf, PAGE_SIZE, "%u\n", *ui); in f2fs_sbi_show()
409 return snprintf(buf, PAGE_SIZE, "supported\n"); in f2fs_feature_show()