Home
last modified time | relevance | path

Searched refs:Dtmethod_t (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dcdt.h63 typedef struct _dtmethod_s Dtmethod_t; typedef
148 Dtmethod_t* meth; /* storage method */
238 extern Dtmethod_t* Dtset;
239 extern Dtmethod_t* Dtbag;
240 extern Dtmethod_t* Dtoset;
241 extern Dtmethod_t* Dtobag;
242 extern Dtmethod_t* Dtlist;
243 extern Dtmethod_t* Dtstack;
244 extern Dtmethod_t* Dtqueue;
245 extern Dtmethod_t* Dtdeque;
[all …]
H A Ddt.h34 extern Dt_t* dtnew(Vmalloc_t*, Dtdisc_t*, Dtmethod_t*);
35 extern Dt_t* _dtnew(Vmalloc_t*, Dtdisc_t*, Dtmethod_t*, unsigned long);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtmethod.c30 Dtmethod_t* dtmethod(Dt_t* dt, Dtmethod_t* meth) in dtmethod()
32 Dtmethod_t* dtmethod(dt, meth) in dtmethod()
34 Dtmethod_t* meth;
39 Dtmethod_t *oldmt = dt->meth;
47 return NIL(Dtmethod_t*);
77 return NIL(Dtmethod_t*);
H A Ddtlist.c371 static Dtmethod_t _Dtlist = { dtlist, DT_LIST, listevent, "Dtlist" };
372 static Dtmethod_t _Dtdeque = { dtlist, DT_DEQUE, listevent, "Dtdeque" };
373 static Dtmethod_t _Dtstack = { dtlist, DT_STACK, listevent, "Dtstack" };
374 static Dtmethod_t _Dtqueue = { dtlist, DT_QUEUE, listevent, "Dtqueue" };
376 __DEFINE__(Dtmethod_t*,Dtlist,&_Dtlist);
377 __DEFINE__(Dtmethod_t*,Dtdeque,&_Dtdeque);
378 __DEFINE__(Dtmethod_t*,Dtstack,&_Dtstack);
379 __DEFINE__(Dtmethod_t*,Dtqueue,&_Dtqueue);
H A Ddtopen.c39 Dt_t* _dtopen(Dtdisc_t* disc, Dtmethod_t* meth, unsigned long version) in _dtopen()
43 Dtmethod_t* meth;
111 Dt_t* dtopen(Dtdisc_t* disc, Dtmethod_t* meth) in dtopen()
115 Dtmethod_t* meth;
H A Ddtnew.c59 _dtnew(Vmalloc_t* vm, Dtdisc_t* disc, Dtmethod_t* meth, unsigned long version) in _dtnew()
78 dtnew(Vmalloc_t* vm, Dtdisc_t* disc, Dtmethod_t* meth) in dtnew()
H A Dcdtlib.h74 Dtmethod_t** methods; /* method list */
80 #define CDTLIB(m) __DEFINE__(Dtmethod_t*,m,&_##m);
82 #define CDTLIB(m) __DEFINE__(Dtmethod_t*,m,&_/**/m);
H A Ddthash.c415 static Dtmethod_t _Dtset = { dthashchain, DT_SET, hashevent, "Dtset" };
416 static Dtmethod_t _Dtbag = { dthashchain, DT_BAG, hashevent, "Dtbag" };
417 __DEFINE__(Dtmethod_t*,Dtset,&_Dtset);
418 __DEFINE__(Dtmethod_t*,Dtbag,&_Dtbag);
425 __DEFINE__(Dtmethod_t*,Dthash,&_Dtset);
H A Ddttree.c680 static Dtmethod_t _Dtoset = { dttree, DT_OSET, treeevent, "Dtoset" };
681 static Dtmethod_t _Dtobag = { dttree, DT_OBAG, treeevent, "Dtobag" };
682 __DEFINE__(Dtmethod_t*,Dtoset,&_Dtoset);
683 __DEFINE__(Dtmethod_t*,Dtobag,&_Dtobag);
690 __DEFINE__(Dtmethod_t*,Dttree,&_Dtoset);