Lines Matching defs:id
248 int id = assigned;
249 if (id == InvalidContextID) {
251 id = 0;
252 while (id < threadContexts.size() && threadContexts[id])
253 id++;
256 if (threadContexts.size() <= id)
257 threadContexts.resize(id + 1);
259 fatal_if(threadContexts[id],
260 "Cannot have two CPUs with the same id (%d)\n", id);
262 threadContexts[id] = tc;
267 RemoteGDB *rgdb = new RemoteGDB(this, tc, port + id);
277 if (remoteGDB.size() <= id) {
278 remoteGDB.resize(id + 1);
281 remoteGDB[id] = rgdb;
287 return id;
348 panic("replaceThreadContext: bad id, %d >= %d\n",
511 MasterID id = Request::invldMasterId;
519 id = i;
528 return id;