Searched refs:cfi (Results 1 – 8 of 8) sorted by relevance
/fs/coda/ |
D | file.c | 42 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_read_iter() local 48 &cfi->cfi_access_intent, in coda_file_read_iter() 53 ret = vfs_iter_read(cfi->cfi_container, to, &iocb->ki_pos, 0); in coda_file_read_iter() 57 &cfi->cfi_access_intent, in coda_file_read_iter() 67 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_write_iter() local 68 struct file *host_file = cfi->cfi_container; in coda_file_write_iter() 74 &cfi->cfi_access_intent, in coda_file_write_iter() 81 ret = vfs_iter_write(cfi->cfi_container, to, &iocb->ki_pos, 0); in coda_file_write_iter() 90 &cfi->cfi_access_intent, in coda_file_write_iter() 127 struct coda_file_info *cfi = coda_ftoc(coda_file); in coda_file_mmap() local [all …]
|
D | cnode.c | 153 struct coda_file_info *cfi = file->private_data; in coda_ftoc() local 155 BUG_ON(!cfi || cfi->cfi_magic != CODA_MAGIC); in coda_ftoc() 157 return cfi; in coda_ftoc()
|
D | dir.c | 349 struct coda_file_info *cfi; in coda_venus_readdir() local 359 cfi = coda_ftoc(coda_file); in coda_venus_readdir() 360 host_file = cfi->cfi_container; in coda_venus_readdir() 424 struct coda_file_info *cfi; in coda_readdir() local 428 cfi = coda_ftoc(coda_file); in coda_readdir() 429 host_file = cfi->cfi_container; in coda_readdir()
|
/fs/udf/ |
D | namei.c | 44 int udf_write_fi(struct inode *inode, struct fileIdentDesc *cfi, in udf_write_fi() argument 51 uint16_t liu = le16_to_cpu(cfi->lengthOfImpUse); in udf_write_fi() 52 uint8_t lfi = cfi->lengthFileIdent; in udf_write_fi() 100 crc = crc_itu_t(0, (uint8_t *)cfi + sizeof(struct tag), in udf_write_fi() 119 cfi->descTag.descCRC = cpu_to_le16(crc); in udf_write_fi() 120 cfi->descTag.descCRCLength = cpu_to_le16(crclen); in udf_write_fi() 121 cfi->descTag.tagChecksum = udf_tag_checksum(&cfi->descTag); in udf_write_fi() 124 memcpy((uint8_t *)sfi, (uint8_t *)cfi, in udf_write_fi() 127 memcpy((uint8_t *)sfi, (uint8_t *)cfi, -fibh->soffset); in udf_write_fi() 128 memcpy(fibh->ebh->b_data, (uint8_t *)cfi - fibh->soffset, in udf_write_fi() [all …]
|
D | dir.c | 46 struct fileIdentDesc cfi; in udf_readdir() local 151 fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &epos, &eloc, in udf_readdir() 159 liu = le16_to_cpu(cfi.lengthOfImpUse); in udf_readdir() 160 lfi = cfi.lengthFileIdent; in udf_readdir() 188 if ((cfi.fileCharacteristics & FID_FILE_CHAR_DELETED) != 0) { in udf_readdir() 193 if ((cfi.fileCharacteristics & FID_FILE_CHAR_HIDDEN) != 0) { in udf_readdir() 198 if (cfi.fileCharacteristics & FID_FILE_CHAR_PARENT) { in udf_readdir() 208 tloc = lelb_to_cpu(cfi.icb.extLocation); in udf_readdir()
|
D | directory.c | 23 struct fileIdentDesc *cfi, in udf_fileident_read() argument 48 memcpy((uint8_t *)cfi, (uint8_t *)fi, in udf_fileident_read() 111 memcpy((uint8_t *)cfi, (uint8_t *)fi, in udf_fileident_read() 139 memcpy((uint8_t *)cfi, (uint8_t *)fi, -fibh->soffset); in udf_fileident_read() 140 memcpy((uint8_t *)cfi - fibh->soffset, in udf_fileident_read() 144 fi_len = udf_dir_entry_len(cfi); in udf_fileident_read() 148 memcpy((uint8_t *)cfi, (uint8_t *)fi, in udf_fileident_read()
|
D | udfdecl.h | 127 static inline unsigned int udf_dir_entry_len(struct fileIdentDesc *cfi) in udf_dir_entry_len() argument 130 le16_to_cpu(cfi->lengthOfImpUse) + cfi->lengthFileIdent, in udf_dir_entry_len()
|
D | inode.c | 338 struct fileIdentDesc cfi, *sfi, *dfi; in udf_expand_dir_adinicb() local 379 sfi = udf_fileident_read(inode, &f_pos, &sfibh, &cfi, NULL, in udf_expand_dir_adinicb()
|