Lines Matching refs:lkp
141 Lock* lkp = NULL; in mk_LockP_from_LockN() local
169 if (!VG_(lookupFM)( map_LockN_to_P, NULL, (UWord*)&lkp, (UWord)lkn)) { in mk_LockP_from_LockN()
170 lkp = HG_(zalloc)( "hg.mLPfLN.2", sizeof(Lock) ); in mk_LockP_from_LockN()
171 *lkp = *lkn; in mk_LockP_from_LockN()
172 lkp->admin_next = NULL; in mk_LockP_from_LockN()
173 lkp->admin_prev = NULL; in mk_LockP_from_LockN()
174 lkp->magic = LockP_MAGIC; in mk_LockP_from_LockN()
178 lkp->heldW = False; in mk_LockP_from_LockN()
179 lkp->heldBy = NULL; in mk_LockP_from_LockN()
180 lkp->acquired_at = NULL; in mk_LockP_from_LockN()
181 lkp->hbso = NULL; in mk_LockP_from_LockN()
182 VG_(addToFM)( map_LockN_to_P, (UWord)lkp, (UWord)lkp ); in mk_LockP_from_LockN()
184 tl_assert( HG_(is_sane_LockP)(lkp) ); in mk_LockP_from_LockN()
185 return lkp; in mk_LockP_from_LockN()