Function report |
Source Code:fs\crypto\bio.c |
Create Date:2022-07-28 20:24:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fscrypt_zeroout_range
Proto:int fscrypt_zeroout_range(const struct inode *inode, unsigned long lblk, sector_t pblk, unsigned int len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct inode * | inode | |
unsigned long | lblk | |
sector_t | pblk | |
unsigned int | len |
51 | err = 0 |
54 | If Not ciphertext_page Then Return -ENOMEM |
64 | bio = bio_alloc(GFP_NOWAIT, 1) |
65 | If Not bio Then |
69 | bio_set_dev(bio, s_bdev) |
70 | device address in 512 byte sectors = pblk << blockbits - 9 |
72 | ret = bio_add_page(bio, ciphertext_page, blocksize, 0) |
79 | err = submit_bio_wait(bio) |
85 | lblk++ |
86 | pblk++ |
88 | err = 0 |
89 | errout : |
91 | 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 |