Lines Matching refs:bytes
31 ssize_t bytes = fs_write_attr(fd, name, type, 0, &value, sizeof(Type));
32 if (bytes < 0)
35 return bytes;
42 On success it will return the amount of bytes written
135 ssize_t bytes = fs_write_attr(fd, name, type, 0, value,
137 if (bytes < 0)
140 return bytes;
159 ssize_t bytes = writeAttr(fd, type, name, value, length);
163 return bytes >= 0 ? B_OK : bytes;