Searched defs:nbytes (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dio-util.c66 ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll) { argument
73 /* If called with nbytes == 0, let's call read() at least
76 if (nbytes > (size_t) SSIZE_MAX)
82 k = read(fd, p, nbytes);
103 assert((size_t) k <= nbytes);
106 nbytes -= k;
108 } while (nbytes > 0);
113 int loop_read_exact(int fd, void *buf, size_t nbytes, bool do_poll) { argument
116 n = loop_read(fd, buf, nbytes, do_poll);
119 if ((size_t) n != nbytes)
125 loop_write(int fd, const void *buf, size_t nbytes, bool do_poll) argument
[all...]
H A Dbtrfs-ctree.h23 le64_t nbytes; member in struct:btrfs_inode_item
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.c3099 static int buffer_peek(const void *p, uint32_t sz, size_t *rindex, size_t align, size_t nbytes, void **r) { argument
3106 end = start + nbytes;
3297 size_t nbytes,
3310 end = start + nbytes;
3326 part = find_part(m, start, nbytes, (void**) &q);
3327 if (!part || (nbytes > 0 && !q))
4863 size_t nbytes,
4870 return buffer_peek(BUS_MESSAGE_FIELDS(m), m->fields_size, rindex, align, nbytes, ret);
3293 message_peek_body( sd_bus_message *m, size_t *rindex, size_t align, size_t nbytes, void **ret) argument
4859 message_peek_fields( sd_bus_message *m, size_t *rindex, size_t align, size_t nbytes, void **ret) argument

Completed in 25 milliseconds