Home
last modified time | relevance | path

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

/kernel/
Dkallsyms.c215 int low, mid, high; in kallsyms_lookup_names() local
223 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() local
342 mid = low + (high - low) / 2; in get_symbol_pos()
343 if (kallsyms_sym_address(mid) <= addr) in get_symbol_pos()
[all …]
Dgroups.c102 unsigned int mid = (left+right)/2; in groups_search() local
103 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()
/kernel/cgroup/
Dcgroup-v1.c430 int mid = (index + end) / 2; in cgroup_pidlist_start() local
431 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()
/kernel/bpf/
Dbtf.c5585 u32 vlen, elem_id, mid; in btf_struct_walk() local
5678 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()