Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:array3_size() - Calculate size of 3-dimensional array.*@a: dimension one*@b: dimension two*@c: dimension three* Calculates size of 3-dimensional array: @a *@b *@c.* Returns: number of bytes needed to represent the array or SIZE_MAX on* overflow.

Proto:static inline __must_check size_t array3_size(size_t a, size_t b, size_t c)

Type:size_t

Parameter:

TypeParameterName
size_ta
size_tb
size_tc
279  If check_mul_overflow(a, b, & bytes) Then Return SIZE_MAX
281  If check_mul_overflow(bytes, c, & bytes) Then Return SIZE_MAX
284  Return bytes
Caller
NameDescribe
trigger_batched_requests_storeWe use a kthread as otherwise the kernel serializes all our sync requests* and we would not be able to mimic batched requests on a sync call. Batched* requests on a sync call can for instance happen on a device driver when
trigger_batched_requests_async_store
test_rht_init