Function report |
Source Code:mm\memfd.c |
Create Date:2022-07-28 16:37:51 |
Last Modify:2022-05-20 10:27:46 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memfd_tag_pins
Proto:static void memfd_tag_pins(struct xa_state *xas)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct xa_state * | xas |
34 | tagged = 0 |
36 | lru_add_drain() |
38 | xas_lock_irq(xas) |
40 | If xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer. Then Continue |
42 | page = find_subpage(page, xa_index) |
46 | If ++tagged % XA_CHECK_SCHED Then Continue |
50 | xas_unlock_irq(xas) |
51 | cond_resched() |
52 | xas_lock_irq(xas) |
54 | xas_unlock_irq(xas) |
Name | Describe |
---|---|
memfd_wait_for_pins | Setting SEAL_WRITE requires us to verify there's no pending writer. However,* via get_user_pages(), drivers might have some pending I/O without any active* user-space mappings (eg., direct-IO, AIO). Therefore, we look at all pages |
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 |