Home
last modified time | relevance | path

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

/linux-5.19.10/fs/xfs/scrub/
Dagheader_repair.c52 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_superblock()
69 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock()
200 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header()
326 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1); in xrep_agf_commit_new()
604 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
643 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header()
781 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
880 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
Drepair.c362 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_init_btblock()
365 xfs_trans_log_buf(tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_init_btblock()
Dialloc.c288 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
Dagheader.c344 BBTOB(bp->b_length) - sizeof(struct xfs_dsb))) in xchk_superblock()
/linux-5.19.10/fs/xfs/
Dxfs_buf.h139 int b_length; /* size of buffer in BBs */ member
328 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
335 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
Dxfs_buf.c256 bp->b_length = 0; in _xfs_buf_alloc()
260 bp->b_length += map[i].bm_len; in _xfs_buf_alloc()
320 size_t size = BBTOB(bp->b_length); in xfs_buf_alloc_kmem()
359 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages()
466 if (unlikely(bp->b_length != map->bm_len)) { in _xfs_buf_obj_cmp()
670 if (BBTOB(new_bp->b_length) >= PAGE_SIZE || in xfs_buf_get_map()
1347 bp->b_length, -bp->b_error); in xfs_buf_ioerror_alert()
1533 bp->b_length); in _xfs_buf_ioapply()
1555 size = BBTOB(bp->b_length); in _xfs_buf_ioapply()
1699 BBTOB(bp->b_length) - boff); in xfs_buf_zero()
Dxfs_buf_item_recover.c472 ASSERT(BBTOB(bp->b_length) >= in xlog_recover_do_reg_buffer()
612 inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer()
654 ASSERT((reg_buf_offset + reg_buf_bytes) <= BBTOB(bp->b_length)); in xlog_recover_do_inode_buffer()
981 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
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.h427 __entry->nblks = bp->b_length;
497 __entry->length = bp->b_length;
541 __entry->length = bp->b_length;
584 __entry->buf_len = bip->bli_buf->b_length;
/linux-5.19.10/fs/xfs/libxfs/
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_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_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_dir2_data.c284 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
Dxfs_sb.c1059 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.c337 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init()
/linux-5.19.10/drivers/usb/gadget/function/
Duvc_configfs.h86 u8 b_length; member
/linux-5.19.10/drivers/pci/hotplug/
Dcpqphp_pci.c694 u8 b_length; in cpqhp_save_used_resources() local
745 pci_bus_read_config_byte(pci_bus, devfn, PCI_IO_LIMIT, &b_length); in cpqhp_save_used_resources()
747 if ((b_base <= b_length) && (save_command & 0x01)) { in cpqhp_save_used_resources()
753 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
/linux-5.19.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);