Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_buf.h145 int b_length; /* size of buffer in BBs */ member
342 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
349 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
H A Dxfs_buf.c134 unsigned int size = BBTOB(bp->b_length); in xfs_buf_free()
243 size_t size = BBTOB(bp->b_length); in xfs_buf_alloc_backing_mem()
327 bp->b_length = 0; in xfs_buf_alloc()
337 bp->b_length += map[i].bm_len; in xfs_buf_alloc()
376 if (unlikely(bp->b_length != map->bm_len)) { in _xfs_buf_obj_cmp()
1138 roundup(BBTOB(bp->b_length), PAGE_SIZE)); in xfs_buf_ioend()
1204 bp->b_length, -bp->b_error); in xfs_buf_ioerror_alert()
1288 unsigned int len = BBTOB(bp->b_length); in xfs_buf_submit_bio()
1361 bp->b_length); in xfs_buf_verify_write()
H A Dxfs_buf_item_recover.c500 if (XFS_IS_CORRUPT(mp, BBTOB(bp->b_length) < in xlog_recover_do_reg_buffer()
505 bit, nbits, BBTOB(bp->b_length), in xlog_recover_do_reg_buffer()
651 inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; in xlog_recover_do_inode_buffer()
693 ASSERT((reg_buf_offset + reg_buf_bytes) <= BBTOB(bp->b_length)); in xlog_recover_do_inode_buffer()
1160 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
H A Dxfs_buf_item.c821 bp->b_addr, BBTOB(bp->b_length), fa); in xfs_buf_item_precommit()
H A Dxfs_trace.h744 __entry->nblks = bp->b_length;
818 __entry->length = bp->b_length;
862 __entry->length = bp->b_length;
905 __entry->buf_len = bip->bli_buf->b_length;
5207 __entry->nblks = bp->b_length;
/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),
/linux/fs/xfs/scrub/
H A Dagheader_repair.c63 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xrep_superblock()
80 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_superblock()
208 memset(agf, 0, BBTOB(agf_bp->b_length)); in xrep_agf_init_header()
325 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1); in xrep_agf_commit_new()
688 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
707 xfs_trans_log_buf(sc->tp, agfl_bp, 0, BBTOB(agfl_bp->b_length) - 1); in xrep_agfl_init_header()
901 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
1802 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
H A Dagheader.c423 if (memchr_inv((char *)sb + sblen, 0, BBTOB(bp->b_length) - sblen)) in xchk_superblock()
H A Dattr_repair.c582 *actual_len = XFS_BB_TO_FSB(rx->sc->mp, bp->b_length); in xrep_xattr_recover_block()
H A Dinode_repair.c220 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xrep_dinode_buf()
/linux/fs/xfs/libxfs/
H A Dxfs_dquot_buf.c168 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify_crc()
202 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify()
H A Dxfs_dir2_data.c306 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
H A Dxfs_sb.c1438 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
/linux/drivers/usb/gadget/function/
H A Duvc_configfs.h99 u8 b_length; member
H A Duvc_configfs.c814 UVCG_EXTENSION_ATTR(b_length, bLength, _RO);
3299 desc->bLength = frm->frame.b_length; in __uvcg_copy_framebased_desc()
/linux/drivers/pci/hotplug/
H A Dcpqphp_pci.c685 u8 b_length; in cpqhp_save_used_resources() local
736 pci_bus_read_config_byte(pci_bus, devfn, PCI_IO_LIMIT, &b_length); in cpqhp_save_used_resources()
738 if ((b_base <= b_length) && (save_command & 0x01)) { in cpqhp_save_used_resources()
744 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
/linux/Documentation/filesystems/xfs/
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);