Lines Matching full:remain
97 long size, remain, n; in buffer_op() local
100 remain = len; in buffer_op()
104 remain = (n < 0 ? remain : 0); in buffer_op()
109 remain -= size; in buffer_op()
110 if (remain == 0) in buffer_op()
113 while (addr < ((addr + remain) & PAGE_MASK)) { in buffer_op()
116 remain = (n < 0 ? remain : 0); in buffer_op()
121 remain -= PAGE_SIZE; in buffer_op()
123 if (remain == 0) in buffer_op()
126 n = do_op_one_page(addr, remain, is_write, op, arg); in buffer_op()
128 remain = (n < 0 ? remain : 0); in buffer_op()
134 return remain; in buffer_op()