Lines Matching refs:old_id
319 static bool check_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) in check_ids() argument
325 if (!!old_id != !!cur_id) in check_ids()
328 if (old_id == 0) /* cur_id == 0 as well */ in check_ids()
332 if (map[i].old == old_id) in check_ids()
340 map[idmap->cnt].old = old_id; in check_ids()
380 static bool check_scalar_ids(u32 old_id, u32 cur_id, struct bpf_idmap *idmap) in check_scalar_ids() argument
382 if (!old_id) in check_scalar_ids()
387 if (!check_ids(old_id, cur_id, idmap)) in check_scalar_ids()
389 if (old_id & BPF_ADD_CONST) { in check_scalar_ids()
390 old_id &= ~BPF_ADD_CONST; in check_scalar_ids()
392 if (!check_ids(old_id, cur_id, idmap)) in check_scalar_ids()