Lines Matching refs:pages_in_upl
2421 int pages_in_upl;
2569 pages_in_upl = upl_size / PAGE_SIZE;
3135 int pages_in_upl;
3329 pages_in_upl = upl_size / PAGE_SIZE;
3352 for (start_pg = 0; start_pg < pages_in_upl; start_pg++) {
3363 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) {
3401 for (uio_last = last_pg; uio_last < pages_in_upl; uio_last++) {
3405 if (uio_last < pages_in_upl) {
3413 (pages_in_upl - uio_last) * PAGE_SIZE, UPL_ABORT_FREE_ON_EMPTY);
3515 if ((last_pg - start_pg) < pages_in_upl) {
3526 (int)upl, -1, pages_in_upl - (last_pg - start_pg), 0, 0);
4276 int pages_in_upl;
4346 pages_in_upl = upl_size / PAGE_SIZE;
4366 for (last_pg = pages_in_upl - 1; last_pg >= 0; last_pg--) {
4370 pages_in_upl = last_pg + 1;
4377 for (last_pg = 0; last_pg < pages_in_upl; ) {
4384 for (start_pg = last_pg; start_pg < pages_in_upl; start_pg++) {
4395 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) {
4709 int pages_in_upl;
4729 if ((pages_in_upl = (int)(cl->e_addr - cl->b_addr)) == 0) {
4734 upl_size = pages_in_upl * PAGE_SIZE;
4752 pages_in_upl = upl_size / PAGE_SIZE;
4794 for (last_pg = pages_in_upl - 1; last_pg >= 0; last_pg--) {
4798 pages_in_upl = last_pg + 1;
4800 if (pages_in_upl == 0) {
4807 for (last_pg = 0; last_pg < pages_in_upl; ) {
4813 for (start_pg = last_pg; start_pg < pages_in_upl; start_pg++) {
4824 if (start_pg >= pages_in_upl)
4838 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) {