Lines Matching refs:_name
128 #define _DB_SET(_suffix, _name, _func, list, _flag, _more) \
129 static struct command __CONCAT(_name,_suffix) = { \
130 .name = __STRING(_name), \
135 static void __CONCAT(__CONCAT(_name,_suffix),_add)(void *arg __unused) \
136 { db_command_register(&list, &__CONCAT(_name,_suffix)); } \
137 SYSINIT(__CONCAT(_name,_suffix), SI_SUB_KLD, SI_ORDER_ANY, \
138 __CONCAT(__CONCAT(_name,_suffix),_add), NULL); \
139 static void __CONCAT(__CONCAT(_name,_suffix),_del)(void *arg __unused) \
140 { db_command_unregister(&list, &__CONCAT(_name,_suffix)); } \
141 SYSUNINIT(__CONCAT(_name,_suffix), SI_SUB_KLD, SI_ORDER_ANY, \
142 __CONCAT(__CONCAT(_name,_suffix),_del), NULL);
155 #define _DB_FUNC(_suffix, _name, _func, list, _flag, _more) \
157 _DB_SET(_suffix, _name, _func, list, _flag, _more); \
162 #define DB_FUNC(_name, _func, list, _flag, _more) \
163 _DB_FUNC(_cmd, _name, _func, list, _flag, _more)