Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:22:30 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iov_iter_copy_from_user_atomic
Proto:size_t iov_iter_copy_from_user_atomic(struct page *page, struct iov_iter *i, unsigned long offset, size_t bytes)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct iov_iter * | i | |
unsigned long | offset | |
size_t | bytes |
989 | kaddr = kmap_atomic(page) , p = kaddr + offset |
991 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
992 | Return 0 |
995 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
996 | WARN_ON(1) |
997 | Return 0 |
999 | iterate_all_kinds(i, bytes, v, copyin((p += iov_len) - iov_len, iov_base, iov_len), memcpy_from_page((p += bv_len) - bv_len, bv_page, bv_offset, bv_len), No 3D Now!((p += iov_len) - iov_len, iov_base, iov_len)) |
1005 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
1006 | Return bytes |
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 |