Lines Matching refs:idmap
4352 static bool check_ids(u32 old_id, u32 cur_id, struct idpair *idmap) in check_ids() argument
4357 if (!idmap[i].old) { in check_ids()
4359 idmap[i].old = old_id; in check_ids()
4360 idmap[i].cur = cur_id; in check_ids()
4363 if (idmap[i].old == old_id) in check_ids()
4364 return idmap[i].cur == cur_id; in check_ids()
4373 struct idpair *idmap) in regsafe() argument
4435 return check_ids(rold->id, rcur->id, idmap); in regsafe()
4454 if (rold->id && !check_ids(rold->id, rcur->id, idmap)) in regsafe()
4477 struct idpair *idmap) in stacksafe() argument
4521 idmap)) in stacksafe()
4566 struct idpair *idmap; in func_states_equal() local
4570 idmap = kcalloc(ID_MAP_SIZE, sizeof(struct idpair), GFP_KERNEL); in func_states_equal()
4572 if (!idmap) in func_states_equal()
4576 if (!regsafe(&old->regs[i], &cur->regs[i], idmap)) in func_states_equal()
4580 if (!stacksafe(old, cur, idmap)) in func_states_equal()
4584 kfree(idmap); in func_states_equal()