Motr  M0
log_sched.h File Reference
#include "lib/types.h"
#include "be/io.h"
#include "be/io_sched.h"
#include "be/op.h"
Include dependency graph for log_sched.h:

Go to the source code of this file.

Data Structures

struct  m0_be_log_sched_cfg
 
struct  m0_be_log_sched
 
struct  m0_be_log_io
 

Macros

#define __MOTR_BE_LOG_SCHED_H__
 

Functions

M0_INTERNAL int m0_be_log_sched_init (struct m0_be_log_sched *sched, struct m0_be_log_sched_cfg *cfg)
 
M0_INTERNAL void m0_be_log_sched_fini (struct m0_be_log_sched *sched)
 
M0_INTERNAL void m0_be_log_sched_lock (struct m0_be_log_sched *sched)
 
M0_INTERNAL void m0_be_log_sched_unlock (struct m0_be_log_sched *sched)
 
M0_INTERNAL bool m0_be_log_sched_is_locked (struct m0_be_log_sched *sched)
 
M0_INTERNAL void m0_be_log_sched_add (struct m0_be_log_sched *sched, struct m0_be_log_io *lio, struct m0_be_op *op)
 
M0_INTERNAL int m0_be_log_io_init (struct m0_be_log_io *lio)
 
M0_INTERNAL void m0_be_log_io_fini (struct m0_be_log_io *lio)
 
M0_INTERNAL void m0_be_log_io_reset (struct m0_be_log_io *lio)
 
M0_INTERNAL int m0_be_log_io_allocate (struct m0_be_log_io *lio, struct m0_be_io_credit *iocred, uint32_t log_bshift)
 
M0_INTERNAL void m0_be_log_io_deallocate (struct m0_be_log_io *lio)
 
M0_INTERNAL struct m0_bufvecm0_be_log_io_bufvec (struct m0_be_log_io *lio)
 
M0_INTERNAL struct m0_be_iom0_be_log_io_be_io (struct m0_be_log_io *lio)
 
M0_INTERNAL void m0_be_log_io_user_data_set (struct m0_be_log_io *lio, void *data)
 
M0_INTERNAL void * m0_be_log_io_user_data (struct m0_be_log_io *lio)
 
M0_INTERNAL bool m0_be_log_io_is_empty (struct m0_be_log_io *lio)
 

Macro Definition Documentation

◆ __MOTR_BE_LOG_SCHED_H__

#define __MOTR_BE_LOG_SCHED_H__

Definition at line 26 of file log_sched.h.