Home
last modified time | relevance | path

Searched refs:dx_tail (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/filesystems/ext4/
H A Ddirectory.rst428 ``struct dx_tail``, which contains the checksum. The ``limit`` and
430 necessary to fit the dx_tail into the block. If there is no space for
431 the dx_tail, the user is notified to run e2fsck -D to rebuild the
433 The dx_tail structure is 8 bytes long and looks like this:
454 use, and the tail block (dx_tail) with the dt_checksum initially set to 0.
/linux/fs/ext4/
H A Dnamei.c289 struct dx_tail { struct
442 int count_offset, int count, struct dx_tail *t) in ext4_dx_csum()
448 int offset = offsetof(struct dx_tail, dt_checksum); in ext4_dx_csum()
462 struct dx_tail *t; in ext4_dx_csum_verify()
476 EXT4_BLOCK_SIZE(inode->i_sb) - sizeof(struct dx_tail)) { in ext4_dx_csum_verify()
480 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_verify()
491 struct dx_tail *t; in ext4_dx_csum_set()
505 EXT4_BLOCK_SIZE(inode->i_sb) - sizeof(struct dx_tail)) { in ext4_dx_csum_set()
509 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_set()
584 entry_space -= sizeof(struct dx_tail); in dx_root_limit()
[all …]