Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_port_profile.h132 static inline void osm_port_prof_construct(IN osm_port_profile_t * 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()
160 static inline void osm_port_prof_path_count_inc(IN osm_port_profile_t * p_prof) in osm_port_prof_path_count_inc() argument
162 CL_ASSERT(p_prof); in osm_port_prof_path_count_inc()
163 p_prof->num_paths++; in osm_port_prof_path_count_inc()
188 osm_port_prof_path_count_get(IN const osm_port_profile_t * p_prof) in osm_port_prof_path_count_get() argument
190 return p_prof->num_paths; in osm_port_prof_path_count_get()
H A Dosm_switch.h102 osm_port_profile_t *p_prof; member
682 osm_port_prof_path_count_inc(&p_sw->p_prof[port]); in osm_switch_count_path()
1078 return osm_port_prof_path_count_get(&p_sw->p_prof[port_num]); in osm_switch_path_count_get()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_switch.c91 if (p_sw->p_prof) in osm_switch_delete()
92 free(p_sw->p_prof); in osm_switch_delete()
141 p_sw->p_prof = malloc(sizeof(*p_sw->p_prof) * num_ports); in osm_switch_new()
142 if (!p_sw->p_prof) in osm_switch_new()
145 memset(p_sw->p_prof, 0, sizeof(*p_sw->p_prof) * num_ports); in osm_switch_new()
151 osm_port_prof_construct(&p_sw->p_prof[port_num]); in osm_switch_new()
399 osm_port_prof_path_count_get(&p_sw->p_prof[port_num]); in osm_switch_recommend_path()
633 osm_port_prof_construct(&p_sw->p_prof[i]); in osm_switch_prepare_path_rebuild()
/freebsd/sys/kern/
H A Dsubr_prof.c76 upp = &td->td_proc->p_stats->p_prof; in sys_profil()
117 prof = &td->td_proc->p_stats->p_prof; in addupc_intr()
154 prof = &p->p_stats->p_prof; in addupc_task()
/freebsd/sys/sys/
H A Dresourcevar.h59 #define pstat_startcopy p_prof
65 } p_prof; member