Changeset 651 for trunk/kernel/libk/user_dir.h
- Timestamp:
- Nov 14, 2019, 11:50:09 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/user_dir.h
r635 r651 37 37 * - An user process open a directory by calling the "opendir()" syscall. 38 38 * The user_dir_create() function allocates physical memory to create in the cluster 39 * containing the targetinode one or several physical pages to implement an array40 * of "dirent" , mapped in the user process space as an ANON vseg. It allocates also41 * an "user_dir_t" descriptor structure defined below, registered in the xlist rooted42 * in the reference user process descriptor.39 * containing the directory inode one or several physical pages to implement an array 40 * of "dirent". This array is mapped in the user process space as an ANON vseg. 41 * It allocates also an "user_dir_t" descriptor structure defined below, registered 42 * in the xlist rooted in the reference user process descriptor. 43 43 * - This "user_dir_t" structure contains the total number of "entries", the "current" 44 44 * pointer used by the readdir() syscall, and an "ident" field, that is actually … … 104 104 * structures rooted in the reference process descriptor, release all memory 105 105 * allocated for the user_dir_t struct in the directory inode cluster, including 106 * the dirent array, and delete allANON vseg copies in all process VMM copies,106 * the dirent array, and delete the ANON vseg copies in all process VMM copies, 107 107 * using parallel RPCs. 108 108 * It must be executed by a thread running in the cluster containing the target inode.
Note: See TracChangeset
for help on using the changeset viewer.