Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 2 of 2) sorted by relevance

/lib/
Didr.c68 static int idr_layer_prefix_mask(int layer) in idr_layer_prefix_mask() argument
70 return ~idr_max(layer + 1); in idr_layer_prefix_mask()
146 struct idr_layer *layer; in idr_layer_rcu_free() local
148 layer = container_of(head, struct idr_layer, rcu_head); in idr_layer_rcu_free()
149 kmem_cache_free(idr_layer_cache, layer); in idr_layer_rcu_free()
284 new->layer = l-1; in sub_alloc()
285 new->prefix = id & idr_layer_prefix_mask(new->layer); in sub_alloc()
312 p->layer = 0; in idr_get_empty_slot()
326 p->layer++; in idr_get_empty_slot()
348 new->layer = layers-1; in idr_get_empty_slot()
[all …]
DKconfig.debug1260 will make the block layer "forget" an interrupt as configured,