H A D | kern_osd.c | 76 static void do_osd_del(u_int type, struct osd *osd, u_int slot, 93 osd_register(u_int type, osd_destructor_t destructor, const osd_method_t *methods) in osd_register() argument 98 KASSERT(type >= OSD_FIRST && type <= OSD_LAST, ("Invalid type.")); in osd_register() 107 sx_xlock(&osdm[type].osd_module_lock); in osd_register() 111 for (i = 0; i < osdm[type].osd_ntslots; i++) { in osd_register() 112 if (osdm[type].osd_destructors[i] == NULL) { in osd_register() 113 OSD_DEBUG("Unused slot found (type=%u, slot=%u).", in osd_register() 114 type, in osd_register() 150 osd_deregister(u_int type,u_int slot) osd_deregister() argument 185 osd_set(u_int type,struct osd * osd,u_int slot,void * value) osd_set() argument 202 osd_set_reserved(u_int type,struct osd * osd,u_int slot,void ** rsv,void * value) osd_set_reserved() argument 281 osd_get_unlocked(u_int type,struct osd * osd,u_int slot) osd_get_unlocked() argument 299 osd_get(u_int type,struct osd * osd,u_int slot) osd_get() argument 314 osd_del(u_int type,struct osd * osd,u_int slot) osd_del() argument 324 do_osd_del(u_int type,struct osd * osd,u_int slot,int list_locked) do_osd_del() argument 376 osd_call(u_int type,u_int method,void * obj,void * data) osd_call() argument 404 osd_exit(u_int type,struct osd * osd) osd_exit() argument [all...] |