Motr  M0
m0_obj_lock_ops Struct Reference

#include <helper.h>

Collaboration diagram for m0_obj_lock_ops:
Collaboration graph

Data Fields

int(* olo_lock_init )(struct m0_obj *obj)
 
void(* olo_lock_fini )(struct m0_obj *obj)
 
int(* olo_write_lock_get )(struct m0_obj *obj, struct m0_rm_lock_req *req, struct m0_clink *clink)
 
int(* olo_write_lock_get_sync )(struct m0_obj *obj, struct m0_rm_lock_req *req)
 
int(* olo_read_lock_get )(struct m0_obj *obj, struct m0_rm_lock_req *req, struct m0_clink *clink)
 
int(* olo_read_lock_get_sync )(struct m0_obj *obj, struct m0_rm_lock_req *req)
 
void(* olo_lock_put )(struct m0_rm_lock_req *req)
 

Detailed Description

Definition at line 87 of file helper.h.

Field Documentation

◆ olo_lock_fini

void(* olo_lock_fini) (struct m0_obj *obj)

Definition at line 90 of file helper.h.

◆ olo_lock_init

int(* olo_lock_init) (struct m0_obj *obj)

Definition at line 88 of file helper.h.

◆ olo_lock_put

void(* olo_lock_put) (struct m0_rm_lock_req *req)

Definition at line 106 of file helper.h.

◆ olo_read_lock_get

int(* olo_read_lock_get) (struct m0_obj *obj, struct m0_rm_lock_req *req, struct m0_clink *clink)

Definition at line 99 of file helper.h.

◆ olo_read_lock_get_sync

int(* olo_read_lock_get_sync) (struct m0_obj *obj, struct m0_rm_lock_req *req)

Definition at line 103 of file helper.h.

◆ olo_write_lock_get

int(* olo_write_lock_get) (struct m0_obj *obj, struct m0_rm_lock_req *req, struct m0_clink *clink)

Definition at line 92 of file helper.h.

◆ olo_write_lock_get_sync

int(* olo_write_lock_get_sync) (struct m0_obj *obj, struct m0_rm_lock_req *req)

Definition at line 96 of file helper.h.


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