Function report |
Source Code:fs\d_path.c |
Create Date:2022-07-28 20:12:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prepend_name - prepend a pathname in front of current buffer pointer*@buffer: buffer pointer*@buflen: allocated length of the buffer*@name: name string and length qstr structure* With RCU path tracing, it may race with d_move()
Proto:static int prepend_name(char **buffer, int *buflen, const struct qstr *name)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char ** | buffer | |
| int * | buflen | |
| const struct qstr * | name |
| 40 | dname = smp_load_acquire( & name) |
| 45 | If buflen < 0 Then Return -ENAMETOOLONG |
| 48 | p++ = '/' |
| 55 | Return 0 |
| Name | Describe |
|---|---|
| prepend_path | prepend_path - Prepend path string to a buffer*@path: the dentry/vfsmount to report*@root: root vfsmnt/dentry*@buffer: pointer to the end of the buffer*@buflen: pointer to buffer length* The function will first try to write out the pathname without taking |
| __dentry_path | Write full pathname from the root of the filesystem into the buffer. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |