Lines Matching defs:source
177 static int add_mount(const char *source, const char *mnt, const char *type,
180 return fuse_mnt_add_mount(progname, source, mnt, type, opts);
518 static int add_mount(const char *source, const char *mnt, const char *type,
521 (void) source;
757 static int mount_notrunc(const char *source, const char *target,
765 return mount(source, target, filesystemtype, mountflags, data);
781 char *source = NULL;
876 source = malloc((fsname ? strlen(fsname) : 0) +
880 if (!type || !source) {
891 strcpy(source, fsname);
893 strcpy(source, subtype ? subtype : dev);
895 res = mount_notrunc(source, mnt, type, flags, optbuf);
901 sprintf(source, "%s#%s", subtype, fsname);
903 strcpy(source, type);
906 res = mount_notrunc(source, mnt, type, flags, optbuf);
912 res = mount_notrunc(source, mnt, type, flags, optbuf);
924 *sourcep = source;
935 free(source);
1134 char *source = NULL;
1158 fd, opts, dev, &source, &mnt_opts);
1173 res = add_mount(source, mnt, *type, mnt_opts);
1181 free(source);