#include "udfdecl.h"
#include "udf_i.h"
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/bio.h>
#include <linux/crc-itu-t.h>
#include <linux/iversion.h>
static int udf_verify_fi(struct udf_fileident_iter *iter)
{ … }
static int udf_copy_fi(struct udf_fileident_iter *iter)
{ … }
static void udf_readahead_dir(struct udf_fileident_iter *iter)
{ … }
static struct buffer_head *udf_fiiter_bread_blk(struct udf_fileident_iter *iter)
{ … }
static int udf_fiiter_advance_blk(struct udf_fileident_iter *iter)
{ … }
static int udf_fiiter_load_bhs(struct udf_fileident_iter *iter)
{ … }
int udf_fiiter_init(struct udf_fileident_iter *iter, struct inode *dir,
loff_t pos)
{ … }
int udf_fiiter_advance(struct udf_fileident_iter *iter)
{ … }
void udf_fiiter_release(struct udf_fileident_iter *iter)
{ … }
static void udf_copy_to_bufs(void *buf1, int len1, void *buf2, int len2,
int off, void *src, int len)
{ … }
static uint16_t udf_crc_fi_bufs(void *buf1, int len1, void *buf2, int len2,
int off, int len)
{ … }
static void udf_copy_fi_to_bufs(char *buf1, int len1, char *buf2, int len2,
int off, struct fileIdentDesc *fi,
uint8_t *impuse, uint8_t *name)
{ … }
void udf_fiiter_write_fi(struct udf_fileident_iter *iter, uint8_t *impuse)
{ … }
void udf_fiiter_update_elen(struct udf_fileident_iter *iter, uint32_t new_elen)
{ … }
int udf_fiiter_append_blk(struct udf_fileident_iter *iter)
{ … }
struct short_ad *udf_get_fileshortad(uint8_t *ptr, int maxoffset, uint32_t *offset,
int inc)
{ … }
struct long_ad *udf_get_filelongad(uint8_t *ptr, int maxoffset, uint32_t *offset, int inc)
{ … }