Motr  M0
rings.h File Reference
#include "rm/rm.h"
#include "rm/ut/rmut.h"
Include dependency graph for rings.h:

Go to the source code of this file.

Data Structures

struct  m0_rings
 

Macros

#define __MOTR_RM_RINGS_H__
 

Enumerations

enum  {
  NARYA = 1 << 0, NENYA = 1 << 1, VILYA = 1 << 2, DURIN = 1 << 3,
  THROR = 1 << 4, GR_2 = 1 << 5, GR_3 = 1 << 6, GR_4 = 1 << 7,
  GR_5 = 1 << 8, GR_6 = 1 << 9, ANGMAR = 1 << 10, KHAMUL = 1 << 11,
  MR_2 = 1 << 12, MR_3 = 1 << 13, MR_4 = 1 << 14, MR_5 = 1 << 15,
  MR_6 = 1 << 16, MR_7 = 1 << 17, MR_8 = 1 << 18, THE_ONE = 1 << 19,
  SHARED_RING = 1 << 20, INVALID_RING = 1 << 21, ANY_RING = 1 << 22, ALLRINGS,
  RINGS_RESOURCE_TYPE_ID = 0, RINGS_RIP = RIP_NR + 1
}
 

Functions

void rings_utdata_ops_set (struct rm_ut_data *data)
 

Variables

struct m0_rm_resource_type rings_resource_type
 
const struct m0_rm_resource_ops rings_ops
 
const struct m0_rm_resource_type_ops rings_rtype_ops
 
const struct m0_rm_credit_ops rings_credit_ops
 
const struct m0_rm_incoming_ops rings_incoming_ops
 

Macro Definition Documentation

◆ __MOTR_RM_RINGS_H__

#define __MOTR_RM_RINGS_H__

Definition at line 26 of file rings.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NARYA 
NENYA 
VILYA 
DURIN 
THROR 
GR_2 
GR_3 
GR_4 
GR_5 
GR_6 
ANGMAR 
KHAMUL 
MR_2 
MR_3 
MR_4 
MR_5 
MR_6 
MR_7 
MR_8 
THE_ONE 
SHARED_RING 
INVALID_RING 
ANY_RING 
ALLRINGS 
RINGS_RESOURCE_TYPE_ID 
RINGS_RIP 

Definition at line 32 of file rings.h.

Function Documentation

◆ rings_utdata_ops_set()

void rings_utdata_ops_set ( struct rm_ut_data data)

Definition at line 375 of file rings.c.

Here is the caller graph for this function:

Variable Documentation

◆ rings_credit_ops

const struct m0_rm_credit_ops rings_credit_ops

Definition at line 272 of file rings.c.

◆ rings_incoming_ops

const struct m0_rm_incoming_ops rings_incoming_ops

Definition at line 296 of file rings.c.

◆ rings_ops

const struct m0_rm_resource_ops rings_ops

Definition at line 87 of file rings.c.

◆ rings_resource_type

struct m0_rm_resource_type rings_resource_type

Definition at line 37 of file rings.c.

◆ rings_rtype_ops

const struct m0_rm_resource_type_ops rings_rtype_ops

Definition at line 149 of file rings.c.