Searched refs:mid (Results 1 – 4 of 4) sorted by relevance
215 int low, mid, high; in kallsyms_lookup_names() local223 mid = low + (high - low) / 2; in kallsyms_lookup_names()224 seq = get_symbol_seq(mid); in kallsyms_lookup_names()229 low = mid + 1; in kallsyms_lookup_names()231 high = mid - 1; in kallsyms_lookup_names()239 low = mid; in kallsyms_lookup_names()251 high = mid; in kallsyms_lookup_names()329 unsigned long i, low, high, mid; in get_symbol_pos() local342 mid = low + (high - low) / 2; in get_symbol_pos()343 if (kallsyms_sym_address(mid) <= addr) in get_symbol_pos()[all …]
102 unsigned int mid = (left+right)/2; in groups_search() local103 if (gid_gt(grp, group_info->gid[mid])) in groups_search()104 left = mid + 1; in groups_search()105 else if (gid_lt(grp, group_info->gid[mid])) in groups_search()106 right = mid; in groups_search()
430 int mid = (index + end) / 2; in cgroup_pidlist_start() local431 if (l->list[mid] == pid) { in cgroup_pidlist_start()432 index = mid; in cgroup_pidlist_start()434 } else if (l->list[mid] <= pid) in cgroup_pidlist_start()435 index = mid + 1; in cgroup_pidlist_start()437 end = mid; in cgroup_pidlist_start()
5585 u32 vlen, elem_id, mid; in btf_struct_walk() local5678 mid = member->type; in btf_struct_walk()5684 &mid); in btf_struct_walk()5746 mid = elem_id; in btf_struct_walk()5758 *next_btf_id = mid; in btf_struct_walk()