Lines Matching refs:dinfo

181 	struct udf_inode_info *dinfo = UDF_I(dir);  in udf_find_entry()  local
191 if (dinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_find_entry()
200 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_find_entry()
202 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_find_entry()
362 struct udf_inode_info *dinfo; in udf_add_entry() local
392 dinfo = UDF_I(dir); in udf_add_entry()
393 if (dinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_add_entry()
397 &dinfo->i_location, 0); in udf_add_entry()
403 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_add_entry()
405 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_add_entry()
416 block = dinfo->i_location.logicalBlockNum; in udf_add_entry()
449 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB && in udf_add_entry()
463 epos.block = dinfo->i_location; in udf_add_entry()
478 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_add_entry()
479 block = dinfo->i_location.logicalBlockNum; in udf_add_entry()
481 (dinfo->i_data + fibh->soffset - in udf_add_entry()
483 dinfo->i_lenEAttr); in udf_add_entry()
494 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_add_entry()
496 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_add_entry()
499 dinfo->i_lenExtents = (dinfo->i_lenExtents + sb->s_blocksize in udf_add_entry()
518 epos.block = dinfo->i_location; in udf_add_entry()
550 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) in udf_add_entry()
551 dinfo->i_lenAlloc += nfidlen; in udf_add_entry()
557 elen -= dinfo->i_lenExtents - dir->i_size; in udf_add_entry()
558 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_add_entry()
560 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_add_entry()
563 dinfo->i_lenExtents = dir->i_size; in udf_add_entry()
685 struct udf_inode_info *dinfo = UDF_I(dir); in udf_mkdir() local
703 cfi.icb.extLocation = cpu_to_lelb(dinfo->i_location); in udf_mkdir()
705 cpu_to_le32(dinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mkdir()
749 struct udf_inode_info *dinfo = UDF_I(dir); in empty_dir() local
754 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) in empty_dir()
761 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in empty_dir()
763 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in empty_dir()