Searched refs:p_db (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_db_files.c | 127 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 D | osm_sm.c | 241 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 D | osm_lid_mgr.c | 231 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 D | osm_db.h | 93 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 D | osm_db_pack.h | 75 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 D | osm_sm.h | 121 osm_db_t *p_db; member 273 IN osm_db_t * p_db, IN osm_vendor_t * p_vendor,
|
H A D | osm_lid_mgr.h | 96 osm_db_t *p_db; member
|