Home
last modified time | relevance | path

Searched refs:p_prof (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/ofed/management/opensm/include/opensm/
HDosm_port_profile.h132 static inline void osm_port_prof_construct(IN osm_port_profile_t * const p_prof) in osm_port_prof_construct() argument
134 CL_ASSERT(p_prof); in osm_port_prof_construct()
135 memset(p_prof, 0, sizeof(*p_prof)); in osm_port_prof_construct()
161 osm_port_prof_path_count_inc(IN osm_port_profile_t * const p_prof) in osm_port_prof_path_count_inc() argument
163 CL_ASSERT(p_prof); in osm_port_prof_path_count_inc()
164 p_prof->num_paths++; in osm_port_prof_path_count_inc()
189 osm_port_prof_path_count_get(IN const osm_port_profile_t * const p_prof) in osm_port_prof_path_count_get() argument
191 return (p_prof->num_paths); in osm_port_prof_path_count_get()
HDosm_switch.h102 osm_port_profile_t *p_prof; member
687 osm_port_prof_path_count_inc(&p_sw->p_prof[port]); in osm_switch_count_path()
1039 return (osm_port_prof_path_count_get(&p_sw->p_prof[port_num])); in osm_switch_path_count_get()
/NextBSD/contrib/ofed/management/opensm/opensm/
HDosm_switch.c117 p_sw->p_prof = malloc(sizeof(*p_sw->p_prof) * num_ports); in osm_switch_init()
118 if (p_sw->p_prof == NULL) { in osm_switch_init()
123 memset(p_sw->p_prof, 0, sizeof(*p_sw->p_prof) * num_ports); in osm_switch_init()
132 osm_port_prof_construct(&p_sw->p_prof[port_num]); in osm_switch_init()
146 free(p_sw->p_prof); in osm_switch_delete()
414 osm_port_prof_path_count_get(&p_sw->p_prof[port_num]); in osm_switch_recommend_path()
525 osm_port_prof_construct(&p_sw->p_prof[i]); in osm_switch_prepare_path_rebuild()
/NextBSD/sys/sys/
HDresourcevar.h60 #define pstat_startcopy p_prof
66 } p_prof; member
/NextBSD/sys/kern/
HDsubr_prof.c423 upp = &td->td_proc->p_stats->p_prof; in sys_profil()
468 prof = &td->td_proc->p_stats->p_prof; in addupc_intr()
511 prof = &p->p_stats->p_prof; in addupc_task()