Searched refs:num_mounts (Results 1 – 1 of 1) sorted by relevance
849 int num_mounts, i; in _g_get_unix_mounts() local855 num_mounts = getvfsstat (NULL, 0, ST_NOWAIT); in _g_get_unix_mounts()857 num_mounts = getfsstat (NULL, 0, MNT_NOWAIT); in _g_get_unix_mounts()859 if (num_mounts == -1) in _g_get_unix_mounts()862 bufsize = num_mounts * sizeof (*mntent); in _g_get_unix_mounts()865 num_mounts = getvfsstat (mntent, bufsize, ST_NOWAIT); in _g_get_unix_mounts()867 num_mounts = getfsstat (mntent, bufsize, MNT_NOWAIT); in _g_get_unix_mounts()869 if (num_mounts == -1) in _g_get_unix_mounts()874 for (i = 0; i < num_mounts; i++) in _g_get_unix_mounts()