• Home
  • Raw
  • Download

Lines Matching refs:PRINTK

90         PRINTK("%s\n", shell_working_directory);  in osShellCmdDoChdir()
136 ERROR_OUT_IF(argc > 1, PRINTK("ls or ls [DIRECTORY]\n"), return -1); in osShellCmdLs()
233 ERROR_OUT_IF(argc != 1, PRINTK("cat [FILE]\n"), return -1); in osShellCmdCat()
296 PRINTK("mount [DEVICE] [PATH] [NAME]\n"); in print_mount_usage()
318 PRINTK("mount -t/-o [DEVICE] [PATH] [NAME]\n"); in osShellCmdMount()
334 PRINTK("mount -t [DEVICE] [PATH] [NAME]\n"); in osShellCmdMount()
337 PRINTK("can't find nfs_mount\n"); in osShellCmdMount()
356 PRINTK("mount ok\n"); in osShellCmdMount()
371 PRINTK("mount [DEVICE] [PATH] [NAME]\n"); in osShellCmdMount()
374 PRINTK("can't find nfs_mount\n"); in osShellCmdMount()
396 PRINTK("mount ok\n"); in osShellCmdMount()
418 ERROR_OUT_IF(argc == 0, PRINTK("umount [PATH]\n"), return 0); in osShellCmdUmount()
444 PRINTK("umount ok\n"); in osShellCmdUmount()
458 ERROR_OUT_IF(argc != 1, PRINTK("mkdir [DIRECTORY]\n"), return 0); in osShellCmdMkdir()
481 ERROR_OUT_IF(argc > 0, PRINTK("\nUsage: pwd\n"), return -1); in osShellCmdPwd()
492 PRINTK("pwd error: strncpy_s error!\n"); in osShellCmdPwd()
498 PRINTK("%s\n", buf); in osShellCmdPwd()
505 PRINTK("Usage :\n"); in print_statfs_usage()
506 PRINTK(" statfs <path>\n"); in print_statfs_usage()
507 PRINTK(" path : Mounted file system path that requires query information\n"); in print_statfs_usage()
508 PRINTK("Example:\n"); in print_statfs_usage()
509 PRINTK(" statfs /ramfs\n"); in print_statfs_usage()
524 ERROR_OUT_IF(argc != 1, PRINTK("statfs failed! Invalid argument!\n"), return -1); in osShellCmdStatfs()
536 PRINTK("statfs failed! Invalid argument!\n"); in osShellCmdStatfs()
544 PRINTK("statfs got:\n f_type = %d\n cluster_size = %d\n", sfs.f_type, sfs.f_bsize); in osShellCmdStatfs()
545 PRINTK(" total_clusters = %llu\n free_clusters = %llu\n", sfs.f_blocks, sfs.f_bfree); in osShellCmdStatfs()
546 PRINTK(" avail_clusters = %llu\n f_namelen = %d\n", sfs.f_bavail, sfs.f_namelen); in osShellCmdStatfs()
547PRINTK("\n%s\n total size: %4llu Bytes\n free size: %4llu Bytes\n", argv[0], total_size, free_siz… in osShellCmdStatfs()
563 ERROR_OUT_IF(argc != 1, PRINTK("touch [FILE]\n"), return -1); in osShellCmdTouch()
604 PRINTK("cp error: Out of memory!\n"); in os_shell_cmd_do_cp()
613 PRINTK("cp error: %s\n", strerror(errno)); in os_shell_cmd_do_cp()
622 PRINTK("cp %s error: %s\n", src_fullpath, strerror(errno)); in os_shell_cmd_do_cp()
629 PRINTK("cp %s error: Source file can't be a directory.\n", src_fullpath); in os_shell_cmd_do_cp()
637 PRINTK("cp error: Out of memory.\n"); in os_shell_cmd_do_cp()
664 PRINTK("cp error. %s.\n", strerror(errno)); in os_shell_cmd_do_cp()
675 PRINTK("cp error: '%s' and '%s' are the same file\n", src_fullpath, dst_fullpath); in os_shell_cmd_do_cp()
684 PRINTK("cp error: can't open %s. %s.\n", src_fullpath, strerror(errno)); in os_shell_cmd_do_cp()
690 PRINTK("cp error: can't create %s. %s.\n", dst_fullpath, strerror(errno)); in os_shell_cmd_do_cp()
698 PRINTK("cp %s %s failed. %s.\n", src_fullpath, dst_fullpath, strerror(errno)); in os_shell_cmd_do_cp()
703 PRINTK("cp %s %s failed. %s.\n", src_fullpath, dst_fullpath, strerror(errno)); in os_shell_cmd_do_cp()
765 PRINTK("malloc failure!\n"); in os_shell_cmd_do_rmdir()
771 PRINTK("name is too long!\n"); in os_shell_cmd_do_rmdir()
866 PRINTK("%s ", fullpath); in os_wildcard_delete_file_or_dir()
871 PRINTK("%s match successful!delete!\n", fullpath); in os_wildcard_delete_file_or_dir()
1020 ERROR_OUT_IF(argc < 2, PRINTK("cp [SOURCEFILE] [DESTFILE]\n"), return -1); in osShellCmdCp()
1030 PRINTK("cp error:%s\n", strerror(errno)); in osShellCmdCp()
1035 PRINTK("cp %s error: Source file can't be a directory.\n", src); in osShellCmdCp()
1044 PRINTK("cp error: can't open %s. %s\n", dst, strerror(errno)); in osShellCmdCp()
1055 PRINTK("cp error: %s, %s.\n", dst_fullpath, strerror(errno)); in osShellCmdCp()
1060 PRINTK("cp error: %s is not a directory.\n", dst_fullpath); in osShellCmdCp()
1069 PRINTK("cp error : Out of memory.\n"); in osShellCmdCp()
1075 PRINTK("cp error : %s is not a directory.\n", dst_fullpath); in osShellCmdCp()
1096 PRINTK("rm [FILE] or rm [-r/-R] [FILE]\n"); in print_rm_usage()
1151 ERROR_OUT_IF(argc == 0, PRINTK("rmdir [DIRECTORY]\n"), return -1); in osShellCmdRmdir()
1163 PRINTK("rmdir %s failed. Error: %s.\n", fullpath, strerror(errno)); in osShellCmdRmdir()
1172 ERROR_OUT_IF(argc > 0, PRINTK("\nUsage: sync\n"), return -1); in osShellCmdSync()
1180 ERROR_OUT_IF(argc > 0, PRINTK("\nUsage: lsfd\n"), return -1); in osShellCmdLsfd()
1218 ERROR_OUT_IF((argc != 2), PRINTK("su [uid_num] [gid_num]\n"), return -1); in osShellCmdSu()
1220 PRINTK("check uid_num and gid_num is digit\n"), return -1); in osShellCmdSu()
1226 …(su_gid > 60000), PRINTK("uid_num or gid_num out of range!they should be [0~60000]\n"), return -1); in osShellCmdSu()
1247 ERROR_OUT_IF((argc != 2), PRINTK("Usage: chmod <MODE> [FILE]\n"), return -1); in osShellCmdChmod()
1254 PRINTK("check the input <MODE>\n"); in osShellCmdChmod()
1273 PRINTK("chmod error! %s\n", strerror(errno)); in osShellCmdChmod()
1291 …ERROR_OUT_IF(((argc != 2) && (argc != 3)), PRINTK("Usage: chown [OWNER] [GROUP] FILE\n"), return -… in osShellCmdChown()
1293 ERROR_OUT_IF((checkNum(argv[0]) != 0), PRINTK("check OWNER is digit\n"), return -1); in osShellCmdChown()
1298 ERROR_OUT_IF((checkNum(argv[0]) != 0), PRINTK("check OWNER is digit\n"), return -1); in osShellCmdChown()
1299 ERROR_OUT_IF((checkNum(argv[1]) != 0), PRINTK("check GROUP is digit\n"), return -1); in osShellCmdChown()
1324 PRINTK("chown error! %s\n", strerror(errno)); in osShellCmdChown()
1340 ERROR_OUT_IF((argc != 2), PRINTK("Usage: chgrp GROUP FILE\n"), return -1); in osShellCmdChgrp()
1341 ERROR_OUT_IF((checkNum(argv[0]) != 0), PRINTK("check GROUP is digit\n"), return -1); in osShellCmdChgrp()
1360 PRINTK("chgrp error! %s\n", strerror(errno)); in osShellCmdChgrp()