Searched refs:laarr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/udf/
H A Dinode.c659 struct kernel_long_ad laarr[EXTENT_MERGE_SIZE]; inode_getblk() local
683 alternate between laarr[0] and laarr[1] for locations of the inode_getblk()
711 laarr[c].extLength = (etype << 30) | elen; inode_getblk()
712 laarr[c].extLocation = eloc; inode_getblk()
754 laarr[0] = laarr[1]; inode_getblk()
758 memset(&laarr[0].extLocation, 0x00, inode_getblk()
760 laarr[0].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; inode_getblk()
766 ret = udf_do_extend_file(inode, &prev_epos, laarr, offset); inode_getblk()
778 if ((laarr[0].extLength & UDF_EXTENT_FLAG_MASK) != inode_getblk()
784 laarr[c].extLength = EXT_NOT_RECORDED_NOT_ALLOCATED | inode_getblk()
786 memset(&laarr[c].extLocation, 0x00, inode_getblk()
799 laarr[2] = laarr[0]; inode_getblk()
800 laarr[0] = laarr[1]; inode_getblk()
801 laarr[1] = laarr[2]; inode_getblk()
809 laarr[c + 1].extLength = (etype << 30) | elen; inode_getblk()
810 laarr[c + 1].extLocation = eloc; inode_getblk()
820 if ((laarr[c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30)) inode_getblk()
821 newblocknum = laarr[c].extLocation.logicalBlockNum + offset; inode_getblk()
849 udf_split_extents(inode, &c, offset, newblocknum, laarr, &endnum); inode_getblk()
857 udf_prealloc_extents(inode, c, lastblock, laarr, &endnum); inode_getblk()
860 /* merge any continuous blocks in laarr */ inode_getblk()
861 udf_merge_extents(inode, laarr, &endnum); inode_getblk()
866 udf_update_extents(inode, laarr, startnum, endnum, &prev_epos); inode_getblk()
893 struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], udf_split_extents()
899 if ((laarr[*c].extLength >> 30) == (EXT_NOT_RECORDED_ALLOCATED >> 30) || udf_split_extents()
900 (laarr[*c].extLength >> 30) == udf_split_extents()
903 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + udf_split_extents()
905 int8_t etype = (laarr[curr].extLength >> 30); udf_split_extents()
910 laarr[curr + 2] = laarr[curr + 1]; udf_split_extents()
911 laarr[curr + 1] = laarr[curr]; udf_split_extents()
913 laarr[curr + 3] = laarr[curr + 1]; udf_split_extents()
914 laarr[curr + 2] = laarr[curr + 1] = laarr[curr]; udf_split_extents()
920 &laarr[curr].extLocation, udf_split_extents()
922 laarr[curr].extLength = udf_split_extents()
925 laarr[curr].extLocation.logicalBlockNum = 0; udf_split_extents()
926 laarr[curr].extLocation. udf_split_extents()
929 laarr[curr].extLength = (etype << 30) | udf_split_extents()
936 laarr[curr].extLocation.logicalBlockNum = newblocknum; udf_split_extents()
938 laarr[curr].extLocation.partitionReferenceNum = udf_split_extents()
940 laarr[curr].extLength = EXT_RECORDED_ALLOCATED | udf_split_extents()
946 laarr[curr].extLocation.logicalBlockNum += udf_split_extents()
948 laarr[curr].extLength = (etype << 30) | udf_split_extents()
957 struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], udf_prealloc_extents()
968 if ((laarr[c + 1].extLength >> 30) == udf_prealloc_extents()
972 (((laarr[c + 1].extLength & udf_prealloc_extents()
984 } else if ((laarr[i].extLength >> 30) == udf_prealloc_extents()
986 length += (((laarr[i].extLength & udf_prealloc_extents()
995 int next = laarr[start].extLocation.logicalBlockNum + udf_prealloc_extents()
996 (((laarr[start].extLength & UDF_EXTENT_LENGTH_MASK) + udf_prealloc_extents()
1000 laarr[start].extLocation.partitionReferenceNum, udf_prealloc_extents()
1006 laarr[start].extLength += udf_prealloc_extents()
1010 memmove(&laarr[c + 2], &laarr[c + 1], udf_prealloc_extents()
1013 laarr[c + 1].extLocation.logicalBlockNum = next; udf_prealloc_extents()
1014 laarr[c + 1].extLocation.partitionReferenceNum = udf_prealloc_extents()
1015 laarr[c].extLocation. udf_prealloc_extents()
1017 laarr[c + 1].extLength = udf_prealloc_extents()
1025 int elen = ((laarr[i].extLength & udf_prealloc_extents()
1031 laarr[i].extLength -= udf_prealloc_extents()
1038 memmove(&laarr[i], udf_prealloc_extents()
1039 &laarr[i + 1], udf_prealloc_extents()
1053 struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], udf_merge_extents()
1061 struct kernel_long_ad *li /*l[i]*/ = &laarr[i]; udf_merge_extents()
1062 struct kernel_long_ad *lip1 /*l[i plus 1]*/ = &laarr[i + 1]; udf_merge_extents()
1095 memmove(&laarr[i + 1], &laarr[i + 2], udf_merge_extents()
1130 memmove(&laarr[i + 1], &laarr[i + 2], udf_merge_extents()
1153 struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], udf_update_extents()
1163 udf_delete_aext(inode, *epos, laarr[i].extLocation, udf_update_extents()
1164 laarr[i].extLength); udf_update_extents()
1167 udf_insert_aext(inode, *epos, laarr[i].extLocation, udf_update_extents()
1168 laarr[i].extLength); udf_update_extents()
1169 udf_next_aext(inode, epos, &laarr[i].extLocation, udf_update_extents()
1170 &laarr[i].extLength, 1); udf_update_extents()
1177 udf_write_aext(inode, epos, &laarr[i].extLocation, udf_update_extents()
1178 laarr[i].extLength, 1); udf_update_extents()
891 udf_split_extents(struct inode *inode, int *c, int offset, int newblocknum, struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], int *endnum) udf_split_extents() argument
956 udf_prealloc_extents(struct inode *inode, int c, int lastblock, struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], int *endnum) udf_prealloc_extents() argument
1052 udf_merge_extents(struct inode *inode, struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], int *endnum) udf_merge_extents() argument
1152 udf_update_extents(struct inode *inode, struct kernel_long_ad laarr[EXTENT_MERGE_SIZE], int startnum, int endnum, struct extent_position *epos) udf_update_extents() argument

Completed in 60 milliseconds