Home
last modified time | relevance | path

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

/openbmc/linux/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()
H A Dialloc.c442 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
H A Dagheader.c354 BBTOB(bp->b_length) - sizeof(struct xfs_dsb))) in xchk_superblock()
/openbmc/linux/fs/xfs/
H A Dxfs_buf.h157 int b_length; /* size of buffer in BBs */ member
353 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
360 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
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) - boff); in xfs_buf_zero()
H A Dxfs_buf_item_recover.c475 ASSERT(BBTOB(bp->b_length) >= in xlog_recover_do_reg_buffer()
615 inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer()
657 ASSERT((reg_buf_offset + reg_buf_bytes) <= BBTOB(bp->b_length)); in xlog_recover_do_inode_buffer()
1061 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
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()
H A Dxfs_buf_item.c804 bp->b_addr, BBTOB(bp->b_length), fa); in xfs_buf_item_precommit()
H A Dxfs_trace.h436 __entry->nblks = bp->b_length;
506 __entry->length = bp->b_length;
550 __entry->length = bp->b_length;
593 __entry->buf_len = bip->bli_buf->b_length;
/openbmc/linux/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),
/openbmc/linux/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.c189 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()
H A Dxfs_dir2_data.c305 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
H A Dxfs_sb.c1115 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
H A Dxfs_dir2_leaf.c130 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
H A Dxfs_dir2_node.c90 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_leaf_check()
H A Dxfs_ialloc.c362 xfs_buf_zero(fbuf, 0, BBTOB(fbuf->b_length)); in xfs_ialloc_inode_init()
/openbmc/linux/drivers/usb/gadget/function/
H A Duvc_configfs.h96 u8 b_length; member
H A Duvc_configfs.c813 UVCG_EXTENSION_ATTR(b_length, bLength, _RO);
/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp_pci.c699 u8 b_length; in cpqhp_save_used_resources() local
750 pci_bus_read_config_byte(pci_bus, devfn, PCI_IO_LIMIT, &b_length); in cpqhp_save_used_resources()
752 if ((b_base <= b_length) && (save_command & 0x01)) { in cpqhp_save_used_resources()
758 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
/openbmc/linux/Documentation/filesystems/
H A Dxfs-self-describing-metadata.rst232 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length),
321 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), XFS_FOO_CRC_OFF);