Home
last modified time | relevance | path

Searched refs:b_length (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/fs/xfs/scrub/
Dagheader_repair.c51 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_superblock()
56 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock()
187 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header()
312 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1); in xrep_agf_commit_new()
586 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
624 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header()
760 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
861 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
Drepair.c357 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_init_btblock()
360 xfs_trans_log_buf(tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_init_btblock()
Dialloc.c289 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
Dagheader.c333 BBTOB(bp->b_length) - sizeof(struct xfs_dsb))) in xchk_superblock()
/Linux-v5.10/fs/xfs/
Dxfs_buf.h137 int b_length; /* size of buffer in BBs */ member
333 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
340 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
Dxfs_buf_item_recover.c463 ASSERT(BBTOB(bp->b_length) >= in xlog_recover_do_reg_buffer()
603 inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer()
645 ASSERT((reg_buf_offset + reg_buf_bytes) <= BBTOB(bp->b_length)); in xlog_recover_do_inode_buffer()
961 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
Dxfs_buf.c258 bp->b_length = 0; in _xfs_buf_alloc()
262 bp->b_length += map[i].bm_len; in _xfs_buf_alloc()
379 size = BBTOB(bp->b_length); in xfs_buf_allocate_memory()
406 end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) in xfs_buf_allocate_memory()
525 if (unlikely(bp->b_length != map->bm_len)) { in _xfs_buf_obj_cmp()
1408 bp->b_length, -bp->b_error); in xfs_buf_ioerror_alert()
1595 __func__, bp->b_bn, bp->b_length); in _xfs_buf_ioapply()
1617 size = BBTOB(bp->b_length); in _xfs_buf_ioapply()
1747 BBTOB(bp->b_length) - boff); in xfs_buf_zero()
Dxfs_trans_buf.c42 blip->bli_buf->b_length == len) { in xfs_trans_buf_item_match()
499 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
Dxfs_trace.h299 __entry->nblks = bp->b_length;
367 __entry->buffer_length = BBTOB(bp->b_length);
411 __entry->buffer_length = BBTOB(bp->b_length);
454 __entry->buf_len = BBTOB(bip->bli_buf->b_length);
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dquot_buf.c165 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify_crc()
199 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify()
Dxfs_attr_remote.c134 len = BBTOB(bp->b_length); in __xfs_attr3_rmt_read_verify()
199 len = BBTOB(bp->b_length); in xfs_attr3_rmt_write_verify()
288 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyout()
336 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyin()
Dxfs_symlink_remote.c187 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
Dxfs_inode_buf.c52 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
Dxfs_ag.c41 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_get_aghdr_buf()
Dxfs_dir2_data.c284 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
Dxfs_sb.c1042 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
Dxfs_dir2_leaf.c130 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
Dxfs_dir2_node.c90 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
Dxfs_ialloc.c339 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init()
/Linux-v5.10/drivers/pci/hotplug/
Dcpqphp_pci.c692 u8 b_length; in cpqhp_save_used_resources() local
743 pci_bus_read_config_byte(pci_bus, devfn, PCI_IO_LIMIT, &b_length); in cpqhp_save_used_resources()
745 if ((b_base <= b_length) && (save_command & 0x01)) { in cpqhp_save_used_resources()
751 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
/Linux-v5.10/Documentation/filesystems/
Dxfs-self-describing-metadata.rst231 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length),
320 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), XFS_FOO_CRC_OFF);
/Linux-v5.10/drivers/usb/gadget/function/
Duvc_configfs.c1071 u8 b_length; member