Searched refs:total_mapping_size (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ |
H A D | binfmt_elf_test.c | 39 KUNIT_EXPECT_EQ(test, total_mapping_size(NULL, 0), 0); in total_mapping_size_test() 40 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 0), 0); in total_mapping_size_test() 42 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 1), 0); in total_mapping_size_test() 44 KUNIT_EXPECT_EQ(test, total_mapping_size(&empty[1], 1), 0); in total_mapping_size_test() 46 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 2), 0); in total_mapping_size_test() 49 KUNIT_EXPECT_EQ(test, total_mapping_size(mount, ARRAY_SIZE(mount)), mount_size); in total_mapping_size_test() 51 KUNIT_EXPECT_EQ(test, total_mapping_size(unordered, ARRAY_SIZE(unordered)), mount_size); in total_mapping_size_test()
|
H A D | binfmt_elf.c | 409 static unsigned long total_mapping_size(const struct elf_phdr *phdr, int nr) in total_mapping_size() function 615 total_size = total_mapping_size(interp_elf_phdata, in load_elf_interp() 1158 total_size = total_mapping_size(elf_phdata, in load_elf_binary()
|