[PATCH v2 1/8] iov: add some functions to manage iovec