Home
last modified time | relevance | path

Searched refs:base_offs (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ofed/libibmad/
H A Dfields.c1130 static void _set_field64(void *buf, int base_offs, const ib_field_t * f, in _set_field64() argument
1136 memcpy(((void *)(char *)buf + base_offs + f->bitoffs / 8), in _set_field64()
1140 static uint64_t _get_field64(void *buf, int base_offs, const ib_field_t * f) in _get_field64() argument
1143 memcpy((void *)&val, (void *)((char *)buf + base_offs + f->bitoffs / 8), in _get_field64()
1148 static void _set_field(void *buf, int base_offs, const ib_field_t * f, in _set_field() argument
1154 unsigned idx = base_offs + f->bitoffs / 8; in _set_field()
1180 static uint32_t _get_field(void *buf, int base_offs, const ib_field_t * f) in _get_field() argument
1185 unsigned idx = base_offs + f->bitoffs / 8; in _get_field()
1197 i = base_offs + (f->bitoffs + f->bitlen) / 8; in _get_field()
1209 static void _set_array(void *buf, int base_offs, const ib_field_t * f, in _set_array() argument
[all …]
H A Dmad.h1549 MAD_EXPORT uint32_t mad_get_field(void *buf, int base_offs,
1551 MAD_EXPORT void mad_set_field(void *buf, int base_offs, enum MAD_FIELDS field,
1554 MAD_EXPORT uint64_t mad_get_field64(void *buf, int base_offs,
1556 MAD_EXPORT void mad_set_field64(void *buf, int base_offs, enum MAD_FIELDS field,
1558 MAD_EXPORT void mad_set_array(void *buf, int base_offs, enum MAD_FIELDS field,
1560 MAD_EXPORT void mad_get_array(void *buf, int base_offs, enum MAD_FIELDS field,
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_sa_multipath_record.c1152 IN int base_offs, in mpr_rcv_get_apm_port_pair_paths() argument
1173 base_offs); in mpr_rcv_get_apm_port_pair_paths()
1186 src_lid_ho += base_offs % src_lids; in mpr_rcv_get_apm_port_pair_paths()
1187 dest_lid_ho += base_offs % dest_lids; in mpr_rcv_get_apm_port_pair_paths()
1346 int base_offs, src_lid_ho, dest_lid_ho; in mpr_rcv_get_apm_paths() local
1385 base_offs = src_lid_ho < dest_lid_ho ? in mpr_rcv_get_apm_paths()
1391 pp_alias_guids[2], base_offs, in mpr_rcv_get_apm_paths()
1395 pp_alias_guids[3], base_offs, in mpr_rcv_get_apm_paths()
1399 pp_alias_guids[2], base_offs + 1, in mpr_rcv_get_apm_paths()
1403 pp_alias_guids[3], base_offs + 1, in mpr_rcv_get_apm_paths()