Searched refs:mt_array (Results 1 – 2 of 2) sorted by relevance
/dflybsd-src/usr.sbin/installer/libaura/ |
H A D | fspred.c | 186 struct statfs *mt_array, *mt_ptr; in is_mountpoint_mounted() local 189 count = getmntinfo(&mt_array, MNT_WAIT); in is_mountpoint_mounted() 190 for (mt_ptr = mt_array; count > 0; mt_ptr++, count--) { in is_mountpoint_mounted() 200 struct statfs *mt_array, *mt_ptr; in is_device_mounted() local 203 count = getmntinfo(&mt_array, MNT_WAIT); in is_device_mounted() 204 for (mt_ptr = mt_array; count > 0; mt_ptr++, count--) { in is_device_mounted() 214 struct statfs *mt_array, *mt_ptr; in is_any_slice_mounted() local 217 count = getmntinfo(&mt_array, MNT_WAIT); in is_any_slice_mounted() 218 for (mt_ptr = mt_array; count > 0; mt_ptr++, count--) { in is_any_slice_mounted()
|
/dflybsd-src/usr.sbin/installer/libinstaller/ |
H A D | mount.c | 72 struct statfs *mt_array; in unmount_all_under() local 81 count = getmntinfo(&mt_array, MNT_WAIT); in unmount_all_under() 84 qsort((void*)mt_array, count, sizeof(struct statfs), compare); in unmount_all_under() 87 if (strncmp(mtpt, mt_array[i].f_mntonname, strlen(mtpt)) != 0) in unmount_all_under() 89 if (strlen(mtpt) > strlen(mt_array[i].f_mntonname)) in unmount_all_under() 93 a->os_root, cmd_name(a, "UMOUNT"), mt_array[i].f_mntonname); in unmount_all_under()
|