Lines Matching defs:source
5 * Based on NuttX originally from nuttx source (nuttx/fs/ and nuttx/drivers/)
124 * mount() attaches the filesystem specified by the 'source' block device
133 * EBUSY 'source' is already mounted.
136 * EINVAL 'source' had an invalid superblock.
140 * ENOTBLK 'source' is not a block device
144 int mount(const char *source, const char *target,
172 if ((fsmap = mount_findfs(filesystemtype)) == NULL || (fsmap->is_bdfs && !source))
181 if (fsmap->is_bdfs && source)
185 DEBUGASSERT(source);
189 ret = find_blockdriver(source, mountflags, &device);
192 PRINT_ERR("Failed to find block driver %s\n", source);
231 if (source != NULL)
235 if (strcmp(cacheMnt->devName, source) == 0)
288 ret = ZpfsPrepare(source, target, mnt);
334 if (source && (strlen(source) != 0))
336 ret = strcpy_s(mnt->devName, PATH_MAX, source);
349 if (source != NULL)