Lines Matching refs:idmap
6697 static bool check_ids(u32 old_id, u32 cur_id, struct idpair *idmap) in check_ids() argument
6702 if (!idmap[i].old) { in check_ids()
6704 idmap[i].old = old_id; in check_ids()
6705 idmap[i].cur = cur_id; in check_ids()
6708 if (idmap[i].old == old_id) in check_ids()
6709 return idmap[i].cur == cur_id; in check_ids()
6814 struct idpair *idmap) in regsafe() argument
6881 return check_ids(rold->id, rcur->id, idmap); in regsafe()
6900 if (rold->id && !check_ids(rold->id, rcur->id, idmap)) in regsafe()
6931 struct idpair *idmap) in stacksafe() argument
6978 idmap)) in stacksafe()
7031 struct idpair *idmap; in func_states_equal() local
7035 idmap = kcalloc(ID_MAP_SIZE, sizeof(struct idpair), GFP_KERNEL); in func_states_equal()
7037 if (!idmap) in func_states_equal()
7041 if (!regsafe(&old->regs[i], &cur->regs[i], idmap)) in func_states_equal()
7045 if (!stacksafe(old, cur, idmap)) in func_states_equal()
7052 kfree(idmap); in func_states_equal()