Home
last modified time | relevance | path

Searched refs:e_size (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/fs/ntfs3/
H A Ddir.c357 u32 e_size; in ntfs_read_hdr() local
361 for (;; off += e_size) { in ntfs_read_hdr()
366 e_size = le16_to_cpu(e->size); in ntfs_read_hdr()
367 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr()
531 u32 e_size, off, end; in ntfs_dir_count() local
549 for (; off + sizeof(struct NTFS_DE) <= end; off += e_size) { in ntfs_dir_count()
551 e_size = le16_to_cpu(e->size); in ntfs_dir_count()
552 if (e_size < sizeof(struct NTFS_DE) || in ntfs_dir_count()
553 off + e_size > end) in ntfs_dir_count()
H A Dindex.c726 u32 e_size, e_key_len; in hdr_find_e() local
743 e_size = le16_to_cpu(e->size); in hdr_find_e()
745 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in hdr_find_e()
750 off += e_size; in hdr_find_e()
2271 u32 e_size, root_size, new_root_size; in indx_delete_entry() local
2316 e_size = le16_to_cpu(e->size); in indx_delete_entry()
2326 mi_resize_attr(mi, attr, 0 - e_size); in indx_delete_entry()
2383 mi_resize_attr(mi, attr, 0 - e_size); in indx_delete_entry()
2519 e_size = le16_to_cpu(e->size); in indx_delete_entry()
2520 me = kmemdup(e, e_size, GFP_NOFS); in indx_delete_entry()
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dsmem.c551 u32 e_size; in qcom_smem_get_global() local
566 e_size = le32_to_cpu(entry->size); in qcom_smem_get_global()
569 if (WARN_ON(e_size + entry_offset > region->size)) in qcom_smem_get_global()
573 *size = e_size; in qcom_smem_get_global()
591 u32 e_size; in qcom_smem_get_private() local
605 e_size = le32_to_cpu(e->size); in qcom_smem_get_private()
608 if (WARN_ON(e_size > part->size || padding_data > e_size)) in qcom_smem_get_private()
611 *size = e_size - padding_data; in qcom_smem_get_private()
641 e_size = le32_to_cpu(e->size); in qcom_smem_get_private()
644 if (WARN_ON(e_size > part->size || padding_data > e_size)) in qcom_smem_get_private()
[all …]
/openbmc/linux/security/apparmor/
H A Dpolicy_unpack_test.c51 size_t e_size; member
113 size_t e_size = TEST_ARRAY_BUF_OFFSET + sizeof(u16) + 1; in policy_unpack_test_init() local
119 puf->e_size = e_size; in policy_unpack_test_init()
120 puf->e = build_aa_ext_struct(puf, test, e_size); in policy_unpack_test_init()
131 KUNIT_EXPECT_TRUE(test, aa_inbounds(puf->e, puf->e_size / 2)); in policy_unpack_test_inbounds_when_inbounds()
132 KUNIT_EXPECT_TRUE(test, aa_inbounds(puf->e, puf->e_size)); in policy_unpack_test_inbounds_when_inbounds()
139 KUNIT_EXPECT_FALSE(test, aa_inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
/openbmc/phosphor-logging/lib/include/phosphor-logging/
H A Dlog.hpp89 constexpr auto e_size = std::tuple_size<std::decay_t<T>>::value; in log() local
90 helper_log(std::forward<T>(e), std::make_index_sequence<e_size>{}); in log()
/openbmc/linux/lib/
H A Dlru_cache.c79 unsigned e_count, size_t e_size, size_t e_off) in lc_create() argument
88 WARN_ON(cache_obj_size < e_size); in lc_create()
89 if (cache_obj_size < e_size) in lc_create()
114 lc->element_size = e_size; in lc_create()
/openbmc/linux/include/linux/
H A Dlru_cache.h240 unsigned e_count, size_t e_size, size_t e_off);
/openbmc/qemu/fpu/
H A Dsoftfloat.c593 const int e_size = fmt->exp_size; in unpack_raw64() local
597 .sign = extract64(raw, f_size + e_size, 1), in unpack_raw64()
598 .exp = extract64(raw, f_size, e_size), in unpack_raw64()
636 const int e_size = float128_params.exp_size; in float128_unpack_raw() local
640 .sign = extract64(f.high, f_size + e_size, 1), in float128_unpack_raw()
641 .exp = extract64(f.high, f_size, e_size), in float128_unpack_raw()
651 const int e_size = fmt->exp_size; in pack_raw64() local
654 ret = (uint64_t)p->sign << (f_size + e_size); in pack_raw64()
655 ret = deposit64(ret, f_size, e_size, p->exp); in pack_raw64()
683 const int e_size = float128_params.exp_size; in float128_pack_raw() local
[all …]