Home
last modified time | relevance | path

Searched refs:b_addr (Results 1 – 16 of 16) sorted by relevance

/fs/xfs/
Dxfs_buf.c269 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 …]
Dxfs_rtalloc.c171 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 …]
Dxfs_ag.h106 #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))
Dxfs_buf_item.c127 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()
Dxfs_rtalloc.h50 ((xfs_suminfo_t *)((bp)->b_addr + \
Dxfs_dquot.c230 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()
Dxfs_dinode.h151 #define XFS_BUF_TO_DINODE(bp) ((xfs_dinode_t *)((bp)->b_addr))
Dxfs_buf.h145 void *b_addr; /* virtual address of buffer */ member
Dxfs_btree.h265 #define XFS_BUF_TO_BLOCK(bp) ((struct xfs_btree_block *)((bp)->b_addr))
Dxfs_log_recover.c150 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()
Dxfs_sb.h512 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((bp)->b_addr))
Dxfs_da_btree.c2281 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()
Dxfs_vnodeops.c98 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()
Dxfs_log.c1213 iclog->ic_data = bp->b_addr; in xlog_alloc_log()
1531 dptr = bp->b_addr; in xlog_sync()
Dxfs_qm.c834 ddq = bp->b_addr; in xfs_qm_reset_dqcounts()
Dxfs_bmap.c3270 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_bmap_local_to_extents()