Lines Matching refs:range
23 unsigned long range; member
32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, in kobj_map() argument
36 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_map()
53 p->range = range; in kobj_map()
59 while (*s && (*s)->range < range) in kobj_map()
68 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) in kobj_unmap() argument
70 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_unmap()
83 if (p->dev == dev && p->range == range) { in kobj_unmap()
95 void kobj_delete(struct kobj_map *domain, dev_t dev, unsigned long range, in kobj_delete() argument
98 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1; in kobj_delete()
111 if (p->dev == dev && p->range == range && p->get == probe) { in kobj_delete()
136 if (p->dev > dev || p->dev + p->range - 1 < dev) in kobj_lookup()
138 if (p->range - 1 >= best) in kobj_lookup()
145 best = p->range - 1; in kobj_lookup()
176 base->range = ~0; in kobj_map_init()