Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dswapfs.c95 struct ext2_ext_attr_header *from_header = in ext2fs_swap_ext_attr() local
100 char *from_end = (char *)from_header + bufsize; in ext2fs_swap_ext_attr()
103 if (to_header != from_header) in ext2fs_swap_ext_attr()
104 memcpy(to_header, from_header, bufsize); in ext2fs_swap_ext_attr()
106 from_entry = (struct ext2_ext_attr_entry *)from_header; in ext2fs_swap_ext_attr()
110 to_header->h_magic = ext2fs_swab32(from_header->h_magic); in ext2fs_swap_ext_attr()
111 to_header->h_blocks = ext2fs_swab32(from_header->h_blocks); in ext2fs_swap_ext_attr()
112 to_header->h_refcount = ext2fs_swab32(from_header->h_refcount); in ext2fs_swap_ext_attr()
115 ext2fs_swab32(from_header->h_reserved[n]); in ext2fs_swap_ext_attr()
116 from_entry = (struct ext2_ext_attr_entry *)(from_header+1); in ext2fs_swap_ext_attr()