Lines Matching defs:bit
84 int bit;
90 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP);
91 if (bit >= DRM_MAX_CTXBITMAP) {
96 set_bit(bit, dev->ctx_bitmap);
97 DRM_DEBUG("drm_ctxbitmap_next: bit : %d", bit);
98 if ((bit+1) > dev->max_context) {
99 dev->max_context = (bit+1);
109 clear_bit(bit, dev->ctx_bitmap);
114 dev->context_sareas[bit] = NULL;
120 clear_bit(bit, dev->ctx_bitmap);
124 dev->context_sareas[bit] = NULL;
128 DRM_DEBUG("drm_ctxbitmap_next: return %d", bit);
129 return (bit);