Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-v6.6/fs/xfs/libxfs/
Dxfs_dir2_node.c64 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leafn_check()
70 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leafn_check()
90 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
103 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_verify()
109 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify()
147 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify()
189 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check()
200 struct xfs_dir2_free_hdr *hdr = bp->b_addr; in xfs_dir3_free_header_check()
341 memset(bp->b_addr, 0, sizeof(struct xfs_dir3_free_hdr)); in xfs_dir3_free_get_buf()
345 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf()
[all …]
Dxfs_da_btree.c223 struct xfs_da_intnode *hdr = bp->b_addr; in xfs_da3_node_verify()
229 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_da3_node_verify()
259 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify()
287 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_read_verify()
324 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_verify_struct()
357 struct xfs_da_blkinfo *info = bp->b_addr; in xfs_da3_node_set_type()
455 node = bp->b_addr; in xfs_da3_node_create()
458 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create()
611 node = oldblk->bp->b_addr; in xfs_da3_split()
618 node = addblk->bp->b_addr; in xfs_da3_split()
[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_dir2_leaf.c104 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf1_check()
110 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf1_check()
130 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
202 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_dir3_leaf_verify()
206 xfs_dir2_leaf_hdr_from_disk(mp, &leafhdr, bp->b_addr); in xfs_dir3_leaf_verify()
207 return xfs_dir3_leaf_check_int(mp, &leafhdr, bp->b_addr, true); in xfs_dir3_leaf_verify()
233 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xfs_dir3_leaf_write_verify()
312 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf_init()
317 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf_init()
425 leaf = lbp->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_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()
125 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_header_check()
169 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init()
392 hdr = bp->b_addr; in xfs_dir2_block_addname()
599 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_leaf()
617 xfs_dir2_data_hdr_t *hdr = bp->b_addr; in xfs_dir2_block_log_tail()
651 hdr = bp->b_addr; in xfs_dir2_block_lookup()
702 hdr = bp->b_addr; in xfs_dir2_block_lookup_int()
806 hdr = bp->b_addr; in xfs_dir2_block_removename()
[all …]
Dxfs_attr_leaf.c315 struct xfs_attr_leafblock *leaf = bp->b_addr; in xfs_attr3_leaf_verify()
326 fa = xfs_da3_blkinfo_verify(bp, bp->b_addr); in xfs_attr3_leaf_verify()
340 entries = xfs_attr3_leaf_entryp(bp->b_addr); in xfs_attr3_leaf_verify()
342 (char *)bp->b_addr + ichdr.firstused) in xfs_attr3_leaf_verify()
352 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xfs_attr3_leaf_verify()
396 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify()
1018 leaf = bp->b_addr; in xfs_attr_shortform_allfit()
1144 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1151 memset(bp->b_addr, 0, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1250 memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_node()
[all …]
Dxfs_dir2_data.c126 hdr = bp->b_addr; in __xfs_dir3_data_check()
178 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check()
179 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in __xfs_dir3_data_check()
284 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
295 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify()
320 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir3_data_reada_verify()
362 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify()
405 struct xfs_dir3_data_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_header_check()
719 hdr = bp->b_addr; in xfs_dir3_data_init()
721 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init()
[all …]
Dxfs_refcount_btree.c42 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root()
63 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block()
107 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block()
174 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_refcountbt_init_ptr_from_cur()
369 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor()
402 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree()
518 agf = agbp->b_addr; in xfs_refcountbt_calc_reserves()
Dxfs_ialloc_btree.c50 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_set_root()
64 struct xfs_agi *agi = agbp->b_addr; in xfs_finobt_set_root()
79 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_mod_blockcount()
240 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_inobt_init_ptr_from_cur()
252 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_finobt_init_ptr_from_cur()
483 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_init_cursor()
518 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_commit_staged_btree()
785 agi = agbp->b_addr; in xfs_finobt_read_blocks()
Dxfs_rmap_btree.c67 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root()
87 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block()
122 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block()
225 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_rmapbt_init_ptr_from_cur()
528 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_init_cursor()
561 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_commit_staged_btree()
709 agf = agbp->b_addr; in xfs_rmapbt_calc_reserves()
Dxfs_ag.c642 struct xfs_dsb *dsb = bp->b_addr; in xfs_sbblock_init()
654 struct xfs_agf *agf = bp->b_addr; in xfs_agfblock_init()
723 struct xfs_agi *agi = bp->b_addr; in xfs_agiblock_init()
924 agi = agibp->b_addr; in xfs_ag_shrink_space()
930 agf = agfbp->b_addr; in xfs_ag_shrink_space()
1044 agi = bp->b_addr; in xfs_ag_extend_space()
1055 agf = bp->b_addr; in xfs_ag_extend_space()
1108 agi = agi_bp->b_addr; in xfs_ag_get_geometry()
1112 agf = agf_bp->b_addr; in xfs_ag_get_geometry()
/Linux-v6.6/fs/xfs/scrub/
Ddir.c175 xfs_dir2_leaf_hdr_from_disk(mp, &hdr, blk->bp->b_addr); in xchk_dir_rec()
211 dent = bp->b_addr + off; in xchk_dir_rec()
215 end = xfs_dir3_data_end_offset(geo, bp->b_addr); in xchk_dir_rec()
221 struct xfs_dir2_data_entry *dep = bp->b_addr + iter_off; in xchk_dir_rec()
222 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec()
331 bf = xfs_dir2_data_bestfree_p(mp, bp->b_addr); in xchk_directory_data_bestfree()
341 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
364 end = xfs_dir3_data_end_offset(mp->m_dir_geo, bp->b_addr); in xchk_directory_data_bestfree()
368 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
372 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in xchk_directory_data_bestfree()
[all …]
Dagheader_repair.c58 xfs_sb_to_disk(bp->b_addr, &mp->m_sb); in xrep_superblock()
65 struct xfs_dsb *sb = bp->b_addr; in xrep_superblock()
158 struct xfs_agf *old_agf = agf_bp->b_addr; in xrep_agf_find_btrees()
200 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agf_init_header()
257 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agf_calc_from_btrees()
321 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agf_commit_new()
399 agf = agf_bp->b_addr; in xrep_agf()
418 error = xfs_agfl_walk(sc->mp, agf_bp->b_addr, agfl_bp, in xrep_agf()
615 struct xfs_agf *agf = agf_bp->b_addr; in xrep_agfl_update_agf()
855 struct xfs_agi *agi = agi_bp->b_addr; in xrep_agi_init_header()
[all …]
Dreaddir.c109 end = xfs_dir3_data_end_offset(geo, bp->b_addr); in xchk_dir_walk_block()
112 struct xfs_dir2_data_unused *dup = bp->b_addr + off; in xchk_dir_walk_block()
113 struct xfs_dir2_data_entry *dep = bp->b_addr + off; in xchk_dir_walk_block()
230 dup = bp->b_addr + offset; in xchk_dir_walk_leaf()
239 dep = bp->b_addr + offset; in xchk_dir_walk_leaf()
Dattr.c373 struct xfs_attr_leafblock *leaf = bp->b_addr; in xchk_xattr_block()
392 struct xfs_attr3_leafblock *leaf3 = bp->b_addr; in xchk_xattr_block()
422 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block()
471 ent = xfs_attr3_leaf_entryp(blk->bp->b_addr) + blk->index; in xchk_xattr_rec()
487 hdrsize = xfs_attr3_leaf_hdr_size(bp->b_addr); in xchk_xattr_rec()
502 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
510 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
Dagheader.c117 sb = bp->b_addr; in xchk_superblock()
383 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_agf_xref_freeblks()
403 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_agf_xref_cntbt()
435 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_agf_xref_btreeblks()
485 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_agf_xref_refcblks()
550 agf = sc->sa.agf_bp->b_addr; in xchk_agf()
746 agf = sc->sa.agf_bp->b_addr; in xchk_agfl()
760 error = xfs_agfl_walk(sc->mp, sc->sa.agf_bp->b_addr, sai.agfl_bp, in xchk_agfl()
797 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xchk_agi_xref_icounts()
818 struct xfs_agi *agi = sc->sa.agi_bp->b_addr; in xchk_agi_xref_fiblocks()
[all …]
Ddabtree.c91 xfs_da3_node_hdr_from_disk(ds->sc->mp, &hdr, blk->bp->b_addr); in xchk_da_btree_node_entry()
151 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_read_verify()
173 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_write_verify()
195 struct xfs_da_blkinfo *info = bp->b_addr; in xchk_da_btree_verify()
366 hdr3 = blk->bp->b_addr; in xchk_da_btree_block()
420 node = blk->bp->b_addr; in xchk_da_btree_block()
/Linux-v6.6/fs/xfs/
Dxfs_buf.c74 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
283 vm_unmap_ram(bp->b_addr, bp->b_page_count); in xfs_buf_free_pages()
318 kmem_free(bp->b_addr); in xfs_buf_free()
335 bp->b_addr = kmem_alloc(size, kmflag_mask); in xfs_buf_alloc_kmem()
336 if (!bp->b_addr) in xfs_buf_alloc_kmem()
339 if (((unsigned long)(bp->b_addr + size - 1) & PAGE_MASK) != in xfs_buf_alloc_kmem()
340 ((unsigned long)bp->b_addr & PAGE_MASK)) { in xfs_buf_alloc_kmem()
342 kmem_free(bp->b_addr); in xfs_buf_alloc_kmem()
343 bp->b_addr = NULL; in xfs_buf_alloc_kmem()
346 bp->b_offset = offset_in_page(bp->b_addr); in xfs_buf_alloc_kmem()
[all …]
Dxfs_attr_inactive.c89 struct xfs_attr_leafblock *leaf = bp->b_addr; in xfs_attr3_leaf_inactive()
153 xfs_da3_node_hdr_from_disk(dp->i_mount, &ichdr, bp->b_addr); in xfs_attr3_node_inactive()
186 info = child_bp->b_addr; in xfs_attr3_node_inactive()
230 bp->b_addr); in xfs_attr3_node_inactive()
278 info = bp->b_addr; in xfs_attr3_root_inactive()
Dxfs_dir2_readdir.c177 end = xfs_dir3_data_end_offset(geo, bp->b_addr); in xfs_dir2_block_getdents()
181 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents()
182 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in xfs_dir2_block_getdents()
420 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
429 dep = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
449 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
461 dep = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
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()
401 leaf = bp->b_addr; in xfs_attr3_leaf_list_int()
Dxfs_buf.h176 void *b_addr; /* virtual address of buffer */ member
352 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
359 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()

123