Motr  M0
rm_fops.c File Reference
#include "lib/errno.h"
#include "lib/memory.h"
#include "lib/misc.h"
#include "ut/ut.h"
#include "rm/rm.h"
#include "rm/rm_fops.h"
#include "rm/ut/rmut.h"
#include "rm/ut/rings.h"
#include "rm/rm_internal.h"
#include "rm/rm_fops.c"
Include dependency graph for rm_fops.c:

Go to the source code of this file.

Functions

static void post_borrow_validate (int err)
 
static void borrow_reply_populate (struct m0_rm_fop_borrow_rep *breply, int err)
 
static void post_borrow_cleanup (struct m0_rpc_item *item, int err)
 
static void borrow_fop_validate (struct m0_rm_fop_borrow *bfop)
 
static void post_revoke_validate (int err)
 
static void revoke_fop_validate (struct m0_rm_fop_revoke *rfop)
 
static void post_revoke_cleanup (struct m0_rpc_item *item, int err)
 
static void revoke_reply_populate (struct m0_fop_generic_reply *rreply, int err)
 
static void request_param_init (enum m0_rm_incoming_flags flags)
 
static void request_param_fini (void)
 
static void wait_try_flags_validate (uint64_t orig_flags, uint64_t rm_fop_flags)
 
static void rm_req_fop_validate (enum m0_rm_incoming_type reqtype)
 
static struct m0_rpc_itemrm_reply_create (enum m0_rm_incoming_type reqtype, int err)
 
static void reply_test (enum m0_rm_incoming_type reqtype, int err)
 
static void request_test (enum m0_rm_incoming_type reqtype)
 
static void borrow_request_test (void)
 
static void borrow_reply_test (void)
 
static void revoke_request_test (void)
 
static void revoke_reply_test (void)
 
static void borrow_fop_funcs_test (void)
 
static void revoke_fop_funcs_test (void)
 
void rm_fop_funcs_test (void)
 

Variables

static struct m0_rm_loantest_loan
 
static struct m0_rm_remoteremote
 
static struct m0_rpc_machine ut_rm_mach
 

Function Documentation

◆ borrow_fop_funcs_test()

static void borrow_fop_funcs_test ( void  )
static

Definition at line 575 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ borrow_fop_validate()

static void borrow_fop_validate ( struct m0_rm_fop_borrow bfop)
static

Definition at line 408 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ borrow_reply_populate()

static void borrow_reply_populate ( struct m0_rm_fop_borrow_rep breply,
int  err 
)
static

Definition at line 358 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ borrow_reply_test()

static void borrow_reply_test ( void  )
static

Definition at line 445 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ borrow_request_test()

static void borrow_request_test ( void  )
static

Definition at line 437 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ post_borrow_cleanup()

static void post_borrow_cleanup ( struct m0_rpc_item item,
int  err 
)
static

Definition at line 372 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ post_borrow_validate()

static void post_borrow_validate ( int  err)
static

Definition at line 344 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ post_revoke_cleanup()

static void post_revoke_cleanup ( struct m0_rpc_item item,
int  err 
)
static

Definition at line 513 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ post_revoke_validate()

static void post_revoke_validate ( int  err)
static

Definition at line 462 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reply_test()

static void reply_test ( enum m0_rm_incoming_type  reqtype,
int  err 
)
static

Definition at line 239 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ request_param_fini()

static void request_param_fini ( void  )
static

Definition at line 95 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ request_param_init()

static void request_param_init ( enum m0_rm_incoming_flags  flags)
static

Definition at line 58 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ request_test()

static void request_test ( enum m0_rm_incoming_type  reqtype)
static

Definition at line 298 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ revoke_fop_funcs_test()

static void revoke_fop_funcs_test ( void  )
static

Definition at line 590 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ revoke_fop_validate()

static void revoke_fop_validate ( struct m0_rm_fop_revoke rfop)
static

Definition at line 482 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ revoke_reply_populate()

static void revoke_reply_populate ( struct m0_fop_generic_reply rreply,
int  err 
)
static

Definition at line 544 of file rm_fops.c.

Here is the caller graph for this function:

◆ revoke_reply_test()

static void revoke_reply_test ( void  )
static

Definition at line 561 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ revoke_request_test()

static void revoke_request_test ( void  )
static

Definition at line 553 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rm_fop_funcs_test()

void rm_fop_funcs_test ( void  )

Definition at line 605 of file rm_fops.c.

Here is the call graph for this function:

◆ rm_reply_create()

static struct m0_rpc_item* rm_reply_create ( enum m0_rm_incoming_type  reqtype,
int  err 
)
static

Definition at line 170 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rm_req_fop_validate()

static void rm_req_fop_validate ( enum m0_rm_incoming_type  reqtype)
static

Definition at line 126 of file rm_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wait_try_flags_validate()

static void wait_try_flags_validate ( uint64_t  orig_flags,
uint64_t  rm_fop_flags 
)
static

Definition at line 108 of file rm_fops.c.

Here is the caller graph for this function:

Variable Documentation

◆ remote

struct m0_rm_remote* remote
static

Definition at line 35 of file rm_fops.c.

◆ test_loan

struct m0_rm_loan* test_loan
static

Definition at line 34 of file rm_fops.c.

◆ ut_rm_mach

struct m0_rpc_machine ut_rm_mach
static

Definition at line 36 of file rm_fops.c.