Lines Matching refs:endnum
687 int count = 0, startnum = 0, endnum = 0; in inode_getblk() local
811 endnum = c + 1; in inode_getblk()
815 endnum = startnum = ((count > 2) ? 2 : count); in inode_getblk()
834 endnum++; in inode_getblk()
867 udf_split_extents(inode, &c, offset, newblocknum, laarr, &endnum); in inode_getblk()
874 udf_prealloc_extents(inode, c, lastblock, laarr, &endnum); in inode_getblk()
877 udf_merge_extents(inode, laarr, &endnum); in inode_getblk()
882 *err = udf_update_extents(inode, laarr, startnum, endnum, &prev_epos); in inode_getblk()
910 struct kernel_long_ad *laarr, int *endnum) in udf_split_extents() argument
949 (*endnum)++; in udf_split_extents()
967 (*endnum)++; in udf_split_extents()
974 int *endnum) in udf_prealloc_extents() argument
978 if (*endnum >= (c + 1)) { in udf_prealloc_extents()
996 for (i = start + 1; i <= *endnum; i++) { in udf_prealloc_extents()
997 if (i == *endnum) { in udf_prealloc_extents()
1027 sizeof(struct long_ad) * (*endnum - (c + 1))); in udf_prealloc_extents()
1028 (*endnum)++; in udf_prealloc_extents()
1040 for (i = start + 1; numalloc && i < *endnum; i++) { in udf_prealloc_extents()
1053 if (*endnum > (i + 1)) in udf_prealloc_extents()
1057 (*endnum - (i + 1))); in udf_prealloc_extents()
1059 (*endnum)--; in udf_prealloc_extents()
1069 int *endnum) in udf_merge_extents() argument
1075 for (i = 0; i < (*endnum - 1); i++) { in udf_merge_extents()
1094 if (*endnum > (i + 2)) in udf_merge_extents()
1097 (*endnum - (i + 2))); in udf_merge_extents()
1099 (*endnum)--; in udf_merge_extents()
1129 if (*endnum > (i + 2)) in udf_merge_extents()
1132 (*endnum - (i + 2))); in udf_merge_extents()
1134 (*endnum)--; in udf_merge_extents()
1153 int startnum, int endnum, in udf_update_extents() argument
1161 if (startnum > endnum) { in udf_update_extents()
1162 for (i = 0; i < (startnum - endnum); i++) in udf_update_extents()
1164 } else if (startnum < endnum) { in udf_update_extents()
1165 for (i = 0; i < (endnum - startnum); i++) { in udf_update_extents()
1182 for (i = start; i < endnum; i++) { in udf_update_extents()