Lines Matching refs:grab_cnt
155 * increments the grab_cnt if the buffer is already grabbed by other clients.
161 * A special case where if the grab_cnt is "0", this function still sends
247 /* If grab_cnt is "0", then the reinitialization should go thru'
248 * server. We can not just increment the grab_cnt.
256 bufferp->grab_cnt > 0 ) {
257 bufferp->grab_cnt++;
331 * decrements the grab_cnt. If grab_cnt is negative, it will be
412 /* Currently Just decrement the grab_cnt and if there is no grab
415 * If the when the grab_cnt is "0" and the dga_drawable is getting
423 bufferp->grab_cnt--;
425 if ( bufferp->grab_cnt < 0 )
426 bufferp->grab_cnt = 0;