Lines Matching defs:index
3392 * 'CPU' must be accessed just once and used to compute the index into the
3393 * percpu array, and that index must be used for the entire duration of the
5312 uint_t i = 0, index = 0;
5323 for (index = 0; index < mip->mi_rx_groups[grp_index].mrg_cur_count;
5324 index++) {
5325 rings[index] = ring->mr_index;
5329 index = 0;
5333 index += strlen("<default,mcast>,");
5347 if (index + name_len >= MAXCLIENTNAMELEN) {
5348 index = MAXCLIENTNAMELEN;
5351 bcopy(mcip->mgc_client->mci_name, &(clnts_name[index]),
5353 index += name_len;
5354 clnts_name[index++] = ',';
5359 if (index > 0)
5360 clnts_name[index - 1] = '\0';
5375 uint_t i = 0, index = 0;
5387 for (index = 0; index < mip->mi_tx_groups[grp_index].mrg_cur_count;
5388 index++) {
5389 rings[index] = ring->mr_index;
5392 index = 0;
5393 /* Default group has an index of -1 */
5397 index += strlen("<default>,");
5411 if (index + name_len >= MAXCLIENTNAMELEN) {
5412 index = MAXCLIENTNAMELEN;
5415 bcopy(mcip->mgc_client->mci_name, &(clnts_name[index]),
5417 index += name_len;
5418 clnts_name[index++] = ',';
5423 if (index > 0)
5424 clnts_name[index - 1] = '\0';