Searched refs:e_size (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/ |
D | policy_unpack_test.c | 48 size_t e_size; member 111 size_t e_size = TEST_ARRAY_BUF_OFFSET + sizeof(u16) + 1; in policy_unpack_test_init() local 117 puf->e_size = e_size; in policy_unpack_test_init() 118 puf->e = build_aa_ext_struct(puf, test, e_size); in policy_unpack_test_init() 129 KUNIT_EXPECT_TRUE(test, inbounds(puf->e, puf->e_size / 2)); in policy_unpack_test_inbounds_when_inbounds() 130 KUNIT_EXPECT_TRUE(test, inbounds(puf->e, puf->e_size)); in policy_unpack_test_inbounds_when_inbounds() 137 KUNIT_EXPECT_FALSE(test, inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
|
/kernel/linux/linux-5.10/lib/ |
D | lru_cache.c | 89 unsigned e_count, size_t e_size, size_t e_off) in lc_create() argument 98 WARN_ON(cache_obj_size < e_size); in lc_create() 99 if (cache_obj_size < e_size) in lc_create() 124 lc->element_size = e_size; in lc_create()
|
/kernel/linux/linux-5.10/include/linux/ |
D | lru_cache.h | 241 unsigned e_count, size_t e_size, size_t e_off);
|
/kernel/linux/linux-5.10/drivers/iio/temperature/ |
D | ltc2983.c | 396 const u8 e_size = is_steinhart ? sizeof(u32) : sizeof(u64); in __ltc2983_custom_sensor_new() local 398 n_entries = of_property_count_elems_of_size(np, propname, e_size); in __ltc2983_custom_sensor_new()
|