Motr  M0
m0_rm_loan Struct Reference

#include <rm.h>

Collaboration diagram for m0_rm_loan:
Collaboration graph

Data Fields

struct m0_rm_credit rl_credit
 
struct m0_rm_remoterl_other
 
struct m0_cookie rl_cookie
 
uint64_t rl_id
 
uint64_t rl_magix
 

Detailed Description

A loan (a credit) from one owner to another. In finance world, a loan is closed-end credit.

m0_rm_loan is always on some list (to which it is linked through m0_rm_loan::rl_credit:cr_linkage field) in an owner structure. This owner is one party of the loan. Another party is m0_rm_loan::rl_other. Which party is creditor and which is debtor is determined by the list the loan is on.

Definition at line 1098 of file rm.h.

Field Documentation

◆ rl_cookie

struct m0_cookie rl_cookie

An identifier generated by the remote end that should be passed back whenever operating on a loan (think loan agreement number).

Definition at line 1110 of file rm.h.

◆ rl_credit

struct m0_rm_credit rl_credit

Definition at line 1099 of file rm.h.

◆ rl_id

uint64_t rl_id

Definition at line 1111 of file rm.h.

◆ rl_magix

uint64_t rl_magix

Definition at line 1112 of file rm.h.

◆ rl_other

struct m0_rm_remote* rl_other

Other party (or parties) in the loan. Either an "upward" creditor or "downward" debtor, or "self" in case of a fake loan issued by the top-level creditor to maintain its invariants.

Definition at line 1105 of file rm.h.


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