Lines Matching refs:file
237 [[case]] # file creation
244 sprintf(path, "file%03d", i);
245 lfs_file_open(&lfs, &file, path,
247 lfs_file_close(&lfs, &file) => 0;
260 sprintf(path, "file%03d", i);
270 [[case]] # file removal
278 lfs_file_open(&lfs, &file, path,
280 lfs_file_close(&lfs, &file) => 0;
322 [[case]] # file rename
330 lfs_file_open(&lfs, &file, path,
332 lfs_file_close(&lfs, &file) => 0;
383 [[case]] # reentrant file creation/rename/removal
395 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
396 lfs_file_close(&lfs, &file) => 0;
468 lfs_file_open(&lfs, &file, "burito",
470 lfs_file_close(&lfs, &file) => 0;
649 lfs_file_open(&lfs, &file, "burito",
651 lfs_file_close(&lfs, &file) => 0;
658 lfs_file_open(&lfs, &file, "burito",
660 lfs_file_open(&lfs, &file, "potato",
664 lfs_file_open(&lfs, &file, "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT;
665 lfs_file_open(&lfs, &file, "potato", LFS_O_RDONLY) => LFS_ERR_ISDIR;
666 lfs_file_open(&lfs, &file, "tomato", LFS_O_WRONLY) => LFS_ERR_NOENT;
667 lfs_file_open(&lfs, &file, "potato", LFS_O_WRONLY) => LFS_ERR_ISDIR;
668 lfs_file_open(&lfs, &file, "potato",
672 lfs_file_open(&lfs, &file, "/",
674 lfs_file_open(&lfs, &file, "/", LFS_O_RDONLY) => LFS_ERR_ISDIR;
675 lfs_file_open(&lfs, &file, "/", LFS_O_WRONLY) => LFS_ERR_ISDIR;
676 lfs_file_open(&lfs, &file, "/",