Lines Matching refs:endnum

721 	int count = 0, startnum = 0, endnum = 0;  in inode_getblk()  local
852 endnum = c + 1; in inode_getblk()
855 endnum = startnum = ((count > 2) ? 2 : count); in inode_getblk()
874 endnum++; in inode_getblk()
907 udf_split_extents(inode, &c, offset, newblocknum, laarr, &endnum); in inode_getblk()
910 udf_prealloc_extents(inode, c, lastblock, laarr, &endnum); in inode_getblk()
913 udf_merge_extents(inode, laarr, &endnum); in inode_getblk()
918 ret = udf_update_extents(inode, laarr, startnum, endnum, &prev_epos); in inode_getblk()
947 struct kernel_long_ad *laarr, int *endnum) in udf_split_extents() argument
986 (*endnum)++; in udf_split_extents()
1004 (*endnum)++; in udf_split_extents()
1011 int *endnum) in udf_prealloc_extents() argument
1015 if (*endnum >= (c + 1)) { in udf_prealloc_extents()
1033 for (i = start + 1; i <= *endnum; i++) { in udf_prealloc_extents()
1034 if (i == *endnum) { in udf_prealloc_extents()
1064 sizeof(struct long_ad) * (*endnum - (c + 1))); in udf_prealloc_extents()
1065 (*endnum)++; in udf_prealloc_extents()
1077 for (i = start + 1; numalloc && i < *endnum; i++) { in udf_prealloc_extents()
1090 if (*endnum > (i + 1)) in udf_prealloc_extents()
1094 (*endnum - (i + 1))); in udf_prealloc_extents()
1096 (*endnum)--; in udf_prealloc_extents()
1106 int *endnum) in udf_merge_extents() argument
1112 for (i = 0; i < (*endnum - 1); i++) { in udf_merge_extents()
1131 if (*endnum > (i + 2)) in udf_merge_extents()
1134 (*endnum - (i + 2))); in udf_merge_extents()
1136 (*endnum)--; in udf_merge_extents()
1166 if (*endnum > (i + 2)) in udf_merge_extents()
1169 (*endnum - (i + 2))); in udf_merge_extents()
1171 (*endnum)--; in udf_merge_extents()
1190 int startnum, int endnum, in udf_update_extents() argument
1199 if (startnum > endnum) { in udf_update_extents()
1200 for (i = 0; i < (startnum - endnum); i++) in udf_update_extents()
1202 } else if (startnum < endnum) { in udf_update_extents()
1203 for (i = 0; i < (endnum - startnum); i++) { in udf_update_extents()
1222 for (i = start; i < endnum; i++) { in udf_update_extents()