Home
last modified time | relevance | path

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

/fs/ntfs3/
Dfslog.c791 static inline struct RESTART_TABLE *init_rsttbl(u16 esize, u16 used) in init_rsttbl() argument
795 u32 bytes = esize * used + sizeof(struct RESTART_TABLE); in init_rsttbl()
796 u32 lf = sizeof(struct RESTART_TABLE) + (used - 1) * esize; in init_rsttbl()
802 t->size = cpu_to_le16(esize); in init_rsttbl()
811 for (off = sizeof(struct RESTART_TABLE) + esize; e < last_free; in init_rsttbl()
812 e = Add2Ptr(e, esize), off += esize) { in init_rsttbl()
821 u16 esize = le16_to_cpu(tbl->size); in extend_rsttbl() local
826 rt = init_rsttbl(esize, used + add); in extend_rsttbl()
830 memcpy(rt + 1, tbl + 1, esize * used); in extend_rsttbl()
835 free_goal * esize); in extend_rsttbl()
[all …]
Dntfs.h714 u16 esize; in hdr_first_de() local
719 esize = le16_to_cpu(e->size); in hdr_first_de()
720 if (esize < sizeof(struct NTFS_DE) || de_off + esize > used) in hdr_first_de()
731 u16 esize; in hdr_next_de() local
736 esize = le16_to_cpu(e->size); in hdr_next_de()
738 if (esize < sizeof(struct NTFS_DE) || in hdr_next_de()
739 off + esize + sizeof(struct NTFS_DE) > used) in hdr_next_de()
742 return Add2Ptr(e, esize); in hdr_next_de()
Dindex.c563 u16 esize; in hdr_find_split() local
568 esize = le16_to_cpu(e->size); in hdr_find_split()
569 for (o = le32_to_cpu(hdr->de_off) + esize; o < used_2; o += esize) { in hdr_find_split()
578 esize = le16_to_cpu(e->size); in hdr_find_split()
851 u16 esize = le16_to_cpu(re->size); in hdr_delete_de() local
853 int bytes = used - (off + esize); in hdr_delete_de()
859 if (off >= used || esize < sizeof(struct NTFS_DE) || in hdr_delete_de()
863 hdr->used = cpu_to_le32(used - esize); in hdr_delete_de()
864 memmove(re, Add2Ptr(re, esize), bytes); in hdr_delete_de()