Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/h8300/include/asm/
Dbitops.h43 unsigned char *b_addr; \
46 b_addr = (unsigned char *)addr + ((nr >> 3) ^ 3); \
48 __asm__(OP " %1,%0" : "+WU"(*b_addr) : "i"(nr & 7)); \
50 __asm__(OP " %s1,%0" : "+WU"(*b_addr) : "r"(bit)); \
66 unsigned char *b_addr; in test_bit() local
69 b_addr = (unsigned char *)addr + ((nr >> 3) ^ 3); in test_bit()
74 : "WU"(*b_addr), "i"(nr & 7), "0"(ret) : "cc"); in test_bit()
81 : "WU"(*b_addr), "r"(bit), "0"(ret) : "cc"); in test_bit()
93 unsigned char *b_addr; \
96 b_addr = (unsigned char *)addr + ((nr >> 3) ^ 3); \
[all …]
/Linux-v5.4/drivers/media/pci/pt3/
Dpt3_dma.c52 iowrite32(lower_32_bits(adap->desc_buf[0].b_addr), in pt3_start_dma()
54 iowrite32(upper_32_bits(adap->desc_buf[0].b_addr), in pt3_start_dma()
135 adap->buffer[i].data, adap->buffer[i].b_addr); in pt3_free_dmabuf()
140 adap->desc_buf[i].descs, adap->desc_buf[i].b_addr); in pt3_free_dmabuf()
160 &adap->buffer[i].b_addr, GFP_KERNEL); in pt3_alloc_dmabuf()
180 adap->desc_buf[i].b_addr = desc_addr; in pt3_alloc_dmabuf()
188 data_addr = adap->buffer[idx].b_addr + ofs; in pt3_alloc_dmabuf()
203 desc_addr = adap->desc_buf[0].b_addr; in pt3_alloc_dmabuf()
Dpt3.h85 dma_addr_t b_addr; member
91 dma_addr_t b_addr; member
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_dir2_node.c45 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leafn_check()
51 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leafn_check()
71 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
84 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_verify()
90 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify()
128 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify()
171 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check()
180 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_header_check()
268 memset(bp->b_addr, 0, sizeof(struct xfs_dir3_free_hdr)); in xfs_dir3_free_get_buf()
272 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf()
[all …]
Dxfs_symlink_remote.c43 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_set()
72 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_ok()
90 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_verify()
150 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_write_verify()
178 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
192 buf = bp->b_addr; in xfs_symlink_local_to_remote()
Dxfs_da_btree.c146 struct xfs_da_intnode *hdr = bp->b_addr; in xfs_da3_node_verify()
155 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_da3_node_verify()
185 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify()
213 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_read_verify()
250 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_verify_struct()
292 struct xfs_da_blkinfo *info = (*bpp)->b_addr; in xfs_da3_node_read()
351 node = bp->b_addr; in xfs_da3_node_create()
354 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create()
504 node = oldblk->bp->b_addr; in xfs_da3_split()
510 node = addblk->bp->b_addr; in xfs_da3_split()
[all …]
Dxfs_dir2_leaf.c43 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf1_check()
49 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf1_check()
69 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
145 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_verify()
148 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_dir3_leaf_verify()
178 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xfs_dir3_leaf_write_verify()
259 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_init()
264 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_init()
373 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf()
374 hdr = dbp->b_addr; in xfs_dir2_block_to_leaf()
[all …]
Dxfs_rtbitmap.c123 bufp = bp->b_addr; in xfs_rtfind_back()
175 bufp = bp->b_addr; in xfs_rtfind_back()
221 bufp = bp->b_addr; in xfs_rtfind_back()
298 bufp = bp->b_addr; in xfs_rtfind_forw()
349 b = bufp = bp->b_addr; in xfs_rtfind_forw()
394 b = bufp = bp->b_addr; in xfs_rtfind_forw()
497 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int()
562 bufp = bp->b_addr; in xfs_rtmodify_range()
607 first = b = bufp = bp->b_addr; in xfs_rtmodify_range()
647 first = b = bufp = bp->b_addr; in xfs_rtmodify_range()
[all …]
Dxfs_attr_leaf.c241 struct xfs_attr_leafblock *leaf = bp->b_addr; in xfs_attr3_leaf_verify()
249 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_attr3_leaf_verify()
271 entries = xfs_attr3_leaf_entryp(bp->b_addr); in xfs_attr3_leaf_verify()
273 (char *)bp->b_addr + ichdr.firstused) in xfs_attr3_leaf_verify()
315 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify()
890 leaf = bp->b_addr; in xfs_attr_shortform_allfit()
1015 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1022 memset(bp->b_addr, 0, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1109 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
1111 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node()
[all …]
Dxfs_dir2_block.c51 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify()
90 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_write_verify()
140 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init()
363 hdr = bp->b_addr; in xfs_dir2_block_addname()
570 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_leaf()
588 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_tail()
622 hdr = bp->b_addr; in xfs_dir2_block_lookup()
675 hdr = bp->b_addr; in xfs_dir2_block_lookup_int()
779 hdr = bp->b_addr; in xfs_dir2_block_removename()
853 hdr = bp->b_addr; in xfs_dir2_block_replace()
[all …]
Dxfs_dir2_data.c73 hdr = bp->b_addr; in __xfs_dir3_data_check()
238 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
249 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify()
274 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir3_data_reada_verify()
316 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify()
665 hdr = bp->b_addr; in xfs_dir3_data_init()
667 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init()
713 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir2_data_log_entry()
734 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir2_data_log_header()
755 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_data_log_unused()
[all …]
Dxfs_dquot_buf.c142 struct xfs_dqblk *d = (struct xfs_dqblk *)bp->b_addr; in xfs_dquot_buf_verify_crc()
177 struct xfs_dqblk *dqb = bp->b_addr; in xfs_dquot_buf_verify()
Dxfs_attr_remote.c116 ptr = bp->b_addr; in __xfs_attr3_rmt_read_verify()
181 ptr = bp->b_addr; in xfs_attr3_rmt_write_verify()
270 char *src = bp->b_addr; in xfs_attr_rmtval_copyout()
318 char *dst = bp->b_addr; in xfs_attr_rmtval_copyin()
Dxfs_format.h563 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((bp)->b_addr))
710 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr))
778 #define XFS_BUF_TO_AGI(bp) ((xfs_agi_t *)((bp)->b_addr))
786 #define XFS_BUF_TO_AGFL(bp) ((xfs_agfl_t *)((bp)->b_addr))
791 (__be32 *)(bp)->b_addr)
1123 ((xfs_suminfo_t *)((bp)->b_addr + \
/Linux-v5.4/fs/xfs/scrub/
Ddir.c233 dent = (struct xfs_dir2_data_entry *)(((char *)bp->b_addr) + off); in xchk_dir_rec()
236 p = (char *)mp->m_dir_inode_ops->data_entry_p(bp->b_addr); in xchk_dir_rec()
237 endp = xfs_dir3_data_endp(mp->m_dir_geo, bp->b_addr); in xchk_dir_rec()
354 bf = d_ops->data_bestfree_p(bp->b_addr); in xchk_directory_data_bestfree()
364 dup = (struct xfs_dir2_data_unused *)(bp->b_addr + offset); in xchk_directory_data_bestfree()
370 tag != ((char *)dup - (char *)bp->b_addr)) { in xchk_directory_data_bestfree()
386 ptr = (char *)d_ops->data_entry_p(bp->b_addr); in xchk_directory_data_bestfree()
387 endptr = xfs_dir3_data_endp(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
409 if (tag != ((char *)dup - (char *)bp->b_addr)) { in xchk_directory_data_bestfree()
461 dfp = sc->ip->d_ops->data_bestfree_p(dbp->b_addr); in xchk_directory_check_freesp()
[all …]
Dattr.c311 struct xfs_attr_leafblock *leaf = bp->b_addr; in xchk_xattr_block()
339 struct xfs_attr3_leafblock *leaf = bp->b_addr; in xchk_xattr_block()
369 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block()
433 hdrsize = xfs_attr3_leaf_hdr_size(bp->b_addr); in xchk_xattr_rec()
448 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
456 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
Ddabtree.c93 baddr = blk->bp->b_addr; in xchk_da_btree_entry()
174 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_read_verify()
196 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_write_verify()
218 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_verify()
381 hdr3 = blk->bp->b_addr; in xchk_da_btree_block()
435 node = blk->bp->b_addr; in xchk_da_btree_block()
/Linux-v5.4/fs/xfs/
Dxfs_buf.c63 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
319 vm_unmap_ram(bp->b_addr - bp->b_offset, in xfs_buf_free()
328 kmem_free(bp->b_addr); in xfs_buf_free()
366 bp->b_addr = kmem_alloc_io(size, align_mask, in xfs_buf_allocate_memory()
368 if (!bp->b_addr) { in xfs_buf_allocate_memory()
373 if (((unsigned long)(bp->b_addr + size - 1) & PAGE_MASK) != in xfs_buf_allocate_memory()
374 ((unsigned long)bp->b_addr & PAGE_MASK)) { in xfs_buf_allocate_memory()
376 kmem_free(bp->b_addr); in xfs_buf_allocate_memory()
377 bp->b_addr = NULL; in xfs_buf_allocate_memory()
380 bp->b_offset = offset_in_page(bp->b_addr); in xfs_buf_allocate_memory()
[all …]
Dxfs_attr_inactive.c121 leaf = bp->b_addr; in xfs_attr3_leaf_inactive()
215 node = bp->b_addr; in xfs_attr3_node_inactive()
249 info = child_bp->b_addr; in xfs_attr3_node_inactive()
286 node = bp->b_addr; in xfs_attr3_node_inactive()
333 info = bp->b_addr; in xfs_attr3_root_inactive()
Dxfs_buf.h150 void *b_addr; /* virtual address of buffer */ member
330 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
337 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
Dxfs_attr_list.c220 node = bp->b_addr; in xfs_attr_node_list_lookup()
308 node = bp->b_addr; in xfs_attr_node_list()
318 leaf = bp->b_addr; in xfs_attr_node_list()
360 leaf = bp->b_addr; in xfs_attr_node_list()
393 leaf = bp->b_addr; in xfs_attr3_leaf_list_int()
Dxfs_symlink.c73 cur_chunk = bp->b_addr; in xfs_readlink_bmap_ilocked()
303 buf = bp->b_addr; in xfs_symlink()
315 (char *)bp->b_addr); in xfs_symlink()
Dxfs_dir2_readdir.c167 hdr = bp->b_addr; in xfs_dir2_block_getdents()
383 if (!bp || ptr >= (char *)bp->b_addr + geo->blksize) { in xfs_dir2_leaf_getdents()
396 hdr = bp->b_addr; in xfs_dir2_leaf_getdents()
/Linux-v5.4/drivers/net/fddi/skfp/
Dskfddi.c1696 dma_addr_t b_addr; in mac_drv_requeue_rxd() local
1719 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_requeue_rxd()
1723 rxd->rxd_os.dma_addr = b_addr; in mac_drv_requeue_rxd()
1729 b_addr = smc->os.LocalRxBufferDMA; in mac_drv_requeue_rxd()
1735 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_requeue_rxd()
1739 rxd->rxd_os.dma_addr = b_addr; in mac_drv_requeue_rxd()
1741 hwm_rx_frag(smc, v_addr, b_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1769 unsigned long b_addr; in mac_drv_fill_rxd() local
1790 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_fill_rxd()
1794 rxd->rxd_os.dma_addr = b_addr; in mac_drv_fill_rxd()
[all …]
/Linux-v5.4/tools/testing/selftests/net/
Dpmtu.sh293 b_addr="${prefix4}.${b_r1}.1"
304 b_addr="${prefix6}:${b_r1}::1"
317 …run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap…
320 …run_cmd ${ns_b} ip link add ${encap}_b type ${type} ${mode} local ${b_addr} remote ${a_addr} encap…
421 b_addr="${3}"
427 opts_b="local ${b_addr}"
433 …run_cmd ${ns_a} ip link add ${type}_a type ${type} id 1 ${opts_a} remote ${b_addr} ${opts} || retu…

12