Lines Matching refs:disc
26 ** disc : discipline
32 static Void_t* dtmemory(Dt_t* dt, Void_t* addr, size_t size, Dtdisc_t* disc)
34 static Void_t* dtmemory(dt, addr, size, disc)
38 Dtdisc_t* disc; /* discipline */
52 Dtdisc_t* dtdisc(Dt_t* dt, Dtdisc_t* disc, int type)
54 Dtdisc_t* dtdisc(dt,disc,type)
56 Dtdisc_t* disc;
63 if(!(old = dt->disc) ) /* initialization call from dtopen() */
64 { dt->disc = disc;
65 if(!(dt->memoryf = disc->memoryf) )
67 return disc;
70 if(!disc) /* only want to know current discipline */
73 if(old->eventf && (*old->eventf)(dt,DT_DISC,(Void_t*)disc,old) < 0)
80 dt->disc = disc;
81 if(!(dt->memoryf = disc->memoryf) )