Function report |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-28 10:33:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__dma_direct_optimal_gfp_mask
Proto:static gfp_t __dma_direct_optimal_gfp_mask(struct device *dev, u64 dma_mask, u64 *phys_limit)
Type:gfp_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | dev | |
| u64 | dma_mask | |
| u64 * | phys_limit |
| 62 | dma_limit = min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(dma_mask, upstream dma constraint ) |
| 64 | If force_dma_unencrypted(dev) Then phys_limit = __dma_to_phys(dev, dma_limit) |
| 66 | Else phys_limit = dma_to_phys(dev, dma_limit) |
| 79 | If phys_limit <= DMA_BIT_MASK(32) Then Return GFP_DMA32 |
| 81 | Return 0 |
| Name | Describe |
|---|---|
| __dma_direct_alloc_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 |