Home
last modified time | relevance | path

Searched refs:p_db (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_db_files.c127 void osm_db_construct(IN osm_db_t * p_db) in osm_db_construct() argument
129 memset(p_db, 0, sizeof(osm_db_t)); in osm_db_construct()
130 cl_list_construct(&p_db->domains); in osm_db_construct()
147 void osm_db_destroy(IN osm_db_t * p_db) in osm_db_destroy() argument
151 while ((p_domain = cl_list_remove_head(&p_db->domains)) != NULL) { in osm_db_destroy()
155 cl_list_destroy(&p_db->domains); in osm_db_destroy()
156 free(p_db->p_db_imp); in osm_db_destroy()
159 int osm_db_init(IN osm_db_t * p_db, IN osm_log_t * p_log) in osm_db_init() argument
196 p_db->p_log = p_log; in osm_db_init()
197 p_db->p_db_imp = (void *)p_db_imp; in osm_db_init()
[all …]
H A Dosm_sm.c241 IN osm_db_t * p_db, IN osm_vendor_t * p_vendor, in osm_sm_init() argument
252 p_sm->p_db = p_db; in osm_sm_init()
H A Dosm_lid_mgr.c231 p_mgr->p_db = sm->p_db; in osm_lid_mgr_init()
235 p_mgr->p_g2l = osm_db_domain_init(p_mgr->p_db, "guid2lid"); in osm_lid_mgr_init()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_db.h93 struct osm_db *p_db; member
148 void osm_db_construct(IN osm_db_t * p_db);
170 void osm_db_destroy(IN osm_db_t * p_db);
189 int osm_db_init(IN osm_db_t * p_db, IN struct osm_log * p_log);
215 osm_db_domain_t *osm_db_domain_init(IN osm_db_t * p_db, IN const char *domain_name);
H A Dosm_db_pack.h75 static inline osm_db_domain_t *osm_db_guid2lid_init(IN osm_db_t * p_db) in osm_db_guid2lid_init() argument
77 return (osm_db_domain_init(p_db, "guid2lid")); in osm_db_guid2lid_init()
247 static inline osm_db_domain_t *osm_db_guid2mkey_init(IN osm_db_t * p_db) in osm_db_guid2mkey_init() argument
249 return osm_db_domain_init(p_db, "guid2mkey"); in osm_db_guid2mkey_init()
391 static inline osm_db_domain_t *osm_db_neighbor_init(IN osm_db_t * p_db) in osm_db_neighbor_init() argument
393 return osm_db_domain_init(p_db, "neighbors"); in osm_db_neighbor_init()
H A Dosm_sm.h121 osm_db_t *p_db; member
273 IN osm_db_t * p_db, IN osm_vendor_t * p_vendor,
H A Dosm_lid_mgr.h96 osm_db_t *p_db; member