Home
last modified time | relevance | path

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

/Linux-v5.4/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()
594 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
632 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header()
772 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
849 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
Drepair.c351 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_init_btblock()
354 xfs_trans_log_buf(tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_init_btblock()
Dialloc.c290 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.4/fs/xfs/
Dxfs_buf.h131 int b_length; /* size of buffer in BBs */ 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_buf.c246 bp->b_length = 0; in _xfs_buf_alloc()
250 bp->b_length += map[i].bm_len; in _xfs_buf_alloc()
363 size = BBTOB(bp->b_length); in xfs_buf_allocate_memory()
390 end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) in xfs_buf_allocate_memory()
509 if (unlikely(bp->b_length != map->bm_len)) { in _xfs_buf_obj_cmp()
1212 func, (uint64_t)XFS_BUF_ADDR(bp), bp->b_length, in xfs_buf_ioerror_alert()
1381 __func__, bp->b_bn, bp->b_length); in _xfs_buf_ioapply()
1404 size = BBTOB(bp->b_length); in _xfs_buf_ioapply()
1537 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()
538 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
Dxfs_log_recover.c2087 inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer()
2129 ASSERT((reg_buf_offset + reg_buf_bytes) <= BBTOB(bp->b_length)); in xlog_recover_do_inode_buffer()
2594 ASSERT(BBTOB(bp->b_length) >= in xlog_recover_do_reg_buffer()
2817 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buffer_pass2()
Dxfs_trace.h292 __entry->nblks = bp->b_length;
360 __entry->buffer_length = BBTOB(bp->b_length);
404 __entry->buffer_length = BBTOB(bp->b_length);
447 __entry->buf_len = BBTOB(bip->bli_buf->b_length);
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_dquot_buf.c157 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify_crc()
191 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify()
Dxfs_attr_remote.c118 len = BBTOB(bp->b_length); in __xfs_attr3_rmt_read_verify()
183 len = BBTOB(bp->b_length); in xfs_attr3_rmt_write_verify()
272 int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyout()
320 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_ag.c39 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_get_aghdr_buf()
Dxfs_inode_buf.c87 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
Dxfs_dir2_data.c238 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
Dxfs_sb.c1008 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
Dxfs_dir2_leaf.c69 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
Dxfs_dir2_node.c71 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.4/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.4/Documentation/filesystems/
Dxfs-self-describing-metadata.txt228 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length),
317 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), XFS_FOO_CRC_OFF);
/Linux-v5.4/drivers/usb/gadget/function/
Duvc_configfs.c1071 u8 b_length; member