Function report |
Source Code:fs\iomap\direct-io.c |
Create Date:2022-07-28 20:32:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iomap_dio_actor
Proto:static loff_t iomap_dio_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)
Type:loff_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
loff_t | pos | |
loff_t | length | |
void * | data | |
struct iomap * | iomap | |
struct iomap * | srcmap |
373 | Case type of mapping == blocks allocated, need allocation |
374 | If WARN_ON_ONCE(flags & IOMAP_DIO_WRITE) Then Return -EIO |
376 | Return iomap_dio_hole_actor(length, dio) |
378 | If Not (flags & IOMAP_DIO_WRITE) Then Return iomap_dio_hole_actor(length, dio) |
381 | Case type of mapping == locks allocated at @addr |
383 | Case type of mapping == data inline in the inode |
385 | Default |
386 | WARN_ON_ONCE(1) |
387 | Return -EIO |
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 |