Lines Matching refs:fileIdentDesc
46 int udf_write_fi(struct inode *inode, struct fileIdentDesc *cfi, in udf_write_fi()
47 struct fileIdentDesc *sfi, struct udf_fileident_bh *fibh, in udf_write_fi()
58 sizeof(struct fileIdentDesc); in udf_write_fi()
60 offset = fibh->soffset + sizeof(struct fileIdentDesc); in udf_write_fi()
102 crc = udf_crc((uint8_t *)cfi + sizeof(tag), sizeof(struct fileIdentDesc) - in udf_write_fi()
107 crclen + sizeof(tag) - sizeof(struct fileIdentDesc), crc); in udf_write_fi()
108 else if (sizeof(struct fileIdentDesc) >= -fibh->soffset) in udf_write_fi()
109 crc = udf_crc(fibh->ebh->b_data + sizeof(struct fileIdentDesc) + fibh->soffset, in udf_write_fi()
110 crclen + sizeof(tag) - sizeof(struct fileIdentDesc), crc); in udf_write_fi()
114 -fibh->soffset - sizeof(struct fileIdentDesc), crc); in udf_write_fi()
126 if (sizeof(struct fileIdentDesc) <= -fibh->soffset) in udf_write_fi()
127 memcpy((uint8_t *)sfi, (uint8_t *)cfi, sizeof(struct fileIdentDesc)); in udf_write_fi()
132 sizeof(struct fileIdentDesc) + fibh->soffset); in udf_write_fi()
141 static struct fileIdentDesc *
144 struct fileIdentDesc *cfi) in udf_find_entry()
146 struct fileIdentDesc *fi=NULL; in udf_find_entry()
215 poffset = fibh->soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_find_entry()
294 struct fileIdentDesc cfi, *fi; in udf_lookup()
326 static struct fileIdentDesc *
329 struct fileIdentDesc *cfi, int *err) in udf_add_entry()
332 struct fileIdentDesc *fi=NULL; in udf_add_entry()
386 nfidlen = (sizeof(struct fileIdentDesc) + namelen + 3) & ~3; in udf_add_entry()
438 poffset = fibh->soffset + sizeof(struct fileIdentDesc) + liu + lfi; in udf_add_entry()
452 if (((sizeof(struct fileIdentDesc) + liu + lfi + 3) & ~3) == nfidlen) in udf_add_entry()
542 fi = (struct fileIdentDesc *)(fibh->sbh->b_data + fibh->soffset); in udf_add_entry()
577 fi = (struct fileIdentDesc *)(fibh->sbh->b_data); in udf_add_entry()
581 fi = (struct fileIdentDesc *) in udf_add_entry()
586 memset(cfi, 0, sizeof(struct fileIdentDesc)); in udf_add_entry()
615 static int udf_delete_entry(struct inode *inode, struct fileIdentDesc *fi, in udf_delete_entry()
616 struct udf_fileident_bh *fibh, struct fileIdentDesc *cfi) in udf_delete_entry()
628 struct fileIdentDesc cfi, *fi; in udf_create()
673 struct fileIdentDesc cfi, *fi; in udf_mknod()
715 struct fileIdentDesc cfi, *fi; in udf_mkdir()
775 struct fileIdentDesc *fi, cfi; in empty_dir()
842 struct fileIdentDesc *fi, cfi; in udf_rmdir()
885 struct fileIdentDesc *fi; in udf_unlink()
886 struct fileIdentDesc cfi; in udf_unlink()
934 struct fileIdentDesc *fi; in udf_symlink()
935 struct fileIdentDesc cfi; in udf_symlink()
1099 struct fileIdentDesc cfi, *fi; in udf_link()
1151 struct fileIdentDesc *ofi = NULL, *nfi = NULL, *dir_fi = NULL, ocfi, ncfi; in udf_rename()
1247 udf_update_tag((char *)dir_fi, (sizeof(struct fileIdentDesc) + in udf_rename()