Lines Matching defs:limit
31 * @limit: maximum address of the gmap address space
35 static struct gmap *gmap_alloc(unsigned long limit)
42 if (limit < _REGION3_SIZE) {
43 limit = _REGION3_SIZE - 1;
46 } else if (limit < _REGION2_SIZE) {
47 limit = _REGION2_SIZE - 1;
50 } else if (limit < _REGION1_SIZE) {
51 limit = _REGION1_SIZE - 1;
55 limit = -1UL;
81 gmap->asce_end = limit;
93 * @limit: maximum size of the gmap address space
97 struct gmap *gmap_create(struct mm_struct *mm, unsigned long limit)
102 gmap = gmap_alloc(limit);
1647 unsigned long limit;
1658 limit = -1UL >> (33 - (((asce & _ASCE_TYPE_MASK) >> 2) * 11));
1660 limit = -1UL;
1661 new = gmap_alloc(limit);