Lines Matching refs:dirent
383 struct ext2_dir_entry *dirent; in ext2fs_dirent_swab_in2() local
389 dirent = (struct ext2_dir_entry *) p; in ext2fs_dirent_swab_in2()
390 dirent->inode = ext2fs_swab32(dirent->inode); in ext2fs_dirent_swab_in2()
391 dirent->rec_len = ext2fs_swab16(dirent->rec_len); in ext2fs_dirent_swab_in2()
392 dirent->name_len = ext2fs_swab16(dirent->name_len); in ext2fs_dirent_swab_in2()
393 name_len = dirent->name_len; in ext2fs_dirent_swab_in2()
395 dirent->name_len = ext2fs_swab16(dirent->name_len); in ext2fs_dirent_swab_in2()
396 retval = ext2fs_get_rec_len(fs, dirent, &rec_len); in ext2fs_dirent_swab_in2()
421 struct ext2_dir_entry *dirent; in ext2fs_dirent_swab_out2() local
426 dirent = (struct ext2_dir_entry *) p; in ext2fs_dirent_swab_out2()
427 retval = ext2fs_get_rec_len(fs, dirent, &rec_len); in ext2fs_dirent_swab_out2()
436 dirent->inode = ext2fs_swab32(dirent->inode); in ext2fs_dirent_swab_out2()
437 dirent->rec_len = ext2fs_swab16(dirent->rec_len); in ext2fs_dirent_swab_out2()
438 dirent->name_len = ext2fs_swab16(dirent->name_len); in ext2fs_dirent_swab_out2()
441 dirent->name_len = ext2fs_swab16(dirent->name_len); in ext2fs_dirent_swab_out2()