Lines Matching refs:remain
98 long size, remain, n; in buffer_op() local
101 remain = len; in buffer_op()
105 remain = (n < 0 ? remain : 0); in buffer_op()
110 remain -= size; in buffer_op()
111 if (remain == 0) in buffer_op()
114 while (addr < ((addr + remain) & PAGE_MASK)) { in buffer_op()
117 remain = (n < 0 ? remain : 0); in buffer_op()
122 remain -= PAGE_SIZE; in buffer_op()
124 if (remain == 0) in buffer_op()
127 n = do_op_one_page(addr, remain, is_write, op, arg); in buffer_op()
129 remain = (n < 0 ? remain : 0); in buffer_op()
135 return remain; in buffer_op()