Function report |
Source Code:fs\dax.c |
Create Date:2022-07-28 20:23:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dax_iomap_actor
Proto:static loff_t dax_iomap_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 |
1096 | bdev = block device for I/O |
1100 | ret = 0 |
1104 | If iov_iter_rw(iter) == generic data direction definitions Then |
1113 | If WARN_ON_ONCE( type of mapping != locks allocated at @addr ) Then Return -EIO |
1127 | id = dax_read_lock() |
1130 | size = @a is a power of 2 value (length + offset, PAGE_SIZE) |
1131 | sector = dax_iomap_sector(iomap, pos) |
1136 | If fatal_signal_pending(current process) Then |
1142 | If ret Then Break |
1147 | If map_len < 0 Then |
1163 | If iov_iter_rw(iter) == WRITE Then xfer = dax_copy_from_iter(dax_dev, pgoff, kaddr, map_len, iter) |
1179 | dax_read_unlock(id) |
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 |