Function report |
Source Code:include\linux\generic-radix-tree.h |
Create Date:2022-07-28 06:25:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__idx_to_offset
Proto:static inline size_t __idx_to_offset(size_t idx, size_t obj_size)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| size_t | idx | |
| size_t | obj_size |
| 101 | If __builtin_constant_p(obj_size) Then BUILD_BUG_ON - break compile if a condition is true(obj_size > PAGE_SIZE) |
| 107 | objs_per_page = PAGE_SIZE / obj_size |
| 109 | Return idx / objs_per_page * PAGE_SIZE + idx % objs_per_page * obj_size |
| 111 | Else |
| 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 |