Home
last modified time | relevance | path

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

/linux-3.4.99/arch/h8300/include/asm/
Dbitops.h41 __asm__(OP " #" #BIT ",@%0"::"r"(b_addr):"memory"); \
47 volatile unsigned char *b_addr; \
48 b_addr = (volatile unsigned char *)addr + ((nr >> 3) ^ 3); \
61 __asm__(OP " %w0,@%1"::"r"(nr),"r"(b_addr):"memory"); \
97 : "=r"(retval),"=&r"(ccrsave),"=m"(*b_addr) \
98 : "0" (retval),"r" (b_addr) \
107 : "=r"(retval),"=m"(*b_addr) \
108 : "0" (retval),"r" (b_addr) \
117 volatile unsigned char *b_addr; \
118 b_addr = (volatile unsigned char *)addr + ((nr >> 3) ^ 3); \
[all …]
/linux-3.4.99/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_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_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_rtalloc.h50 ((xfs_suminfo_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_dinode.h151 #define XFS_BUF_TO_DINODE(bp) ((xfs_dinode_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_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_sb.h512 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((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_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()
/linux-3.4.99/drivers/net/fddi/skfp/
Dskfddi.c1701 dma_addr_t b_addr; in mac_drv_requeue_rxd() local
1724 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_requeue_rxd()
1728 rxd->rxd_os.dma_addr = b_addr; in mac_drv_requeue_rxd()
1734 b_addr = smc->os.LocalRxBufferDMA; in mac_drv_requeue_rxd()
1740 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_requeue_rxd()
1744 rxd->rxd_os.dma_addr = b_addr; in mac_drv_requeue_rxd()
1746 hwm_rx_frag(smc, v_addr, b_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1774 unsigned long b_addr; in mac_drv_fill_rxd() local
1795 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_fill_rxd()
1799 rxd->rxd_os.dma_addr = b_addr; in mac_drv_fill_rxd()
[all …]
/linux-3.4.99/drivers/net/ethernet/i825xx/
Dlib82596.c262 u32 b_addr; /* This rbd addr from i596 view */ member
482 rbd->b_addr = SWAP32(virt_to_dma(lp, rbd)); in init_rx_bufs()
667 else if (rfd->rbd == lp->rbd_head->b_addr) { in i596_rx()
D82596.c280 struct i596_rbd *b_addr; /* This rbd addr from i596 view */ member
561 rbd->b_addr = WSWAPrbd(virt_to_bus(rbd)); in init_rx_bufs()
785 else if (rfd->rbd == lp->rbd_head->b_addr) in i596_rx()