Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/basic/ !
Dio-util.c51 ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll) { in loop_read() argument
61 if (nbytes > (size_t) SSIZE_MAX) in loop_read()
67 k = read(fd, p, nbytes); in loop_read()
88 assert((size_t) k <= nbytes); in loop_read()
91 nbytes -= k; in loop_read()
93 } while (nbytes > 0); in loop_read()
98 int loop_read_exact(int fd, void *buf, size_t nbytes, bool do_poll) { in loop_read_exact() argument
101 n = loop_read(fd, buf, nbytes, do_poll); in loop_read_exact()
104 if ((size_t) n != nbytes) in loop_read_exact()
110 int loop_write(int fd, const void *buf, size_t nbytes, bool do_poll) { in loop_write() argument
[all …]
Dio-util.h16 ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll);
17 int loop_read_exact(int fd, void *buf, size_t nbytes, bool do_poll);
18 int loop_write(int fd, const void *buf, size_t nbytes, bool do_poll);
/systemd-251/src/import/ !
Dimport-fs.c88 static int progress_bytes(uint64_t nbytes, void *userdata) { in progress_bytes() argument
94 p->size += nbytes; in progress_bytes()
/systemd-251/src/basic/linux/ !
Dbtrfs_tree.h588 __le64 nbytes; member
/systemd-251/src/libsystemd/sd-bus/ !
Dbus-message.c3064 static int buffer_peek(const void *p, uint32_t sz, size_t *rindex, size_t align, size_t nbytes, voi… in buffer_peek() argument
3071 end = start + nbytes; in buffer_peek()
3264 size_t nbytes, in message_peek_body() argument
3277 end = start + nbytes; in message_peek_body()
3293 part = find_part(m, start, nbytes, (void**) &q); in message_peek_body()
3294 if (!part || (nbytes > 0 && !q)) in message_peek_body()
4847 size_t nbytes, in message_peek_fields() argument
4854 return buffer_peek(BUS_MESSAGE_FIELDS(m), m->fields_size, rindex, align, nbytes, ret); in message_peek_fields()