Motr  M0
m0_layout_list_enum Struct Reference

#include <list_enum.h>

Collaboration diagram for m0_layout_list_enum:
Collaboration graph

Data Fields

struct m0_layout_enum lle_base
 
uint32_t lle_nr
 
struct m0_fidlle_list_of_cobs
 
uint64_t lle_magic
 

Detailed Description

Extension of the generic m0_layout_enum for the list enumeration type.

Definition at line 46 of file list_enum.h.

Field Documentation

◆ lle_base

struct m0_layout_enum lle_base

Super class.

Definition at line 48 of file list_enum.h.

◆ lle_list_of_cobs

struct m0_fid* lle_list_of_cobs

Pointer to an array of COB identifiers for the component objects which are part of 'the layout this enum is assocaited with'.

Todo:
In kernel any allocation over 4KB is not safe. Thus, this array can safely hold only upto 256 number of COB identifiers, (m0_fid being 16 bytes in size). This issue is to be addressed later.

Definition at line 61 of file list_enum.h.

◆ lle_magic

uint64_t lle_magic

Definition at line 63 of file list_enum.h.

◆ lle_nr

uint32_t lle_nr

Number of elements present in the enumeration.

Definition at line 51 of file list_enum.h.


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