Lines Matching refs:l
239 ssize_t l; in mfd_assert_read() local
241 l = read(fd, buf, sizeof(buf)); in mfd_assert_read()
242 if (l != sizeof(buf)) { in mfd_assert_read()
329 ssize_t l; in mfd_assert_write() local
339 l = write(fd, "\0\0\0\0", 4); in mfd_assert_write()
340 if (l != 4) { in mfd_assert_write()
409 ssize_t l; in mfd_fail_write() local
414 l = write(fd, "data", 4); in mfd_fail_write()
415 if (l != -EPERM) { in mfd_fail_write()
416 printf("expected EPERM on write(), but got %d: %m\n", (int)l); in mfd_fail_write()
554 ssize_t l; in mfd_assert_grow_write() local
566 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_assert_grow_write()
567 if (l != (mfd_def_size * 8)) { in mfd_assert_grow_write()
578 ssize_t l; in mfd_fail_grow_write() local
590 l = pwrite(fd, buf, mfd_def_size * 8, 0); in mfd_fail_grow_write()
591 if (l == (mfd_def_size * 8)) { in mfd_fail_grow_write()