Home
last modified time | relevance | path

Searched refs:numdigits (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibccconfig.c182 int numdigits = 0; in parse256() local
193 numdigits++; in parse256()
196 if (numdigits > 64) in parse256()
203 startindex = 32 - ((numdigits - 1) / 2) - 1; in parse256()
213 if (i == startindex && numdigits % 2) { in parse256()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_subnet.c500 int numdigits = 0; in opts_parse_256bit() local
519 numdigits++; in opts_parse_256bit()
522 if (!numdigits) { in opts_parse_256bit()
528 if (numdigits > IB_CC_PORT_MASK_DATA_SIZE * 2) in opts_parse_256bit()
529 numdigits = IB_CC_PORT_MASK_DATA_SIZE * 2; in opts_parse_256bit()
531 startindex = IB_CC_PORT_MASK_DATA_SIZE - ((numdigits - 1) / 2) - 1; in opts_parse_256bit()
533 if (numdigits % 2) { in opts_parse_256bit()