Lines Matching refs:refcount
2016 * Note that refcount can be at most 2, since during a free refcount=3
2043 if ((dev_priv->surfaces[i].refcount != 0) &&
2064 if ((dev_priv->surfaces[i].refcount == 1) &&
2073 dev_priv->surfaces[i].refcount++;
2080 if ((dev_priv->surfaces[i].refcount == 1) &&
2089 dev_priv->surfaces[i].refcount++;
2098 if (dev_priv->surfaces[i].refcount == 0) {
2105 dev_priv->surfaces[i].refcount = 1;
2139 dev_priv->surfaces[s->surface_index].refcount--;
2141 refcount == 0)