Lines Matching refs:shell_error

147 		shell_error(sh, "%s doesn't exist", path);  in cmd_cd()
152 shell_error(sh, "%s is not a directory", path); in cmd_cd()
179 shell_error(sh, "Unable to open %s (err %d)", path, err); in cmd_ls()
188 shell_error(sh, "Unable to read directory"); in cmd_ls()
231 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_trunc()
237 shell_error(sh, "Failed to truncate %s (%d)", path, err); in cmd_trunc()
255 shell_error(sh, "Error creating dir[%d]", err); in cmd_mkdir()
271 shell_error(sh, "Failed to remove %s (%d)", path, err); in cmd_rm()
306 shell_error(sh, "Failed to obtain file %s (err: %d)", in cmd_read()
312 shell_error(sh, "Not a file %s", path); in cmd_read()
321 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_read()
328 shell_error(sh, "Failed to seek %s (%d)", in cmd_read()
388 shell_error(sh, "Failed to obtain file %s (err: %d)", in cmd_cat()
394 shell_error(sh, "Not a file %s", path); in cmd_cat()
400 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_cat()
416 shell_error(sh, "Failed to read from file %s (err: %zd)", in cmd_cat()
436 shell_error(sh, "Failed to statvfs %s (%d)", path, err); in cmd_statvfs()
461 shell_error(sh, "Missing argument"); in cmd_write()
475 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_write()
485 shell_error(sh, "Failed to seek %s (%d)", path, err); in cmd_write()
497 shell_error(sh, "Failed to write %s (%d)", in cmd_write()
564 shell_error(sh, "Missing parameters: read_test <path> <repeat>"); in cmd_read_test()
572 shell_error(sh, "<repeat> must be between 1 and 10."); in cmd_read_test()
579 shell_error(sh, "File status failed: %d", err); in cmd_read_test()
584 shell_error(sh, "Provided path is not a file"); in cmd_read_test()
598 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_read_test()
607 shell_error(sh, "Failed to write %s (%d)", in cmd_read_test()
625 shell_error(sh, "File read error, expected %d bytes but only read %d", in cmd_read_test()
656 shell_error(sh, "Missing parameters: erase_write_test <path> <size> <repeat>"); in cmd_erase_write_test()
665 shell_error(sh, "<size> must be at least 1."); in cmd_erase_write_test()
670 shell_error(sh, "<repeat> must be between 1 and 10."); in cmd_erase_write_test()
687 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_erase_write_test()
699 shell_error(sh, "Failed to delete %s (%d)", path, err); in cmd_erase_write_test()
705 shell_error(sh, "Failed to open %s (%d)", path, err); in cmd_erase_write_test()
709 shell_error(sh, "Failed to truncate %s (%d)", path, err); in cmd_erase_write_test()
725 shell_error(sh, "Failed to write %s (%d)", in cmd_erase_write_test()
771 shell_error(sh, in cmd_mount_fat()
779 shell_error(sh, in cmd_mount_fat()
803 shell_error(sh, "Failed to allocate mount point"); in cmd_mount_littlefs()
812 shell_error(sh, "Error mounting as littlefs: %d", rc); in cmd_mount_littlefs()