/fs/xfs/ |
D | xfs_buf.h | 125 struct xfs_buf; 126 typedef void (*xfs_buf_iodone_t)(struct xfs_buf *); 141 void (*verify_read)(struct xfs_buf *); 142 void (*verify_write)(struct xfs_buf *); 145 typedef struct xfs_buf { struct 219 struct xfs_buf *_xfs_buf_find(struct xfs_buftarg *target, argument 221 xfs_buf_flags_t flags, struct xfs_buf *new_bp); 223 static inline struct xfs_buf * 234 struct xfs_buf *_xfs_buf_alloc(struct xfs_buftarg *target, 238 static inline struct xfs_buf * [all …]
|
D | xfs_trans.h | 23 struct xfs_buf; 52 struct xfs_buf *li_buf; /* real buffer pointer */ 54 void (*li_cb)(struct xfs_buf *, 165 struct xfs_buf *xfs_trans_get_buf_map(struct xfs_trans *tp, 170 static inline struct xfs_buf * 187 struct xfs_buf **bpp, 198 struct xfs_buf **bpp, in xfs_trans_read_buf() 206 struct xfs_buf *xfs_trans_getsb(xfs_trans_t *, struct xfs_mount *, int); 208 void xfs_trans_brelse(xfs_trans_t *, struct xfs_buf *); 209 void xfs_trans_bjoin(xfs_trans_t *, struct xfs_buf *); [all …]
|
D | xfs_buf_item.h | 44 struct xfs_buf; 55 struct xfs_buf *bli_buf; /* real buffer pointer */ 64 int xfs_buf_item_init(struct xfs_buf *, struct xfs_mount *); 65 void xfs_buf_item_relse(struct xfs_buf *); 68 void xfs_buf_attach_iodone(struct xfs_buf *, 69 void(*)(struct xfs_buf *, xfs_log_item_t *), 71 void xfs_buf_iodone_callbacks(struct xfs_buf *); 72 void xfs_buf_iodone(struct xfs_buf *, struct xfs_log_item *); 73 bool xfs_buf_resubmit_failed_buffers(struct xfs_buf *,
|
D | xfs_buf.c | 90 struct xfs_buf *bp) in xfs_buf_is_vmapped() 104 struct xfs_buf *bp) in xfs_buf_vmap_len() 124 struct xfs_buf *bp) in xfs_buf_ioacct_inc() 144 struct xfs_buf *bp) in __xfs_buf_ioacct_dec() 156 struct xfs_buf *bp) in xfs_buf_ioacct_dec() 173 struct xfs_buf *bp) in xfs_buf_stale() 206 struct xfs_buf *bp, in xfs_buf_get_maps() 229 struct xfs_buf *bp) in xfs_buf_free_maps() 237 struct xfs_buf * 244 struct xfs_buf *bp; in _xfs_buf_alloc() [all …]
|
D | xfs_buf_item.c | 42 STATIC void xfs_buf_do_callbacks(struct xfs_buf *bp); 69 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size_segment() 190 struct xfs_buf *bp, in xfs_buf_item_copy_iovec() 203 struct xfs_buf *bp, in xfs_buf_item_straddle() 221 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment() 315 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format() 509 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_push() 569 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_unlock() 732 struct xfs_buf *bp, in xfs_buf_item_init() 890 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_log() [all …]
|
D | xfs_trans_buf.c | 36 STATIC struct xfs_buf * 77 struct xfs_buf *bp, in _xfs_trans_bjoin() 118 struct xfs_buf *bp) in xfs_trans_bjoin() 133 struct xfs_buf * 248 struct xfs_buf **bpp, in xfs_trans_read_buf_map() 251 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map() 501 struct xfs_buf *bp) in xfs_trans_dirty_buf() 556 struct xfs_buf *bp, in xfs_trans_log_buf() 730 struct xfs_buf *bp) in xfs_trans_ordered_buf() 759 struct xfs_buf *bp, in xfs_trans_buf_set_type() [all …]
|
D | xfs_inode_item.h | 23 struct xfs_buf; 47 extern void xfs_iflush_done(struct xfs_buf *, struct xfs_log_item *); 48 extern void xfs_istale_done(struct xfs_buf *, struct xfs_log_item *);
|
/fs/xfs/libxfs/ |
D | xfs_dir2_priv.h | 32 struct xfs_buf **bpp); 38 struct xfs_buf *lbp, struct xfs_buf *dbp); 47 extern int __xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp); 49 xfs_dablk_t bno, xfs_daddr_t mapped_bno, struct xfs_buf **bpp); 58 struct xfs_buf **bpp); 62 xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); 64 xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); 66 struct xfs_buf *dbp); 69 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp); 74 struct xfs_buf **bpp, uint16_t magic); [all …]
|
D | xfs_attr_leaf.h | 52 struct xfs_buf **leaf_bp); 54 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp); 62 int xfs_attr3_leaf_to_shortform(struct xfs_buf *bp, 74 int xfs_attr3_leaf_lookup_int(struct xfs_buf *leaf, 76 int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args); 77 int xfs_attr3_leaf_add(struct xfs_buf *leaf_buffer, 79 int xfs_attr3_leaf_remove(struct xfs_buf *leaf_buffer, 81 void xfs_attr3_leaf_list_int(struct xfs_buf *bp, 94 xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count); 95 int xfs_attr_leaf_order(struct xfs_buf *leaf1_bp, [all …]
|
D | xfs_btree.h | 21 struct xfs_buf; 127 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp); 212 struct xfs_buf *bc_bufs[XFS_BTREE_MAXLEVELS]; /* buf ptr per level */ 223 struct xfs_buf *agbp; /* agf/agi buffer pointer */ 267 struct xfs_buf *bp); /* buffer containing block, if any */ 299 struct xfs_buf * /* buffer for fsbno */ 310 struct xfs_buf * /* buffer for agno/agbno */ 348 struct xfs_buf **bpp, /* buffer for fsbno */ 381 struct xfs_buf *bp, 416 void xfs_btree_lblock_calc_crc(struct xfs_buf *); [all …]
|
D | xfs_alloc.h | 21 struct xfs_buf; 67 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ 139 struct xfs_buf *agbp, /* buffer containing the agf structure */ 149 struct xfs_buf *bp, /* buffer for a.g. freelist header */ 168 struct xfs_buf *agbp, /* buffer for a.g. freelist header */ 169 struct xfs_buf *agflbp,/* buffer for a.g. free block array */ 182 struct xfs_buf **bpp); /* buffer for the ag freelist header */ 217 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); 219 xfs_agnumber_t agno, struct xfs_buf **bpp); 222 struct xfs_buf **agbp);
|
D | xfs_dir2_leaf.c | 41 static int xfs_dir2_leaf_lookup_int(xfs_da_args_t *args, struct xfs_buf **lbpp, 42 int *indexp, struct xfs_buf **dbpp); 44 struct xfs_buf *bp, int first, int last); 46 struct xfs_buf *bp); 62 struct xfs_buf *bp) in xfs_dir3_leaf1_check() 147 struct xfs_buf *bp, in xfs_dir3_leaf_verify() 180 struct xfs_buf *bp, in __read_verify() 197 struct xfs_buf *bp, in __write_verify() 221 struct xfs_buf *bp) in xfs_dir3_leaf1_read_verify() 228 struct xfs_buf *bp) in xfs_dir3_leaf1_write_verify() [all …]
|
D | xfs_ialloc.h | 21 struct xfs_buf; 52 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr() 85 struct xfs_buf **agbp, /* buf for a.g. inode header */ 125 struct xfs_buf *bp, /* allocation group header buffer */ 136 struct xfs_buf **bpp); /* allocation group hdr buf */ 169 xfs_agnumber_t agno, struct xfs_buf **bpp);
|
D | xfs_da_btree.h | 115 struct xfs_buf *bp; /* buffer containing block */ 166 int level, struct xfs_buf **bpp, int whichfork); 189 struct xfs_buf **bpp, int which_fork); 199 struct xfs_buf **bp, int whichfork); 202 struct xfs_buf **bpp, int whichfork, 208 struct xfs_buf *dead_buf);
|
D | xfs_symlink_remote.c | 57 struct xfs_buf *bp) in xfs_symlink_hdr_set() 86 struct xfs_buf *bp) in xfs_symlink_hdr_ok() 103 struct xfs_buf *bp) in xfs_symlink_verify() 129 struct xfs_buf *bp) in xfs_symlink_read_verify() 148 struct xfs_buf *bp) in xfs_symlink_write_verify() 179 struct xfs_buf *bp, in xfs_symlink_local_to_remote()
|
D | xfs_dir2_node.c | 41 static int xfs_dir2_leafn_add(struct xfs_buf *bp, xfs_da_args_t *args, 46 static int xfs_dir2_leafn_remove(xfs_da_args_t *args, struct xfs_buf *bp, 65 struct xfs_buf *bp) in xfs_dir3_leafn_check() 87 struct xfs_buf *bp) in xfs_dir3_free_verify() 115 struct xfs_buf *bp) in xfs_dir3_free_read_verify() 131 struct xfs_buf *bp) in xfs_dir3_free_write_verify() 163 struct xfs_buf *bp) in xfs_dir3_free_header_check() 201 struct xfs_buf **bpp) in __xfs_dir3_free_read() 230 struct xfs_buf **bpp) in xfs_dir2_free_read() 240 struct xfs_buf **bpp) in xfs_dir2_free_try_read() [all …]
|
D | xfs_dir2_block.c | 42 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp, 44 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp); 45 static int xfs_dir2_block_lookup_int(xfs_da_args_t *args, struct xfs_buf **bpp, 63 struct xfs_buf *bp) in xfs_dir3_block_verify() 88 struct xfs_buf *bp) in xfs_dir3_block_read_verify() 104 struct xfs_buf *bp) in xfs_dir3_block_write_verify() 135 struct xfs_buf **bpp) in xfs_dir3_block_read() 151 struct xfs_buf *bp, in xfs_dir3_block_init() 286 struct xfs_buf *bp, in xfs_dir2_block_compact() 340 struct xfs_buf *bp; /* buffer for block */ in xfs_dir2_block_addname() [all …]
|
D | xfs_shared.h | 27 struct xfs_buf; 141 uint32_t size, struct xfs_buf *bp); 143 uint32_t size, struct xfs_buf *bp); 144 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
|
D | xfs_refcount_btree.c | 54 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_set_root() 77 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_alloc_block() 124 struct xfs_buf *bp) in xfs_refcountbt_free_block() 127 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_free_block() 228 struct xfs_buf *bp) in xfs_refcountbt_verify() 255 struct xfs_buf *bp) in xfs_refcountbt_read_verify() 270 struct xfs_buf *bp) in xfs_refcountbt_write_verify() 337 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor() 428 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves()
|
D | xfs_btree.c | 71 struct xfs_buf *bp) /* buffer for block, if any */ in xfs_btree_check_lblock() 118 struct xfs_buf *bp) /* buffer containing block */ in xfs_btree_check_sblock() 121 struct xfs_buf *agbp; /* buffer for ag. freespace struct */ in xfs_btree_check_sblock() 172 struct xfs_buf *bp) /* buffer containing block, if any */ in xfs_btree_check_block() 246 struct xfs_buf *bp) in xfs_btree_lblock_calc_crc() 260 struct xfs_buf *bp) in xfs_btree_lblock_verify_crc() 284 struct xfs_buf *bp) in xfs_btree_sblock_calc_crc() 298 struct xfs_buf *bp) in xfs_btree_sblock_verify_crc() 315 struct xfs_buf *bp) in xfs_btree_free_block() 646 struct xfs_buf **bpp) /* buffer containing the block */ in xfs_btree_get_block() [all …]
|
D | xfs_rmap_btree.c | 79 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_set_root() 102 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_alloc_block() 141 struct xfs_buf *bp) in xfs_rmapbt_free_block() 143 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_free_block() 308 struct xfs_buf *bp) in xfs_rmapbt_verify() 347 struct xfs_buf *bp) in xfs_rmapbt_read_verify() 362 struct xfs_buf *bp) in xfs_rmapbt_write_verify() 468 struct xfs_buf *agbp, in xfs_rmapbt_init_cursor() 569 struct xfs_buf *agbp; in xfs_rmapbt_calc_reserves()
|
D | xfs_dquot_buf.c | 172 struct xfs_buf *bp) in xfs_dquot_buf_verify_crc() 204 struct xfs_buf *bp, in xfs_dquot_buf_verify() 247 struct xfs_buf *bp) in xfs_dquot_buf_read_verify() 268 struct xfs_buf *bp) in xfs_dquot_buf_readahead_verify() 286 struct xfs_buf *bp) in xfs_dquot_buf_write_verify()
|
D | xfs_dir2.h | 160 struct xfs_buf *bp); 168 struct xfs_buf *bp, struct xfs_dir2_data_entry *dep); 170 struct xfs_buf *bp); 172 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup); 174 struct xfs_buf *bp, xfs_dir2_data_aoff_t offset, 177 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
|
D | xfs_ialloc_btree.c | 61 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_inobt_set_root() 75 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_finobt_set_root() 151 struct xfs_buf *bp) in xfs_inobt_free_block() 255 struct xfs_buf *bp) in xfs_inobt_verify() 294 struct xfs_buf *bp) in xfs_inobt_read_verify() 309 struct xfs_buf *bp) in xfs_inobt_write_verify() 396 struct xfs_buf *agbp, /* buffer for agi structure */ in xfs_inobt_init_cursor() 547 struct xfs_buf *agbp; in xfs_inobt_count_blocks()
|
D | xfs_dir2_data.c | 44 struct xfs_buf *bp) /* data block's buffer */ in __xfs_dir3_data_check() 220 struct xfs_buf *bp) in xfs_dir3_data_verify() 250 struct xfs_buf *bp) in xfs_dir3_data_reada_verify() 274 struct xfs_buf *bp) in xfs_dir3_data_read_verify() 290 struct xfs_buf *bp) in xfs_dir3_data_write_verify() 330 struct xfs_buf **bpp) in xfs_dir3_data_read() 590 struct xfs_buf **bpp) /* output block buffer */ in xfs_dir3_data_init() 592 struct xfs_buf *bp; /* block buffer */ in xfs_dir3_data_init() 664 struct xfs_buf *bp, in xfs_dir2_data_log_entry() 685 struct xfs_buf *bp) in xfs_dir2_data_log_header() [all …]
|