Searched refs:e_size (Results 1 – 5 of 5) sorted by relevance
| /linux/fs/ntfs3/ |
| H A D | dir.c | 329 static inline bool de_fname_fits(const struct NTFS_DE *e, u32 e_size, 332 return sizeof(struct NTFS_DE) + fname_full_size(fname) <= e_size; in ntfs_dir_emit() 418 u32 e_size; in ntfs_read_hdr() 422 for (;; off += e_size) { in ntfs_read_hdr() 427 e_size = le16_to_cpu(e->size); in ntfs_read_hdr() 428 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr() 653 de_countable_fname(const struct NTFS_DE *e, u32 e_size) in ntfs_dir_count() 659 !de_fname_fits(e, e_size, fname)) in ntfs_dir_count() 674 u32 e_size, of in ntfs_dir_count() 323 de_fname_fits(const struct NTFS_DE * e,u32 e_size,const struct ATTR_FILE_NAME * fname) de_fname_fits() argument 412 u32 e_size; ntfs_read_hdr() local 635 de_countable_fname(const struct NTFS_DE * e,u32 e_size) de_countable_fname() argument 656 u32 e_size, off, end; ntfs_dir_count() local [all...] |
| H A D | index.c | 634 u16 e_size = le16_to_cpu(e->size); in index_hdr_check() 638 if (!IS_ALIGNED(e_size, 8) || e_size < min_size || in index_hdr_check() 644 if (size_add(off, e_size) > end) in index_hdr_check() 654 data_size = e_size - min_size; in index_hdr_check() 658 off += e_size; in index_hdr_check() 762 u32 e_size, e_key_len; in hdr_find_e() 776 e_size = le16_to_cpu(e->size); in hdr_find_e() 778 if (e_size < sizeof(struct NTFS_DE) || off + e_size > en in hdr_find_e() 631 u16 e_size = le16_to_cpu(e->size); index_hdr_check() local 759 u32 e_size, e_key_len; hdr_find_e() local 2383 u32 e_size, root_size, new_root_size; indx_delete_entry() local [all...] |
| /linux/security/apparmor/ |
| H A D | policy_unpack_test.c | 53 size_t e_size; member 115 size_t e_size = TEST_ARRAY_BUF_OFFSET + sizeof(u16) + 1; in policy_unpack_test_init() local 121 puf->e_size = e_size; in policy_unpack_test_init() 122 puf->e = build_aa_ext_struct(puf, test, e_size); in policy_unpack_test_init() 133 KUNIT_EXPECT_TRUE(test, aa_inbounds(puf->e, puf->e_size / 2)); in policy_unpack_test_inbounds_when_inbounds() 134 KUNIT_EXPECT_TRUE(test, aa_inbounds(puf->e, puf->e_size)); in policy_unpack_test_inbounds_when_inbounds() 141 KUNIT_EXPECT_FALSE(test, aa_inbounds(puf->e, puf->e_size + 1)); in policy_unpack_test_inbounds_when_out_of_bounds()
|
| /linux/lib/ |
| H A D | lru_cache.c | 79 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/include/linux/ |
| H A D | lru_cache.h | 240 unsigned e_count, size_t e_size, size_t e_off);
|