Lines Matching refs:grp
1206 struct tid_group *grp, u8 cnt) in kern_add_tid_node() argument
1215 cnt, grp->map, grp->used); in kern_add_tid_node()
1217 node->grp = grp; in kern_add_tid_node()
1218 node->map = grp->map; in kern_add_tid_node()
1221 grp->base, grp->map, grp->used, cnt); in kern_add_tid_node()
1306 struct tid_group *grp = node->grp; in kern_program_rcv_group() local
1312 for (i = 0; i < grp->size; i++) { in kern_program_rcv_group()
1313 rcventry = grp->base + i; in kern_program_rcv_group()
1355 if (grp->used == grp->size - 1) in kern_program_rcv_group()
1356 tid_group_move(grp, &rcd->tid_used_list, in kern_program_rcv_group()
1358 else if (!grp->used) in kern_program_rcv_group()
1359 tid_group_move(grp, &rcd->tid_group_list, in kern_program_rcv_group()
1362 grp->used++; in kern_program_rcv_group()
1363 grp->map |= BIT(i); in kern_program_rcv_group()
1373 struct tid_group *grp = node->grp; in kern_unprogram_rcv_group() local
1377 for (i = 0; i < grp->size; i++) { in kern_unprogram_rcv_group()
1378 rcventry = grp->base + i; in kern_unprogram_rcv_group()
1387 grp->used--; in kern_unprogram_rcv_group()
1388 grp->map &= ~BIT(i); in kern_unprogram_rcv_group()
1391 if (grp->used == grp->size - 1) in kern_unprogram_rcv_group()
1392 tid_group_move(grp, &rcd->tid_full_list, in kern_unprogram_rcv_group()
1394 else if (!grp->used) in kern_unprogram_rcv_group()
1395 tid_group_move(grp, &rcd->tid_used_list, in kern_unprogram_rcv_group()
1403 cnt, grp->map, grp->used); in kern_unprogram_rcv_group()