Home
last modified time | relevance | path

Searched refs:mtpt (Results 1 – 6 of 6) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dismounted.c97 int *mount_flags, char *mtpt, int mtlen) in check_mntent_file() argument
174 if (mtpt) in check_mntent_file()
175 strncpy(mtpt, "/", mtlen); in check_mntent_file()
190 if (mtpt) in check_mntent_file()
191 strncpy(mtpt, mnt->mnt_dir, mtlen); in check_mntent_file()
217 char *mtpt, int mtlen) in check_mntent() argument
223 mtpt, mtlen); in check_mntent()
229 mtpt, mtlen); in check_mntent()
237 retval = check_mntent_file(MOUNTED, file, mount_flags, mtpt, mtlen); in check_mntent()
249 char *mtpt, int mtlen) in check_getmntinfo() argument
[all …]
Dext2fs.h1609 char *mtpt, int mtlen);
/third_party/e2fsprogs/misc/
Dblkid.c151 const char *label, const char *mtpt, in pretty_print_line() argument
179 len = pretty_print_word(mtpt, mtpt_len, len, 0); in pretty_print_line()
190 char mtpt[80]; in pretty_print_dev() local
219 mtpt[0] = 0; in pretty_print_dev()
221 mtpt, sizeof(mtpt)); in pretty_print_dev()
224 if (!mtpt[0]) in pretty_print_dev()
225 strcpy(mtpt, "(mounted, mtpt unknown)"); in pretty_print_dev()
227 strcpy(mtpt, "(in use)"); in pretty_print_dev()
229 strcpy(mtpt, "(not mounted)"); in pretty_print_dev()
232 pretty_print_line(devname, fs_type, label, mtpt, uuid); in pretty_print_dev()
/third_party/e2fsprogs/resize/
Dmain.c271 char *mtpt, *undo_file = NULL; in main() local
348 mtpt = malloc(len); in main()
349 if (!mtpt) in main()
351 mtpt[len-1] = 0; in main()
353 mtpt, len); in main()
360 if (!(mount_flags & EXT2_MF_MOUNTED) || (mtpt[len-1] == 0)) in main()
362 free(mtpt); in main()
638 retval = online_resize_fs(fs, mtpt, &new_size, flags); in main()
654 free(mtpt); in main()
Donline.c51 errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt, in online_resize_fs() argument
87 "on-line resizing required\n"), fs->device_name, mtpt); in online_resize_fs()
134 fd = open(mtpt, O_RDONLY); in online_resize_fs()
137 _("while trying to open mountpoint %s"), mtpt); in online_resize_fs()
290 "not supported on this system.\n"), fs->device_name, mtpt); in online_resize_fs()
Dresize2fs.h170 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,