/fs/xfs/libxfs/ |
D | xfs_da_btree.c | 137 struct xfs_da_intnode *hdr = bp->b_addr; in xfs_da3_node_verify() 146 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_verify() 185 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify() 212 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_read_verify() 265 struct xfs_da_blkinfo *info = (*bpp)->b_addr; in xfs_da3_node_read() 322 node = bp->b_addr; in xfs_da3_node_create() 325 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create() 467 node = oldblk->bp->b_addr; in xfs_da3_split() 475 node = bp->b_addr; in xfs_da3_split() 481 node = oldblk->bp->b_addr; in xfs_da3_split() [all …]
|
D | xfs_dir2_node.c | 68 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leafn_check() 74 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leafn_check() 91 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_verify() 94 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() 134 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() 222 memset(bp->b_addr, 0, sizeof(struct xfs_dir3_free_hdr)); in xfs_dir3_free_get_buf() 226 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf() 235 dp->d_ops->free_hdr_to_disk(bp->b_addr, &hdr); in xfs_dir3_free_get_buf() 253 free = bp->b_addr; in xfs_dir2_free_log_bests() 274 free = bp->b_addr; in xfs_dir2_free_log_header() [all …]
|
D | xfs_symlink_remote.c | 60 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_set() 88 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_ok() 106 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_verify() 162 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_write_verify() 188 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 201 buf = bp->b_addr; in xfs_symlink_local_to_remote()
|
D | xfs_dir2_leaf.c | 65 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf1_check() 71 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf1_check() 152 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_verify() 157 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_verify() 201 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in __write_verify() 303 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_init() 308 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_init() 419 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf() 420 hdr = dbp->b_addr; in xfs_dir2_block_to_leaf() 659 leaf = lbp->b_addr; in xfs_dir2_leaf_addname() [all …]
|
D | xfs_rtbitmap.c | 115 bufp = bp->b_addr; in xfs_rtfind_back() 167 bufp = bp->b_addr; in xfs_rtfind_back() 213 bufp = bp->b_addr; in xfs_rtfind_back() 290 bufp = bp->b_addr; in xfs_rtfind_forw() 341 b = bufp = bp->b_addr; in xfs_rtfind_forw() 386 b = bufp = bp->b_addr; in xfs_rtfind_forw() 489 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int() 548 bufp = bp->b_addr; in xfs_rtmodify_range() 593 first = b = bufp = bp->b_addr; in xfs_rtmodify_range() 633 first = b = bufp = bp->b_addr; in xfs_rtmodify_range() [all …]
|
D | xfs_attr_leaf.c | 180 struct xfs_attr_leafblock *leaf = bp->b_addr; in xfs_attr3_leaf_verify() 186 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_verify() 214 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify() 764 leaf = bp->b_addr; in xfs_attr_shortform_allfit() 815 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform() 822 memset(bp->b_addr, 0, args->geo->blksize); in xfs_attr3_leaf_to_shortform() 911 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node() 913 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node() 924 node = bp1->b_addr; in xfs_attr3_leaf_to_node() 928 leaf = bp2->b_addr; in xfs_attr3_leaf_to_node() [all …]
|
D | xfs_ag.h | 128 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr)) 199 #define XFS_BUF_TO_AGI(bp) ((xfs_agi_t *)((bp)->b_addr)) 210 #define XFS_BUF_TO_AGFL(bp) ((xfs_agfl_t *)((bp)->b_addr)) 215 (__be32 *)(bp)->b_addr)
|
D | xfs_dir2_block.c | 68 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify() 108 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_write_verify() 154 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init() 379 hdr = bp->b_addr; in xfs_dir2_block_addname() 580 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_leaf() 598 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_tail() 634 hdr = bp->b_addr; in xfs_dir2_block_lookup() 687 hdr = bp->b_addr; in xfs_dir2_block_lookup_int() 793 hdr = bp->b_addr; in xfs_dir2_block_removename() 869 hdr = bp->b_addr; in xfs_dir2_block_replace() [all …]
|
D | xfs_dir2_data.c | 77 hdr = bp->b_addr; in __xfs_dir3_data_check() 219 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify() 246 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir3_data_reada_verify() 287 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify() 602 hdr = bp->b_addr; in xfs_dir3_data_init() 604 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init() 650 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir2_data_log_entry() 671 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir2_data_log_header() 692 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_data_log_unused() 736 hdr = bp->b_addr; in xfs_dir2_data_make_free() [all …]
|
D | xfs_attr_remote.c | 134 ptr = bp->b_addr; in xfs_attr3_rmt_read_verify() 174 ptr = bp->b_addr; in xfs_attr3_rmt_write_verify() 242 char *src = bp->b_addr; in xfs_attr_rmtval_copyout() 290 char *dst = bp->b_addr; in xfs_attr_rmtval_copyin()
|
D | xfs_dquot_buf.c | 181 struct xfs_dqblk *d = (struct xfs_dqblk *)bp->b_addr; in xfs_dquot_buf_verify_crc() 214 struct xfs_dqblk *d = (struct xfs_dqblk *)bp->b_addr; in xfs_dquot_buf_verify()
|
D | xfs_dinode.h | 178 #define XFS_BUF_TO_DINODE(bp) ((xfs_dinode_t *)((bp)->b_addr))
|
D | xfs_format.h | 57 ((xfs_suminfo_t *)((bp)->b_addr + \
|
D | xfs_btree.h | 242 #define XFS_BUF_TO_BLOCK(bp) ((struct xfs_btree_block *)((bp)->b_addr))
|
D | xfs_sb.h | 575 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((bp)->b_addr))
|
D | xfs_dir2_sf.c | 188 hdr = bp->b_addr; in xfs_dir2_block_to_sf()
|
/fs/xfs/ |
D | xfs_buf.c | 74 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped() 269 vm_unmap_ram(bp->b_addr - bp->b_offset, in xfs_buf_free() 278 kmem_free(bp->b_addr); in xfs_buf_free() 306 bp->b_addr = kmem_alloc(size, KM_NOFS); in xfs_buf_allocate_memory() 307 if (!bp->b_addr) { in xfs_buf_allocate_memory() 312 if (((unsigned long)(bp->b_addr + size - 1) & PAGE_MASK) != in xfs_buf_allocate_memory() 313 ((unsigned long)bp->b_addr & PAGE_MASK)) { in xfs_buf_allocate_memory() 315 kmem_free(bp->b_addr); in xfs_buf_allocate_memory() 316 bp->b_addr = NULL; in xfs_buf_allocate_memory() 319 bp->b_offset = offset_in_page(bp->b_addr); in xfs_buf_allocate_memory() [all …]
|
D | xfs_attr_inactive.c | 139 leaf = bp->b_addr; in xfs_attr3_leaf_inactive() 233 node = bp->b_addr; in xfs_attr3_node_inactive() 267 info = child_bp->b_addr; in xfs_attr3_node_inactive() 352 info = bp->b_addr; in xfs_attr3_root_inactive()
|
D | xfs_attr_list.c | 253 node = bp->b_addr; in xfs_attr_node_list() 263 leaf = bp->b_addr; in xfs_attr_node_list() 301 node = bp->b_addr; in xfs_attr_node_list() 342 leaf = bp->b_addr; in xfs_attr_node_list() 379 leaf = bp->b_addr; in xfs_attr3_leaf_list_int()
|
D | xfs_buf.h | 167 void *b_addr; /* virtual address of buffer */ member 371 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum() 378 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
|
D | xfs_symlink.c | 94 cur_chunk = bp->b_addr; in xfs_readlink_bmap() 361 buf = bp->b_addr; in xfs_symlink() 373 (char *)bp->b_addr); in xfs_symlink()
|
D | xfs_dquot.c | 242 d = bp->b_addr; in xfs_qm_init_dquot_blk() 434 d = (struct xfs_dqblk *)(*bpp)->b_addr; in xfs_qm_dqrepair() 548 *O_ddpp = bp->b_addr + dqp->q_bufoffset; in xfs_qm_dqtobp() 985 ddqp = bp->b_addr + dqp->q_bufoffset; in xfs_qm_dqflush()
|
D | xfs_dir2_readdir.c | 209 hdr = bp->b_addr; in xfs_dir2_block_getdents() 557 if (!bp || ptr >= (char *)bp->b_addr + geo->blksize) { in xfs_dir2_leaf_getdents() 580 hdr = bp->b_addr; in xfs_dir2_leaf_getdents()
|
D | xfs_log_recover.c | 162 return bp->b_addr + BBTOB(offset); in xlog_align() 232 xfs_caddr_t orig_offset = bp->b_addr; in xlog_bread_offset() 1281 offset = bp->b_addr + BBTOB(ealign - start_block); in xlog_write_log_records() 1839 void *blk = bp->b_addr; in xlog_recover_get_buf_lsn() 1968 struct xfs_da_blkinfo *info = bp->b_addr; in xlog_recover_validate_buf_type() 1984 magic32 = be32_to_cpu(*(__be32 *)bp->b_addr); in xlog_recover_validate_buf_type() 1985 magic16 = be16_to_cpu(*(__be16*)bp->b_addr); in xlog_recover_validate_buf_type() 4202 offset = hbp->b_addr; in xlog_do_recovery_pass() 4262 offset = dbp->b_addr; in xlog_do_recovery_pass()
|
D | xfs_rtalloc.c | 860 memset(bp->b_addr, 0, mp->m_sb.sb_blocksize); in xfs_growfs_rt_alloc()
|