Lines Matching refs:result
86 int result; in ensure_path_mounted() local
87 result = scan_mounted_volumes(); in ensure_path_mounted()
88 if (result < 0) { in ensure_path_mounted()
116 result = mount(v->blk_device, v->mount_point, v->fs_type, in ensure_path_mounted()
118 if (result == 0) return 0; in ensure_path_mounted()
139 int result; in ensure_path_unmounted() local
140 result = scan_mounted_volumes(); in ensure_path_unmounted()
141 if (result < 0) { in ensure_path_unmounted()
234 int result; in format_volume() local
236 result = make_ext4fs(v->blk_device, length, volume, sehandle); in format_volume()
254 result = exec_cmd(f2fs_path, (char* const*)f2fs_argv); in format_volume()
257 if (result != 0) { in format_volume()
258 …t_volume: make %s failed on %s with %d(%s)\n", v->fs_type, v->blk_device, result, strerror(errno)); in format_volume()