/linux-master/fs/befs/ |
H A D | datastream.c | 43 * @off: offset of data in buffer_head->b_data 150 memcpy(buff + bytes_read, bh->b_data, plen); 337 array = (befs_disk_block_run *) indirblock->b_data; 485 iaddr_array = (befs_disk_inode_addr *) dbl_indir_block->b_data; 508 iaddr_array = (befs_disk_inode_addr *) indir_block->b_data;
|
/linux-master/drivers/scsi/ |
H A D | st.c | 1126 STp->max_block = ((STp->buffer)->b_data[1] << 16) | 1127 ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; 1128 STp->min_block = ((STp->buffer)->b_data[4] << 8) | 1129 (STp->buffer)->b_data[5]; 1160 (STp->buffer)->b_data[0], 1161 (STp->buffer)->b_data[1], 1162 (STp->buffer)->b_data[2], 1163 (STp->buffer)->b_data[3]); 1165 if ((STp->buffer)->b_data[ 2555 unsigned char *b_data = (STp->buffer)->b_data; local [all...] |
/linux-master/fs/omfs/ |
H A D | bitmap.c | 75 set_bit(bit, (unsigned long *)bh->b_data); 78 clear_bit(bit, (unsigned long *)bh->b_data); 113 set_bit(bit, (unsigned long *)bh->b_data);
|
H A D | inode.c | 117 oi = (struct omfs_inode *) bh->b_data; 156 memcpy(bh2->b_data, bh->b_data, bh->b_size); 221 oi = (struct omfs_inode *)bh->b_data; 362 *ptr = kmemdup(bh->b_data, sb->s_blocksize, GFP_KERNEL); 486 omfs_sb = (struct omfs_super_block *)bh->b_data; 539 omfs_rb = (struct omfs_root_block *)bh2->b_data;
|
/linux-master/fs/adfs/ |
H A D | dir_f.c | 49 *(u8 *)(bh[_buf]->b_data + _off); \ 55 *(__le32 *)(bh[_buf]->b_data + _off); \ 61 (void *)(_bh[_buf]->b_data + _off); \
|
H A D | dir_fplus.c | 83 bp = (void *)dir->bhs[bi]->b_data; 116 dir->bighead = h = (void *)dir->bhs[0]->b_data; 136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8));
|
H A D | map.c | 73 unsigned char *map = dm->dm_bh->b_data; 121 unsigned char *map = dm->dm_bh->b_data; 292 map = dm[i].dm_bh->b_data;
|
/linux-master/fs/ext4/ |
H A D | balloc.c | 199 memset(bh->b_data, 0, sb->s_blocksize); 206 ext4_set_bit(bit, bh->b_data); 213 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); 217 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); 223 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); 232 sb->s_blocksize * 8, bh->b_data); 303 (__u8 *)bh_p->b_data + 321 next_zero_bit = ext4_find_next_zero_bit(bh->b_data, bitmap_size, offset); 371 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) 379 !ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) [all...] |
H A D | indirect.c | 127 * number (it points into struct inode for i==0 and into the bh->b_data 184 add_chain(++p, bh, (__le32 *)bh->b_data + *++offsets); 220 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; 371 memset(bh->b_data, 0, bh->b_size); 372 p = branch[i].p = (__le32 *) bh->b_data + offsets[i]; 800 * (@chain[i].p+1 .. end of @chain[i].bh->b_data) 826 for (p = partial; (p > chain) && all_zeroes((__le32 *) p->bh->b_data, p->p); p--) 1050 (__le32 *) bh->b_data, 1051 (__le32 *) bh->b_data + addr_per_block, 1189 (__le32*)partial->bh->b_data [all...] |
H A D | namei.c | 162 dirent = (struct ext4_dir_entry *) bh->b_data; 333 struct ext4_dir_entry_tail *t = EXT4_DIRENT_TAIL(bh->b_data, blocksize); 351 d = (struct ext4_dir_entry *)bh->b_data; 352 top = (struct ext4_dir_entry *)(bh->b_data + 363 t = EXT4_DIRENT_TAIL(bh->b_data, EXT4_BLOCK_SIZE(inode->i_sb)); 409 if (t->det_checksum != ext4_dirblock_csum(inode, bh->b_data, 410 (char *)t - bh->b_data)) 430 t->det_checksum = ext4_dirblock_csum(inode, bh->b_data, 431 (char *)t - bh->b_data); 549 ext4_dx_csum_set(inode, (struct ext4_dir_entry *)bh->b_data); [all...] |
H A D | mballoc-test.c | 218 grp_ctx->bitmap_bh.b_data = kzalloc(EXT4_BLOCK_SIZE(sb), GFP_KERNEL); 219 if (grp_ctx->bitmap_bh.b_data == NULL) 221 mb_set_bits(grp_ctx->bitmap_bh.b_data, max, sb->s_blocksize * 8 - max); 229 kfree(grp_ctx->bitmap_bh.b_data); 230 grp_ctx->bitmap_bh.b_data = NULL; 238 mb_set_bits(grp_ctx->bitmap_bh.b_data, start, len); 245 return grp_ctx->bitmap_bh.b_data; 268 mb_set_bits(ctx->grp_ctx[0].bitmap_bh.b_data, 0, 1); 337 mb_set_bits(bitmap_bh->b_data, blkoff, len); 339 mb_clear_bits(bitmap_bh->b_data, blkof [all...] |
H A D | orphan.c | 54 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); 212 bdata = (__le32 *)(oi->of_binfo[blk].ob_bh->b_data); 478 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); 527 return (struct ext4_orphan_block_tail *)(bh->b_data + sb->s_blocksize - 546 calculated = ext4_chksum(EXT4_SB(sb), calculated, (__u8 *)bh->b_data, 621 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data);
|
H A D | migrate.c | 102 i_data = (__le32 *)bh->b_data; 131 i_data = (__le32 *)bh->b_data; 161 i_data = (__le32 *)bh->b_data; 192 tmp_idata = (__le32 *)bh->b_data; 231 tmp_idata = (__le32 *)bh->b_data; 365 eh = (struct ext4_extent_header *)bh->b_data;
|
H A D | ialloc.c | 172 memset(bh->b_data, 0, (EXT4_INODES_PER_GROUP(sb) + 7) / 8); 174 sb->s_blocksize * 8, bh->b_data); 316 cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); 698 raw_inode = (struct ext4_inode *) (bh->b_data + offset); 725 bitmap->b_data, 769 if (ext4_test_bit(bit, inode_bitmap_bh->b_data)) { 780 ext4_set_bit(bit, inode_bitmap_bh->b_data); 1095 ret2 = ext4_test_and_set_bit(ino, inode_bitmap_bh->b_data); 1102 ext4_set_bit(ino, inode_bitmap_bh->b_data); 1391 if (!ext4_test_bit(bit, bitmap_bh->b_data)) [all...] |
/linux-master/fs/ext2/ |
H A D | balloc.c | 65 desc = (struct ext2_group_desc *) sbi->s_group_desc[group_desc]->b_data; 86 if (!ext2_test_bit(offset, bh->b_data)) 93 if (!ext2_test_bit(offset, bh->b_data)) 100 next_zero_bit = ext2_find_next_zero_bit(bh->b_data, 537 bit + i, bitmap_bh->b_data)) { 581 next = ext2_find_next_zero_bit(bh->b_data, maxblocks, start); 617 here = ext2_find_next_zero_bit(bh->b_data, end_goal, start); 627 p = ((char *)bh->b_data) + (here >> 3); 629 next = (r - ((char *)bh->b_data)) << 3; 693 bitmap_bh->b_data); [all...] |
/linux-master/fs/gfs2/ |
H A D | util.h | 101 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; 122 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; 141 mh = (struct gfs2_meta_header *)bh->b_data;
|
H A D | xattr.c | 103 if (!(bh->b_data <= (char *)ea && (char *)GFS2_EA2NEXT(ea) <= 104 bh->b_data + bh->b_size)) { 118 bh->b_data + bh->b_size) { 149 eablk = (__be64 *)(bh->b_data + sizeof(struct gfs2_meta_header)); 499 pos = bh[x]->b_data + sizeof(struct gfs2_meta_header); 720 memcpy(bh->b_data + mh_size, data, copy); 722 memset(bh->b_data + mh_size + copy, 0, 993 eablk = (__be64 *)(indbh->b_data + mh_size); 1018 eablk = (__be64 *)(indbh->b_data + mh_size); 1295 eablk = (__be64 *)(indbh->b_data [all...] |
H A D | recovery.c | 176 error = __get_log_header(sdp, (const struct gfs2_log_header *)bh->b_data, 217 ld = (struct gfs2_log_descriptor *)bh->b_data; 238 ptr = (__be64 *)(bh->b_data + offset); 327 gfs2_statfs_change_in(&sc, bh->b_data + sizeof(struct gfs2_dinode)); 331 gfs2_statfs_change_out(&sc, bh->b_data + sizeof(struct gfs2_dinode)); 339 memset(bh->b_data + sizeof(struct gfs2_dinode), 0,
|
/linux-master/fs/exfat/ |
H A D | fatent.c | 27 memcpy(c_bh->b_data, bh->b_data, sb->s_blocksize); 52 *content = le32_to_cpu(*(__le32 *)(&bh->b_data[off])); 77 fat_entry = (__le32 *)&(bh->b_data[off]); 292 memset(bh->b_data, 0, sb->s_blocksize);
|
/linux-master/fs/ocfs2/ |
H A D | inode.c | 526 fe = (struct ocfs2_dinode *) bh->b_data; 586 fe = (struct ocfs2_dinode *) fe_bh->b_data; 644 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; 755 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; 914 di = (struct ocfs2_dinode *) di_bh->b_data; 1052 di = (struct ocfs2_dinode *)di_bh->b_data; 1292 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; 1365 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; 1376 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &di->i_check); 1429 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; [all...] |
H A D | localalloc.c | 306 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; 425 alloc = (struct ocfs2_dinode *) bh->b_data; 513 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); 515 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; 518 ocfs2_compute_meta_ecc(osb->sb, alloc_bh->b_data, &alloc->i_check); 651 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; 730 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; 786 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; 1149 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; 1260 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; [all...] |
/linux-master/fs/sysv/ |
H A D | itree.c | 83 return (sysv_zone_t*)((char*)bh->b_data + bh->b_size); 108 add_chain(++p, bh, (sysv_zone_t*)bh->b_data + *++offsets); 154 memset(bh->b_data, 0, blocksize); 156 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; 305 for (p=partial; p>chain && all_zeroes((sysv_zone_t*)p->bh->b_data,p->p); p--) 357 free_branches(inode, (sysv_zone_t*)bh->b_data,
|
/linux-master/fs/jfs/ |
H A D | resize.c | 226 j_sb = (struct jfs_superblock *)bh->b_data; 484 j_sb = (struct jfs_superblock *)bh->b_data; 510 j_sb2 = (struct jfs_superblock *)bh2->b_data;
|
/linux-master/fs/fat/ |
H A D | dir.c | 46 | (de - (struct msdos_dir_entry *)bh->b_data); 111 *de = (struct msdos_dir_entry *)((*bh)->b_data + offset); 122 (*de - (struct msdos_dir_entry *)(*bh)->b_data) < 1021 endp = (struct msdos_dir_entry *)(bh->b_data + sb->s_blocksize); 1057 while (nr_slots && de >= (struct msdos_dir_entry *)bh->b_data) { 1111 memset(bhs[n]->b_data, 0, sb->s_blocksize); 1169 de = (struct msdos_dir_entry *)bhs[0]->b_data; 1254 memcpy(bhs[n]->b_data, slots, copy); 1267 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy); 1271 *de = (struct msdos_dir_entry *)((*bh)->b_data [all...] |
/linux-master/fs/isofs/ |
H A D | compress.c | 137 stream.next_in = bhs[curbh]->b_data + 247 (bh->b_data + (blockptr & (blksize - 1)))); 261 (bh->b_data + (blockptr & (blksize - 1))));
|