Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\range.c Create Date:2022-07-28 09:33:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clean_sort_range

Proto:int clean_sort_range(struct range *range, int az)

Type:int

Parameter:

TypeParameterName
struct range *range
intaz
127  k = az - 1 , nr_range = az
129  When i < k cycle
130  If end Then Continue
132  When j > i cycle
133  If end Then
134  k = j
135  Break
138  If j == i Then Break
140  start = start
141  end = end
142  start = 0
143  end = 0
144  k--
147  When i < az cycle
148  If Not end Then
149  nr_range = i
150  Break
155  sort(range, nr_range, size of range , cmp_range, NULL)
157  Return nr_range