[PATCH v3 1/9] iov: add some functions to manage iovec