Searched refs:b_addr (Results 1 – 16 of 16) sorted by relevance
/fs/xfs/ |
D | xfs_buf.c | 269 vm_unmap_ram(bp->b_addr - bp->b_offset, in xfs_buf_free() 278 kmem_free(bp->b_addr); in xfs_buf_free() 304 bp->b_addr = kmem_alloc(bp->b_buffer_length, xb_to_km(flags)); in xfs_buf_allocate_memory() 305 if (!bp->b_addr) { in xfs_buf_allocate_memory() 310 if (((unsigned long)(bp->b_addr + bp->b_buffer_length - 1) & in xfs_buf_allocate_memory() 312 ((unsigned long)bp->b_addr & PAGE_MASK)) { in xfs_buf_allocate_memory() 314 kmem_free(bp->b_addr); in xfs_buf_allocate_memory() 315 bp->b_addr = NULL; in xfs_buf_allocate_memory() 318 bp->b_offset = offset_in_page(bp->b_addr); in xfs_buf_allocate_memory() 320 bp->b_pages[0] = virt_to_page(bp->b_addr); in xfs_buf_allocate_memory() [all …]
|
D | xfs_rtalloc.c | 171 memset(bp->b_addr, 0, mp->m_sb.sb_blocksize); in xfs_growfs_rt_alloc() 937 bufp = bp->b_addr; in xfs_rtcheck_range() 988 b = bufp = bp->b_addr; in xfs_rtcheck_range() 1034 b = bufp = bp->b_addr; in xfs_rtcheck_range() 1152 bufp = bp->b_addr; in xfs_rtfind_back() 1204 bufp = bp->b_addr; in xfs_rtfind_back() 1250 bufp = bp->b_addr; in xfs_rtfind_back() 1327 bufp = bp->b_addr; in xfs_rtfind_forw() 1378 b = bufp = bp->b_addr; in xfs_rtfind_forw() 1423 b = bufp = bp->b_addr; in xfs_rtfind_forw() [all …]
|
D | xfs_ag.h | 106 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr)) 159 #define XFS_BUF_TO_AGI(bp) ((xfs_agi_t *)((bp)->b_addr)) 171 #define XFS_BUF_TO_AGFL(bp) ((xfs_agfl_t *)((bp)->b_addr))
|
D | xfs_buf_item.c | 127 ASSERT(bp->b_addr != NULL); in xfs_buf_item_log_check() 129 buffer = bp->b_addr; in xfs_buf_item_log_check() 729 memcpy(bip->bli_orig, bp->b_addr, XFS_BUF_COUNT(bp)); in xfs_buf_item_init()
|
D | xfs_rtalloc.h | 50 ((xfs_suminfo_t *)((bp)->b_addr + \
|
D | xfs_dquot.c | 230 d = bp->b_addr; in xfs_qm_init_dquot_blk() 453 ddq = bp->b_addr + dqp->q_bufoffset; in xfs_qm_dqtobp() 929 ddqp = bp->b_addr + dqp->q_bufoffset; in xfs_qm_dqflush()
|
D | xfs_dinode.h | 151 #define XFS_BUF_TO_DINODE(bp) ((xfs_dinode_t *)((bp)->b_addr))
|
D | xfs_buf.h | 145 void *b_addr; /* virtual address of buffer */ member
|
D | xfs_btree.h | 265 #define XFS_BUF_TO_BLOCK(bp) ((struct xfs_btree_block *)((bp)->b_addr))
|
D | xfs_log_recover.c | 150 return bp->b_addr + BBTOB(offset); in xlog_align() 220 xfs_caddr_t orig_offset = bp->b_addr; in xlog_bread_offset() 1259 offset = bp->b_addr + BBTOB(ealign - start_block); in xlog_write_log_records() 3427 offset = hbp->b_addr; in xlog_do_recovery_pass() 3487 offset = dbp->b_addr; in xlog_do_recovery_pass()
|
D | xfs_sb.h | 512 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((bp)->b_addr))
|
D | xfs_da_btree.c | 2281 dabuf->data = bp->b_addr; in xfs_da_buf_make() 2292 memcpy((char *)dabuf->data + off, bp->b_addr, in xfs_da_buf_make() 2315 memcpy(bp->b_addr, dabuf->data + off, in xfs_da_buf_clean() 2353 ASSERT(dabuf->data == dabuf->bps[0]->b_addr); in xfs_da_log_buf()
|
D | xfs_vnodeops.c | 98 memcpy(link, bp->b_addr, byte_cnt); in xfs_readlink_bmap() 1664 memcpy(bp->b_addr, cur_chunk, byte_cnt); in xfs_symlink() 2002 memset(bp->b_addr + in xfs_zero_remaining_bytes()
|
D | xfs_log.c | 1213 iclog->ic_data = bp->b_addr; in xlog_alloc_log() 1531 dptr = bp->b_addr; in xlog_sync()
|
D | xfs_qm.c | 834 ddq = bp->b_addr; in xfs_qm_reset_dqcounts()
|
D | xfs_bmap.c | 3270 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_bmap_local_to_extents()
|