Motr  M0
fl.h File Reference
#include "be/list.h"
#include "be/list_xc.h"
Include dependency graph for fl.h:

Go to the source code of this file.

Data Structures

struct  m0_be_fl_size
 
struct  m0_be_fl
 

Macros

#define __MOTR_BE_FL_H__
 

Enumerations

enum  { M0_BE_FL_STEP = 8, M0_BE_FL_NR = 128, M0_BE_FL_PICK_SCAN_LIMIT = 0x10 }
 
enum  m0_be_fl_op { M0_BFL_CREATE, M0_BFL_DESTROY, M0_BFL_ADD, M0_BFL_DEL }
 

Functions

 M0_BASSERT (M0_BE_FL_STEP *M0_BE_FL_NR< M0_BCOUNT_MAX)
 
struct m0_be_allocator_call_stat M0_XCA_DOMAIN (be)
 
M0_INTERNAL bool m0_be_fl__invariant (struct m0_be_fl *fl)
 
M0_INTERNAL void m0_be_fl_create (struct m0_be_fl *fl, struct m0_be_tx *tx, struct m0_be_seg *seg)
 
M0_INTERNAL void m0_be_fl_destroy (struct m0_be_fl *fl, struct m0_be_tx *tx)
 
M0_INTERNAL void m0_be_fl_add (struct m0_be_fl *fl, struct m0_be_tx *tx, struct be_alloc_chunk *chunk)
 
M0_INTERNAL void m0_be_fl_del (struct m0_be_fl *fl, struct m0_be_tx *tx, struct be_alloc_chunk *chunk)
 
M0_INTERNAL struct be_alloc_chunkm0_be_fl_pick (struct m0_be_fl *fl, m0_bcount_t size)
 
M0_INTERNAL void m0_be_fl_credit (struct m0_be_fl *fl, enum m0_be_fl_op fl_op, struct m0_be_tx_credit *accum)
 

Variables

enum { ... }  M0_XCA_DOMAIN
 
struct m0_be_list bfs_list
 
struct m0_be_fl_size bfl_free [M0_BE_FL_NR+1]
 

Macro Definition Documentation

◆ __MOTR_BE_FL_H__

#define __MOTR_BE_FL_H__

Definition at line 26 of file fl.h.

Variable Documentation

◆ bfl_free

struct m0_be_fl_size bfl_free[M0_BE_FL_NR+1]

Definition at line 56 of file fl.h.

◆ bfs_list

struct m0_be_list bfs_list

Definition at line 48 of file fl.h.