Searched refs:mid (Results 1 – 4 of 4) sorted by relevance
213 int low, mid, high; in kallsyms_lookup_names() local221 mid = low + (high - low) / 2; in kallsyms_lookup_names()222 seq = get_symbol_seq(mid); in kallsyms_lookup_names()227 low = mid + 1; in kallsyms_lookup_names()229 high = mid - 1; in kallsyms_lookup_names()237 low = mid; in kallsyms_lookup_names()249 high = mid; in kallsyms_lookup_names()326 unsigned long i, low, high, mid; in get_symbol_pos() local339 mid = low + (high - low) / 2; in get_symbol_pos()340 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()
6136 u32 vlen, elem_id, mid; in btf_struct_walk() local6241 mid = member->type; in btf_struct_walk()6247 &mid); in btf_struct_walk()6309 mid = elem_id; in btf_struct_walk()6321 *next_btf_id = mid; in btf_struct_walk()