| Function report | 
| Source Code: fs\dax.c | Create Date:2022-07-28 20:23:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:dax_lock_mapping_entry - Lock the DAX entry corresponding to a page*@page: The page whose entry we want to lock* Context: Process context.* Return: A cookie to pass to dax_unlock_page() or 0 if the entry could* not be locked.
Proto:dax_entry_t dax_lock_page(struct page *page)
Type:dax_entry_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | 
| 396 | cycle | 
| 399 | entry = NULL | 
| 400 | If Not mapping || Not dax_mapping(mapping) Then Break | 
| 410 | entry = ~0UL | 
| 415 | xas_lock_irq( & xas) | 
| 416 | If mapping != See page-flags.h for PAGE_MAPPING_FLAGS Then | 
| 417 | xas_unlock_irq( & xas) | 
| 418 | Continue | 
| 422 | If dax_is_locked(entry) Then | 
| 426 | Continue | 
| 429 | xas_unlock_irq( & xas) | 
| 430 | Break | 
| 433 | Return entry | 
| 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 |