Lines Matching defs:cursor
1104 * holds the current cursor into that scan. Successive searches will circulate
1123 static int try_to_unmap_cluster(unsigned long cursor, unsigned int *mapcount,
1139 address = (vma->vm_start + cursor) & CLUSTER_MASK;
1302 unsigned long cursor;
1330 cursor = (unsigned long) vma->vm_private_data;
1331 if (cursor > max_nl_cursor)
1332 max_nl_cursor = cursor;
1333 cursor = vma->vm_end - vma->vm_start;
1334 if (cursor > max_nl_size)
1335 max_nl_size = cursor;
1362 cursor = (unsigned long) vma->vm_private_data;
1363 while ( cursor < max_nl_cursor &&
1364 cursor < vma->vm_end - vma->vm_start) {
1365 if (try_to_unmap_cluster(cursor, &mapcount,
1368 cursor += CLUSTER_SIZE;
1369 vma->vm_private_data = (void *) cursor;
1381 * in locked vmas). Reset cursor on all unreserved nonlinear