Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
xfs_btree_ops Struct Reference

#include <xfs_btree.h>

Data Fields

size_t key_len
 
size_t rec_len
 
struct xfs_btree_cur *(* dup_cursor )(struct xfs_btree_cur *)
 
void(* update_cursor )(struct xfs_btree_cur *src, struct xfs_btree_cur *dst)
 
void(* set_root )(struct xfs_btree_cur *cur, union xfs_btree_ptr *nptr, int level_change)
 
int(* alloc_block )(struct xfs_btree_cur *cur, union xfs_btree_ptr *start_bno, union xfs_btree_ptr *new_bno, int length, int *stat)
 
int(* free_block )(struct xfs_btree_cur *cur, struct xfs_buf *bp)
 
void(* update_lastrec )(struct xfs_btree_cur *cur, struct xfs_btree_block *block, union xfs_btree_rec *rec, int ptr, int reason)
 
int(* get_minrecs )(struct xfs_btree_cur *cur, int level)
 
int(* get_maxrecs )(struct xfs_btree_cur *cur, int level)
 
int(* get_dmaxrecs )(struct xfs_btree_cur *cur, int level)
 
void(* init_key_from_rec )(union xfs_btree_key *key, union xfs_btree_rec *rec)
 
void(* init_rec_from_key )(union xfs_btree_key *key, union xfs_btree_rec *rec)
 
void(* init_rec_from_cur )(struct xfs_btree_cur *cur, union xfs_btree_rec *rec)
 
void(* init_ptr_from_cur )(struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr)
 
__int64_t(* key_diff )(struct xfs_btree_cur *cur, union xfs_btree_key *key)
 

Detailed Description

Definition at line 143 of file xfs_btree.h.

Field Documentation

int(* alloc_block)(struct xfs_btree_cur *cur, union xfs_btree_ptr *start_bno, union xfs_btree_ptr *new_bno, int length, int *stat)

Definition at line 158 of file xfs_btree.h.

struct xfs_btree_cur*(* dup_cursor)(struct xfs_btree_cur *)
read

Definition at line 149 of file xfs_btree.h.

int(* free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp)

Definition at line 162 of file xfs_btree.h.

int(* get_dmaxrecs)(struct xfs_btree_cur *cur, int level)

Definition at line 175 of file xfs_btree.h.

int(* get_maxrecs)(struct xfs_btree_cur *cur, int level)

Definition at line 172 of file xfs_btree.h.

int(* get_minrecs)(struct xfs_btree_cur *cur, int level)

Definition at line 171 of file xfs_btree.h.

void(* init_key_from_rec)(union xfs_btree_key *key, union xfs_btree_rec *rec)

Definition at line 178 of file xfs_btree.h.

void(* init_ptr_from_cur)(struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr)

Definition at line 184 of file xfs_btree.h.

void(* init_rec_from_cur)(struct xfs_btree_cur *cur, union xfs_btree_rec *rec)

Definition at line 182 of file xfs_btree.h.

void(* init_rec_from_key)(union xfs_btree_key *key, union xfs_btree_rec *rec)

Definition at line 180 of file xfs_btree.h.

__int64_t(* key_diff)(struct xfs_btree_cur *cur, union xfs_btree_key *key)

Definition at line 188 of file xfs_btree.h.

size_t key_len

Definition at line 145 of file xfs_btree.h.

size_t rec_len

Definition at line 146 of file xfs_btree.h.

void(* set_root)(struct xfs_btree_cur *cur, union xfs_btree_ptr *nptr, int level_change)

Definition at line 154 of file xfs_btree.h.

Definition at line 150 of file xfs_btree.h.

Definition at line 165 of file xfs_btree.h.


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