Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.c774 int do_unlink_at(int dfd, const char *pathname, bool from_userland) in do_unlink_at() argument
786 pathlen = strnlen_user(pathname, PAGE_4K_SIZE - 1); in do_unlink_at()
788 pathlen = strnlen(pathname, PAGE_4K_SIZE - 1); in do_unlink_at()
798 if (pathname[i] != '/') in do_unlink_at()
808 else if (pathname[0] != '/') in do_unlink_at()
815 strncpy_from_user(buf, pathname, last_slash); in do_unlink_at()
817 strncpy(buf, pathname, last_slash); in do_unlink_at()
864 const char *pathname = (const char *)regs->r9; in sys_unlink_at() local
870 return vfs_rmdir(pathname, from_user); in sys_unlink_at()
872 return do_unlink_at(dfd, pathname, from_user); in sys_unlink_at()
DVFS.h294 int do_unlink_at(int dfd, const char *pathname, bool name);