Function report |
Source Code:fs\namei.c |
Create Date:2022-07-28 20:05:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Make sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O.
Proto:long do_unlinkat(int dfd, struct filename *name)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
int | dfd | |
struct filename * | name |
3977 | struct inode * delegated_inode = NULL |
3978 | lookup_flags = 0 |
3979 | retry : |
3980 | name = filename_parentat(dfd, name, lookup_flags, & path, & last, & type) |
3988 | error = mnt_want_write(mnt) |
3991 | retry_deleg : |
4000 | If d_is_negative(dentry) Then Go to slashes |
4003 | error = security_path_unlink( & path, dentry) |
4007 | exit2 : |
4011 | If inode Then put an inode |
4013 | inode = NULL |
4014 | If delegated_inode Then |
4015 | error = break_deleg_wait( & delegated_inode) |
4016 | If Not error Then Go to retry_deleg |
4019 | mnt_drop_write(mnt) |
4020 | exit1 : |
4028 | Return error |
4030 | slashes : |
4031 | If d_is_negative(dentry) Then error = -ENOENT |
4037 | Go to exit2 |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | |
SYSCALL_DEFINE1 | |
do_coredump | |
ksys_unlink |
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 |