Lines Matching refs:strdup
304 if ((me->map_root = strdup(w1)) == NULL) in mapline_to_mapent()
309 me->map_mntpnt = strdup(""); in mapline_to_mapent()
311 me->map_mntpnt = strdup(w); in mapline_to_mapent()
329 if ((me->map_mntopts = strdup(w)) == NULL) in mapline_to_mapent()
356 if (((me->map_fsw = strdup(w)) == NULL) || in mapline_to_mapent()
357 ((me->map_fswq = strdup(wq)) == NULL)) in mapline_to_mapent()
606 if ((me->map_mntopts = strdup(entryopts)) == NULL) in set_mapent_opts()
650 if (((me->map_fstype = strdup(fstype)) == NULL) || in set_mapent_opts()
651 ((me->map_mounter = strdup(mounter)) == NULL)) { in set_mapent_opts()
736 me->map_mntopts = strdup(pushopts); in fstype_opts()
738 me->map_mntopts = strdup(pushentryopts); in fstype_opts()
1093 me->map_root = strdup(w1); in mark_and_fake_level1_noroot()
1097 me->map_mntpnt = strdup(faked_map_mntpnt); in mark_and_fake_level1_noroot()
1098 me->map_fstype = strdup(MNTTYPE_AUTOFS); in mark_and_fake_level1_noroot()
1099 me->map_mounter = strdup(MNTTYPE_AUTOFS); in mark_and_fake_level1_noroot()
1105 me->map_fs->mfs_dir = strdup(mapname); in mark_and_fake_level1_noroot()
1168 if ((me->map_fstype = strdup(MNTTYPE_AUTOFS)) == NULL) in convert_mapent_to_automount()
1173 if ((me->map_mounter = strdup(me->map_fstype)) == NULL) in convert_mapent_to_automount()
1178 if ((me->map_fs->mfs_dir = strdup(mapname)) == NULL) in convert_mapent_to_automount()
1511 mfs->mfs_host = strdup(host);
1512 mfs->mfs_dir = strdup(path);
1514 mfs->mfs_host = strdup(hostname);
1515 mfs->mfs_dir = strdup(dirname);
1587 mfs->mfs_dir = strdup(&devname[devname[0] == ':']);
1845 ms->map_mntopts = strdup(entryopts);
1848 ms->map_mounter = strdup(fstype);
1851 ms->map_fstype = strdup(MNTTYPE_NFS);
1861 ms->map_root = strdup(name);
1864 ms->map_mntpnt = strdup("");
1872 mfs->mfs_host = strdup(host);
1875 mfs->mfs_dir = strdup("/");
2043 me->map_root = strdup(name);
2053 me->map_mntpnt = strdup(name);
2057 me->map_fstype = strdup(fstype);
2060 me->map_mounter = strdup(mounter);
2063 me->map_mntopts = strdup(entryopts);
2072 mfs->mfs_host = strdup(host);
2075 mfs->mfs_dir = strdup(ex->ex_dir);