Lines Matching refs:free_ndx
1185 get_free_smp(int free_ndx)
1195 end_ndx = free_ndx;
1196 sm = &smd_free[free_ndx];
1239 free_ndx = (free_ndx + smd_ncolor) & smd_freemsk;
1240 if (free_ndx != end_ndx) {
1243 sm = &smd_free[free_ndx];
1257 sm = &smd_free[free_ndx];
1753 uint32_t free_ndx, *free_ndxp;
1771 free_ndx = (*free_ndxp += smd_ncolor) & smd_freemsk;
1773 colors_used[free_ndx]++;
1779 smp = get_free_smp(free_ndx);