Motr  M0
m0_vec Struct Reference

#include <vec.h>

Collaboration diagram for m0_vec:
Collaboration graph

Data Fields

uint32_t v_nr
 
m0_bcount_tv_count
 

Detailed Description

A vector of "segments" where each segment is something having a "count".

m0_vec is used to implement functionality common to various "scatter-gather" data-structures, like m0_indexvec, m0_bufvec.

Definition at line 49 of file vec.h.

Field Documentation

◆ v_count

m0_bcount_t* v_count

array of segment counts

Definition at line 53 of file vec.h.

◆ v_nr

uint32_t v_nr

number of segments in the vector

Definition at line 51 of file vec.h.


The documentation for this struct was generated from the following file: