Home
last modified time | relevance | path

Searched refs:b_length (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/scrub/
H A 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()
H A 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()
H A Dialloc.c289 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dagheader_repair.c57 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_superblock()
74 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock()
203 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header()
328 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1); in xrep_agf_commit_new()
697 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
716 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header()
860 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
957 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
/kernel/linux/linux-5.10/fs/xfs/
H A 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()
H A 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()
972 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
H A 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()
H A 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()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_buf.h157 int b_length; /* size of buffer in BBs */ 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()
H A 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()
991 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
H A Dxfs_buf.c257 bp->b_length = 0; in _xfs_buf_alloc()
261 bp->b_length += map[i].bm_len; in _xfs_buf_alloc()
329 size_t size = BBTOB(bp->b_length); in xfs_buf_alloc_kmem()
368 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages()
475 if (unlikely(bp->b_length != map->bm_len)) { in _xfs_buf_obj_cmp()
631 if (BBTOB(new_bp->b_length) >= PAGE_SIZE || in xfs_buf_find_insert()
1387 bp->b_length, -bp->b_error); in xfs_buf_ioerror_alert()
1573 bp->b_length); in _xfs_buf_ioapply()
1595 size = BBTOB(bp->b_length); in _xfs_buf_ioapply()
1739 BBTOB(bp->b_length) in xfs_buf_zero()
[all...]
H A 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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A 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()
H A 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()
H A Dxfs_symlink_remote.c187 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
H A Dxfs_ag.c41 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_get_aghdr_buf()
H A Dxfs_inode_buf.c52 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A 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()
H A 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()
H A Dxfs_symlink_remote.c187 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
H A Dxfs_inode_buf.c51 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Dwebcam.c240 .b_length = UVC_DT_FRAME_UNCOMPRESSED_SIZE(3),
290 .b_length = UVC_DT_FRAME_UNCOMPRESSED_SIZE(1),
365 .b_length = UVC_DT_FRAME_MJPEG_SIZE(3),
408 .b_length = UVC_DT_FRAME_MJPEG_SIZE(1),
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Duvc_configfs.h96 u8 b_length; member
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A 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()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A 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()

Completed in 25 milliseconds

12