Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_crypto.c Create Date:2022-07-28 19:58:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:param_set_bufsize

Proto:static int param_set_bufsize(const char *val, const struct kernel_param *kp)

Type:int

Parameter:

TypeParameterName
const char *val
const struct kernel_param *kp
41  size = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
42  order = get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory
43  If order >= Free memory management - zoned buddy allocator. Then Return -EINVAL
45  default is 0 - 1 page. = order
46  ima_bufsize = PAGE_SIZE << order
47  Return 0