Lines Matching refs:handles
25 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT));
67 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT));
86 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT));
118 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT));
160 rc = idr_alloc(&mmg->handles, buf, 1, 0, GFP_ATOMIC);
185 idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT));
318 idr_init(&mmg->handles);
351 * @stats: if non-NULL, will return some counters for handles that could not be removed.
365 idp = &mmg->handles;
388 if (!idr_is_empty(&mmg->handles))
391 idr_destroy(&mmg->handles);