Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-28 05:46:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_rq_aligned

Proto:static inline int blk_rq_aligned(struct request_queue *q, unsigned long addr, unsigned int len)

Type:int

Parameter:

TypeParameterName
struct request_queue *q
unsigned longaddr
unsigned intlen
1467  alignment = queue_dma_alignment(q) | dma_pad_mask
1468  Return Not (addr & alignment) && Not (len & alignment)
Caller
NameDescribe
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: