Lines Matching defs:range
23 unsigned long range;
32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range,
36 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1;
54 p->range = range;
60 while (*s && (*s)->range < range)
69 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range)
71 unsigned n = MAJOR(dev + range - 1) - MAJOR(dev) + 1;
84 if (p->dev == dev && p->range == range) {
109 if (p->dev > dev || p->dev + p->range - 1 < dev)
111 if (p->range - 1 >= best)
118 best = p->range - 1;
149 base->range = ~0;