Home
last modified time | relevance | path

Searched refs:eh_ecount (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/fs/ext2fs/
H A Dext2_extents.c151 eh, le16toh(eh->eh_ecount), in ext4_ext_walk_header()
155 for (i = 0; i < le16toh(eh->eh_ecount) && error == 0; i++) in ext4_ext_walk_header()
408 count = le16toh(eh->eh_ecount); in ext4_validate_extent_entries()
474 if (le16toh(eh->eh_ecount) > le16toh(eh->eh_max)) { in ext4_ext_check_header()
502 KASSERT(le16toh(eh->eh_ecount) <= le16toh(eh->eh_max) && in ext4_ext_binsearch_index()
503 le16toh(eh->eh_ecount) > 0, in ext4_ext_binsearch_index()
507 r = EXT_FIRST_INDEX(eh) + le16toh(eh->eh_ecount) - 1; in ext4_ext_binsearch_index()
527 KASSERT(le16toh(eh->eh_ecount) <= le16toh(eh->eh_max), in ext4_ext_binsearch_ext()
530 if (eh->eh_ecount == 0) in ext4_ext_binsearch_ext()
534 r = EXT_FIRST_EXTENT(eh) + le16toh(eh->eh_ecount) in ext4_ext_binsearch_ext()
[all...]
H A Dext2_extents.h76 uint16_t eh_ecount; /* number of valid entries */ member
109 #define EXT_LAST_EXTENT(hdr) (EXT_FIRST_EXTENT((hdr)) + le16toh((hdr)->eh_ecount) - 1)
110 #define EXT_LAST_INDEX(hdr) (EXT_FIRST_INDEX((hdr)) + le16toh((hdr)->eh_ecount) - 1)
114 (le16toh((path)->ep_header->eh_ecount) < le16toh((path)->ep_header->eh_max))
H A Dext2_inode_cnv.c78 le16toh(ehp->eh_magic), le16toh(ehp->eh_ecount), in ext2_print_inode()