Home
last modified time | relevance | path

Searched refs:strnlen_user (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.3/kernel/src/common/
Dstring.h53 long strnlen_user(const char *src, unsigned long maxlen);
/DragonOS-0.1.3/kernel/src/libs/
Dstring.c99 long strnlen_user(const char *src, unsigned long maxlen) in strnlen_user() function
/DragonOS-0.1.3/kernel/src/filesystem/vfs/
DVFS.c251 pathlen = strnlen_user(path, PAGE_4K_SIZE - 1); in vfs_mkdir()
380 path_len = strnlen_user(filename, PAGE_4K_SIZE) + 1; in do_open()
634 pathlen = strnlen_user(path, PAGE_4K_SIZE - 1); in vfs_rmdir()
786 pathlen = strnlen_user(pathname, PAGE_4K_SIZE - 1); in do_unlink_at()
/DragonOS-0.1.3/kernel/src/syscall/
Dsyscall.c406 dest_path_len = strnlen_user(dest_path, PAGE_4K_SIZE); in sys_chdir()
488 int path_len = strnlen_user(user_path, PAGE_4K_SIZE); in sys_execve()
/DragonOS-0.1.3/docs/kernel/core_api/
Dkernel_api.md475 #### `long strnlen_user(const char *src, unsigned long maxlen)`
/DragonOS-0.1.3/kernel/src/process/
Dprocess.c439 int argv_len = strnlen_user(argv[argc], 1023) + 1; in do_execve()