| Jeff Sharkey | 0ce8844 | 2016-10-21 10:42:41 -0600 | [diff] [blame] | 1 | /* debugfs/debug_cmds.c - automatically generated from debugfs/debug_cmds.ct */ |
| 2 | #include <ss/ss.h> |
| 3 | |
| 4 | static char const * const ssu00001[] = { |
| 5 | "show_debugfs_params", |
| 6 | "params", |
| 7 | (char const *)0 |
| 8 | }; |
| 9 | extern void do_show_debugfs_params __SS_PROTO; |
| 10 | static char const * const ssu00002[] = { |
| 11 | "open_filesys", |
| 12 | "open", |
| 13 | (char const *)0 |
| 14 | }; |
| 15 | extern void do_open_filesys __SS_PROTO; |
| 16 | static char const * const ssu00003[] = { |
| 17 | "close_filesys", |
| 18 | "close", |
| 19 | (char const *)0 |
| 20 | }; |
| 21 | extern void do_close_filesys __SS_PROTO; |
| 22 | static char const * const ssu00004[] = { |
| 23 | "freefrag", |
| 24 | "e2freefrag", |
| 25 | (char const *)0 |
| 26 | }; |
| 27 | extern void do_freefrag __SS_PROTO; |
| 28 | static char const * const ssu00005[] = { |
| 29 | "feature", |
| 30 | "features", |
| 31 | (char const *)0 |
| 32 | }; |
| 33 | extern void do_features __SS_PROTO; |
| 34 | static char const * const ssu00006[] = { |
| 35 | "dirty_filesys", |
| 36 | "dirty", |
| 37 | (char const *)0 |
| 38 | }; |
| 39 | extern void do_dirty_filesys __SS_PROTO; |
| 40 | static char const * const ssu00007[] = { |
| 41 | "init_filesys", |
| 42 | (char const *)0 |
| 43 | }; |
| 44 | extern void do_init_filesys __SS_PROTO; |
| 45 | static char const * const ssu00008[] = { |
| 46 | "show_super_stats", |
| 47 | "stats", |
| 48 | (char const *)0 |
| 49 | }; |
| 50 | extern void do_show_super_stats __SS_PROTO; |
| 51 | static char const * const ssu00009[] = { |
| 52 | "ncheck", |
| 53 | (char const *)0 |
| 54 | }; |
| 55 | extern void do_ncheck __SS_PROTO; |
| 56 | static char const * const ssu00010[] = { |
| 57 | "icheck", |
| 58 | (char const *)0 |
| 59 | }; |
| 60 | extern void do_icheck __SS_PROTO; |
| 61 | static char const * const ssu00011[] = { |
| 62 | "change_root_directory", |
| 63 | "chroot", |
| 64 | (char const *)0 |
| 65 | }; |
| 66 | extern void do_chroot __SS_PROTO; |
| 67 | static char const * const ssu00012[] = { |
| 68 | "change_working_directory", |
| 69 | "cd", |
| 70 | (char const *)0 |
| 71 | }; |
| 72 | extern void do_change_working_dir __SS_PROTO; |
| 73 | static char const * const ssu00013[] = { |
| 74 | "list_directory", |
| 75 | "ls", |
| 76 | (char const *)0 |
| 77 | }; |
| 78 | extern void do_list_dir __SS_PROTO; |
| 79 | static char const * const ssu00014[] = { |
| 80 | "show_inode_info", |
| 81 | "stat", |
| 82 | (char const *)0 |
| 83 | }; |
| 84 | extern void do_stat __SS_PROTO; |
| 85 | static char const * const ssu00015[] = { |
| 86 | "dump_extents", |
| 87 | "extents", |
| 88 | "ex", |
| 89 | (char const *)0 |
| 90 | }; |
| 91 | extern void do_dump_extents __SS_PROTO; |
| 92 | static char const * const ssu00016[] = { |
| 93 | "blocks", |
| 94 | (char const *)0 |
| 95 | }; |
| 96 | extern void do_blocks __SS_PROTO; |
| 97 | static char const * const ssu00017[] = { |
| 98 | "filefrag", |
| 99 | (char const *)0 |
| 100 | }; |
| 101 | extern void do_filefrag __SS_PROTO; |
| 102 | static char const * const ssu00018[] = { |
| 103 | "link", |
| 104 | "ln", |
| 105 | (char const *)0 |
| 106 | }; |
| 107 | extern void do_link __SS_PROTO; |
| 108 | static char const * const ssu00019[] = { |
| 109 | "unlink", |
| 110 | (char const *)0 |
| 111 | }; |
| 112 | extern void do_unlink __SS_PROTO; |
| 113 | static char const * const ssu00020[] = { |
| 114 | "mkdir", |
| 115 | (char const *)0 |
| 116 | }; |
| 117 | extern void do_mkdir __SS_PROTO; |
| 118 | static char const * const ssu00021[] = { |
| 119 | "rmdir", |
| 120 | (char const *)0 |
| 121 | }; |
| 122 | extern void do_rmdir __SS_PROTO; |
| 123 | static char const * const ssu00022[] = { |
| 124 | "rm", |
| 125 | (char const *)0 |
| 126 | }; |
| 127 | extern void do_rm __SS_PROTO; |
| 128 | static char const * const ssu00023[] = { |
| 129 | "kill_file", |
| 130 | (char const *)0 |
| 131 | }; |
| 132 | extern void do_kill_file __SS_PROTO; |
| 133 | static char const * const ssu00024[] = { |
| 134 | "copy_inode", |
| 135 | (char const *)0 |
| 136 | }; |
| 137 | extern void do_copy_inode __SS_PROTO; |
| 138 | static char const * const ssu00025[] = { |
| 139 | "clri", |
| 140 | (char const *)0 |
| 141 | }; |
| 142 | extern void do_clri __SS_PROTO; |
| 143 | static char const * const ssu00026[] = { |
| 144 | "freei", |
| 145 | (char const *)0 |
| 146 | }; |
| 147 | extern void do_freei __SS_PROTO; |
| 148 | static char const * const ssu00027[] = { |
| 149 | "seti", |
| 150 | (char const *)0 |
| 151 | }; |
| 152 | extern void do_seti __SS_PROTO; |
| 153 | static char const * const ssu00028[] = { |
| 154 | "testi", |
| 155 | (char const *)0 |
| 156 | }; |
| 157 | extern void do_testi __SS_PROTO; |
| 158 | static char const * const ssu00029[] = { |
| 159 | "freeb", |
| 160 | (char const *)0 |
| 161 | }; |
| 162 | extern void do_freeb __SS_PROTO; |
| 163 | static char const * const ssu00030[] = { |
| 164 | "setb", |
| 165 | (char const *)0 |
| 166 | }; |
| 167 | extern void do_setb __SS_PROTO; |
| 168 | static char const * const ssu00031[] = { |
| 169 | "testb", |
| 170 | (char const *)0 |
| 171 | }; |
| 172 | extern void do_testb __SS_PROTO; |
| 173 | static char const * const ssu00032[] = { |
| 174 | "modify_inode", |
| 175 | "mi", |
| 176 | (char const *)0 |
| 177 | }; |
| 178 | extern void do_modify_inode __SS_PROTO; |
| 179 | static char const * const ssu00033[] = { |
| 180 | "find_free_block", |
| 181 | "ffb", |
| 182 | (char const *)0 |
| 183 | }; |
| 184 | extern void do_find_free_block __SS_PROTO; |
| 185 | static char const * const ssu00034[] = { |
| 186 | "find_free_inode", |
| 187 | "ffi", |
| 188 | (char const *)0 |
| 189 | }; |
| 190 | extern void do_find_free_inode __SS_PROTO; |
| 191 | static char const * const ssu00035[] = { |
| 192 | "print_working_directory", |
| 193 | "pwd", |
| 194 | (char const *)0 |
| 195 | }; |
| 196 | extern void do_print_working_directory __SS_PROTO; |
| 197 | static char const * const ssu00036[] = { |
| 198 | "expand_dir", |
| 199 | "expand", |
| 200 | (char const *)0 |
| 201 | }; |
| 202 | extern void do_expand_dir __SS_PROTO; |
| 203 | static char const * const ssu00037[] = { |
| 204 | "mknod", |
| 205 | (char const *)0 |
| 206 | }; |
| 207 | extern void do_mknod __SS_PROTO; |
| 208 | static char const * const ssu00038[] = { |
| 209 | "list_deleted_inodes", |
| 210 | "lsdel", |
| 211 | (char const *)0 |
| 212 | }; |
| 213 | extern void do_lsdel __SS_PROTO; |
| 214 | static char const * const ssu00039[] = { |
| 215 | "undelete", |
| 216 | "undel", |
| 217 | (char const *)0 |
| 218 | }; |
| 219 | extern void do_undel __SS_PROTO; |
| 220 | static char const * const ssu00040[] = { |
| 221 | "write", |
| 222 | (char const *)0 |
| 223 | }; |
| 224 | extern void do_write __SS_PROTO; |
| 225 | static char const * const ssu00041[] = { |
| 226 | "dump_inode", |
| 227 | "dump", |
| 228 | (char const *)0 |
| 229 | }; |
| 230 | extern void do_dump __SS_PROTO; |
| 231 | static char const * const ssu00042[] = { |
| 232 | "cat", |
| 233 | (char const *)0 |
| 234 | }; |
| 235 | extern void do_cat __SS_PROTO; |
| 236 | static char const * const ssu00043[] = { |
| 237 | "lcd", |
| 238 | (char const *)0 |
| 239 | }; |
| 240 | extern void do_lcd __SS_PROTO; |
| 241 | static char const * const ssu00044[] = { |
| 242 | "rdump", |
| 243 | (char const *)0 |
| 244 | }; |
| 245 | extern void do_rdump __SS_PROTO; |
| 246 | static char const * const ssu00045[] = { |
| 247 | "set_super_value", |
| 248 | "ssv", |
| 249 | (char const *)0 |
| 250 | }; |
| 251 | extern void do_set_super __SS_PROTO; |
| 252 | static char const * const ssu00046[] = { |
| 253 | "set_inode_field", |
| 254 | "sif", |
| 255 | (char const *)0 |
| 256 | }; |
| 257 | extern void do_set_inode __SS_PROTO; |
| 258 | static char const * const ssu00047[] = { |
| 259 | "set_block_group", |
| 260 | "set_bg", |
| 261 | (char const *)0 |
| 262 | }; |
| 263 | extern void do_set_block_group_descriptor __SS_PROTO; |
| 264 | static char const * const ssu00048[] = { |
| 265 | "logdump", |
| 266 | (char const *)0 |
| 267 | }; |
| 268 | extern void do_logdump __SS_PROTO; |
| 269 | static char const * const ssu00049[] = { |
| 270 | "htree_dump", |
| 271 | "htree", |
| 272 | (char const *)0 |
| 273 | }; |
| 274 | extern void do_htree_dump __SS_PROTO; |
| 275 | static char const * const ssu00050[] = { |
| 276 | "dx_hash", |
| 277 | "hash", |
| 278 | (char const *)0 |
| 279 | }; |
| 280 | extern void do_dx_hash __SS_PROTO; |
| 281 | static char const * const ssu00051[] = { |
| 282 | "dirsearch", |
| 283 | (char const *)0 |
| 284 | }; |
| 285 | extern void do_dirsearch __SS_PROTO; |
| 286 | static char const * const ssu00052[] = { |
| 287 | "bmap", |
| 288 | (char const *)0 |
| 289 | }; |
| 290 | extern void do_bmap __SS_PROTO; |
| 291 | static char const * const ssu00053[] = { |
| 292 | "fallocate", |
| 293 | (char const *)0 |
| 294 | }; |
| 295 | extern void do_fallocate __SS_PROTO; |
| 296 | static char const * const ssu00054[] = { |
| 297 | "punch", |
| 298 | "truncate", |
| 299 | (char const *)0 |
| 300 | }; |
| 301 | extern void do_punch __SS_PROTO; |
| 302 | static char const * const ssu00055[] = { |
| 303 | "symlink", |
| 304 | (char const *)0 |
| 305 | }; |
| 306 | extern void do_symlink __SS_PROTO; |
| 307 | static char const * const ssu00056[] = { |
| 308 | "imap", |
| 309 | (char const *)0 |
| 310 | }; |
| 311 | extern void do_imap __SS_PROTO; |
| 312 | static char const * const ssu00057[] = { |
| 313 | "dump_unused", |
| 314 | (char const *)0 |
| 315 | }; |
| 316 | extern void do_dump_unused __SS_PROTO; |
| 317 | static char const * const ssu00058[] = { |
| 318 | "set_current_time", |
| 319 | (char const *)0 |
| 320 | }; |
| 321 | extern void do_set_current_time __SS_PROTO; |
| 322 | static char const * const ssu00059[] = { |
| 323 | "supported_features", |
| 324 | (char const *)0 |
| 325 | }; |
| 326 | extern void do_supported_features __SS_PROTO; |
| 327 | static char const * const ssu00060[] = { |
| 328 | "dump_mmp", |
| 329 | (char const *)0 |
| 330 | }; |
| 331 | extern void do_dump_mmp __SS_PROTO; |
| 332 | static char const * const ssu00061[] = { |
| 333 | "set_mmp_value", |
| 334 | "smmp", |
| 335 | (char const *)0 |
| 336 | }; |
| 337 | extern void do_set_mmp_value __SS_PROTO; |
| 338 | static char const * const ssu00062[] = { |
| 339 | "extent_open", |
| 340 | "eo", |
| 341 | (char const *)0 |
| 342 | }; |
| 343 | extern void do_extent_open __SS_PROTO; |
| 344 | static char const * const ssu00063[] = { |
| 345 | "zap_block", |
| 346 | "zap", |
| 347 | (char const *)0 |
| 348 | }; |
| 349 | extern void do_zap_block __SS_PROTO; |
| 350 | static char const * const ssu00064[] = { |
| 351 | "block_dump", |
| 352 | "bdump", |
| 353 | "bd", |
| 354 | (char const *)0 |
| 355 | }; |
| 356 | extern void do_block_dump __SS_PROTO; |
| 357 | static char const * const ssu00065[] = { |
| 358 | "ea_list", |
| 359 | (char const *)0 |
| 360 | }; |
| 361 | extern void do_list_xattr __SS_PROTO; |
| 362 | static char const * const ssu00066[] = { |
| 363 | "ea_get", |
| 364 | (char const *)0 |
| 365 | }; |
| 366 | extern void do_get_xattr __SS_PROTO; |
| 367 | static char const * const ssu00067[] = { |
| 368 | "ea_set", |
| 369 | (char const *)0 |
| 370 | }; |
| 371 | extern void do_set_xattr __SS_PROTO; |
| 372 | static char const * const ssu00068[] = { |
| 373 | "ea_rm", |
| 374 | (char const *)0 |
| 375 | }; |
| 376 | extern void do_rm_xattr __SS_PROTO; |
| 377 | static char const * const ssu00069[] = { |
| 378 | "list_quota", |
| 379 | "lq", |
| 380 | (char const *)0 |
| 381 | }; |
| 382 | extern void do_list_quota __SS_PROTO; |
| 383 | static char const * const ssu00070[] = { |
| 384 | "get_quota", |
| 385 | "gq", |
| 386 | (char const *)0 |
| 387 | }; |
| 388 | extern void do_get_quota __SS_PROTO; |
| 389 | static char const * const ssu00071[] = { |
| 390 | "inode_dump", |
| 391 | "idump", |
| 392 | "id", |
| 393 | (char const *)0 |
| 394 | }; |
| 395 | extern void do_idump __SS_PROTO; |
| 396 | static char const * const ssu00072[] = { |
| 397 | "journal_open", |
| 398 | "jo", |
| 399 | (char const *)0 |
| 400 | }; |
| 401 | extern void do_journal_open __SS_PROTO; |
| 402 | static char const * const ssu00073[] = { |
| 403 | "journal_close", |
| 404 | "jc", |
| 405 | (char const *)0 |
| 406 | }; |
| 407 | extern void do_journal_close __SS_PROTO; |
| 408 | static char const * const ssu00074[] = { |
| 409 | "journal_write", |
| 410 | "jw", |
| 411 | (char const *)0 |
| 412 | }; |
| 413 | extern void do_journal_write __SS_PROTO; |
| 414 | static char const * const ssu00075[] = { |
| 415 | "journal_run", |
| 416 | "jr", |
| 417 | (char const *)0 |
| 418 | }; |
| 419 | extern void do_journal_run __SS_PROTO; |
| Eric Biggers | f91329b | 2025-02-11 22:34:49 +0000 | [diff] [blame^] | 420 | static char const * const ssu00076[] = { |
| 421 | "orphan_inodes", |
| 422 | "orphan", |
| 423 | (char const *)0 |
| 424 | }; |
| 425 | extern void do_orphan_inodes __SS_PROTO; |
| 426 | static ss_request_entry ssu00077[] = { |
| Jeff Sharkey | 0ce8844 | 2016-10-21 10:42:41 -0600 | [diff] [blame] | 427 | { ssu00001, |
| 428 | do_show_debugfs_params, |
| 429 | "Show debugfs parameters", |
| 430 | 0 }, |
| 431 | { ssu00002, |
| 432 | do_open_filesys, |
| 433 | "Open a filesystem", |
| 434 | 0 }, |
| 435 | { ssu00003, |
| 436 | do_close_filesys, |
| 437 | "Close the filesystem", |
| 438 | 0 }, |
| 439 | { ssu00004, |
| 440 | do_freefrag, |
| 441 | "Report free space fragmentation", |
| 442 | 0 }, |
| 443 | { ssu00005, |
| 444 | do_features, |
| 445 | "Set/print superblock features", |
| 446 | 0 }, |
| 447 | { ssu00006, |
| 448 | do_dirty_filesys, |
| 449 | "Mark the filesystem as dirty", |
| 450 | 0 }, |
| 451 | { ssu00007, |
| 452 | do_init_filesys, |
| 453 | "Initialize a filesystem (DESTROYS DATA)", |
| 454 | 0 }, |
| 455 | { ssu00008, |
| 456 | do_show_super_stats, |
| 457 | "Show superblock statistics", |
| 458 | 0 }, |
| 459 | { ssu00009, |
| 460 | do_ncheck, |
| 461 | "Do inode->name translation", |
| 462 | 0 }, |
| 463 | { ssu00010, |
| 464 | do_icheck, |
| 465 | "Do block->inode translation", |
| 466 | 0 }, |
| 467 | { ssu00011, |
| 468 | do_chroot, |
| 469 | "Change root directory", |
| 470 | 0 }, |
| 471 | { ssu00012, |
| 472 | do_change_working_dir, |
| 473 | "Change working directory", |
| 474 | 0 }, |
| 475 | { ssu00013, |
| 476 | do_list_dir, |
| 477 | "List directory", |
| 478 | 0 }, |
| 479 | { ssu00014, |
| 480 | do_stat, |
| 481 | "Show inode information ", |
| 482 | 0 }, |
| 483 | { ssu00015, |
| 484 | do_dump_extents, |
| 485 | "Dump extents information ", |
| 486 | 0 }, |
| 487 | { ssu00016, |
| 488 | do_blocks, |
| 489 | "Dump blocks used by an inode ", |
| 490 | 0 }, |
| 491 | { ssu00017, |
| 492 | do_filefrag, |
| 493 | "Report fragmentation information for an inode", |
| 494 | 0 }, |
| 495 | { ssu00018, |
| 496 | do_link, |
| 497 | "Create directory link", |
| 498 | 0 }, |
| 499 | { ssu00019, |
| 500 | do_unlink, |
| 501 | "Delete a directory link", |
| 502 | 0 }, |
| 503 | { ssu00020, |
| 504 | do_mkdir, |
| 505 | "Create a directory", |
| 506 | 0 }, |
| 507 | { ssu00021, |
| 508 | do_rmdir, |
| 509 | "Remove a directory", |
| 510 | 0 }, |
| 511 | { ssu00022, |
| 512 | do_rm, |
| 513 | "Remove a file (unlink and kill_file, if appropriate)", |
| 514 | 0 }, |
| 515 | { ssu00023, |
| 516 | do_kill_file, |
| 517 | "Deallocate an inode and its blocks", |
| 518 | 0 }, |
| 519 | { ssu00024, |
| 520 | do_copy_inode, |
| 521 | "Copy the inode structure", |
| 522 | 0 }, |
| 523 | { ssu00025, |
| 524 | do_clri, |
| 525 | "Clear an inode's contents", |
| 526 | 0 }, |
| 527 | { ssu00026, |
| 528 | do_freei, |
| 529 | "Clear an inode's in-use flag", |
| 530 | 0 }, |
| 531 | { ssu00027, |
| 532 | do_seti, |
| 533 | "Set an inode's in-use flag", |
| 534 | 0 }, |
| 535 | { ssu00028, |
| 536 | do_testi, |
| 537 | "Test an inode's in-use flag", |
| 538 | 0 }, |
| 539 | { ssu00029, |
| 540 | do_freeb, |
| 541 | "Clear a block's in-use flag", |
| 542 | 0 }, |
| 543 | { ssu00030, |
| 544 | do_setb, |
| 545 | "Set a block's in-use flag", |
| 546 | 0 }, |
| 547 | { ssu00031, |
| 548 | do_testb, |
| 549 | "Test a block's in-use flag", |
| 550 | 0 }, |
| 551 | { ssu00032, |
| 552 | do_modify_inode, |
| 553 | "Modify an inode by structure", |
| 554 | 0 }, |
| 555 | { ssu00033, |
| 556 | do_find_free_block, |
| 557 | "Find free block(s)", |
| 558 | 0 }, |
| 559 | { ssu00034, |
| 560 | do_find_free_inode, |
| 561 | "Find free inode(s)", |
| 562 | 0 }, |
| 563 | { ssu00035, |
| 564 | do_print_working_directory, |
| 565 | "Print current working directory", |
| 566 | 0 }, |
| 567 | { ssu00036, |
| 568 | do_expand_dir, |
| 569 | "Expand directory", |
| 570 | 0 }, |
| 571 | { ssu00037, |
| 572 | do_mknod, |
| 573 | "Create a special file", |
| 574 | 0 }, |
| 575 | { ssu00038, |
| 576 | do_lsdel, |
| 577 | "List deleted inodes", |
| 578 | 0 }, |
| 579 | { ssu00039, |
| 580 | do_undel, |
| 581 | "Undelete file", |
| 582 | 0 }, |
| 583 | { ssu00040, |
| 584 | do_write, |
| 585 | "Copy a file from your native filesystem", |
| 586 | 0 }, |
| 587 | { ssu00041, |
| 588 | do_dump, |
| 589 | "Dump an inode out to a file", |
| 590 | 0 }, |
| 591 | { ssu00042, |
| 592 | do_cat, |
| 593 | "Dump an inode out to stdout", |
| 594 | 0 }, |
| 595 | { ssu00043, |
| 596 | do_lcd, |
| 597 | "Change the current directory on your native filesystem", |
| 598 | 0 }, |
| 599 | { ssu00044, |
| 600 | do_rdump, |
| 601 | "Recursively dump a directory to the native filesystem", |
| 602 | 0 }, |
| 603 | { ssu00045, |
| 604 | do_set_super, |
| 605 | "Set superblock value", |
| 606 | 0 }, |
| 607 | { ssu00046, |
| 608 | do_set_inode, |
| 609 | "Set inode field", |
| 610 | 0 }, |
| 611 | { ssu00047, |
| 612 | do_set_block_group_descriptor, |
| 613 | "Set block group descriptor field", |
| 614 | 0 }, |
| 615 | { ssu00048, |
| 616 | do_logdump, |
| 617 | "Dump the contents of the journal", |
| 618 | 0 }, |
| 619 | { ssu00049, |
| 620 | do_htree_dump, |
| 621 | "Dump a hash-indexed directory", |
| 622 | 0 }, |
| 623 | { ssu00050, |
| 624 | do_dx_hash, |
| 625 | "Calculate the directory hash of a filename", |
| 626 | 0 }, |
| 627 | { ssu00051, |
| 628 | do_dirsearch, |
| 629 | "Search a directory for a particular filename", |
| 630 | 0 }, |
| 631 | { ssu00052, |
| 632 | do_bmap, |
| 633 | "Calculate the logical->physical block mapping for an inode", |
| 634 | 0 }, |
| 635 | { ssu00053, |
| 636 | do_fallocate, |
| 637 | "Allocate uninitialized blocks to an inode", |
| 638 | 0 }, |
| 639 | { ssu00054, |
| 640 | do_punch, |
| 641 | "Punch (or truncate) blocks from an inode by deallocating them", |
| 642 | 0 }, |
| 643 | { ssu00055, |
| 644 | do_symlink, |
| 645 | "Create a symbolic link", |
| 646 | 0 }, |
| 647 | { ssu00056, |
| 648 | do_imap, |
| 649 | "Calculate the location of an inode", |
| 650 | 0 }, |
| 651 | { ssu00057, |
| 652 | do_dump_unused, |
| 653 | "Dump unused blocks", |
| 654 | 0 }, |
| 655 | { ssu00058, |
| 656 | do_set_current_time, |
| 657 | "Set current time to use when setting filesystem fields", |
| 658 | 0 }, |
| 659 | { ssu00059, |
| 660 | do_supported_features, |
| 661 | "Print features supported by this version of e2fsprogs", |
| 662 | 0 }, |
| 663 | { ssu00060, |
| 664 | do_dump_mmp, |
| 665 | "Dump MMP information", |
| 666 | 0 }, |
| 667 | { ssu00061, |
| 668 | do_set_mmp_value, |
| 669 | "Set MMP value", |
| 670 | 0 }, |
| 671 | { ssu00062, |
| 672 | do_extent_open, |
| 673 | "Open inode for extent manipulation", |
| 674 | 0 }, |
| 675 | { ssu00063, |
| 676 | do_zap_block, |
| 677 | "Zap block: fill with 0, pattern, flip bits etc.", |
| 678 | 0 }, |
| 679 | { ssu00064, |
| 680 | do_block_dump, |
| 681 | "Dump contents of a block", |
| 682 | 0 }, |
| 683 | { ssu00065, |
| 684 | do_list_xattr, |
| 685 | "List extended attributes of an inode", |
| 686 | 0 }, |
| 687 | { ssu00066, |
| 688 | do_get_xattr, |
| 689 | "Get an extended attribute of an inode", |
| 690 | 0 }, |
| 691 | { ssu00067, |
| 692 | do_set_xattr, |
| 693 | "Set an extended attribute of an inode", |
| 694 | 0 }, |
| 695 | { ssu00068, |
| 696 | do_rm_xattr, |
| 697 | "Remove an extended attribute of an inode", |
| 698 | 0 }, |
| 699 | { ssu00069, |
| 700 | do_list_quota, |
| 701 | "List quota", |
| 702 | 0 }, |
| 703 | { ssu00070, |
| 704 | do_get_quota, |
| 705 | "Get quota", |
| 706 | 0 }, |
| 707 | { ssu00071, |
| 708 | do_idump, |
| 709 | "Dump the inode structure in hex", |
| 710 | 0 }, |
| 711 | { ssu00072, |
| 712 | do_journal_open, |
| 713 | "Open the journal", |
| 714 | 0 }, |
| 715 | { ssu00073, |
| 716 | do_journal_close, |
| 717 | "Close the journal", |
| 718 | 0 }, |
| 719 | { ssu00074, |
| 720 | do_journal_write, |
| 721 | "Write a transaction to the journal", |
| 722 | 0 }, |
| 723 | { ssu00075, |
| 724 | do_journal_run, |
| 725 | "Recover the journal", |
| 726 | 0 }, |
| Eric Biggers | f91329b | 2025-02-11 22:34:49 +0000 | [diff] [blame^] | 727 | { ssu00076, |
| 728 | do_orphan_inodes, |
| 729 | "List the orphan inodes on the file system", |
| 730 | 0 }, |
| Jeff Sharkey | 0ce8844 | 2016-10-21 10:42:41 -0600 | [diff] [blame] | 731 | { 0, 0, 0, 0 } |
| 732 | }; |
| 733 | |
| Eric Biggers | f91329b | 2025-02-11 22:34:49 +0000 | [diff] [blame^] | 734 | ss_request_table debug_cmds = { 2, ssu00077 }; |