Lines Matching refs:idmap
8859 * So we look through our idmap to see if this old id has been seen before. If
8862 static bool check_ids(u32 old_id, u32 cur_id, struct bpf_id_pair *idmap)
8867 if (!idmap[i].old) {
8869 idmap[i].old = old_id;
8870 idmap[i].cur = cur_id;
8873 if (idmap[i].old == old_id) {
8874 return idmap[i].cur == cur_id;
8877 /* We ran out of idmap slots, which should be impossible */
8983 struct bpf_id_pair *idmap)
9049 return check_ids(rold->id, rcur->id, idmap);
9083 if (rold->id && !check_ids(rold->id, rcur->id, idmap)) {
9110 struct bpf_id_pair *idmap)
9160 if (!regsafe(env, &old->stack[spi].spilled_ptr, &cur->stack[spi].spilled_ptr, idmap)) {