| /fs/bcachefs/ |
| A D | printbuf.c | 38 if (out->pos + extra <= out->size) in bch2_printbuf_make_room() 74 out->pos += min(len, printbuf_remaining(out)); in printbuf_advance_pos() 89 memset(out->buf + pos, ' ', min(nr, out->size - pos)); in printbuf_insert_spaces() 116 printbuf_insert_spaces(out, pos, out->indent); in __printbuf_do_indent() 118 pos = min(pos + out->indent, out->pos); in __printbuf_do_indent() 124 --out->pos; in __printbuf_do_indent() 127 printbuf_insert_spaces(out, out->last_field, pad); in __printbuf_do_indent() 166 len = vsnprintf(out->buf + out->pos, printbuf_remaining_size(out), fmt, args2); in bch2_prt_vprintf() 183 len = vsnprintf(out->buf + out->pos, printbuf_remaining_size(out), fmt, args); in bch2_prt_printf() 358 out->last_field = out->pos; in __prt_tab() [all …]
|
| A D | printbuf.h | 156 if (WARN_ON(out->size && out->pos >= out->size)) in DEFINE_CLASS() 157 out->pos = out->size - 1; in DEFINE_CLASS() 158 return out->size - out->pos; in DEFINE_CLASS() 167 return out->size ? printbuf_remaining_size(out) - 1 : 0; in printbuf_remaining() 172 return out->size ? min(out->pos, out->size - 1) : 0; in printbuf_written() 177 if (WARN_ON(out->size && out->pos >= out->size)) in printbuf_nul_terminate_reserved() 178 out->pos = out->size - 1; in printbuf_nul_terminate_reserved() 180 out->buf[out->pos] = 0; in printbuf_nul_terminate_reserved() 193 out->buf[out->pos++] = c; in __prt_char_reserved() 215 out->buf[out->pos++] = c; in __prt_chars_reserved() [all …]
|
| A D | sysfs.c | 67 if (out.pos && out.buf[out.pos - 1] != '\n') \ 68 prt_newline(&out); \ 247 prt_str(out, "type"); in bch2_compression_stats_to_text() 266 prt_tab(out); in bch2_compression_stats_to_text() 269 prt_tab_rjust(out); in bch2_compression_stats_to_text() 272 prt_tab_rjust(out); in bch2_compression_stats_to_text() 277 prt_tab_rjust(out); in bch2_compression_stats_to_text() 278 prt_newline(out); in bch2_compression_stats_to_text() 287 prt_printf(out, ": "); in bch2_gc_gens_pos_to_text() 289 prt_printf(out, "\n"); in bch2_gc_gens_pos_to_text() [all …]
|
| A D | super-io.c | 84 goto out; in bch2_set_version_incompat() 98 out: in bch2_set_version_incompat() 931 out: in __bch2_read_super() 939 goto out; in __bch2_read_super() 1054 goto out; in bch2_write_super() 1092 goto out; in bch2_write_super() 1097 goto out; in bch2_write_super() 1104 goto out; in bch2_write_super() 1116 goto out; in bch2_write_super() 1169 goto out; in bch2_write_super() [all …]
|
| A D | util.c | 374 prt_newline(out); in pr_name_and_units() 404 printbuf_tabstop_push(out, out->indent + TABSTOP_SIZE); in bch2_time_stats_to_text() 410 printbuf_tabstop_push(out, out->indent + 20); in bch2_time_stats_to_text() 418 printbuf_tabstop_push(out, out->indent + 20); in bch2_time_stats_to_text() 432 prt_tab(out); in bch2_time_stats_to_text() 434 prt_newline(out); in bch2_time_stats_to_text() 438 prt_tab(out); in bch2_time_stats_to_text() 442 prt_newline(out); in bch2_time_stats_to_text() 452 prt_tab(out); in bch2_time_stats_to_text() 454 prt_newline(out); in bch2_time_stats_to_text() [all …]
|
| A D | sb-members.c | 230 prt_newline(out); in member_to_text() 234 prt_newline(out); in member_to_text() 238 prt_newline(out); in member_to_text() 248 prt_newline(out); in member_to_text() 258 prt_newline(out); in member_to_text() 272 prt_newline(out); in member_to_text() 279 prt_newline(out); in member_to_text() 286 prt_newline(out); in member_to_text() 290 prt_newline(out); in member_to_text() 428 prt_newline(out); in bch2_dev_io_errors_to_text() [all …]
|
| A D | error.c | 148 goto out; in bch2_io_error_work() 164 out: in bch2_io_error_work() 312 prt_str(out, "ing"); in prt_actioning() 492 if (out->buf[out->pos - 1] == '?') { in __bch2_fsck_err() 495 out->pos = p - out->buf; in __bch2_fsck_err() 517 prt_str(out, ", "); in __bch2_fsck_err() 537 prt_str(out, ", "); in __bch2_fsck_err() 570 prt_str(out, ", "); in __bch2_fsck_err() 600 prt_newline(out); in __bch2_fsck_err() 611 while (out->pos && out->buf[out->pos - 1] == ' ') in __bch2_fsck_err() [all …]
|
| A D | sb-errors.c | 68 prt_tab(out); in bch2_sb_errors_to_text() 70 prt_tab(out); in bch2_sb_errors_to_text() 72 prt_newline(out); in bch2_sb_errors_to_text() 83 if (out->nr_tabstops < 1) in bch2_fs_errors_to_text() 95 prt_tab(out); in bch2_fs_errors_to_text() 96 prt_u64(out, i->nr); in bch2_fs_errors_to_text() 97 prt_tab(out); in bch2_fs_errors_to_text() 99 prt_newline(out); in bch2_fs_errors_to_text() 118 goto out; in bch2_sb_error_count() 125 goto out; in bch2_sb_error_count() [all …]
|
| A D | bkey_sort.c | 109 bkey_p_copy(out, k); in bch2_key_sort_fix_overlapping() 111 out = bkey_p_next(out); in bch2_key_sort_fix_overlapping() 140 bkey_p_copy(out, in); in bch2_sort_repack() 147 out->needs_whiteout = false; in bch2_sort_repack() 150 out = bkey_p_next(out); in bch2_sort_repack() 187 bkey_p_copy(out, in); in bch2_sort_keys_keep_unwritten_whiteouts() 188 out = bkey_p_next(out); in bch2_sort_keys_keep_unwritten_whiteouts() 191 return (u64 *) out - (u64 *) dst; in bch2_sort_keys_keep_unwritten_whiteouts() 209 bkey_p_copy(out, in); in bch2_sort_keys() 210 out = bkey_p_next(out); in bch2_sort_keys() [all …]
|
| A D | bkey.c | 287 return out; in __bch2_bkey_unpack_key() 305 return out; in __bkey_unpack_pos() 415 *out = k; in bkey_packed_successor() 813 out += 4; in compile_bkey_field() 830 out += 4; in compile_bkey_field() 875 out += 4; in compile_bkey_field() 938 out += 8; in compile_bkey_field() 945 out += 4; in compile_bkey_field() 950 out += 4; in compile_bkey_field() 966 return out; in compile_bkey_field() [all …]
|
| A D | disk_groups.c | 102 prt_printf(out, " "); in bch2_sb_disk_groups_to_text() 367 prt_printf(out, "."); in __bch2_disk_path_to_text() 378 out->atomic++; in bch2_disk_groups_to_text() 397 prt_newline(out); in bch2_disk_groups_to_text() 400 out->atomic--; in bch2_disk_groups_to_text() 405 out->atomic++; in bch2_disk_path_to_text() 408 --out->atomic; in bch2_disk_path_to_text() 445 prt_printf(out, "."); in bch2_disk_path_to_text_sb() 527 prt_printf(out, "none"); in bch2_target_to_text() 530 out->atomic++; in bch2_target_to_text() [all …]
|
| A D | recovery_passes.c | 87 if (out->nr_tabstops < 1) in bch2_sb_recovery_passes_to_text() 89 if (out->nr_tabstops < 2) in bch2_sb_recovery_passes_to_text() 103 prt_tab(out); in bch2_sb_recovery_passes_to_text() 110 prt_newline(out); in bch2_sb_recovery_passes_to_text() 349 out->atomic++; in __bch2_run_explicit_recovery_pass() 355 goto out; in __bch2_run_explicit_recovery_pass() 373 goto out; in __bch2_run_explicit_recovery_pass() 403 out: in __bch2_run_explicit_recovery_pass() 405 --out->atomic; in __bch2_run_explicit_recovery_pass() 410 struct printbuf *out, in bch2_run_explicit_recovery_pass() argument [all …]
|
| A D | bkey_methods.c | 274 prt_printf(out, "POS_MIN"); in bch2_bpos_to_text() 276 prt_printf(out, "POS_MAX"); in bch2_bpos_to_text() 278 prt_printf(out, "SPOS_MAX"); in bch2_bpos_to_text() 281 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text() 284 prt_printf(out, ":"); in bch2_bpos_to_text() 286 prt_printf(out, "U64_MAX"); in bch2_bpos_to_text() 289 prt_printf(out, ":"); in bch2_bpos_to_text() 311 prt_printf(out, "(null)"); in bch2_bkey_to_text() 327 bch2_bkey_to_text(out, k.k); in bch2_bkey_val_to_text() 330 prt_printf(out, ": "); in bch2_bkey_val_to_text() [all …]
|
| /fs/ocfs2/dlm/ |
| A D | dlmdebug.c | 227 out += scnprintf(buf + out, len - out, in dump_mle() 302 out += scnprintf(buf + out, len - out, in debug_purgelist_print() 359 out += scnprintf(buf + out, len - out, in debug_mle_print() 377 out += scnprintf(buf + out, len - out, in debug_mle_print() 446 out += scnprintf(buf + out, len - out, in dump_lockres() 466 out += scnprintf(buf + out, len - out, in dump_lockres() 632 out += scnprintf(buf + out, len - out, in debug_state_print() 638 out += scnprintf(buf + out, len - out, in debug_state_print() 643 out += scnprintf(buf + out, len - out, in debug_state_print() 666 out += scnprintf(buf + out, len - out, in debug_state_print() [all …]
|
| /fs/udf/ |
| A D | udfend.h | 15 return out; in lelb_to_cpu() 20 struct lb_addr out; in cpu_to_lelb() local 25 return out; in cpu_to_lelb() 30 struct short_ad out; in lesa_to_cpu() local 35 return out; in lesa_to_cpu() 40 struct short_ad out; in cpu_to_lesa() local 45 return out; in cpu_to_lesa() 55 return out; in lela_to_cpu() 60 struct long_ad out; in cpu_to_lela() local 65 return out; in cpu_to_lela() [all …]
|
| /fs/btrfs/tests/ |
| A D | inode-tests.c | 240 goto out; in test_btrfs_get_extent() 246 goto out; in test_btrfs_get_extent() 252 goto out; in test_btrfs_get_extent() 265 goto out; in test_btrfs_get_extent() 269 goto out; in test_btrfs_get_extent() 284 goto out; in test_btrfs_get_extent() 288 goto out; in test_btrfs_get_extent() 305 goto out; in test_btrfs_get_extent() 786 out: in test_btrfs_get_extent() 885 out: in test_hole_first() [all …]
|
| A D | raid-stripe-tree-tests.c | 58 goto out; in test_punch_hole_3extents() 211 out: in test_punch_hole_3extents() 354 out: in test_delete_two_extents() 493 out: in test_punch_hole() 636 out: in test_front_delete_prev_item() 745 out: in test_front_delete() 865 out: in test_tail_delete() 988 out: in test_create_update_delete() 1068 out: in test_simple_create_delete() 1139 out: in run_test() [all …]
|
| A D | extent-map-tests.c | 88 goto out; in test_case_1() 149 out: in test_case_1() 246 out: in test_case_2() 324 out: in __test_case_3() 449 out: in __test_case_4() 694 out: in test_case_5() 753 out: in test_case_6() 890 out: in test_case_7() 991 out: in test_case_8() 1080 out: in test_rmap_block() [all …]
|
| A D | extent-buffer-tests.c | 41 goto out; in test_btrfs_split_item() 48 goto out; in test_btrfs_split_item() 56 goto out; in test_btrfs_split_item() 82 goto out; in test_btrfs_split_item() 94 goto out; in test_btrfs_split_item() 100 goto out; in test_btrfs_split_item() 110 goto out; in test_btrfs_split_item() 118 goto out; in test_btrfs_split_item() 124 goto out; in test_btrfs_split_item() 133 goto out; in test_btrfs_split_item() [all …]
|
| A D | delayed-refs-tests.c | 213 goto out; in simple_test() 220 goto out; in simple_test() 224 goto out; in simple_test() 226 out: in simple_test() 399 goto out; in merge_tests() 409 goto out; in merge_tests() 415 goto out; in merge_tests() 423 goto out; in merge_tests() 440 goto out; in merge_tests() 766 out: in merge_tests() [all …]
|
| /fs/nls/ |
| A D | nls_euc-jp.c | 426 out[1] = out[0]; in uni2char() 432 sjisnec2sjisibm(out, out[0], out[1]); in uni2char() 434 if (IS_SJIS_UDC_LOW(out[0], out[1])) { in uni2char() 436 MAP_SJIS2EUC(out[0], out[1], 0xF0, out[0], out[1], 0xF5); in uni2char() 444 n = 3; ch = out[0]; cl = out[1]; in uni2char() 447 } else if (IS_SJIS_IBM(out[0], out[1])) { in uni2char() 451 n = sjisibm2euc(euc, out[0], out[1]); in uni2char() 458 out[0] = (out[0]^0xA0)*2 + 0x5F; in uni2char() 463 out[1] = out[1] + 0x61; in uni2char() 465 out[1] = out[1] + 0x60; in uni2char() [all …]
|
| /fs/ecryptfs/ |
| A D | keystore.c | 108 out: in ecryptfs_parse_packet_length() 194 out: in write_tag_64_packet() 279 out: in parse_tag_65_packet() 343 out: in write_tag_66_packet() 409 out: in parse_tag_67_packet() 441 out: in ecryptfs_verify_version() 481 out: in ecryptfs_verify_auth_tok_from_key() 534 out: in ecryptfs_find_global_auth_tok_for_sig() 847 out: in ecryptfs_write_tag_70_packet() 1084 out: in ecryptfs_parse_tag_70_packet() [all …]
|
| /fs/ntfs3/ |
| A D | xattr.c | 98 goto out; in ntfs_read_ea() 104 goto out; in ntfs_read_ea() 109 goto out; in ntfs_read_ea() 178 out: in ntfs_read_ea() 246 out: in ntfs_list_ea() 305 out: in ntfs_get_ea() 528 out: in ntfs_set_ea() 664 out: in ntfs_set_acl_ex() 845 out: in ntfs_getxattr() 957 out: in ntfs_setxattr() [all …]
|
| /fs/smb/client/ |
| A D | ioctl.c | 247 goto out; in cifs_dump_full_key() 251 if (copy_from_user(&out, in, sizeof(out))) { in cifs_dump_full_key() 253 goto out; in cifs_dump_full_key() 305 goto out; in cifs_dump_full_key() 309 if (out.in_size < sizeof(out) + out.session_key_length + out.server_in_key_length in cifs_dump_full_key() 312 goto out; in cifs_dump_full_key() 319 if (copy_to_user(in, &out, sizeof(out))) { in cifs_dump_full_key() 321 goto out; in cifs_dump_full_key() 328 goto out; in cifs_dump_full_key() 334 goto out; in cifs_dump_full_key() [all …]
|
| /fs/btrfs/ |
| A D | uuid-tree.c | 39 goto out; in btrfs_uuid_tree_lookup() 45 goto out; in btrfs_uuid_tree_lookup() 51 goto out; in btrfs_uuid_tree_lookup() 54 goto out; in btrfs_uuid_tree_lookup() 81 out: in btrfs_uuid_tree_lookup() 143 out: in btrfs_uuid_tree_add() 225 out: in btrfs_uuid_tree_remove() 246 out: in btrfs_uuid_iter_rem() 288 out: in btrfs_check_uuid_tree_entry() 389 out: in btrfs_uuid_tree_iterate() [all …]
|