Lines Matching refs:abs_path
345 int fs_opendir(struct fs_dir_t *zdp, const char *abs_path) in fs_opendir() argument
350 if ((abs_path == NULL) || in fs_opendir()
351 (strlen(abs_path) < 1) || (abs_path[0] != '/')) { in fs_opendir()
361 if (strcmp(abs_path, "/") == 0) { in fs_opendir()
373 rc = fs_get_mnt_point(&mp, abs_path, NULL); in fs_opendir()
384 rc = zdp->mp->fs->opendir(zdp, abs_path); in fs_opendir()
501 int fs_mkdir(const char *abs_path) in fs_mkdir() argument
506 if ((abs_path == NULL) || in fs_mkdir()
507 (strlen(abs_path) <= 1) || (abs_path[0] != '/')) { in fs_mkdir()
512 rc = fs_get_mnt_point(&mp, abs_path, NULL); in fs_mkdir()
526 rc = mp->fs->mkdir(mp, abs_path); in fs_mkdir()
534 int fs_unlink(const char *abs_path) in fs_unlink() argument
539 if ((abs_path == NULL) || in fs_unlink()
540 (strlen(abs_path) <= 1) || (abs_path[0] != '/')) { in fs_unlink()
545 rc = fs_get_mnt_point(&mp, abs_path, NULL); in fs_unlink()
559 rc = mp->fs->unlink(mp, abs_path); in fs_unlink()
607 int fs_stat(const char *abs_path, struct fs_dirent *entry) in fs_stat() argument
612 if ((abs_path == NULL) || in fs_stat()
613 (strlen(abs_path) <= 1) || (abs_path[0] != '/')) { in fs_stat()
618 rc = fs_get_mnt_point(&mp, abs_path, NULL); in fs_stat()
628 rc = mp->fs->stat(mp, abs_path, entry); in fs_stat()
637 int fs_statvfs(const char *abs_path, struct fs_statvfs *stat) in fs_statvfs() argument
642 if ((abs_path == NULL) || in fs_statvfs()
643 (strlen(abs_path) <= 1) || (abs_path[0] != '/')) { in fs_statvfs()
648 rc = fs_get_mnt_point(&mp, abs_path, NULL); in fs_statvfs()
658 rc = mp->fs->statvfs(mp, abs_path, stat); in fs_statvfs()