Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:05:27
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:source_alignment - calculate resource's alignment*@res: resource pointer* Returns alignment on success, 0 (invalid alignment) on failure.

Proto:resource_size_t resource_alignment(struct resource *res)

Type:resource_size_t

Parameter:

TypeParameterName
struct resource *res
1093  Case & == size indicates alignment
1094  Return resource_size(res)
1095  Case & == start field is alignment
1096  Return start
1097  Default
1098  Return 0