Home | History | Annotate | Download | only in fs_mgr

Lines Matching refs:start_idx

273  * the mountpoint of the one given by fstab->recs[start_idx].
277 * succeeded. In case of failure, it will be the start_idx.
282 static int mount_with_alternatives(struct fstab *fstab, int start_idx, int *end_idx, int *attempted_idx)
288 if (!end_idx || !attempted_idx || start_idx >= fstab->num_entries) {
290 if (end_idx) *end_idx = start_idx;
291 if (attempted_idx) *end_idx = start_idx;
296 for (i = start_idx;
298 i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point);
318 if (i != start_idx) {
321 fstab->recs[start_idx].fs_type);
334 *attempted_idx = start_idx;