函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-27 06:47:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_rq_aligned

函数原型:static inline int blk_rq_aligned(struct request_queue *q, unsigned long addr, unsigned int len)

返回类型:int

参数:

类型参数名称
struct request_queue *q
unsigned longaddr
unsigned intlen
1467  alignment等于queue_dma_alignment(q)按位或dma_pad_mask
1468  返回:非addr按位与alignment的值且非len按位与alignment的值
调用者
名称描述
blk_rq_map_kernlk_rq_map_kern - map kernel data to a request, for passthrough requests*@q: request queue where request should be inserted*@rq: request to fill*@kbuf: the kernel buffer*@len: length of user data*@gfp_mask: memory allocation flags* Description: