函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\direct.c Create Date:2022-07-27 11:32:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dma_direct_get_required_mask

函数原型:u64 dma_direct_get_required_mask(struct device *dev)

返回类型:u64

参数:

类型参数名称
struct device *dev
54  max_dma等于phys_to_dma_direct(dev, (duplicated to the one in bootmem.h - 1) << PAGE_SHIFT determines the page size )
56  返回:1ULL左移ls64 - find last set bit in a 64-bit word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffsll, but returns the position of the most significant set bit减1位的值乘2减1
调用者
名称描述
dma_get_required_mask