Searched refs:p_svcr (Results 1 – 6 of 6) sorted by relevance
53 void osm_svcr_delete(IN osm_svcr_t * p_svcr) in osm_svcr_delete() argument55 free(p_svcr); in osm_svcr_delete()58 void osm_svcr_init(IN osm_svcr_t * p_svcr, in osm_svcr_init() argument61 CL_ASSERT(p_svcr); in osm_svcr_init()63 p_svcr->modified_time = cl_get_time_stamp_sec(); in osm_svcr_init()68 p_svcr->lease_period = cl_ntoh32(p_svc_rec->service_lease); in osm_svcr_init()69 p_svcr->service_record = *p_svc_rec; in osm_svcr_init()74 osm_svcr_t *p_svcr; in osm_svcr_new() local78 p_svcr = (osm_svcr_t *) malloc(sizeof(*p_svcr)); in osm_svcr_new()79 if (p_svcr) { in osm_svcr_new()[all …]
221 osm_svcr_t *p_svcr = (osm_svcr_t *) p_list_item; in get_matching_sr() local229 p_svcr->service_record.service_id) in get_matching_sr()234 &p_svcr->service_record.service_gid, in get_matching_sr()235 sizeof(p_svcr->service_record.service_gid)) != 0) in get_matching_sr()240 p_svcr->service_record.service_pkey) in get_matching_sr()246 p_svcr->service_record.service_key, in get_matching_sr()252 p_svcr->service_record.service_name, in get_matching_sr()253 sizeof(p_svcr->service_record.service_name)) != 0) in get_matching_sr()258 p_svcr->service_record.service_data8[0]) in get_matching_sr()264 p_svcr->service_record.service_data8[1]) in get_matching_sr()[all …]
706 osm_svcr_t *p_svcr = (osm_svcr_t *) p_list_item; in sa_dump_one_service() local707 ib_service_record_t *p_sr = &p_svcr->service_record; in sa_dump_one_service()758 p_svcr->modified_time, p_svcr->lease_period); in sa_dump_one_service()882 osm_svcr_t *p_svcr; in load_svcr() local893 if (!(p_svcr = osm_svcr_new(sr))) { in load_svcr()900 p_svcr->modified_time = modified_time; in load_svcr()901 p_svcr->lease_period = lease_period; in load_svcr()905 osm_svcr_insert_to_db(&p_osm->subn, &p_osm->log, p_svcr); in load_svcr()
308 osm_svcr_t *p_svcr; in state_mgr_sa_clean() local328 p_svcr = (osm_svcr_t *) cl_qlist_remove_head(&p_subn->sa_sr_list); in state_mgr_sa_clean()329 while (p_svcr != in state_mgr_sa_clean()331 osm_svcr_delete(p_svcr); in state_mgr_sa_clean()332 p_svcr = (osm_svcr_t *) cl_qlist_remove_head(&p_subn->sa_sr_list); in state_mgr_sa_clean()
1131 osm_svcr_t *p_svcr, *p_next_svcr; in osm_subn_destroy() local1210 p_svcr = p_next_svcr; in osm_subn_destroy()1211 p_next_svcr = (osm_svcr_t *) cl_qlist_next(&p_svcr->list_item); in osm_subn_destroy()1212 osm_svcr_delete(p_svcr); in osm_subn_destroy()
149 void osm_svcr_init(IN osm_svcr_t * p_svcr,171 void osm_svcr_delete(IN osm_svcr_t * p_svcr);186 IN osm_svcr_t * p_svcr);188 IN osm_svcr_t * p_svcr);