Home
last modified time | relevance | path

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

/linux-2.6.39/lib/
Didr.c40 static struct idr_layer *get_from_free_list(struct idr *idp) in get_from_free_list()
42 struct idr_layer *p; in get_from_free_list()
57 struct idr_layer *layer; in idr_layer_rcu_free()
59 layer = container_of(head, struct idr_layer, rcu_head); in idr_layer_rcu_free()
63 static inline void free_layer(struct idr_layer *p) in free_layer()
69 static void __move_to_free_list(struct idr *idp, struct idr_layer *p) in __move_to_free_list()
76 static void move_to_free_list(struct idr *idp, struct idr_layer *p) in move_to_free_list()
88 static void idr_mark_full(struct idr_layer **pa, int id) in idr_mark_full()
90 struct idr_layer *p = pa[0]; in idr_mark_full()
124 struct idr_layer *new; in idr_pre_get()
[all …]
/linux-2.6.39/include/linux/
Didr.h51 struct idr_layer { struct
53 struct idr_layer __rcu *ary[1<<IDR_BITS]; argument
60 struct idr_layer __rcu *top; argument
61 struct idr_layer *id_free;