Searched refs:strnlen_user (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.2/kernel/src/common/ |
D | string.h | 53 long strnlen_user(const char *src, unsigned long maxlen);
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | string.c | 99 long strnlen_user(const char *src, unsigned long maxlen) in strnlen_user() function
|
/DragonOS-0.1.2/kernel/src/filesystem/VFS/ |
D | VFS.c | 251 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.2/kernel/src/syscall/ |
D | syscall.c | 379 dest_path_len = strnlen_user(dest_path, PAGE_4K_SIZE); in sys_chdir() 461 int path_len = strnlen_user(user_path, PAGE_4K_SIZE); in sys_execve()
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | kernel_api.md | 475 #### `long strnlen_user(const char *src, unsigned long maxlen)`
|
/DragonOS-0.1.2/kernel/src/process/ |
D | process.c | 425 int argv_len = strnlen_user(argv[argc], 1023) + 1; in do_execve()
|