MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / pwritev2

Method pwritev2

fs/aligned-file.cpp:188–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 return this->pwritev2_mutable(iov, iovcnt, offset, 0);
187 }
188 virtual ssize_t pwritev2(const struct iovec *iov, int iovcnt, off_t offset, int flags) override {
189 IOVector iovec(iov, iovcnt);
190 return this->pwritev2_mutable(iovec.iovec(), iovec.iovcnt(), offset, flags);
191 }
192 virtual ssize_t pwritev2_mutable(struct iovec *iov, int iovcnt, off_t offset, int flags) override {
193 struct iovec tmpiovec[MAX_TMP_IOVEC_SIZE];
194 iovector_view view(tmpiovec, MAX_TMP_IOVEC_SIZE);

Callers

nothing calls this directly

Calls 3

pwritev2_mutableMethod · 0.95
iovecMethod · 0.45
iovcntMethod · 0.45

Tested by

no test coverage detected