Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ntfs3/
A Ddir.c326 u32 e_size; in ntfs_read_hdr() local
330 for (;; off += e_size) { in ntfs_read_hdr()
335 e_size = le16_to_cpu(e->size); in ntfs_read_hdr()
336 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr()
493 u32 e_size, off, end; in ntfs_dir_count() local
513 for (; off + sizeof(struct NTFS_DE) <= end; off += e_size) { in ntfs_dir_count()
515 e_size = le16_to_cpu(e->size); in ntfs_dir_count()
516 if (e_size < sizeof(struct NTFS_DE) || in ntfs_dir_count()
517 off + e_size > end) in ntfs_dir_count()
A Dindex.c725 u32 e_size, e_key_len; in hdr_find_e() local
735 e_size = le16_to_cpu(e->size); in hdr_find_e()
737 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in hdr_find_e()
742 off += e_size; in hdr_find_e()
2224 u32 e_size, root_size, new_root_size; in indx_delete_entry() local
2269 e_size = le16_to_cpu(e->size); in indx_delete_entry()
2279 mi_resize_attr(mi, attr, 0 - e_size); in indx_delete_entry()
2336 mi_resize_attr(mi, attr, 0 - e_size); in indx_delete_entry()
2472 e_size = le16_to_cpu(e->size); in indx_delete_entry()
2473 me = kmemdup(e, e_size, GFP_NOFS); in indx_delete_entry()
[all …]
/linux-6.3-rc2/drivers/soc/qcom/
A Dsmem.c513 u32 e_size; in qcom_smem_get_global() local
528 e_size = le32_to_cpu(entry->size); in qcom_smem_get_global()
531 if (WARN_ON(e_size + entry_offset > region->size)) in qcom_smem_get_global()
535 *size = e_size; in qcom_smem_get_global()
553 u32 e_size; in qcom_smem_get_private() local
567 e_size = le32_to_cpu(e->size); in qcom_smem_get_private()
570 if (WARN_ON(e_size > part->size || padding_data > e_size)) in qcom_smem_get_private()
573 *size = e_size - padding_data; in qcom_smem_get_private()
603 e_size = le32_to_cpu(e->size); in qcom_smem_get_private()
606 if (WARN_ON(e_size > part->size || padding_data > e_size)) in qcom_smem_get_private()
[all …]
/linux-6.3-rc2/security/apparmor/
A Dpolicy_unpack_test.c51 size_t e_size; member
114 size_t e_size = TEST_ARRAY_BUF_OFFSET + sizeof(u16) + 1; in policy_unpack_test_init() local
120 puf->e_size = e_size; in policy_unpack_test_init()
121 puf->e = build_aa_ext_struct(puf, test, e_size); in policy_unpack_test_init()
132 KUNIT_EXPECT_TRUE(test, aa_inbounds(puf->e, puf->e_size / 2)); in policy_unpack_test_inbounds_when_inbounds()
133 KUNIT_EXPECT_TRUE(test, aa_inbounds(puf->e, puf->e_size)); in policy_unpack_test_inbounds_when_inbounds()
140 KUNIT_EXPECT_FALSE(test, aa_inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
/linux-6.3-rc2/lib/
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()
/linux-6.3-rc2/include/linux/
A Dlru_cache.h240 unsigned e_count, size_t e_size, size_t e_off);

Completed in 16 milliseconds