Lines Matching refs:dval
64 int dval; /* decimal value */
135 mmdc->pid, type&~DT_ANNOUNCE, obj->dval, obj->refn, obj->fpid);
138 mmdc->pid, type&~DT_ANNOUNCE, obj->dval, obj->refn, obj->fpid);
157 mmdc->pid, type&~DT_ANNOUNCE, obj->dval, obj->refn, obj->fpid);
180 mmdc->pid, obj->dval, obj->sval, obj->free, obj->fpid, obj->refn );
194 mmdc->pid, refn, obj->dval, obj->sval, obj->free, obj->fpid, obj->refn, obj->type );
196 obj->dval = -obj->dval; /* deleted objects have negative id */
215 Mmdc.disc.key = (ssize_t)DTOFFSET(Obj_t,dval);
317 o->dval = i+base;
326 sprintf(sval, "%d", o->dval);
329 if(o->dval < 0) /* this ain't no way! */
330 terror("%s %s [num=%d,pid=%d]: already freed? obj[dval=%d,pid=%d]",
331 actor, type, num, pid, o->dval, o->fpid);
334 terror("%s %s [num=%d,pid=%d]: refn != 1? obj[dval=%d,refn=%d,op=%d,opid=%d]",
335 actor, type, num, pid, o->dval, o->refn, o->type, o->opid);
344 if(rv->refn <= 0 || rv->dval < 0) /* refn should be at least 1 */
345 terror("%s %s [num=%d,pid=%d]: refn <= 0? obj[dval=%d,refn=%d,op=%d,opid=%d]",
346 actor, type, num, pid, o->dval, o->refn, o->type, o->opid);
371 terror("%s %s [num=%d,pid=%d]: refn <= 0? obj[dval=%d,refn=%d,op=%d,opid=%d]",
372 actor, type, num, pid, o->dval, o->refn, o->type, o->opid);
392 terror("%s %s [num=%d,pid=%d]: multiple delete? obj[dval=%d,free=%d,fpid=%d]",
393 actor, type, num, mmdc->pid, o->dval, o->free, o->fpid);
395 terror("%s %s [num=%d,pid=%d]: Wrong deleter obj[dval=%d,free=%d,fpid=%d]",
396 actor, type, num, mmdc->pid, o->dval, o->free, o->fpid);
412 { obj.dval = random()%(N_INSERT*W_EXTENT) + 1;
418 if(rv->dval < 0) /* should not be freed yet */
420 actor, type, num, pid, rv->dval, rv->fpid);
424 actor, type, num, pid, rv->dval, rv->refn, rv->type, rv->opid);
437 { obj.dval = 0;
445 if(o->dval < 0) /* should not be deleted yet */
447 actor, type, num, pid, o->dval, o->refn, o->fpid, o->type, o->opid);
450 actor, type, num, pid, o->dval, o->refn, o->type, o->opid);
455 obj.dval = o->dval; /* for next search */
486 { if(o->dval < 0)
488 actor, type, num, pid, o->dval);
493 tlog(pid, "%d", o->dval);
499 tlog(pid, "%d", o->dval);
505 tlog(pid, "%d", o->dval);
613 { if(o->dval < 0 || o->dval > N_INSERT*W_EXTENT)
617 type, ppid, o->dval, o->ins);
620 type, ppid, o->dval, o->srch);
623 type, ppid, o->dval, o->del);
625 tlog(ppid, "%d", o->dval);
628 Count[o->dval] += 1;