mem.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | mem.c (6a85e34c4d07d2ec0c153067baff338ac0db55ca) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 */ 5 6#include <stdio.h> 7#include <stddef.h> 8#include <stdlib.h> 9#include <unistd.h> 10#include <errno.h> 11#include <fcntl.h> 12#include <string.h> 13#include <sys/stat.h> 14#include <sys/mman.h> 15#include <sys/vfs.h> 16#include <linux/magic.h> 17#include <init.h> | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 */ 5 6#include <stdio.h> 7#include <stddef.h> 8#include <stdlib.h> 9#include <unistd.h> 10#include <errno.h> 11#include <fcntl.h> 12#include <string.h> 13#include <sys/stat.h> 14#include <sys/mman.h> 15#include <sys/vfs.h> 16#include <linux/magic.h> 17#include <init.h> |
18#include <kern_util.h> |
|
18#include <os.h> 19 20/* 21 * kasan_map_memory - maps memory from @start with a size of @len. 22 * The allocated memory is filled with zeroes upon success. 23 * @start: the start address of the memory to be mapped 24 * @len: the length of the memory to be mapped 25 * --- 207 unchanged lines hidden --- | 19#include <os.h> 20 21/* 22 * kasan_map_memory - maps memory from @start with a size of @len. 23 * The allocated memory is filled with zeroes upon success. 24 * @start: the start address of the memory to be mapped 25 * @len: the length of the memory to be mapped 26 * --- 207 unchanged lines hidden --- |