Searched refs:b_size (Results 26 - 50 of 80) sorted by relevance

1234

/linux-master/fs/gfs2/
H A Dlops.c186 size -= bh->b_size;
362 gfs2_log_write(sdp, sdp->sd_jdesc, bh->b_page, bh->b_size,
696 memcpy_from_page(p, page, bh_offset(bd2->bd_bh), bd2->bd_bh->b_size);
808 memcpy(bh_ip->b_data, bh_log->b_data, bh_log->b_size);
1033 memcpy(bh_ip->b_data, bh_log->b_data, bh_log->b_size);
H A Daops.c44 unsigned int bsize = head->b_size;
650 if (pos + bh->b_size > stop)
655 pos += bh->b_size;
H A Dtrace_gfs2.h336 __entry->len = bd->bd_bh->b_size;
460 __entry->len = bh->b_size;
/linux-master/fs/ext2/
H A Dxattr.c226 end = bh->b_data + bh->b_size;
312 end = bh->b_data + bh->b_size;
453 end = bh->b_data + bh->b_size;
539 header = kmemdup(HDR(bh), bh->b_size, GFP_KERNEL);
761 memcpy(new_bh->b_data, header, new_bh->b_size);
/linux-master/fs/minix/
H A Ditree_common.c27 return (block_t *)((char*)bh->b_data + bh->b_size);
95 memset(bh->b_data, 0, bh->b_size);
/linux-master/fs/jbd2/
H A Dtransaction.c945 memcpy(jh->b_frozen_data, source, bh->b_size);
1132 frozen_buffer = jbd2_alloc(jh2bh(jh)->b_size,
1160 jbd2_free(frozen_buffer, bh->b_size);
1410 committed_data = jbd2_alloc(jh2bh(jh)->b_size,
1425 memcpy(jh->b_committed_data, bh->b_data, bh->b_size);
1431 jbd2_free(committed_data, bh->b_size);
1465 triggers->t_frozen(triggers, bh, mapped_data, bh->b_size);
2471 unsigned int next_off = curr_off + bh->b_size;
H A Djournal.c399 tmp = jbd2_alloc(bh_in->b_size, GFP_NOFS);
406 jbd2_free(tmp, bh_in->b_size);
411 memcpy_from_folio(tmp, new_folio, new_offset, bh_in->b_size);
436 new_bh->b_size = bh_in->b_size;
2986 static void journal_release_journal_head(struct journal_head *jh, size_t b_size) argument
2990 jbd2_free(jh->b_frozen_data, b_size);
2994 jbd2_free(jh->b_committed_data, b_size);
3013 journal_release_journal_head(jh, bh->b_size);
H A Drecovery.c409 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size);
421 obh->b_size);
H A Drevoke.c469 bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size);
/linux-master/include/linux/
H A Dbuffer_head.h68 size_t b_size; /* size of mapping */ member in struct:buffer_head
408 bh->b_size = sb->s_blocksize;
/linux-master/fs/reiserfs/
H A Ddir.c153 d_name + d_reclen > bh->b_data + bh->b_size) {
H A Dresize.c60 if (SB_BUFFER_WITH_SB(s)->b_blocknr * SB_BUFFER_WITH_SB(s)->b_size
H A Dstree.c539 return is_leaf(bh->b_data, bh->b_size, bh);
541 return is_internal(bh->b_data, bh->b_size, bh);
1186 (PATH_PLAST_BUFFER(tb->tb_path)->b_size);
1545 cur_index += bh->b_size;
2052 get_last_bh(path)->b_size) !=
2055 get_last_bh(path)->b_size) !=
2065 get_last_bh(path)->b_size) !=
H A Dfix_node.c84 if (op_is_left_mergeable(&ih->ih_key, Sh->b_size)
154 if (op_is_left_mergeable(key, Sh->b_size)
161 if (op_is_left_mergeable(key, Sh->b_size) &&
1289 && op_is_left_mergeable(&ih->ih_key, Sh->b_size)) ? IH_SIZE : 0)
1292 && op_is_left_mergeable(r_key, Sh->b_size)) ? IH_SIZE : 0)
2340 if (bh->b_size != sb->s_blocksize)
H A Dinode.c516 * We set the b_size before reiserfs_get_block call since it is
520 bh_result->b_size = i_blocksize(inode);
579 if ((tail_offset & (bh_result->b_size - 1)) != 1)
584 tail_end = (tail_start | (bh_result->b_size - 1)) + 1;
2448 if (bytes_copied < bh_result->b_size &&
3146 unsigned int next_off = curr_off + bh->b_size;
/linux-master/fs/ocfs2/
H A Dlocalalloc.c427 alloc_copy = kmemdup(alloc, bh->b_size, GFP_NOFS);
508 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL);
513 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size);
1267 alloc_copy = kmemdup(alloc, osb->local_alloc_bh->b_size, GFP_NOFS);
/linux-master/fs/ntfs3/
H A Dinode.c581 bh->b_size = block_size;
611 if (bh->b_size > bytes)
612 bh->b_size = bytes;
635 if (bytes > bh->b_size)
636 bytes = bh->b_size;
662 bh->b_size = block_size;
674 if (bh->b_size > bytes)
675 bh->b_size = bytes;
681 bh->b_size = 0x40000000u;
/linux-master/fs/adfs/
H A Ddir_fplus.c84 bs = dir->bhs[bi]->b_size;
/linux-master/fs/
H A Ddirect-io.c592 * If the fs has mapped a lot of blocks, it should populate bh->b_size to
600 * hole by returning an appropriate value in b_size and by clearing
629 map_bh->b_size = fs_count << i_blkbits;
897 * So what we do is to permit the ->get_block function to populate bh.b_size
901 * it should set b_size to PAGE_SIZE or more inside get_block(). This gives
946 map_bh->b_size >> blkbits;
953 map_bh->b_size >> i_blkbits);
/linux-master/include/trace/events/
H A Dblock.h31 __entry->size = bh->b_size;
/linux-master/fs/bfs/
H A Ddir.c346 if (offset < bh->b_size)
/linux-master/fs/fat/
H A Dinode.c187 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
193 bh_result->b_size = max_blocks << sb->s_blocksize_bits;
294 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
310 bh_result->b_size = max_blocks << sb->s_blocksize_bits;
/linux-master/fs/jfs/
H A Dsuper.c751 tmp_bh.b_size = i_blocksize(inode);
790 tmp_bh.b_size = i_blocksize(inode);
/linux-master/fs/exfat/
H A Dinode.c284 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits;
405 bh_result->b_size = EXFAT_BLK_TO_B(max_blocks, sb);
/linux-master/fs/ext4/
H A Dnamei.c1109 bh->b_data, bh->b_size,
1317 unsigned int buflen = bh->b_size;
3094 if (ext4_check_dir_entry(inode, NULL, de, bh, bh->b_data, bh->b_size,
3103 if (ext4_check_dir_entry(inode, NULL, de, bh, bh->b_data, bh->b_size,
3127 bh->b_data, bh->b_size, offset) ||
3545 bh->b_size, 0) ||
3557 bh->b_size, offset) ||

Completed in 587 milliseconds

1234