| /linux/drivers/usb/mon/ |
| H A D | mon_bin.c | 188 unsigned int b_size; /* Current size of the buffer - bytes */ member 255 if ((off += step_len) >= this->b_size) off = 0; in mon_copy_to_buff() 288 if ((off += step_len) >= this->b_size) off = 0; in copy_from_buf() 306 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc() 310 if ((rp->b_in += size) >= rp->b_size) in mon_buff_area_alloc() 311 rp->b_in -= rp->b_size; in mon_buff_area_alloc() 332 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc_contiguous() 334 if (rp->b_in + size > rp->b_size) { in mon_buff_area_alloc_contiguous() 340 fill_size = rp->b_size - rp->b_in; in mon_buff_area_alloc_contiguous() 341 if (rp->b_cnt + size + fill_size > rp->b_size) in mon_buff_area_alloc_contiguous() [all …]
|
| /linux/fs/ocfs2/ |
| H A D | blockcheck.c | 455 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs() 462 bhs[i]->b_size * 8, in ocfs2_block_check_compute_bhs() 463 bhs[i]->b_size * 8 * i); in ocfs2_block_check_compute_bhs() 508 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs() 525 bhs[i]->b_size * 8, in ocfs2_block_check_validate_bhs() 526 bhs[i]->b_size * 8 * i); in ocfs2_block_check_validate_bhs() 534 ocfs2_hamming_fix(bhs[i]->b_data, bhs[i]->b_size * 8, in ocfs2_block_check_validate_bhs() 535 bhs[i]->b_size * 8 * i, fix); in ocfs2_block_check_validate_bhs() 540 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
|
| H A D | localalloc.c | 427 alloc_copy = kmemdup(alloc, bh->b_size, GFP_NOFS); in ocfs2_shutdown_local_alloc() 508 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL); in ocfs2_begin_local_alloc_recovery() 513 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery() 1267 alloc_copy = kmemdup(alloc, osb->local_alloc_bh->b_size, GFP_NOFS); in ocfs2_local_alloc_slide_window()
|
| /linux/fs/ |
| H A D | mpage.c | 190 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 217 map_bh->b_size = 0; in do_mpage_readpage() 220 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage() 254 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 300 nblocks = map_bh->b_size >> blkbits; in do_mpage_readpage() 543 map_bh.b_size = 1 << blkbits; in mpage_write_folio()
|
| /linux/fs/hpfs/ |
| H A D | file.c | 89 if (bh_result->b_size >> 9 < n_secs) in hpfs_get_block() 90 n_secs = bh_result->b_size >> 9; in hpfs_get_block() 97 bh_result->b_size = n_secs << 9; in hpfs_get_block()
|
| /linux/fs/nilfs2/ |
| H A D | recovery.c | 268 BUG_ON((*pbh)->b_size < *offset); in nilfs_read_summary_info() 269 if (bytes > (*pbh)->b_size - *offset) { in nilfs_read_summary_info() 297 = ((*pbh)->b_size - *offset) / bytes; in nilfs_skip_summary_info() 303 unsigned int nitem_per_block = (*pbh)->b_size / bytes; in nilfs_skip_summary_info() 517 memcpy_to_folio(folio, from, bh_org->b_data, bh_org->b_size); in nilfs_recovery_copy_block() 741 memset(bh->b_data, 0, bh->b_size); in nilfs_finish_roll_forward()
|
| H A D | super.c | 401 nsbh->b_size - offset - nilfs->ns_sbsize); in nilfs_move_2nd_super() 403 memset(nsbh->b_data, 0, nsbh->b_size); in nilfs_move_2nd_super()
|
| /linux/fs/ext4/ |
| H A D | page-io.c | 130 bh_offset(bh) + bh->b_size > bio_end) { in ext4_finish_bio() 431 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in io_submit_init_bio() 465 if (!bio_add_folio(io->io_bio, io_folio, bh->b_size, bh_offset(bh))) in io_submit_add_bh() 467 wbc_account_cgroup_owner(io->io_wbc, folio, bh->b_size); in io_submit_add_bh()
|
| H A D | inode.c | 922 map.m_len = bh->b_size >> inode->i_blkbits; in _ext4_get_block() 929 bh->b_size = inode->i_sb->s_blocksize * map.m_len; in _ext4_get_block() 933 bh->b_size = inode->i_sb->s_blocksize * map.m_len; in _ext4_get_block() 1122 unsigned blocksize = head->b_size; in ext4_walk_page_buffers() 1208 WARN_ON(bh->b_size != blocksize); in ext4_block_write_begin() 1523 block_end = block_start + bh->b_size; in ext4_journalled_zero_new_buffers() 2030 BUG_ON(bh->b_size != inode->i_sb->s_blocksize); in ext4_da_get_block_prep() 4940 memset(bh->b_data, 0, bh->b_size); in __ext4_get_inode_loc()
|
| H A D | resize.c | 595 s_group_desc, j)->b_data, gdb->b_size); in setup_new_flex_group_blocks() 1618 gdb_bh->b_data, gdb_bh->b_size, meta_bg); in ext4_flex_group_add()
|
| /linux/include/linux/firmware/meson/ |
| H A D | meson_sm.h | 24 unsigned int b_size, unsigned int cmd_index, u32 arg0,
|
| /linux/fs/gfs2/ |
| H A D | dir.c | 641 char *bh_end = bh->b_data + bh->b_size; in dirent_next() 701 if ((char *)cur + cur_rec_len > bh->b_data + bh->b_size) in dirent_del() 751 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, in gfs2_dirent_split_alloc() 834 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, in gfs2_dirent_search() 854 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, scan, name, NULL); in gfs2_dirent_search() 896 gfs2_qstr2dirent(&empty_name, bh->b_size - sizeof(struct gfs2_leaf), dent); in new_leaf() 943 args.len = bh->b_size - sizeof(struct gfs2_dinode) + in dir_make_exhash() 946 dent = gfs2_dirent_scan(&dip->i_inode, bh->b_data, bh->b_size, in dir_make_exhash() 1428 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, in gfs2_dir_read_leaf() 1600 dent = gfs2_dirent_scan(inode, dibh->b_data, dibh->b_size, in gfs2_dir_read()
|
| H A D | xattr.c | 104 bh->b_data + bh->b_size)) { in ea_foreach_i() 118 bh->b_data + bh->b_size) { in ea_foreach_i()
|
| H A D | quota.c | 763 bh->b_size); in gfs2_write_buf_to_page()
|
| /linux/fs/qnx4/ |
| H A D | namei.c | 75 if (offset < bh->b_size) { in qnx4_find_entry()
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_fw.h | 124 int b_size; /* Size of script B */ member
|
| H A D | sym_hipd.c | 5587 np->scriptb_sz = fw->b_size;
|
| /linux/fs/bfs/ |
| H A D | file.c | 43 memcpy(new->b_data, bh->b_data, bh->b_size); in bfs_move_block()
|
| /linux/fs/adfs/ |
| H A D | dir_fplus.c | 84 bs = dir->bhs[bi]->b_size; in adfs_fplus_checkbyte()
|
| /linux/fs/jfs/ |
| H A D | super.c | 716 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_read() 755 tmp_bh.b_size = i_blocksize(inode); in jfs_quota_write()
|
| /linux/include/trace/events/ |
| H A D | block.h | 39 __entry->size = bh->b_size;
|
| /linux/drivers/scsi/ |
| H A D | st.c | 4000 int segs, max_segs, b_size, order, got; in enlarge_buffer() local 4018 b_size = PAGE_SIZE << order; in enlarge_buffer() 4020 for (b_size = PAGE_SIZE, order = 0; in enlarge_buffer() 4023 order++, b_size *= 2) in enlarge_buffer() 4046 got += b_size; in enlarge_buffer()
|
| /linux/fs/udf/ |
| H A D | inode.c | 2274 if (alen > epos->bh->b_size) in udf_current_aext()
|