Lines Matching refs:dinfo

180 	struct udf_inode_info *dinfo = UDF_I(dir);  in udf_find_entry()  local
190 if (dinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_find_entry()
199 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_find_entry()
201 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_find_entry()
346 struct udf_inode_info *dinfo; in udf_add_entry() local
376 dinfo = UDF_I(dir); in udf_add_entry()
377 if (dinfo->i_alloc_type != ICBTAG_FLAG_AD_IN_ICB) { in udf_add_entry()
381 &dinfo->i_location, 0); in udf_add_entry()
387 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_add_entry()
389 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_add_entry()
400 block = dinfo->i_location.logicalBlockNum; in udf_add_entry()
433 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB && in udf_add_entry()
447 epos.block = dinfo->i_location; in udf_add_entry()
462 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) { in udf_add_entry()
463 block = dinfo->i_location.logicalBlockNum; in udf_add_entry()
465 (dinfo->i_data + fibh->soffset - in udf_add_entry()
467 dinfo->i_lenEAttr); in udf_add_entry()
478 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_add_entry()
480 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_add_entry()
483 dinfo->i_lenExtents = (dinfo->i_lenExtents + sb->s_blocksize in udf_add_entry()
502 epos.block = dinfo->i_location; in udf_add_entry()
534 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) in udf_add_entry()
535 dinfo->i_lenAlloc += nfidlen; in udf_add_entry()
541 elen -= dinfo->i_lenExtents - dir->i_size; in udf_add_entry()
542 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in udf_add_entry()
544 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in udf_add_entry()
547 dinfo->i_lenExtents = dir->i_size; in udf_add_entry()
671 struct udf_inode_info *dinfo = UDF_I(dir); in udf_mkdir() local
689 cfi.icb.extLocation = cpu_to_lelb(dinfo->i_location); in udf_mkdir()
691 cpu_to_le32(dinfo->i_unique & 0x00000000FFFFFFFFUL); in udf_mkdir()
735 struct udf_inode_info *dinfo = UDF_I(dir); in empty_dir() local
740 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB) in empty_dir()
747 if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_SHORT) in empty_dir()
749 else if (dinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG) in empty_dir()