Lines Matching refs:me
96 struct mntent *me, in add_swap() argument
104 assert(me); in add_swap()
147 r = write_options(f, me->mnt_opts); in add_swap()
156 r = generator_write_timeouts(arg_dest, what, what, me->mnt_opts, NULL); in add_swap()
180 static bool mount_is_network(struct mntent *me) { in mount_is_network() argument
181 assert(me); in mount_is_network()
183 return fstab_test_option(me->mnt_opts, "_netdev\0") || in mount_is_network()
184 fstype_is_network(me->mnt_type); in mount_is_network()
187 static bool mount_in_initrd(struct mntent *me) { in mount_in_initrd() argument
188 assert(me); in mount_in_initrd()
190 return fstab_test_option(me->mnt_opts, "x-initrd.mount\0") || in mount_in_initrd()
191 streq(me->mnt_dir, "/usr"); in mount_in_initrd()
575 struct mntent *me; in parse_fstab() local
589 while ((me = getmntent(f))) { in parse_fstab()
595 if (initrd && !mount_in_initrd(me)) in parse_fstab()
598 what = fstab_node_to_udev_node(me->mnt_fsname); in parse_fstab()
614 where = strdup(me->mnt_dir); in parse_fstab()
637 makefs = fstab_test_option(me->mnt_opts, "x-systemd.makefs\0"); in parse_fstab()
638 growfs = fstab_test_option(me->mnt_opts, "x-systemd.growfs\0"); in parse_fstab()
639 noauto = fstab_test_yes_no_option(me->mnt_opts, "noauto\0" "auto\0"); in parse_fstab()
640 nofail = fstab_test_yes_no_option(me->mnt_opts, "nofail\0" "fail\0"); in parse_fstab()
643 what, where, me->mnt_type, in parse_fstab()
652 if (streq(me->mnt_type, "swap")) in parse_fstab()
653 k = add_swap(what, me, flags); in parse_fstab()
658 rw_only = fstab_test_option(me->mnt_opts, "x-systemd.rw-only\0"); in parse_fstab()
659 automount = fstab_test_option(me->mnt_opts, in parse_fstab()
668 else if (mount_is_network(me)) in parse_fstab()
677 me->mnt_type, in parse_fstab()
678 me->mnt_opts, in parse_fstab()
679 me->mnt_passno, in parse_fstab()