Lines Matching refs:rem
318 int rem; in persistent_ram_write() local
331 rem = prz->buffer_size - start; in persistent_ram_write()
332 if (unlikely(rem < c)) { in persistent_ram_write()
333 persistent_ram_update(prz, s, start, rem); in persistent_ram_write()
334 s += rem; in persistent_ram_write()
335 c -= rem; in persistent_ram_write()
348 int rem, ret = 0, c = count; in persistent_ram_write_user() local
362 rem = prz->buffer_size - start; in persistent_ram_write_user()
363 if (unlikely(rem < c)) { in persistent_ram_write_user()
364 ret = persistent_ram_update_user(prz, s, start, rem); in persistent_ram_write_user()
365 s += rem; in persistent_ram_write_user()
366 c -= rem; in persistent_ram_write_user()