Function report |
Source Code:fs\dcookies.c |
Create Date:2022-07-28 20:34:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is the main kernel-side routine that retrieves the cookie* value for a dentry/vfsmnt pair.
Proto:int get_dcookie(const struct path *path, unsigned long *cookie)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct path * | path | |
| unsigned long * | cookie |
| 119 | err = 0 |
| 122 | mutex_lock( & dcookie_mutex) |
| 124 | If Not is_live() Then |
| 129 | If protected by d_lock & For use by dcookie subsystem Then |
| 130 | dcs = find_dcookie((unsignedlong)dentry) |
| 131 | Else |
| 141 | out : |
| 143 | Return err |
| 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 |