Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dgroups.c107 unsigned int mid = (left+right)/2; in groups_search() local
108 if (gid_gt(grp, group_info->gid[mid])) in groups_search()
109 left = mid + 1; in groups_search()
110 else if (gid_lt(grp, group_info->gid[mid])) in groups_search()
111 right = mid; in groups_search()
Dkallsyms.c224 unsigned long i, low, high, mid; in get_symbol_pos() local
237 mid = low + (high - low) / 2; in get_symbol_pos()
238 if (kallsyms_sym_address(mid) <= addr) in get_symbol_pos()
239 low = mid; in get_symbol_pos()
241 high = mid; in get_symbol_pos()
/kernel/cgroup/
Dcgroup-v1.c437 int mid = (index + end) / 2; in cgroup_pidlist_start() local
438 if (l->list[mid] == pid) { in cgroup_pidlist_start()
439 index = mid; in cgroup_pidlist_start()
441 } else if (l->list[mid] <= pid) in cgroup_pidlist_start()
442 index = mid + 1; in cgroup_pidlist_start()
444 end = mid; in cgroup_pidlist_start()