/linux-master/fs/gfs2/ |
H A D | meta_io.h | 16 memset(bh->b_data, 0, bh->b_size); 21 BUG_ON(head > bh->b_size); 22 memset(bh->b_data + head, 0, bh->b_size - head); 32 from_bh->b_size - from_head); 33 memset(to_bh->b_data + to_bh->b_size + to_head - from_head,
|
H A D | meta_io.c | 203 len -= bh->b_size; 222 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); 225 if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) {
|
H A D | bmap.c | 282 return (const __be64 *)(bh->b_data + bh->b_size); 429 const __be64 *end = (__be64 *)(bh->b_data + bh->b_size); 1199 * The size of the requested mapping is defined in bh_map->b_size. 1201 * Clears buffer_mapped(bh_map) and leaves bh_map->b_size unchanged 1203 * bh_map->b_size to indicate the size of the mapping when @lblock and 1218 loff_t length = bh_map->b_size; 1234 if (iomap.length > bh_map->b_size) { 1235 iomap.length = bh_map->b_size; 1240 bh_map->b_size = iomap.length; 1633 end = (__be64 *)(bh->b_data + bh->b_size); [all...] |
H A D | dir.c | 637 char *bh_end = bh->b_data + bh->b_size; 697 if ((char *)cur + cur_rec_len > bh->b_data + bh->b_size) 747 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, 830 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, 850 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, scan, name, NULL); 892 gfs2_qstr2dirent(&empty_name, bh->b_size - sizeof(struct gfs2_leaf), dent); 940 args.len = bh->b_size - sizeof(struct gfs2_dinode) + 943 dent = gfs2_dirent_scan(&dip->i_inode, bh->b_data, bh->b_size, 1427 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, 1599 dent = gfs2_dirent_scan(inode, dibh->b_data, dibh->b_size, [all...] |
/linux-master/fs/ocfs2/ |
H A D | blockcheck.c | 455 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); 457 * The number of bits in a buffer is obviously b_size*8. 458 * The offset of this buffer is b_size*i, so the bit offset 459 * of this buffer is b_size*8*i. 462 bhs[i]->b_size * 8, 463 bhs[i]->b_size * 8 * i); 508 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); 520 * The number of bits in a buffer is obviously b_size*8. 521 * The offset of this buffer is b_size*i, so the bit offset 522 * of this buffer is b_size* [all...] |
H A D | aops.c | 101 memcpy(kaddr + (bh_result->b_size * iblock), 103 bh_result->b_size); 139 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; 189 bh_result->b_size = count << inode->i_blkbits; 420 unsigned blocksize = head->b_size; 669 folio_zero_range(folio, block_start, bh->b_size); 885 block_end = block_start + bh->b_size; 2132 * bh.b_size with the size of IO which is permitted at this offset and 2153 unsigned len, total_len = bh_result->b_size; 2160 * bh_result->b_size i [all...] |
/linux-master/drivers/usb/mon/ |
H A D | mon_bin.c | 186 unsigned int b_size; /* Current size of the buffer - bytes */ member in struct:mon_reader_bin 253 if ((off += step_len) >= this->b_size) off = 0; 286 if ((off += step_len) >= this->b_size) off = 0; 304 if (rp->b_cnt + size > rp->b_size) 308 if ((rp->b_in += size) >= rp->b_size) 309 rp->b_in -= rp->b_size; 330 if (rp->b_cnt + size > rp->b_size) 332 if (rp->b_in + size > rp->b_size) { 338 fill_size = rp->b_size - rp->b_in; 339 if (rp->b_cnt + size + fill_size > rp->b_size) [all...] |
/linux-master/include/linux/firmware/meson/ |
H A D | meson_sm.h | 24 unsigned int b_size, unsigned int cmd_index, u32 arg0,
|
/linux-master/fs/nilfs2/ |
H A D | segbuf.c | 106 memset(bh->b_data, 0, bh->b_size); 187 size = min_t(unsigned long, bytes, bh->b_size); 197 size = min_t(unsigned long, bytes, bh->b_size); 216 bh->b_size - sizeof(raw_sum->ss_datasum)); 220 crc = crc32_le(crc, bh->b_data, bh->b_size); 224 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); 388 len = bio_add_page(wi->bio, bh->b_page, bh->b_size, bh_offset(bh)); 389 if (len == bh->b_size) {
|
H A D | page.c | 108 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); 208 dbh = create_empty_buffers(dst, sbh->b_size, 0); 425 (u64)bh->b_blocknr, bh->b_size); 445 block_end = block_start + bh->b_size;
|
H A D | recovery.c | 249 BUG_ON((*pbh)->b_size < *offset); 250 if (bytes > (*pbh)->b_size - *offset) { 278 = ((*pbh)->b_size - *offset) / bytes; 284 unsigned int nitem_per_block = (*pbh)->b_size / bytes; 486 memcpy(kaddr + from, bh_org->b_data, bh_org->b_size); 702 memset(bh->b_data, 0, bh->b_size);
|
/linux-master/fs/reiserfs/ |
H A D | lbalance.c | 158 || (!op_is_left_mergeable(&ih->ih_key, src->b_size))) 224 if (!dest_nr_item || !op_is_left_mergeable(&dih->ih_key, src->b_size)) 258 le_ih_k_offset(ih) + op_bytes_number(ih, src->b_size), 285 (bytes_or_entries / UNFM_P_SIZE) * dest->b_size, 288 (bytes_or_entries / UNFM_P_SIZE) * dest->b_size); 292 dest->b_size)); 364 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih - 1); 452 RFALSE(op_is_left_mergeable(&ih->ih_key, src->b_size), 497 dest->b_size); 780 (leaf_key(S0, 0), S0->b_size)), [all...] |
H A D | prints.c | 159 bh->b_bdev, bh->b_size, 573 // skipped = (bh->b_blocknr * bh->b_size) / sb_blocksize(rs); 738 if (nr > (bh->b_size - BLKH_SIZE) / IH_SIZE) 741 if (blkh_free_space(blkh) > bh->b_size - BLKH_SIZE - IH_SIZE * nr) 752 if (B_NR_ITEMS(bh) > (bh->b_size - BLKH_SIZE) / IH_SIZE) 756 bh->b_size - BLKH_SIZE - KEY_SIZE * B_NR_ITEMS(bh) -
|
/linux-master/fs/ |
H A D | mpage.c | 201 nblocks = map_bh->b_size >> blkbits; 228 map_bh->b_size = 0; 231 map_bh->b_size = (last_block-block_in_file) << blkbits; 265 nblocks = map_bh->b_size >> blkbits; 311 nblocks = map_bh->b_size >> blkbits; 549 map_bh.b_size = 1 << blkbits;
|
H A D | buffer.c | 231 "b_blocknr=%llu, b_state=0x%08lx, b_size=%zu, " 235 bh->b_state, bh->b_size, bdev, 305 valid = fsverity_verify_blocks(bh->b_folio, bh->b_size, bh_offset(bh)); 327 err = fscrypt_decrypt_pagecache_blocks(bh->b_folio, bh->b_size, 932 bh->b_size = size; 1049 if (bh->b_size == size) { 1371 bh->b_size == size) { 1609 size_t next_off = curr_off + bh->b_size; 1820 blocksize = bh->b_size; 1843 WARN_ON(bh->b_size ! [all...] |
/linux-master/fs/hpfs/ |
H A D | file.c | 87 if (bh_result->b_size >> 9 < n_secs) 88 n_secs = bh_result->b_size >> 9; 95 bh_result->b_size = n_secs << 9;
|
/linux-master/fs/jfs/ |
H A D | inode.c | 207 s32 xlen = bh_result->b_size >> ip->i_blkbits; 237 bh_result->b_size = xlen << ip->i_blkbits; 254 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits;
|
/linux-master/fs/qnx4/ |
H A D | namei.c | 75 if (offset < bh->b_size) {
|
/linux-master/fs/fat/ |
H A D | fatent.c | 47 WARN_ON(offset >= (bhs[0]->b_size - 1)); 51 WARN_ON(offset != (bhs[0]->b_size - 1)); 204 (bhs[0]->b_size - 2))); 206 (bhs[0]->b_size - 1))); 207 if (nextp < (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 1))) { 214 (bhs[0]->b_size - 1))); 232 if (fatent->u.ent16_p < (__le16 *)(bh->b_data + (bh->b_size - 2))) { 244 if (fatent->u.ent32_p < (__le32 *)(bh->b_data + (bh->b_size - 4))) {
|
/linux-master/crypto/ |
H A D | tcrypt.c | 251 const int *b_size; local 335 b_size = aead_sizes; 337 int bs = round_up(*b_size, crypto_aead_blocksize(tfm)); 427 b_size++; 429 } while (*b_size); 536 const int *b_size; local 596 b_size = aead_sizes; 598 u32 bs = round_up(*b_size, crypto_aead_blocksize(tfm)); 679 b_size++; 681 } while (*b_size); 1067 const int *b_size; local 1303 const int *b_size; local [all...] |
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.h | 124 int b_size; /* Size of script B */ member in struct:sym_fw
|
/linux-master/fs/bfs/ |
H A D | file.c | 43 memcpy(new->b_data, bh->b_data, bh->b_size);
|
/linux-master/fs/ext4/ |
H A D | page-io.c | 131 bh_offset(bh) + bh->b_size > bio_end) { 402 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); 423 if (!bio_add_folio(io->io_bio, io_folio, bh->b_size, bh_offset(bh))) 425 wbc_account_cgroup_owner(io->io_wbc, &folio->page, bh->b_size);
|
/linux-master/fs/omfs/ |
H A D | file.c | 229 int max_blocks = bh_result->b_size >> inode->i_blkbits; 259 bh_result->b_size = (remain << inode->i_blkbits);
|
/linux-master/fs/jbd2/ |
H A D | commit.c | 306 checksum = crc32_be(crc32_sum, addr, bh->b_size); 334 csum32 = jbd2_chksum(j, csum32, addr, bh->b_size); 490 jbd2_free(jh->b_committed_data, bh->b_size); 623 space_left = descriptor->b_size - 958 jbd2_free(jh->b_committed_data, bh->b_size); 966 jbd2_free(jh->b_frozen_data, bh->b_size);
|