Home
last modified time | relevance | path

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

12

/linux/fs/xfs/
A Dxfs_buf.h170 int b_length; /* size of buffer in BBs */ member
366 return xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_verify_cksum()
373 xfs_update_cksum(bp->b_addr, BBTOB(bp->b_length), in xfs_buf_update_cksum()
A Dxfs_buf_mem.c145 if (BBTOB(bp->b_length) != XMBUF_BLOCKSIZE) in xmbuf_map_page()
219 shmem_truncate_range(inode, pos, pos + BBTOB(bp->b_length) - 1); in xmbuf_stale()
A Dxfs_buf.c264 bp->b_length = 0; in _xfs_buf_alloc()
268 bp->b_length += map[i].bm_len; in _xfs_buf_alloc()
338 size_t size = BBTOB(bp->b_length); in xfs_buf_alloc_kmem()
375 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages()
489 if (unlikely(bp->b_length != map->bm_len)) { in _xfs_buf_obj_cmp()
645 } else if (BBTOB(new_bp->b_length) >= PAGE_SIZE || in xfs_buf_find_insert()
1457 bp->b_length, -bp->b_error); in xfs_buf_ioerror_alert()
1643 bp->b_length); in _xfs_buf_ioapply()
1671 size = BBTOB(bp->b_length); in _xfs_buf_ioapply()
1815 BBTOB(bp->b_length) - boff); in xfs_buf_zero()
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()
A Dxfs_trans_buf.c42 blip->bli_buf->b_length == len) { in xfs_trans_buf_item_match()
541 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf()
A Dxfs_buf_item.c804 bp->b_addr, BBTOB(bp->b_length), fa); in xfs_buf_item_precommit()
A Dxfs_trace.h454 __entry->nblks = bp->b_length;
524 __entry->length = bp->b_length;
568 __entry->length = bp->b_length;
611 __entry->buf_len = bip->bli_buf->b_length;
4806 __entry->nblks = bp->b_length;
/linux/drivers/usb/gadget/legacy/
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/libxfs/
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()
A Dxfs_attr_remote.c147 len = BBTOB(bp->b_length); in __xfs_attr3_rmt_read_verify()
212 len = BBTOB(bp->b_length); in xfs_attr3_rmt_write_verify()
302 unsigned int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyout()
351 unsigned int len = BBTOB(bp->b_length); in xfs_attr_rmtval_copyin()
A Dxfs_symlink_remote.c191 ASSERT(BBTOB(bp->b_length) >= in xfs_symlink_local_to_remote()
A Dxfs_inode_buf.c52 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify()
A Dxfs_dir2_data.c306 bp->b_addr, BBTOB(bp->b_length), __FILE__, __LINE__, in xfs_dir3_data_check()
A Dxfs_sb.c1143 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_update_secondary_sbs()
/linux/fs/xfs/scrub/
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()
897 memset(agi, 0, BBTOB(agi_bp->b_length)); in xrep_agi_init_header()
1701 xfs_trans_log_buf(sc->tp, agi_bp, 0, BBTOB(agi_bp->b_length) - 1); in xrep_agi_commit_new()
A Dquota_repair.c386 xfs_trans_log_buf(sc->tp, bp, 0, BBTOB(bp->b_length) - 1); in xrep_quota_block()
A Dialloc_repair.c162 if (offset >= BBTOB(cluster_bp->b_length)) in xrep_ibt_check_ifree()
A Dialloc.c442 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) { in xchk_iallocbt_check_cluster()
A Dagheader.c354 BBTOB(bp->b_length) - sizeof(struct xfs_dsb))) in xchk_superblock()
A Dattr_repair.c582 *actual_len = XFS_BB_TO_FSB(rx->sc->mp, bp->b_length); in xrep_xattr_recover_block()
A Ddir_repair.c471 end = min_t(unsigned int, BBTOB(bp->b_length), in xrep_dir_recover_data()
A Dinode_repair.c217 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xrep_dinode_buf()
/linux/drivers/usb/gadget/function/
A Duvc_configfs.h96 u8 b_length; member
/linux/drivers/pci/hotplug/
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()
/linux/Documentation/filesystems/xfs/
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);

Completed in 63 milliseconds

12