Home
last modified time | relevance | path

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

12

/Linux-v4.19/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)); \
72 unsigned char *b_addr; in test_bit() local
75 b_addr = (unsigned char *)addr + ((nr >> 3) ^ 3); in test_bit()
80 : "WU"(*b_addr), "i"(nr & 7), "0"(ret) : "cc"); in test_bit()
87 : "WU"(*b_addr), "r"(bit), "0"(ret) : "cc"); in test_bit()
99 unsigned char *b_addr; \
102 b_addr = (unsigned char *)addr + ((nr >> 3) ^ 3); \
[all …]
/Linux-v4.19/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-v4.19/fs/xfs/libxfs/
Dxfs_da_btree.c124 struct xfs_da_intnode *hdr = bp->b_addr; in xfs_da3_node_verify()
133 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_verify()
174 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify()
202 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_read_verify()
239 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_verify_struct()
279 struct xfs_da_blkinfo *info = (*bpp)->b_addr; in xfs_da3_node_read()
338 node = bp->b_addr; in xfs_da3_node_create()
341 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create()
493 node = oldblk->bp->b_addr; in xfs_da3_split()
496 node = addblk->bp->b_addr; in xfs_da3_split()
[all …]
Dxfs_dir2_node.c49 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leafn_check()
55 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leafn_check()
75 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
88 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_verify()
91 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()
175 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check()
184 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_header_check()
272 memset(bp->b_addr, 0, sizeof(struct xfs_dir3_free_hdr)); in xfs_dir3_free_get_buf()
276 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf()
[all …]
Dxfs_symlink_remote.c47 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_set()
76 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_ok()
94 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_verify()
154 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_write_verify()
181 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
195 buf = bp->b_addr; in xfs_symlink_local_to_remote()
Dxfs_dir2_leaf.c46 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf1_check()
52 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf1_check()
72 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
149 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_verify()
154 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()
320 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_init()
325 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_init()
434 leaf = lbp->b_addr; in xfs_dir2_block_to_leaf()
435 hdr = dbp->b_addr; in xfs_dir2_block_to_leaf()
[all …]
Dxfs_rtbitmap.c131 bufp = bp->b_addr; in xfs_rtfind_back()
183 bufp = bp->b_addr; in xfs_rtfind_back()
229 bufp = bp->b_addr; in xfs_rtfind_back()
306 bufp = bp->b_addr; in xfs_rtfind_forw()
357 b = bufp = bp->b_addr; in xfs_rtfind_forw()
402 b = bufp = bp->b_addr; in xfs_rtfind_forw()
505 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int()
564 bufp = bp->b_addr; in xfs_rtmodify_range()
609 first = b = bufp = bp->b_addr; in xfs_rtmodify_range()
649 first = b = bufp = bp->b_addr; in xfs_rtmodify_range()
[all …]
Dxfs_attr_leaf.c244 struct xfs_attr_leafblock *leaf = bp->b_addr; in xfs_attr3_leaf_verify()
252 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_verify()
285 entries = xfs_attr3_leaf_entryp(bp->b_addr); in xfs_attr3_leaf_verify()
287 (char *)bp->b_addr + ichdr.firstused) in xfs_attr3_leaf_verify()
322 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify()
872 leaf = bp->b_addr; in xfs_attr_shortform_allfit()
997 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1004 memset(bp->b_addr, 0, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1091 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
1093 struct xfs_da3_blkinfo *hdr3 = bp2->b_addr; in xfs_attr3_leaf_to_node()
[all …]
Dxfs_dir2_block.c54 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify()
95 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_write_verify()
143 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init()
366 hdr = bp->b_addr; in xfs_dir2_block_addname()
573 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_leaf()
591 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_tail()
625 hdr = bp->b_addr; in xfs_dir2_block_lookup()
678 hdr = bp->b_addr; in xfs_dir2_block_lookup_int()
782 hdr = bp->b_addr; in xfs_dir2_block_removename()
856 hdr = bp->b_addr; in xfs_dir2_block_replace()
[all …]
Dxfs_dir2_data.c77 hdr = bp->b_addr; in __xfs_dir3_data_check()
242 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
253 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify()
280 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir3_data_reada_verify()
322 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify()
667 hdr = bp->b_addr; in xfs_dir3_data_init()
669 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init()
715 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir2_data_log_entry()
736 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir2_data_log_header()
757 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_data_log_unused()
[all …]
Dxfs_dquot_buf.c146 struct xfs_dqblk *d = (struct xfs_dqblk *)bp->b_addr; in xfs_dquot_buf_verify_crc()
181 struct xfs_dqblk *dqb = bp->b_addr; in xfs_dquot_buf_verify()
Dxfs_attr_remote.c123 ptr = bp->b_addr; in __xfs_attr3_rmt_read_verify()
188 ptr = bp->b_addr; in xfs_attr3_rmt_write_verify()
276 char *src = bp->b_addr; in xfs_attr_rmtval_copyout()
324 char *dst = bp->b_addr; in xfs_attr_rmtval_copyin()
Dxfs_format.h567 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((bp)->b_addr))
714 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr))
782 #define XFS_BUF_TO_AGI(bp) ((xfs_agi_t *)((bp)->b_addr))
790 #define XFS_BUF_TO_AGFL(bp) ((xfs_agfl_t *)((bp)->b_addr))
795 (__be32 *)(bp)->b_addr)
1115 ((xfs_suminfo_t *)((bp)->b_addr + \
/Linux-v4.19/fs/xfs/scrub/
Ddir.c237 dent = (struct xfs_dir2_data_entry *)(((char *)bp->b_addr) + off); in xchk_dir_rec()
240 p = (char *)mp->m_dir_inode_ops->data_entry_p(bp->b_addr); in xchk_dir_rec()
241 endp = xfs_dir3_data_endp(mp->m_dir_geo, bp->b_addr); in xchk_dir_rec()
358 bf = d_ops->data_bestfree_p(bp->b_addr); in xchk_directory_data_bestfree()
368 dup = (struct xfs_dir2_data_unused *)(bp->b_addr + offset); in xchk_directory_data_bestfree()
374 tag != ((char *)dup - (char *)bp->b_addr)) { in xchk_directory_data_bestfree()
390 ptr = (char *)d_ops->data_entry_p(bp->b_addr); in xchk_directory_data_bestfree()
391 endptr = xfs_dir3_data_endp(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
413 if (tag != ((char *)dup - (char *)bp->b_addr)) { in xchk_directory_data_bestfree()
465 dfp = sc->ip->d_ops->data_bestfree_p(dbp->b_addr); in xchk_directory_check_freesp()
[all …]
Dattr.c256 struct xfs_attr_leafblock *leaf = bp->b_addr; in xchk_xattr_block()
274 struct xfs_attr3_leafblock *leaf = bp->b_addr; in xchk_xattr_block()
304 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block()
368 hdrsize = xfs_attr3_leaf_hdr_size(bp->b_addr); in xchk_xattr_rec()
383 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
391 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
Ddabtree.c101 baddr = blk->bp->b_addr; in xchk_da_btree_entry()
182 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_read_verify()
204 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_write_verify()
226 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_verify()
385 hdr3 = blk->bp->b_addr; in xchk_da_btree_block()
439 node = blk->bp->b_addr; in xchk_da_btree_block()
/Linux-v4.19/fs/xfs/
Dxfs_buf.c52 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
308 vm_unmap_ram(bp->b_addr - bp->b_offset, in xfs_buf_free()
317 kmem_free(bp->b_addr); in xfs_buf_free()
345 bp->b_addr = kmem_alloc(size, KM_NOFS); in xfs_buf_allocate_memory()
346 if (!bp->b_addr) { in xfs_buf_allocate_memory()
351 if (((unsigned long)(bp->b_addr + size - 1) & PAGE_MASK) != in xfs_buf_allocate_memory()
352 ((unsigned long)bp->b_addr & PAGE_MASK)) { in xfs_buf_allocate_memory()
354 kmem_free(bp->b_addr); in xfs_buf_allocate_memory()
355 bp->b_addr = NULL; in xfs_buf_allocate_memory()
358 bp->b_offset = offset_in_page(bp->b_addr); in xfs_buf_allocate_memory()
[all …]
Dxfs_attr_inactive.c126 leaf = bp->b_addr; in xfs_attr3_leaf_inactive()
220 node = bp->b_addr; in xfs_attr3_node_inactive()
254 info = child_bp->b_addr; in xfs_attr3_node_inactive()
291 node = bp->b_addr; in xfs_attr3_node_inactive()
338 info = bp->b_addr; in xfs_attr3_root_inactive()
Dxfs_attr_list.c225 node = bp->b_addr; in xfs_attr_node_list_lookup()
313 node = bp->b_addr; in xfs_attr_node_list()
323 leaf = bp->b_addr; in xfs_attr_node_list()
365 leaf = bp->b_addr; in xfs_attr_node_list()
398 leaf = bp->b_addr; in xfs_attr3_leaf_list_int()
Dxfs_buf.h161 void *b_addr; /* virtual address of buffer */ member
365 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
372 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
Dxfs_symlink.c82 cur_chunk = bp->b_addr; in xfs_readlink_bmap_ilocked()
311 buf = bp->b_addr; in xfs_symlink()
323 (char *)bp->b_addr); in xfs_symlink()
Dxfs_dir2_readdir.c170 hdr = bp->b_addr; in xfs_dir2_block_getdents()
386 if (!bp || ptr >= (char *)bp->b_addr + geo->blksize) { in xfs_dir2_leaf_getdents()
399 hdr = bp->b_addr; in xfs_dir2_leaf_getdents()
/Linux-v4.19/drivers/net/fddi/skfp/
Dskfddi.c1700 dma_addr_t b_addr; in mac_drv_requeue_rxd() local
1723 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_requeue_rxd()
1727 rxd->rxd_os.dma_addr = b_addr; in mac_drv_requeue_rxd()
1733 b_addr = smc->os.LocalRxBufferDMA; in mac_drv_requeue_rxd()
1739 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_requeue_rxd()
1743 rxd->rxd_os.dma_addr = b_addr; in mac_drv_requeue_rxd()
1745 hwm_rx_frag(smc, v_addr, b_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1773 unsigned long b_addr; in mac_drv_fill_rxd() local
1794 b_addr = pci_map_single(&smc->os.pdev, in mac_drv_fill_rxd()
1798 rxd->rxd_os.dma_addr = b_addr; in mac_drv_fill_rxd()
[all …]
/Linux-v4.19/Documentation/filesystems/
Dxfs-self-describing-metadata.txt228 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length),
231 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp, bp->b_addr);
249 struct xfs_ondisk_hdr *hdr = bp->b_addr;
276 struct xfs_ondisk_hdr *hdr = bp->b_addr;
304 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp, bp->b_addr);
314 struct xfs_ondisk_hdr *hdr = bp->b_addr;
317 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), XFS_FOO_CRC_OFF);

12