函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:security\integrity\ima\ima_crypto.c Create Date:2022-07-27 22:00:34
首页 Copyright©Brick

152
153
154
155
156
157
158
159
160
161
162
/**
 * ima_free_pages() - Free pages allocated by ima_alloc_pages().
 * @ptr:  Pointer to allocated pages.
 * @size: Size of allocated buffer.
 */
static void ima_free_pages(void *ptr, size_t size)
{
    if (!ptr)
        return;
    free_pages((unsigned long)ptr, get_order(size));
}