Lines Matching refs:mm
293 struct mtab_list *mtl, *mtl2 = 0, *mm, *remount;
327 mm = dlist_terminate(mtl = mtl2 = xgetmountlist(0));
328 if (remount) remount = mm;
336 for (mm = remount ? remount : mtl; mm; mm = (remount ? mm->prev : mm->next))
344 noauto = comma_scan(mm->opts, "noauto", 1);
350 if (strncmp(dev, mm->dir, len)
351 || (mm->dir[len] && mm->dir[len] != '/')) continue;
353 if (!mountlist_istype(mm,TT.type) || !comma_scanall(mm->opts,TT.bigO))
356 if (dir && strcmp(dir, mm->dir)) continue;
357 if (dev && strcmp(dev, mm->device) && (dir || strcmp(dev, mm->dir)))
365 if (!strcmp(mm->dir, mmm->dir) && !strcmp(mm->device, mmm->device))
370 TT.okuser = comma_scan(mm->opts, "user", 1);
371 aflags = flag_opts(mm->opts, flags, &aopts);
374 mount_filesystem(mm->device, mm->dir, mm->type, aflags, aopts);
384 if (!mm && !FLAG(a))
390 for (mtl = xgetmountlist(0); mtl && (mm = dlist_pop(&mtl)); free(mm)) {
393 if (TT.type && strcmp(TT.type, mm->type)) continue;
394 if (*mm->device == '/') s = xabspath(mm->device, 0);
396 s ? s : mm->device, mm->dir, mm->type, mm->opts);