/linux-4.4.14/fs/hpfs/ |
D | buffer.c | 83 return bh->b_data; in hpfs_map_sector() 104 return bh->b_data; in hpfs_get_sector() 134 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_map_4sectors() 135 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_map_4sectors() 136 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_map_4sectors() 137 return qbh->data = qbh->bh[0]->b_data; in hpfs_map_4sectors() 146 memcpy(data + 0 * 512, qbh->bh[0]->b_data, 512); in hpfs_map_4sectors() 147 memcpy(data + 1 * 512, qbh->bh[1]->b_data, 512); in hpfs_map_4sectors() 148 memcpy(data + 2 * 512, qbh->bh[2]->b_data, 512); in hpfs_map_4sectors() 149 memcpy(data + 3 * 512, qbh->bh[3]->b_data, 512); in hpfs_map_4sectors() [all …]
|
/linux-4.4.14/fs/qnx6/ |
D | super_mmi.c | 50 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super() 61 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_mmi_fill_super() 80 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super() 88 sb2 = (struct qnx6_mmi_super_block *)bh2->b_data; in qnx6_mmi_fill_super() 97 != crc32_be(0, (char *)(bh2->b_data + 8), 504)) { in qnx6_mmi_fill_super() 115 memcpy(bh1->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super() 118 sbi->sb = (struct qnx6_super_block *)bh1->b_data; in qnx6_mmi_fill_super() 127 memcpy(bh2->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super() 130 sbi->sb = (struct qnx6_super_block *)bh2->b_data; in qnx6_mmi_fill_super()
|
D | inode.c | 144 ptr = ((__fs32 *)bh->b_data)[levelptr]; in qnx6_block_map() 271 sb = (struct qnx6_super_block *)bh->b_data; in qnx6_check_first_superblock() 348 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super() 356 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super() 371 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super() 388 sb2 = (struct qnx6_super_block *)bh2->b_data; in qnx6_fill_super() 397 crc32_be(0, (char *)(bh2->b_data + 8), 504)) { in qnx6_fill_super() 406 sbi->sb = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super() 412 sbi->sb = (struct qnx6_super_block *)bh2->b_data; in qnx6_fill_super()
|
/linux-4.4.14/fs/affs/ |
D | bitmap.c | 69 data = (__be32 *)bh->b_data + bit / 32 + 1; in affs_free_block() 78 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_free_block() 79 *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask); in affs_free_block() 182 data = (__be32 *)bh->b_data + bit / 32 + 1; in affs_alloc_block() 183 enddata = (__be32 *)((u8 *)bh->b_data + sb->s_blocksize); in affs_alloc_block() 222 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_alloc_block() 223 *(__be32 *)bh->b_data = cpu_to_be32(tmp + mask); in affs_alloc_block() 273 bmap_blk = (__be32 *)sbi->s_root_bh->b_data; in affs_init_bitmap() 294 bm->bm_free = memweight(bh->b_data + 4, sb->s_blocksize - 4); in affs_init_bitmap() 309 bmap_blk = (__be32 *)bmap_bh->b_data; in affs_init_bitmap() [all …]
|
D | affs.h | 20 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) 21 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t… 22 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) 23 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str… 24 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data) 25 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data) 244 memset(bh->b_data, 0 , sb->s_blocksize); in affs_getzeroblk() 275 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[5]); in affs_adjust_checksum() 276 ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val); in affs_adjust_checksum() 281 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[0]); in affs_adjust_bitmapchecksum() [all …]
|
D | symlink.c | 30 lf = (struct slink_front *)bh->b_data; in affs_symlink_readpage()
|
D | amigaffs.c | 338 __be32 *ptr = (__be32 *)bh->b_data; in affs_checksum_block() 357 __be32 *ptr = (__be32 *)bh->b_data; in affs_fix_checksum()
|
D | super.c | 423 memcpy(sig, boot_bh->b_data, 4); in affs_fill_super()
|
/linux-4.4.14/fs/udf/ |
D | balloc.c | 100 lvid = (struct logicalVolIntegrityDesc *)sbi->s_lvid_bh->b_data; in udf_add_free_space() 153 if (udf_set_bit(bit + i, bh->b_data)) { in udf_bitmap_free_blocks() 156 ((char *)bh->b_data)[(bit + i) >> 3]); in udf_bitmap_free_blocks() 205 if (!udf_clear_bit(bit, bh->b_data)) in udf_bitmap_prealloc_blocks() 248 ptr = memscan((char *)bh->b_data + group_start, 0xFF, in udf_bitmap_new_block() 251 if ((ptr - ((char *)bh->b_data)) < sb->s_blocksize) { in udf_bitmap_new_block() 253 if (udf_test_bit(bit, bh->b_data)) in udf_bitmap_new_block() 257 bit = udf_find_next_one_bit(bh->b_data, end_goal, bit); in udf_bitmap_new_block() 261 ptr = memscan((char *)bh->b_data + (bit >> 3), 0xFF, in udf_bitmap_new_block() 263 newbit = (ptr - ((char *)bh->b_data)) << 3; in udf_bitmap_new_block() [all …]
|
D | inode.c | 369 memset(dbh->b_data, 0x00, inode->i_sb->s_blocksize); in udf_expand_dir_adinicb() 391 dfi = (struct fileIdentDesc *)(dbh->b_data + dfibh.soffset); in udf_expand_dir_adinicb() 471 memset(bh->b_data, 0x00, inode->i_sb->s_blocksize); in udf_getblk() 1325 fe = (struct fileEntry *)bh->b_data; in udf_read_inode() 1326 efe = (struct extendedFileEntry *)bh->b_data; in udf_read_inode() 1336 ie = (struct indirectEntry *)ibh->b_data; in udf_read_inode() 1381 bh->b_data + sizeof(struct extendedFileEntry), in udf_read_inode() 1390 bh->b_data + sizeof(struct fileEntry), in udf_read_inode() 1396 ((struct unallocSpaceEntry *)bh->b_data)-> in udf_read_inode() 1403 bh->b_data + sizeof(struct unallocSpaceEntry), in udf_read_inode() [all …]
|
D | truncate.c | 160 (struct allocExtDesc *)(epos.bh->b_data); in udf_discard_prealloc() 166 udf_update_tag(epos.bh->b_data, epos.offset); in udf_discard_prealloc() 168 udf_update_tag(epos.bh->b_data, in udf_discard_prealloc() 186 struct allocExtDesc *aed = (struct allocExtDesc *) (epos->bh->b_data); in udf_update_alloc_ext_desc() 193 udf_update_tag(epos->bh->b_data, len); in udf_update_alloc_ext_desc()
|
D | partition.c | 91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15() 129 sdata->s_spar_map[i]->b_data; in udf_get_pblock_spar15() 176 sdata->s_spar_map[j]->b_data; in udf_relocate_blocks() 199 bh->b_data; in udf_relocate_blocks() 240 st = (struct sparingTable *)bh->b_data; in udf_relocate_blocks()
|
D | namei.c | 65 memcpy(fibh->ebh->b_data + offset, impuse, liu); in udf_write_fi() 68 memcpy(fibh->ebh->b_data, impuse - offset, in udf_write_fi() 79 memcpy(fibh->ebh->b_data + offset, fileident, lfi); in udf_write_fi() 83 memcpy(fibh->ebh->b_data, fileident - offset, in udf_write_fi() 93 memset(fibh->ebh->b_data + offset, 0x00, padlen); in udf_write_fi() 96 memset(fibh->ebh->b_data, 0x00, padlen + offset); in udf_write_fi() 107 crc = crc_itu_t(crc, fibh->ebh->b_data + in udf_write_fi() 115 crc = crc_itu_t(crc, fibh->ebh->b_data, fibh->eoffset); in udf_write_fi() 127 memcpy(fibh->ebh->b_data, (uint8_t *)cfi - fibh->soffset, in udf_write_fi() 236 nameptr = (uint8_t *)(fibh->ebh->b_data + in udf_find_entry() [all …]
|
D | super.c | 107 lvid = (struct logicalVolIntegrityDesc *)UDF_SB(sb)->s_lvid_bh->b_data; in udf_sb_lvidiu() 731 vsd = (struct volStructDesc *)(bh->b_data + in udf_check_vsd() 848 bh->b_data; in udf_find_fileset() 918 pvoldesc = (struct primaryVolDesc *)bh->b_data; in udf_load_pvoldesc() 1049 fset = (struct fileSetDesc *)bh->b_data; in udf_load_fileset() 1246 vat20 = (struct virtualAllocationTable20 *)bh->b_data; in udf_load_vat() 1288 p = (struct partitionDesc *)bh->b_data; in udf_load_partdesc() 1400 st = (struct sparingTable *)bh->b_data; in udf_load_sparable_map() 1433 lvd = (struct logicalVolDesc *)bh->b_data; in udf_load_logicalvol() 1573 lvid = (struct logicalVolIntegrityDesc *)bh->b_data; in udf_load_logicalvolint() [all …]
|
D | dir.c | 144 nameptr = (char *)(fibh.ebh->b_data + poffset - lfi); in udf_readdir() 150 fibh.ebh->b_data, poffset); in udf_readdir()
|
D | directory.c | 100 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read() 139 fibh->ebh->b_data, in udf_fileident_read()
|
D | misc.c | 219 tag_p = (struct tag *)(bh->b_data); in udf_read_tagged() 248 bh->b_data + sizeof(struct tag), in udf_read_tagged()
|
D | symlink.c | 134 symlink = bh->b_data; in udf_symlink_filler()
|
D | udfdecl.h | 125 bh->b_data)->integrityType != in udf_updated_lvid()
|
/linux-4.4.14/fs/jbd2/ |
D | recovery.c | 211 tagp = &bh->b_data[sizeof(journal_header_t)]; in count_tags() 213 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags() 363 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums() 374 *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, in calc_chksums() 497 tmp = (journal_header_t *)bh->b_data; in do_one_pass() 526 bh->b_data)) { in do_one_pass() 562 tagp = &bh->b_data[sizeof(journal_header_t)]; in do_one_pass() 563 while ((tagp - bh->b_data + tag_bytes) in do_one_pass() 601 journal, tag, obh->b_data, in do_one_pass() 629 memcpy(nbh->b_data, obh->b_data, in do_one_pass() [all …]
|
D | revoke.c | 609 header = (journal_header_t *)descriptor->b_data; in write_one_revoke_record() 623 * ((__be64 *)(&descriptor->b_data[offset])) = in write_one_revoke_record() 626 * ((__be32 *)(&descriptor->b_data[offset])) = in write_one_revoke_record() 641 tail = (struct jbd2_journal_revoke_tail *)(bh->b_data + j->j_blocksize - in jbd2_revoke_csum_set() 644 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_revoke_csum_set() 666 header = (jbd2_journal_revoke_header_t *)descriptor->b_data; in flush_descriptor()
|
D | commit.c | 103 h = (struct commit_header *)(bh->b_data); in jbd2_commit_block_csum_set() 107 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_commit_block_csum_set() 138 tmp = (struct commit_header *)bh->b_data; in journal_submit_commit_record() 308 (void *)(addr + offset_in_page(bh->b_data)), bh->b_size); in jbd2_checksum_data() 331 tail = (struct jbd2_journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descr_block_csum_set() 334 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_descr_block_csum_set() 353 csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), in jbd2_block_tag_csum_set() 627 descriptor->b_data); in jbd2_journal_commit_transaction() 628 header = (journal_header_t *)descriptor->b_data; in jbd2_journal_commit_transaction() 633 tagp = &descriptor->b_data[sizeof(journal_header_t)]; in jbd2_journal_commit_transaction()
|
D | journal.c | 391 new_offset = offset_in_page(jh2bh(jh_in)->b_data); in jbd2_journal_write_metadata_buffer() 823 memset(bh->b_data, 0, journal->j_blocksize); in jbd2_journal_get_descriptor_buffer() 1169 journal->j_superblock = (journal_superblock_t *)bh->b_data; in jbd2_journal_init_dev() 1240 journal->j_superblock = (journal_superblock_t *)bh->b_data; in jbd2_journal_init_inode()
|
D | transaction.c | 786 offset = offset_in_page(bh->b_data); in jbd2_freeze_jh_data() 1253 memcpy(jh->b_committed_data, bh->b_data, bh->b_size); in jbd2_journal_get_undo_access()
|
/linux-4.4.14/fs/gfs2/ |
D | meta_io.h | 19 memset(bh->b_data, 0, bh->b_size); in gfs2_buffer_clear() 25 memset(bh->b_data + head, 0, bh->b_size - head); in gfs2_buffer_clear_tail() 34 memcpy(to_bh->b_data + to_head, from_bh->b_data + from_head, in gfs2_buffer_copy_tail() 36 memset(to_bh->b_data + to_bh->b_size + to_head - from_head, in gfs2_buffer_copy_tail()
|
D | dir.c | 133 memcpy(dibh->b_data + offset + sizeof(struct gfs2_dinode), buf, size); in gfs2_dir_write_stuffed() 137 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_stuffed() 215 memcpy(bh->b_data + o, buf, amount); in gfs2_dir_write_data() 237 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_data() 255 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_dir_read_stuffed() 319 memcpy(buf, bh->b_data + o, amount); in gfs2_dir_read_data() 618 char *bh_end = bh->b_data + bh->b_size; in dirent_next() 678 if ((char *)cur + cur_rec_len > bh->b_data + bh->b_size) in dirent_del() 714 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, in gfs2_dirent_alloc() 794 dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, in gfs2_dirent_search() [all …]
|
D | bmap.c | 77 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_page() 158 di = (struct gfs2_dinode *)dibh->b_data; in gfs2_unstuff_dinode() 270 return ((__be64 *)(bh->b_data + head_size)) + mp->mp_list[height]; in metapointer() 277 const __be64 *endp = (const __be64 *)(bh->b_data + bh->b_size); in gfs2_metapath_ra() 403 __be64 *ptr = (__be64 *)(mp->mp_bh[i - 1]->b_data + in gfs2_indirect_init() 479 dblks = gfs2_extent_length(bh->b_data, bh->b_size, ptr, maxlen, in gfs2_bmap_alloc() 518 ptr = (__be64 *)(dibh->b_data + in gfs2_bmap_alloc() 532 ptr = (__be64 *)(mp->mp_bh[i]->b_data + in gfs2_bmap_alloc() 582 gfs2_dinode_out(ip, mp->mp_bh[0]->b_data); in gfs2_bmap_alloc() 655 len = gfs2_extent_length(bh->b_data, bh->b_size, ptr, maxlen, &eob); in gfs2_block_map() [all …]
|
D | xattr.c | 91 if (!(bh->b_data <= (char *)ea && (char *)GFS2_EA2NEXT(ea) <= in ea_foreach_i() 92 bh->b_data + bh->b_size)) in ea_foreach_i() 103 bh->b_data + bh->b_size) in ea_foreach_i() 136 eablk = (__be64 *)(bh->b_data + sizeof(struct gfs2_meta_header)); in ea_foreach() 314 gfs2_dinode_out(ip, dibh->b_data); in ea_dealloc_unstuffed() 504 pos = bh[x]->b_data + sizeof(struct gfs2_meta_header); in gfs2_iter_unstuffed() 704 memcpy(bh->b_data + mh_size, data, copy); in ea_write() 706 memset(bh->b_data + mh_size + copy, 0, in ea_write() 759 gfs2_dinode_out(ip, dibh->b_data); in ea_alloc_skeleton() 894 gfs2_dinode_out(ip, dibh->b_data); in ea_set_simple_noalloc() [all …]
|
D | util.h | 86 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_meta_check() 107 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_check_i() 126 mh = (struct gfs2_meta_header *)bh->b_data; in gfs2_metatype_set()
|
D | recovery.c | 163 hash = crc32_le((u32)~0, bh->b_data, sizeof(struct gfs2_log_header) - in get_log_header() 167 error = gfs2_log_header_in(&lh, bh->b_data); in get_log_header() 334 ld = (struct gfs2_log_descriptor *)bh->b_data; in foreach_descriptor() 355 ptr = (__be64 *)(bh->b_data + offset); in foreach_descriptor() 405 memset(bh->b_data, 0, bh->b_size); in clean_journal() 410 lh = (struct gfs2_log_header *)bh->b_data; in clean_journal()
|
D | rgrp.c | 96 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit() 97 end = bi->bi_bh->b_data + bi->bi_offset + buflen; in gfs2_setbit() 133 const u8 *buffer = bi->bi_bh->b_data + bi->bi_offset; in gfs2_testbit() 372 start = bi->bi_bh->b_data; in gfs2_free_extlen() 459 bi->bi_bh->b_data + in gfs2_rgrp_verify() 1084 struct gfs2_rgrp *str = (struct gfs2_rgrp *)rgd->rd_bits[0].bi_bh->b_data; in gfs2_rgrp_lvb_valid() 1121 buffer = bi->bi_bh->b_data + bi->bi_offset; in count_unlinked() 1181 gfs2_rgrp_in(rgd, (rgd->rd_bits[0].bi_bh)->b_data); in gfs2_rgrp_bh_get() 1190 rgd->rd_bits[0].bi_bh->b_data); in gfs2_rgrp_bh_get() 1297 const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; in gfs2_rgrp_send_discards() [all …]
|
D | lops.c | 83 bd->bd_bh->b_data + bi->bi_offset, bi->bi_len); in maybe_release_space() 553 memcpy(bh_ip->b_data, bh_log->b_data, bh_log->b_size); in buf_lo_scan_elements() 705 blkno = be64_to_cpu(*(__be64 *)(bh->b_data + offset)); in revoke_lo_scan_elements() 791 memcpy(bh_ip->b_data, bh_log->b_data, bh_log->b_size); in databuf_lo_scan_elements() 795 __be32 *eptr = (__be32 *)bh_ip->b_data; in databuf_lo_scan_elements()
|
D | xattr.h | 40 ((struct gfs2_ea_header *)((bh)->b_data + sizeof(struct gfs2_meta_header)))
|
D | super.c | 490 gfs2_statfs_change_in(m_sc, m_bh->b_data + in gfs2_statfs_init() 499 gfs2_statfs_change_in(m_sc, m_bh->b_data + in gfs2_statfs_init() 501 gfs2_statfs_change_in(l_sc, l_bh->b_data + in gfs2_statfs_init() 536 gfs2_statfs_change_out(l_sc, l_bh->b_data + sizeof(struct gfs2_dinode)); in gfs2_statfs_change() 565 memset(l_bh->b_data + sizeof(struct gfs2_dinode), in update_statfs() 570 gfs2_statfs_change_out(m_sc, m_bh->b_data + sizeof(struct gfs2_dinode)); in update_statfs() 595 gfs2_statfs_change_in(m_sc, m_bh->b_data + in gfs2_statfs_sync() 810 gfs2_dinode_out(ip, bh->b_data); in gfs2_dirty_inode()
|
D | aops.c | 473 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in stuffed_readpage() 776 gfs2_statfs_change_in(m_sc, m_bh->b_data + in adjust_fs_space() 818 unsigned char *buf = dibh->b_data + sizeof(struct gfs2_dinode); in gfs2_stuffed_write_end()
|
D | meta_io.c | 164 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data; in meta_prep_new()
|
D | trans.c | 209 mh = (struct gfs2_meta_header *)bd->bd_bh->b_data; in meta_lo_add()
|
D | inode.c | 415 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; in gfs2_init_dir() 473 di = (struct gfs2_dinode *)dibh->b_data; in init_dinode() 490 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); in init_dinode() 1332 gfs2_dinode_out(ip, dibh->b_data); in update_moved_ino() 1757 memcpy(buf, dibh->b_data + sizeof(struct gfs2_dinode), size); in gfs2_follow_link()
|
D | glops.c | 403 error = gfs2_dinode_in(ip, dibh->b_data); in gfs2_inode_refresh()
|
D | quota.c | 400 (bh->b_data + sizeof(struct gfs2_meta_header) + in bh_get() 1347 qc = (const struct gfs2_quota_change *)(bh->b_data + sizeof(struct gfs2_meta_header)); in gfs2_quota_init()
|
D | file.c | 275 gfs2_dinode_out(ip, bh->b_data); in do_gfs2_set_flags()
|
/linux-4.4.14/fs/omfs/ |
D | dir.c | 50 oi = (struct omfs_inode *) bh->b_data; in omfs_scan_list() 78 block = be64_to_cpu(*((__be64 *) &bh->b_data[ofs])); in omfs_find_entry() 94 memset(bh->b_data, 0, sizeof(struct omfs_inode)); in omfs_make_empty() 97 memset(&bh->b_data[OMFS_DIR_START], 0xff, in omfs_make_empty() 102 oi = (struct omfs_inode *) bh->b_data; in omfs_make_empty() 127 entry = (__be64 *) &bh->b_data[ofs]; in omfs_add_link() 138 oi = (struct omfs_inode *) bh->b_data; in omfs_add_link() 174 entry = (__be64 *) &bh->b_data[ofs]; in omfs_delete_entry() 183 oi = (struct omfs_inode *) bh2->b_data; in omfs_delete_entry() 194 oi = (struct omfs_inode *) bh->b_data; in omfs_delete_entry() [all …]
|
D | file.c | 22 struct omfs_extent *oe = (struct omfs_extent *) &bh->b_data[offset]; in omfs_make_empty_table() 56 oe = (struct omfs_extent *)(&bh->b_data[OMFS_EXTENT_START]); in omfs_shrink_inode() 61 if (omfs_is_bad(sbi, (struct omfs_header *) bh->b_data, next)) in omfs_shrink_inode() 82 omfs_make_empty_table(bh, (char *) oe - bh->b_data); in omfs_shrink_inode() 95 oe = (struct omfs_extent *) (&bh->b_data[OMFS_EXTENT_CONT]); in omfs_shrink_inode() 237 oe = (struct omfs_extent *)(&bh->b_data[OMFS_EXTENT_START]); in omfs_get_block() 243 if (omfs_is_bad(sbi, (struct omfs_header *) bh->b_data, next)) in omfs_get_block() 269 oe = (struct omfs_extent *) (&bh->b_data[OMFS_EXTENT_CONT]); in omfs_get_block()
|
D | inode.c | 115 oi = (struct omfs_inode *) bh->b_data; in __omfs_write_inode() 154 memcpy(bh2->b_data, bh->b_data, bh->b_size); in __omfs_write_inode() 219 oi = (struct omfs_inode *)bh->b_data; in omfs_iget() 341 memcpy(*ptr, bh->b_data, sb->s_blocksize); in omfs_get_imap() 459 omfs_sb = (struct omfs_super_block *)bh->b_data; in omfs_fill_super() 512 omfs_rb = (struct omfs_root_block *)bh2->b_data; in omfs_fill_super()
|
D | bitmap.c | 74 set_bit(bit, (unsigned long *)bh->b_data); in set_run() 77 clear_bit(bit, (unsigned long *)bh->b_data); in set_run() 112 set_bit(bit, (unsigned long *)bh->b_data); in omfs_allocate_block()
|
/linux-4.4.14/fs/minix/ |
D | bitmap.c | 33 __u16 *p = (__u16 *)(*map++)->b_data; in count_free() 62 if (!minix_test_and_clear_bit(bit, bh->b_data)) in minix_free_block() 81 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_block() 83 minix_set_bit(j, bh->b_data); in minix_new_block() 125 p = (void *)(*bh)->b_data; in minix_V1_raw_inode() 151 p = (void *)(*bh)->b_data; in minix_V2_raw_inode() 206 if (!minix_test_and_clear_bit(bit, bh->b_data)) in minix_free_inode() 232 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_inode() 241 if (minix_test_and_set_bit(j, bh->b_data)) { /* shouldn't happen */ in minix_new_inode()
|
D | itree_common.c | 26 return (block_t *)((char*)bh->b_data + bh->b_size); in block_end() 51 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch() 88 memset(bh->b_data, 0, bh->b_size); in alloc_branch() 90 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch() 237 for (p=partial;p>chain && all_zeroes((block_t*)p->bh->b_data,p->p);p--) in find_shared() 283 free_branches(inode, (block_t*)bh->b_data, in free_branches()
|
D | inode.c | 183 ms = (struct minix_super_block *) bh->b_data; in minix_fill_super() 217 } else if ( *(__u16 *)(bh->b_data + 24) == MINIX3_SUPER_MAGIC) { in minix_fill_super() 218 m3s = (struct minix3_super_block *) bh->b_data; in minix_fill_super() 260 minix_set_bit(0,sbi->s_imap[0]->b_data); in minix_fill_super() 261 minix_set_bit(0,sbi->s_zmap[0]->b_data); in minix_fill_super()
|
/linux-4.4.14/fs/adfs/ |
D | dir_f.c | 64 *(u8 *)(bh[_buf]->b_data + _off); \ 70 *(__le32 *)(bh[_buf]->b_data + _off); \ 76 (u8 *)(_bh[_buf]->b_data + _off); \ 272 memcpy(&de, dir->bh[buffer]->b_data + offset, thissize); in __adfs_dir_get() 274 memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data, in __adfs_dir_get() 305 memcpy(&de, dir->bh[buffer]->b_data + offset, thissize); in __adfs_dir_put() 307 memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data, in __adfs_dir_put() 318 memcpy(dir->bh[buffer]->b_data + offset, &de, thissize); in __adfs_dir_put() 320 memcpy(dir->bh[buffer + 1]->b_data, ((char *)&de) + thissize, in __adfs_dir_put() 408 dir->bh[0]->b_data[0] += 1; in adfs_f_update() [all …]
|
D | dir_fplus.c | 40 h = (struct adfs_bigdirheader *)dir->bh_fplus[0]->b_data; in adfs_fplus_read() 92 (dir->bh_fplus[size - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read() 126 (struct adfs_bigdirheader *) dir->bh_fplus[0]->b_data; in adfs_fplus_setpos() 149 memcpy(to, dir->bh_fplus[buffer]->b_data + offset, len); in dir_memcpy() 156 dir->bh_fplus[buffer]->b_data + offset, in dir_memcpy() 160 dir->bh_fplus[buffer + 1]->b_data, in dir_memcpy() 169 (struct adfs_bigdirheader *) dir->bh_fplus[0]->b_data; in adfs_fplus_getnext()
|
D | super.c | 105 map = dm[i].dm_bh->b_data; in adfs_checkmap() 370 unsigned char *b_data; in adfs_fill_super() local 399 b_data = bh->b_data + (ADFS_DISCRECORD % BLOCK_SIZE); in adfs_fill_super() 401 if (adfs_checkbblk(b_data)) { in adfs_fill_super() 409 dr = (struct adfs_discrecord *)(b_data + ADFS_DR_OFFSET); in adfs_fill_super() 431 b_data = bh->b_data + (ADFS_DISCRECORD % sb->s_blocksize); in adfs_fill_super() 432 if (adfs_checkbblk(b_data)) { in adfs_fill_super() 437 dr = (struct adfs_discrecord *)(b_data + ADFS_DR_OFFSET); in adfs_fill_super() 471 dr = (struct adfs_discrecord *)(asb->s_map[0].dm_bh->b_data + 4); in adfs_fill_super()
|
D | map.c | 76 unsigned char *map = dm->dm_bh->b_data + 4; in lookup_zone() 137 unsigned char *map = dm->dm_bh->b_data; in scan_free_map()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_olt.c | 86 if (!bp || !bp->b_data) in vxfs_read_olt() 89 op = (struct vxfs_olt *)bp->b_data; in vxfs_read_olt() 105 oaddr = bp->b_data + op->olt_size; in vxfs_read_olt() 106 eaddr = bp->b_data + (infp->vsi_oltsize * sbp->s_blocksize); in vxfs_read_olt()
|
D | vxfs_bmap.c | 94 indir = (u32 *)buf->b_data; in vxfs_bmap_ext4() 143 typ = ((struct vxfs_typed *)bp->b_data) + in vxfs_bmap_indir()
|
D | vxfs_fshead.c | 86 memcpy(fhp, bp->b_data, sizeof(*fhp)); in vxfs_getfsh()
|
D | vxfs_super.c | 180 rsbp = (struct vxfs_sb *)bp->b_data; in vxfs_fill_super()
|
D | vxfs_inode.c | 104 dip = (struct vxfs_dinode *)(bp->b_data + offset); in vxfs_blkiget()
|
/linux-4.4.14/fs/sysv/ |
D | super.c | 55 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix() 58 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix() 59 sbd2 = (struct xenix_super_block *) (bh2->b_data - 512); in detected_xenix() 85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4() 87 sbd = (struct sysv4_super_block *) bh2->b_data; in detected_sysv4() 113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2() 115 sbd = (struct sysv2_super_block *) bh2->b_data; in detected_sysv2() 139 sbd = (struct coh_super_block *) bh1->b_data; in detected_coherent() 160 struct v7_super_block *sbd = (struct v7_super_block *)bh2->b_data; in detected_v7() 180 struct xenix_super_block *sbd = (struct xenix_super_block *)bh->b_data; in detect_xenix() [all …]
|
D | balloc.c | 32 char *bh_data = bh->b_data; in get_chunk() 83 memset(bh->b_data, 0, sb->s_blocksize); in sysv_free_block() 84 *(__fs16*)bh->b_data = cpu_to_fs16(sbi, count); in sysv_free_block() 136 count = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_new_block() 206 n = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_count_free_blocks()
|
D | itree.c | 81 return (sysv_zone_t*)((char*)bh->b_data + bh->b_size); in block_end() 108 add_chain(++p, bh, (sysv_zone_t*)bh->b_data + *++offsets); in get_branch() 148 memset(bh->b_data, 0, blocksize); in alloc_branch() 150 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; in alloc_branch() 301 for (p=partial; p>chain && all_zeroes((sysv_zone_t*)p->bh->b_data,p->p); p--) in find_shared() 353 free_branches(inode, (sysv_zone_t*)bh->b_data, in free_branches()
|
D | ialloc.c | 66 res = (struct sysv_inode *)(*bh)->b_data; in sysv_raw_inode()
|
/linux-4.4.14/fs/ext4/ |
D | bitmap.c | 30 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_verify() 50 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_set() 69 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_verify() 93 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_set()
|
D | mmp.c | 43 struct mmp_struct *mmp = (struct mmp_struct *)(bh->b_data); in write_mmp_block() 100 mmp = (struct mmp_struct *)((*bh)->b_data); in read_mmp_block() 147 mmp = (struct mmp_struct *)(bh->b_data); in kmmpd() 219 mmp_check = (struct mmp_struct *)(bh_check->b_data); in kmmpd() 297 mmp = (struct mmp_struct *)(bh->b_data); in ext4_multi_mount_protect() 334 mmp = (struct mmp_struct *)(bh->b_data); in ext4_multi_mount_protect() 363 mmp = (struct mmp_struct *)(bh->b_data); in ext4_multi_mount_protect()
|
D | balloc.c | 208 memset(bh->b_data, 0, sb->s_blocksize); in ext4_init_block_bitmap() 212 ext4_set_bit(bit, bh->b_data); in ext4_init_block_bitmap() 222 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 226 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 232 ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); in ext4_init_block_bitmap() 241 sb->s_blocksize * 8, bh->b_data); in ext4_init_block_bitmap() 303 (__u8 *)sbi->s_group_desc[group_desc]->b_data + in ext4_get_group_desc() 339 if (!ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap() 346 if (!ext4_test_bit(EXT4_B2C(sbi, offset), bh->b_data)) in ext4_valid_block_bitmap() 353 next_zero_bit = ext4_find_next_zero_bit(bh->b_data, in ext4_valid_block_bitmap() [all …]
|
D | resize.c | 368 memset(bh->b_data, 0, sb->s_blocksize); in bclean() 448 ext4_set_bits(bh->b_data, block - start, count2); in set_flexbg_block_bitmap() 541 memcpy(gdb->b_data, sbi->s_group_desc[j]->b_data, in setup_new_flex_group_blocks() 597 ext4_set_bits(bh->b_data, 0, overhead); in setup_new_flex_group_blocks() 600 sb->s_blocksize * 8, bh->b_data); in setup_new_flex_group_blocks() 624 sb->s_blocksize * 8, bh->b_data); in setup_new_flex_group_blocks() 718 __le32 *p = (__le32 *)primary->b_data; in verify_reserved_gdb() 789 data = (__le32 *)dind->b_data; in add_new_gdb() 844 memset(gdb_bh->b_data, 0, sb->s_blocksize); in add_new_gdb() 958 data = (__le32 *)dind->b_data + (EXT4_SB(sb)->s_gdb_count % in reserve_backup_gdb() [all …]
|
D | indirect.c | 176 add_chain(++p, bh, (__le32 *)bh->b_data + *++offsets); in ext4_get_branch() 212 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; in ext4_find_near() 361 memset(bh->b_data, 0, bh->b_size); in ext4_alloc_branch() 362 p = branch[i].p = (__le32 *) bh->b_data + offsets[i]; in ext4_alloc_branch() 896 for (p = partial; (p > chain) && all_zeroes((__le32 *) p->bh->b_data, p->p); p--) in ext4_find_shared() 1137 (__le32 *) bh->b_data, in ext4_free_branches() 1138 (__le32 *) bh->b_data + addr_per_block, in ext4_free_branches() 1275 (__le32*)partial->bh->b_data+addr_per_block, in ext4_ind_truncate() 1390 (__le32 *)partial->bh->b_data+addr_per_block, in ext4_ind_remove_space() 1425 (__le32 *)partial2->bh->b_data, in ext4_ind_remove_space() [all …]
|
D | namei.c | 114 dirent = (struct ext4_dir_entry *) bh->b_data; in __ext4_read_dirblock() 385 ext4_dirent_csum_set(inode, (struct ext4_dir_entry *)bh->b_data); in ext4_handle_dirty_dirent_node() 496 ext4_dx_csum_set(inode, (struct ext4_dir_entry *)bh->b_data); in ext4_handle_dirty_dx_node() 704 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries() 706 bh->b_data, blocksize, 0); in dx_show_entries() 744 root = (struct dx_root *) frame->bh->b_data; in dx_probe() 836 entries = ((struct dx_node *) frame->bh->b_data)->entries; in dx_probe() 862 if (((struct dx_root *)frames[0].bh->b_data)->info.indirect_levels) in dx_release() 936 p->at = p->entries = ((struct dx_node *) bh->b_data)->entries; in ext4_htree_next_block() 963 de = (struct ext4_dir_entry_2 *) bh->b_data; in htree_dirblock_to_tree() [all …]
|
D | migrate.c | 130 i_data = (__le32 *)bh->b_data; in update_ind_extent_range() 159 i_data = (__le32 *)bh->b_data; in update_dind_extent_range() 189 i_data = (__le32 *)bh->b_data; in update_tind_extent_range() 238 tmp_idata = (__le32 *)bh->b_data; in free_dind_blocks() 268 tmp_idata = (__le32 *)bh->b_data; in free_tind_blocks() 396 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx()
|
D | ialloc.c | 94 memset(bh->b_data, 0, (EXT4_INODES_PER_GROUP(sb) + 7) / 8); in ext4_init_inode_bitmap() 96 bh->b_data); in ext4_init_inode_bitmap() 336 cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); in ext4_free_inode() 719 raw_inode = (struct ext4_inode *) (bh->b_data + offset); in recently_deleted() 871 inode_bitmap_bh->b_data, in __ext4_new_inode() 903 ret2 = ext4_test_and_set_bit(ino, inode_bitmap_bh->b_data); in __ext4_new_inode() 1166 if (!ext4_test_bit(bit, bitmap_bh->b_data)) in ext4_orphan_get() 1197 ext4_test_bit(bit, bitmap_bh->b_data)); in ext4_orphan_get() 1240 x = ext4_count_free(bitmap_bh->b_data, in ext4_count_free_inodes()
|
D | dir.c | 182 (struct ext4_dir_entry *)bh->b_data)) { in ext4_readdir() 200 (bh->b_data + i); in ext4_readdir() 221 de = (struct ext4_dir_entry_2 *) (bh->b_data + offset); in ext4_readdir() 223 bh->b_data, bh->b_size, in ext4_readdir()
|
D | xattr.c | 228 error = ext4_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size, in ext4_xattr_check_block() 229 bh->b_data); in ext4_xattr_check_block() 315 memcpy(buffer, bh->b_data + le16_to_cpu(entry->e_value_offs), in ext4_xattr_block_get() 759 bs->s.end = bs->bh->b_data + bs->bh->b_size; in ext4_xattr_block_find() 823 int offset = (char *)s->here - bs->bh->b_data; in ext4_xattr_block_set() 896 } else if (bs->bh && s->base == bs->bh->b_data) { in ext4_xattr_block_set() 938 memcpy(new_bh->b_data, s->base, new_bh->b_size); in ext4_xattr_block_set() 961 if (!(bs->bh && s->base == bs->bh->b_data)) in ext4_xattr_block_set() 1321 end = bh->b_data + bh->b_size; in ext4_expand_extra_isize_ea()
|
D | xattr.h | 71 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data))
|
D | ext4_extents.h | 183 return (struct ext4_extent_header *) bh->b_data; in ext_block_hdr()
|
D | inline.c | 1119 void *target = dir_block->b_data; in ext4_finish_convert_inline_dir() 1140 ext4_update_final_de(dir_block->b_data, in ext4_finish_convert_inline_dir() 1145 t = EXT4_DIRENT_TAIL(dir_block->b_data, in ext4_finish_convert_inline_dir() 1219 memset(data_bh->b_data, 0, inode->i_sb->s_blocksize); in ext4_convert_inline_data_nolock() 1222 memcpy(data_bh->b_data, buf, inline_size); in ext4_convert_inline_data_nolock() 1845 physical += (char *)ext4_raw_inode(&iloc) - iloc.bh->b_data; in ext4_inline_data_fiemap()
|
D | mballoc.c | 919 bitmap = bh[group - first_group]->b_data; in ext4_mb_init_cache() 2460 memcpy(meta_group_info[i]->bb_bitmap, bh->b_data, in ext4_mb_add_groupinfo() 2939 ext4_set_bits(bitmap_bh->b_data, ac->ac_b_ex.fe_start, in ext4_mb_mark_diskspace_used() 2954 bitmap_bh->b_data)); in ext4_mb_mark_diskspace_used() 2958 ext4_set_bits(bitmap_bh->b_data, ac->ac_b_ex.fe_start, in ext4_mb_mark_diskspace_used() 3771 bit = mb_find_next_zero_bit(bitmap_bh->b_data, end, bit); in ext4_mb_release_inode_pa() 3774 next = mb_find_next_bit(bitmap_bh->b_data, end, bit); in ext4_mb_release_inode_pa() 4817 BUG_ON(!mb_test_bit(bit + i, bitmap_bh->b_data)); in ext4_free_blocks() 4843 mb_clear_bits(bitmap_bh->b_data, bit, count_clusters); in ext4_free_blocks() 4861 mb_clear_bits(bitmap_bh->b_data, bit, count_clusters); in ext4_free_blocks() [all …]
|
D | super.c | 3174 es = (struct ext4_super_block *) (bh->b_data + offset); in ext4_fill_super() 3411 es = (struct ext4_super_block *)(bh->b_data + offset); in ext4_fill_super() 4129 es = (struct ext4_super_block *) (bh->b_data + offset); in ext4_get_dev_journal() 5114 memcpy(data, bh->b_data+offset, tocopy); in ext4_quota_read() 5170 memcpy(bh->b_data+offset, data, len); in ext4_quota_write()
|
D | inode.c | 796 memset(bh->b_data, 0, inode->i_sb->s_blocksize); in ext4_getblk() 3992 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc() 3998 memset(bh->b_data, 0, bh->b_size); in __ext4_get_inode_loc() 4597 bh->b_data); in ext4_do_update_inode()
|
D | ext4.h | 2056 return (struct ext4_inode *) (iloc->bh->b_data + iloc->offset); in ext4_raw_inode() 2973 (__le32 *)(bh)->b_data, \
|
D | extents.c | 1299 memmove(bh->b_data, EXT4_I(inode)->i_data, in ext4_ext_grow_indepth()
|
/linux-4.4.14/fs/reiserfs/ |
D | lbalance.c | 45 source->b_data + ih_location(ih) + in leaf_copy_dir_entries() 379 memmove(dest->b_data + last_loc, in leaf_copy_items_entirely() 380 dest->b_data + last_loc + j - last_inserted_loc, in leaf_copy_items_entirely() 384 memcpy(dest->b_data + last_inserted_loc, in leaf_copy_items_entirely() 933 memmove(bh->b_data + last_loc - ih_item_len(inserted_item_ih), in leaf_insert_into_buf() 934 bh->b_data + last_loc, unmoved_loc - last_loc); in leaf_insert_into_buf() 936 to = bh->b_data + unmoved_loc - ih_item_len(inserted_item_ih); in leaf_insert_into_buf() 1017 memmove(bh->b_data + last_loc - paste_size, bh->b_data + last_loc, in leaf_paste_in_buffer() 1030 memmove(bh->b_data + ih_location(ih) + in leaf_paste_in_buffer() 1032 bh->b_data + ih_location(ih), in leaf_paste_in_buffer() [all …]
|
D | resize.c | 154 memset(bh->b_data, 0, sb_blocksize(sb)); in reiserfs_resize() 155 reiserfs_set_le_bit(0, bh->b_data); in reiserfs_resize() 193 reiserfs_clear_le_bit(i, bh->b_data); in reiserfs_resize() 211 reiserfs_set_le_bit(i, bh->b_data); in reiserfs_resize()
|
D | bitmap.c | 177 ((unsigned long *)(bh->b_data), boundary, *beg); in scan_bitmap_block() 193 || reiserfs_test_le_bit(end, bh->b_data)) { in scan_bitmap_block() 223 (i, bh->b_data)) { in scan_bitmap_block() 246 (i, bh->b_data); in scan_bitmap_block() 447 if (!reiserfs_test_and_clear_le_bit(offset, bmbh->b_data)) { in _reiserfs_free_block() 1389 unsigned long *cur = (unsigned long *)(bh->b_data + bh->b_size); in reiserfs_cache_bitmap_metadata() 1392 if (!reiserfs_test_le_bit(0, (unsigned long *)bh->b_data)) in reiserfs_cache_bitmap_metadata() 1398 while (--cur >= (unsigned long *)bh->b_data) { in reiserfs_cache_bitmap_metadata()
|
D | journal.c | 1265 b_data); in _update_journal_header_block() 2025 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_transaction_is_valid() 2068 commit = (struct reiserfs_journal_commit *)c_bh->b_data; in journal_transaction_is_valid() 2138 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_read_transaction() 2167 commit = (struct reiserfs_journal_commit *)c_bh->b_data; in journal_read_transaction() 2266 memcpy(real_blocks[i]->b_data, log_blocks[i]->b_data, in journal_read_transaction() 2408 jh = (struct reiserfs_journal_header *)(journal->j_header_bh->b_data); in journal_read() 2464 desc = (struct reiserfs_journal_desc *)d_bh->b_data; in journal_read() 2790 jh = (struct reiserfs_journal_header *)(bhjh->b_data); in journal_init() 4078 desc = (struct reiserfs_journal_desc *)(d_bh)->b_data; in do_journal_end() [all …]
|
D | objectid.c | 190 (struct reiserfs_super_block_v1 *)(SB_BUFFER_WITH_SB(s)->b_data); in reiserfs_convert_objectid_map_v1()
|
D | prints.c | 530 (struct reiserfs_super_block *)(bh->b_data); in print_super_block() 585 desc = (struct reiserfs_journal_desc *)(bh->b_data); in print_desc_block()
|
D | dir.c | 153 d_name + d_reclen > bh->b_data + bh->b_size) { in reiserfs_readdir_inode()
|
D | reiserfs.h | 1682 #define B_BLK_HEAD(bh) ((struct block_head *)((bh)->b_data)) 2049 ((bh)->b_data + BLKH_SIZE + B_NR_ITEMS(bh) * KEY_SIZE + DC_SIZE * (n_pos))) 2184 return bh->b_data + sizeof(struct block_head); in reiserfs_node_data() 2215 return bh->b_data + ih_location(ih); in ih_item_body() 2676 #define B_I_STAT_DATA(bh, ih) ( (struct stat_data * )((bh)->b_data + ih_location(ih)) ) 2700 #define get_journal_desc_magic(bh) (bh->b_data + bh->b_size - 12)
|
D | super.c | 1572 rs = (struct reiserfs_super_block *)bh->b_data; in read_super_block() 1593 rs = (struct reiserfs_super_block *)bh->b_data; in read_super_block() 2438 memcpy(data, bh->b_data + offset, tocopy); in reiserfs_quota_read() 2486 memcpy(bh->b_data + offset, data, tocopy); in reiserfs_quota_write()
|
D | stree.c | 511 return is_leaf(bh->b_data, bh->b_size, bh); in is_tree_node() 513 return is_internal(bh->b_data, bh->b_size, bh); in is_tree_node()
|
/linux-4.4.14/fs/squashfs/ |
D | block.c | 56 *length = (unsigned char) bh->b_data[*offset]; in get_block_length() 61 *length |= (unsigned char) bh->b_data[0] << 8; in get_block_length() 64 *length = (unsigned char) bh->b_data[*offset] | in get_block_length() 65 (unsigned char) bh->b_data[*offset + 1] << 8; in get_block_length() 190 memcpy(data + pg_offset, bh[k]->b_data + offset, in squashfs_read_data()
|
D | zlib_wrapper.c | 80 stream->next_in = bh[k]->b_data + offset; in zlib_uncompress()
|
D | lzo_wrapper.c | 89 memcpy(buff, bh[i]->b_data + offset, avail); in lzo_uncompress()
|
D | lz4_wrapper.c | 104 memcpy(buff, bh[i]->b_data + offset, avail); in lz4_uncompress()
|
D | xz_wrapper.c | 151 stream->buf.in = bh[k]->b_data + offset; in squashfs_xz_uncompress()
|
/linux-4.4.14/fs/ocfs2/ |
D | dir.c | 119 #define ocfs2_trailer_from_bh(_bh, _sb) ((struct ocfs2_dir_block_trailer *) ((_bh)->b_data + ocfs2_… 185 dx_root = (struct ocfs2_dx_root_block *)dx_root_bh->b_data; in ocfs2_dx_dir_link_trailer() 331 ((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize)) in ocfs2_check_dir_entry() 424 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id() 462 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &trailer->db_check); in ocfs2_validate_dir_block() 589 dx_root = (struct ocfs2_dx_root_block *) bh->b_data; in ocfs2_validate_dx_root() 591 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_root->dr_check); in ocfs2_validate_dx_root() 630 struct ocfs2_dx_leaf *dx_leaf = (struct ocfs2_dx_leaf *)bh->b_data; in ocfs2_validate_dx_leaf() 634 ret = ocfs2_validate_meta_ecc(sb, bh->b_data, &dx_leaf->dl_check); in ocfs2_validate_dx_leaf() 746 bh->b_data, sb->s_blocksize, in ocfs2_find_entry_el() [all …]
|
D | resize.c | 102 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; in ocfs2_update_last_group_and_inode() 121 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_update_last_group_and_inode() 208 memcpy(backup->b_data, data, inode->i_sb->s_blocksize); in update_backups() 210 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups() 245 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups() 256 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups() 312 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend() 337 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_group_extend() 392 (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_check_new_group() 497 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_add() [all …]
|
D | quota_local.c | 182 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file() 214 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file() 285 ldinfo = (struct ocfs2_local_disk_dqinfo *)(bh->b_data + in olq_update_info() 358 dchunk = (struct ocfs2_local_disk_chunk *)hbh->b_data; in ocfs2_recovery_load_quota() 434 ldinfo = (struct ocfs2_local_disk_dqinfo *)(bh->b_data + in ocfs2_begin_quota_recovery() 486 dchunk = (struct ocfs2_local_disk_chunk *)hbh->b_data; in ocfs2_recover_local_quota_file() 496 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data + in ocfs2_recover_local_quota_file() 633 ldinfo = (struct ocfs2_local_disk_dqinfo *)(bh->b_data + in ocfs2_finish_quota_recovery() 731 ldinfo = (struct ocfs2_local_disk_dqinfo *)(bh->b_data + in ocfs2_local_read_info() 826 (chunk->qc_headerbh->b_data); in ocfs2_local_free_info() [all …]
|
D | suballoc.c | 179 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_validate_gd_self() 222 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_validate_gd_parent() 262 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_check_group_descriptor() 271 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &gd->bg_check); in ocfs2_check_group_descriptor() 288 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_validate_group_descriptor() 300 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &gd->bg_check); in ocfs2_validate_group_descriptor() 368 struct ocfs2_group_desc *bg = (struct ocfs2_group_desc *) bg_bh->b_data; in ocfs2_block_group_fill() 509 (struct ocfs2_group_desc *)bg_bh->b_data; in ocfs2_block_group_grow_discontig() 574 bg = (struct ocfs2_group_desc *)bg_bh->b_data; in ocfs2_bg_alloc_cleanup() 677 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_block_group_alloc() [all …]
|
D | blockcheck.c | 497 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs() 503 ecc = (u16)ocfs2_hamming_encode(ecc, bhs[i]->b_data, in ocfs2_block_check_compute_bhs() 550 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs() 566 ecc = (u16)ocfs2_hamming_encode(ecc, bhs[i]->b_data, in ocfs2_block_check_validate_bhs() 576 ocfs2_hamming_fix(bhs[i]->b_data, bhs[i]->b_size * 8, in ocfs2_block_check_validate_bhs() 582 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
|
D | refcounttree.c | 85 (struct ocfs2_refcount_block *)bh->b_data; in ocfs2_validate_refcount_block() 96 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &rb->rf_check); in ocfs2_validate_refcount_block() 371 ref_rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data; in ocfs2_get_refcount_tree() 415 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block() 485 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data; in ocfs2_lock_refcount_tree() 563 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree() 629 rb = (struct ocfs2_refcount_block *)new_bh->b_data; in ocfs2_create_refcount_tree() 704 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree() 741 rb = (struct ocfs2_refcount_block *)ref_root_bh->b_data; in ocfs2_set_refcount_tree() 766 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree() [all …]
|
D | xattr.c | 327 #define bucket_block(_b, _n) ((_b)->bu_bhs[(_n)]->b_data) 482 (struct ocfs2_xattr_block *)bh->b_data; in ocfs2_validate_xattr_block() 493 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &xb->xb_check); in ocfs2_validate_xattr_block() 996 xb = (struct ocfs2_xattr_block *)blk_bh->b_data; in ocfs2_xattr_block_list() 1031 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_listxattr() 1122 memcpy(buffer, bh->b_data, cplen); in ocfs2_xattr_get_value_outside() 1145 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; in ocfs2_xattr_ibody_get() 1218 xb = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_get() 1288 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_xattr_get_nolock() 1379 memcpy(bh->b_data, value, cp_len); in __ocfs2_xattr_set_value_outside() [all …]
|
D | localalloc.c | 321 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc() 435 alloc = (struct ocfs2_dinode *) bh->b_data; in ocfs2_shutdown_local_alloc() 525 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery() 527 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_begin_local_alloc_recovery() 530 ocfs2_compute_meta_ecc(osb->sb, alloc_bh->b_data, &alloc->i_check); in ocfs2_begin_local_alloc_recovery() 663 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; in ocfs2_reserve_local_alloc_bits() 743 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; in ocfs2_claim_local_alloc_bits() 799 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; in ocfs2_free_local_alloc_bits() 1170 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; in ocfs2_local_alloc_new_window() 1281 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; in ocfs2_local_alloc_slide_window()
|
D | namei.c | 289 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_mknod() 547 fe = (struct ocfs2_dinode *) (*new_fe_bh)->b_data; in __ocfs2_mknod_locked() 776 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_link() 988 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_unlink() 1450 newfe = (struct ocfs2_dinode *) newfe_bh->b_data; in ocfs2_rename() 1547 old_di = (struct ocfs2_dinode *) old_inode_bh->b_data; in ocfs2_rename() 1634 fe = (struct ocfs2_dinode *) old_dir_bh->b_data; in ocfs2_rename() 1762 memset(bhs[virtual]->b_data, 0, sb->s_blocksize); in ocfs2_create_symlink_data() 1764 memcpy(bhs[virtual]->b_data, c, in ocfs2_create_symlink_data() 1841 dirfe = (struct ocfs2_dinode *) parent_fe_bh->b_data; in ocfs2_symlink() [all …]
|
D | slot_map.c | 89 se = (struct ocfs2_slot_map_extended *)si->si_bh[b]->b_data; in ocfs2_update_slot_info_extended() 112 sm = (struct ocfs2_slot_map *)si->si_bh[0]->b_data; in ocfs2_update_slot_info_old() 175 se = (struct ocfs2_slot_map_extended *)si->si_bh[blkind]->b_data; in ocfs2_update_disk_slot_extended() 190 sm = (struct ocfs2_slot_map *)si->si_bh[0]->b_data; in ocfs2_update_disk_slot_old()
|
D | move_extents.c | 394 ac_dinode = (struct ocfs2_dinode *)ac_bh->b_data; in ocfs2_find_victim_alloc_group() 436 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group() 494 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_validate_and_adjust_move_goal() 529 struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_probe_alloc_group() 682 gd = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_move_extent() 769 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in __ocfs2_move_extents_range() 955 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_move_extents()
|
D | extent_map.c | 303 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_last_eb_is_empty() 370 eb = (struct ocfs2_extent_block *)eb_bh->b_data; in ocfs2_figure_hole_clusters() 387 next_eb = (struct ocfs2_extent_block *)next_eb_bh->b_data; in ocfs2_figure_hole_clusters() 427 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache() 439 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_get_clusters_nocache() 563 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_xattr_get_clusters() 726 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
|
D | alloc.c | 448 obj = (void *)bh->b_data; in __ocfs2_init_extent_tree() 673 struct ocfs2_extent_block *eb = (struct ocfs2_extent_block *)eb_bh->b_data; in ocfs2_path_insert_eb() 888 (struct ocfs2_extent_block *)bh->b_data; in ocfs2_validate_extent_block() 899 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &eb->h_check); in ocfs2_validate_extent_block() 976 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_num_free_extents() 1040 memset(bhs[i]->b_data, 0, osb->sb->s_blocksize); in ocfs2_create_new_meta_bhs() 1041 eb = (struct ocfs2_extent_block *) bhs[i]->b_data; in ocfs2_create_new_meta_bhs() 1173 eb = (struct ocfs2_extent_block *) eb_bh->b_data; in ocfs2_add_branch() 1183 eb = (struct ocfs2_extent_block *)(*last_eb_bh)->b_data; in ocfs2_add_branch() 1233 eb = (struct ocfs2_extent_block *) bh->b_data; in ocfs2_add_branch() [all …]
|
D | inode.c | 514 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_read_locked_inode() 561 fe = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_truncate_for_delete() 621 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_remove_inode() 732 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_wipe_inode() 891 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_query_inode_wipe() 1029 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_inode() 1266 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_mark_inode_dirty() 1339 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_validate_inode_block() 1350 rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &di->i_check); in ocfs2_validate_inode_block()
|
D | symlink.c | 72 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_fast_symlink_readpage()
|
D | buffer_head_io.c | 402 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_write_super_or_backup() 421 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &di->i_check); in ocfs2_write_super_or_backup()
|
D | journal.c | 871 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_init() 939 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_journal_toggle_dirty() 956 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &fe->i_check); in ocfs2_journal_toggle_dirty() 1578 fe = (struct ocfs2_dinode *)bh->b_data; in ocfs2_replay_journal() 1610 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_replay_journal() 1672 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &fe->i_check); in ocfs2_replay_journal() 1825 di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_mark_dead_nodes() 2219 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_recover_orphans() 2347 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_check_journals_nolocks()
|
D | quota_global.c | 135 ocfs2_block_dqtrailer(sb->s_blocksize, bh->b_data); in ocfs2_validate_quota_block() 146 return ocfs2_validate_meta_ecc(sb, bh->b_data, &dqt->dq_check); in ocfs2_validate_quota_block() 202 memcpy(data, bh->b_data + offset, tocopy); in ocfs2_quota_read() 272 memset(bh->b_data, 0, sb->s_blocksize); in ocfs2_quota_write() 273 memcpy(bh->b_data + offset, data, len); in ocfs2_quota_write()
|
D | aops.c | 84 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_symlink_get_block() 118 buffer_cache_bh->b_data, in ocfs2_symlink_get_block() 227 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_read_inline_data() 1874 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_inline() 1925 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_size_fits_inline_data() 1973 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_try_to_write_inline_data() 2145 di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_begin_nolock() 2375 struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; in ocfs2_write_end_nolock()
|
D | ioctl.c | 307 dinode_alloc = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_scan_inode_alloc() 479 bg = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_info_freefrag_scan_chain() 567 gb_dinode = (struct ocfs2_dinode *)bh->b_data; in ocfs2_info_freefrag_scan_bitmap()
|
D | file.c | 269 struct ocfs2_dinode *di = (struct ocfs2_dinode *) bh->b_data; in ocfs2_update_inode_atime() 434 di = (struct ocfs2_dinode *) fe_bh->b_data; in ocfs2_orphan_for_truncate() 458 fe = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_truncate_file() 592 fe = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_extend_allocation() 777 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_write_zero_page() 1364 di = (struct ocfs2_dinode *) bh->b_data; in __ocfs2_write_remove_suid() 1700 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_inode_range()
|
D | acl.c | 195 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_acl_set_mode()
|
D | super.c | 789 hdr = (struct ocfs1_vol_disk_hdr *) (*bh)->b_data; in ocfs2_sb_probe() 826 di = (struct ocfs2_dinode *) (*bh)->b_data; in ocfs2_sb_probe() 1704 bm_lock = (struct ocfs2_dinode *) bh->b_data; in ocfs2_statfs() 2056 struct ocfs2_dinode *di = (struct ocfs2_dinode *)bh->b_data; in ocfs2_initialize_super() 2372 status = ocfs2_block_check_validate(bh->b_data, in ocfs2_verify_volume()
|
D | dlmglue.c | 2256 fe = (struct ocfs2_dinode *) (*bh)->b_data; in ocfs2_inode_lock_update() 3867 (bh->b_data + OCFS2_GLOBAL_INFO_OFF); in ocfs2_refresh_qinfo()
|
/linux-4.4.14/fs/fat/ |
D | fatent.c | 46 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 47 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 50 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 51 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 58 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 64 fatent->u.ent32_p = (__le32 *)(fatent->bhs[0]->b_data + offset); in fat32_ent_set_ptr() 200 WARN_ON(ent12_p[0] > (u8 *)(bhs[0]->b_data + in fat12_ent_next() 202 WARN_ON(ent12_p[1] > (u8 *)(bhs[0]->b_data + in fat12_ent_next() 204 if (nextp < (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 1))) { in fat12_ent_next() 210 WARN_ON(ent12_p[0] != (u8 *)(bhs[0]->b_data + in fat12_ent_next() [all …]
|
D | dir.c | 44 | (de - (struct msdos_dir_entry *)bh->b_data); in fat_make_i_pos() 111 *de = (struct msdos_dir_entry *)((*bh)->b_data + offset); in fat__get_entry() 122 (*de - (struct msdos_dir_entry *)(*bh)->b_data) < in fat_get_entry() 1012 endp = (struct msdos_dir_entry *)(bh->b_data + sb->s_blocksize); in __fat_remove_entries() 1048 while (nr_slots && de >= (struct msdos_dir_entry *)bh->b_data) { in fat_remove_entries() 1100 memset(bhs[n]->b_data, 0, sb->s_blocksize); in fat_zeroed_cluster() 1157 de = (struct msdos_dir_entry *)bhs[0]->b_data; in fat_alloc_new_dir() 1237 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries() 1249 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy); in fat_add_new_entries() 1253 *de = (struct msdos_dir_entry *)((*bh)->b_data + offset); in fat_add_new_entries() [all …]
|
D | nfs.c | 87 de = (struct msdos_dir_entry *)bh->b_data; in __fat_nfs_get_inode() 239 de = (struct msdos_dir_entry *) parent_bh->b_data; in fat_rebuild_parent()
|
D | misc.c | 75 fsinfo = (struct fat_boot_fsinfo *)bh->b_data; in fat_clusters_flush()
|
D | inode.c | 597 b = (struct fat_boot_sector *) bh->b_data; in fat_set_state() 774 raw_entry = &((struct msdos_dir_entry *) (bh->b_data))[offset]; in __fat_write_inode() 1533 error = fat_read_bpb(sb, (struct fat_boot_sector *)bh->b_data, silent, in fat_fill_super() 1537 (struct fat_boot_sector *)bh->b_data, silent, &bpb); in fat_fill_super() 1609 fsinfo = (struct fat_boot_fsinfo *)fsinfo_bh->b_data; in fat_fill_super()
|
/linux-4.4.14/fs/romfs/ |
D | storage.c | 121 memcpy(buf, bh->b_data + offset, segment); in romfs_blk_read() 150 buf = bh->b_data + offset; in romfs_blk_strnlen() 182 matched = (memcmp(bh->b_data + offset, str, segment) == 0); in romfs_blk_strcmp() 188 if (!bh->b_data[offset + segment]) in romfs_blk_strcmp() 205 matched = !bh->b_data[0]; in romfs_blk_strcmp()
|
/linux-4.4.14/drivers/scsi/ |
D | st.c | 1120 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape() 1121 ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; in check_tape() 1122 STp->min_block = ((STp->buffer)->b_data[4] << 8) | in check_tape() 1123 (STp->buffer)->b_data[5]; in check_tape() 1154 (STp->buffer)->b_data[0], in check_tape() 1155 (STp->buffer)->b_data[1], in check_tape() 1156 (STp->buffer)->b_data[2], in check_tape() 1157 (STp->buffer)->b_data[3]); in check_tape() 1159 if ((STp->buffer)->b_data[3] >= 8) { in check_tape() 1160 STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; in check_tape() [all …]
|
D | osst.c | 478 bp = (STp->buffer)->b_data; in osst_do_scsi() 626 strcpy(STp->buffer->b_data, "READ ERROR ON FRAME"); in osst_verify_frame() 982 char * olddata = STp->buffer->b_data; in osst_recover_wait_frame() 1003 STp->buffer->b_data = mybuf; STp->buffer->buffer_size = 24; in osst_recover_wait_frame() 1010 retval = ( STp->buffer->syscall_result || (STp->buffer)->b_data[15] > 25 ); in osst_recover_wait_frame() 1011 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_recover_wait_frame() 2164 (STp->buffer)->b_data[0] = cmd[4] - 1; in osst_set_retries() 2165 (STp->buffer)->b_data[1] = 0; /* Medium Type - ignoring */ in osst_set_retries() 2166 (STp->buffer)->b_data[2] = 0; /* Reserved */ in osst_set_retries() 2167 (STp->buffer)->b_data[3] = 0; /* Block Descriptor Length */ in osst_set_retries() [all …]
|
D | st.h | 52 unsigned char *b_data; member
|
D | osst.h | 524 unsigned char *b_data; member
|
/linux-4.4.14/fs/efs/ |
D | symlink.c | 31 memcpy(link, bh->b_data, (size > EFS_BLOCKSIZE) ? EFS_BLOCKSIZE : size); in efs_symlink_readpage() 37 memcpy(link + EFS_BLOCKSIZE, bh->b_data, size - EFS_BLOCKSIZE); in efs_symlink_readpage()
|
D | dir.c | 52 dirblock = (struct efs_dir *) bh->b_data; in efs_readdir() 69 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot)); in efs_readdir()
|
D | namei.c | 39 dirblock = (struct efs_dir *) bh->b_data; in efs_find_entry() 48 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot)); in efs_find_entry()
|
D | super.c | 286 sb->fs_start = efs_validate_vh((struct volume_header *) bh->b_data); in efs_fill_super() 299 if (efs_validate_super(sb, (struct efs_super *) bh->b_data)) { in efs_fill_super()
|
D | inode.c | 96 efs_inode = (struct efs_dinode *) (bh->b_data + offset); in efs_iget() 289 exts = (efs_extent *) bh->b_data; in efs_map_block()
|
/linux-4.4.14/fs/ext2/ |
D | balloc.c | 67 desc = (struct ext2_group_desc *) sbi->s_group_desc[group_desc]->b_data; in ext2_get_group_desc() 88 if (!ext2_test_bit(offset, bh->b_data)) in ext2_valid_block_bitmap() 95 if (!ext2_test_bit(offset, bh->b_data)) in ext2_valid_block_bitmap() 102 next_zero_bit = ext2_find_next_zero_bit(bh->b_data, in ext2_valid_block_bitmap() 540 bit + i, bitmap_bh->b_data)) { in ext2_free_blocks() 584 next = ext2_find_next_zero_bit(bh->b_data, maxblocks, start); in bitmap_search_next_usable_block() 620 here = ext2_find_next_zero_bit(bh->b_data, end_goal, start); in find_next_usable_block() 630 p = ((char *)bh->b_data) + (here >> 3); in find_next_usable_block() 632 next = (r - ((char *)bh->b_data)) << 3; in find_next_usable_block() 709 bitmap_bh->b_data); in ext2_try_to_allocate() [all …]
|
D | xattr.c | 67 #define HDR(bh) ((struct ext2_xattr_header *)((bh)->b_data)) 178 end = bh->b_data + bh->b_size; in ext2_xattr_get() 221 memcpy(buffer, bh->b_data + le16_to_cpu(entry->e_value_offs), in ext2_xattr_get() 267 end = bh->b_data + bh->b_size; in ext2_xattr_list() 401 end = bh->b_data + bh->b_size; in ext2_xattr_set() 508 offset = (char *)here - bh->b_data; in ext2_xattr_set() 510 offset = (char *)last - bh->b_data; in ext2_xattr_set() 671 memcpy(new_bh->b_data, header, new_bh->b_size); in ext2_xattr_set2()
|
D | inode.c | 253 add_chain(++p, bh, (__le32*)bh->b_data + *++offsets); in ext2_get_branch() 294 __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; in ext2_find_near() 507 memset(bh->b_data, 0, blocksize); in ext2_alloc_branch() 508 branch[n].p = (__le32 *) bh->b_data + offsets[n]; in ext2_alloc_branch() 978 for (p=partial; p>chain && all_zeroes((__le32*)p->bh->b_data,p->p); p--) in ext2_find_shared() 1077 (__le32*)bh->b_data, in ext2_free_branches() 1078 (__le32*)bh->b_data + addr_per_block, in ext2_free_branches() 1137 (__le32*)partial->bh->b_data+addr_per_block, in __ext2_truncate_blocks() 1269 return (struct ext2_inode *) (bh->b_data + offset); in ext2_get_inode()
|
D | ialloc.c | 141 bit, (void *) bitmap_bh->b_data)) in ext2_free_inode() 477 ino = ext2_find_next_zero_bit((unsigned long *)bitmap_bh->b_data, in ext2_new_inode() 493 ino, bitmap_bh->b_data)) { in ext2_new_inode()
|
D | super.c | 848 es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); in ext2_fill_super() 952 es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); in ext2_fill_super() 1481 memcpy(data, bh->b_data+offset, tocopy); in ext2_quota_read() 1523 memcpy(bh->b_data+offset, data, tocopy); in ext2_quota_write()
|
/linux-4.4.14/fs/hfs/ |
D | part_tbl.c | 76 pm = (struct old_pmap *)bh->b_data; in hfs_part_find() 94 pm = (struct new_pmap *)bh->b_data; in hfs_part_find()
|
D | mdb.c | 186 memcpy(ptr, bh->b_data + off2, len); in hfs_mdb_get() 320 memcpy(bh->b_data + off, ptr, len); in hfs_mdb_commit()
|
D | hfs_fs.h | 284 data = (void *)(__bh->b_data + __offset);\
|
/linux-4.4.14/fs/ufs/ |
D | util.h | 301 return uspi->s_ubh.bh[index]->b_data + offset; in get_usb_offset() 315 ((struct ufs_cylinder_group *)((ubh)->bh[0]->b_data)) 323 ((u8*)(ubh)->bh[(begin) >> uspi->s_fshift]->b_data + \ 327 (((__fs16*)((ubh)->bh[(begin) >> (uspi->s_fshift-1)]->b_data)) + \ 331 (((__fs32*)((ubh)->bh[(begin) >> (uspi->s_fshift-2)]->b_data)) + \ 335 (((__fs64*)((ubh)->bh[(begin) >> (uspi->s_fshift-3)]->b_data)) + \ 411 pos = find_next_zero_bit_le(ubh->bh[base]->b_data, count, offset); in _ubh_find_next_zero_bit_() 460 pos = find_last_zero_bit (ubh->bh[base]->b_data, in _ubh_find_last_zero_bit_()
|
D | inode.c | 160 ptr = (__fs32 *)bh->b_data + (n & mask); in ufs_frag_map() 184 ptr = (__fs64 *)bh->b_data + (n & mask); in ufs_frag_map() 353 p = (__fs64 *)bh->b_data + index; in ufs_inode_getblock() 355 p = (__fs32 *)bh->b_data + index; in ufs_inode_getblock() 362 (tmp = fs64_to_cpu(sb, ((__fs64 *)bh->b_data)[index-1])) : in ufs_inode_getblock() 363 (tmp = fs32_to_cpu(sb, ((__fs32 *)bh->b_data)[index-1])))) in ufs_inode_getblock() 669 struct ufs2_inode *ufs2_inode = (struct ufs2_inode *)bh->b_data; in ufs_iget() 674 struct ufs_inode *ufs_inode = (struct ufs_inode *)bh->b_data; in ufs_iget() 804 struct ufs2_inode *ufs2_inode = (struct ufs2_inode *)bh->b_data; in ufs_update_inode() 809 struct ufs_inode *ufs_inode = (struct ufs_inode *) bh->b_data; in ufs_update_inode() [all …]
|
D | util.c | 157 memcpy (mem, ubh->bh[bhno]->b_data, len); in _ubh_ubhcpymem_() 173 memcpy (ubh->bh[bhno]->b_data, mem, len); in _ubh_memcpyubh_()
|
D | ialloc.c | 144 memset(bh->b_data, 0, sb->s_blocksize); in ufs2_init_inodes_chunk() 324 ufs2_inode = (struct ufs2_inode *)bh->b_data; in ufs_new_inode()
|
D | cylinder.c | 40 ucg = (struct ufs_cylinder_group *)sbi->s_ucg[cgno]->b_data; in ufs_read_cylinder()
|
D | balloc.c | 331 memset(bh->b_data, 0, inode->i_sb->s_blocksize); in ufs_clear_frags() 566 ucg = (struct ufs_cylinder_group *) UFS_SB(sb)->s_ucg[cgno]->b_data; \ 758 cp = ubh->bh[begin]->b_data + offset; in ubh_scanc()
|
D | super.c | 555 if (!ufs_cg_chkmagic (sb, (struct ufs_cylinder_group *) sbi->s_ucg[i]->b_data)) in ufs_read_cylinder_structures() 558 ufs_print_cylinder_stuff(sb, (struct ufs_cylinder_group *) sbi->s_ucg[i]->b_data); in ufs_read_cylinder_structures()
|
/linux-4.4.14/fs/nilfs2/ |
D | segbuf.c | 164 raw_sum = (struct nilfs_segment_summary *)bh_sum->b_data; in nilfs_segbuf_fill_in_segsum() 193 raw_sum = (struct nilfs_segment_summary *)bh->b_data; in nilfs_segbuf_fill_in_segsum_crc() 205 crc = crc32_le(crc, bh->b_data, size); in nilfs_segbuf_fill_in_segsum_crc() 220 raw_sum = (struct nilfs_segment_summary *)bh->b_data; in nilfs_segbuf_fill_in_data_crc() 227 crc = crc32_le(crc, bh->b_data, bh->b_size); in nilfs_segbuf_fill_in_data_crc() 246 raw_sr = (struct nilfs_super_root *)segbuf->sb_super_root->b_data; in nilfs_segbuf_fill_in_super_root_crc()
|
D | recovery.c | 117 (unsigned char *)bhs->b_data + offset, size); in nilfs_compute_checksum() 127 crc = crc32_le(crc, bh->b_data, size); in nilfs_compute_checksum() 157 sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_read_super_root_block() 200 *sum = (struct nilfs_segment_summary *)bh_sum->b_data; in nilfs_read_log_header() 271 ptr = (*pbh)->b_data + *offset; in nilfs_read_summary_info() 497 memcpy(kaddr + bh_offset(bh_org), bh_org->b_data, bh_org->b_size); in nilfs_recovery_copy_block() 715 memset(bh->b_data, 0, bh->b_size); in nilfs_finish_roll_forward()
|
D | btree.c | 408 ret = nilfs_btree_node_broken((struct nilfs_btree_node *)bh->b_data, in nilfs_btree_broken_node_block() 424 return (struct nilfs_btree_node *)path[level].bp_bh->b_data; in nilfs_btree_get_nonroot_node() 430 return (struct nilfs_btree_node *)path[level].bp_sib_bh->b_data; in nilfs_btree_get_sib_node() 1092 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert() 1110 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert() 1136 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_insert() 1161 nilfs_btree_node_init((struct nilfs_btree_node *)bh->b_data, in nilfs_btree_prepare_insert() 1462 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete() 1482 sib = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_prepare_delete() 1659 node = (struct nilfs_btree_node *)bh->b_data; in nilfs_btree_check_delete() [all …]
|
D | the_nilfs.c | 131 rawi = (void *)bh_sr->b_data + NILFS_SR_DAT_OFFSET(inode_size); in nilfs_load_super_root() 136 rawi = (void *)bh_sr->b_data + NILFS_SR_CPFILE_OFFSET(inode_size); in nilfs_load_super_root() 141 rawi = (void *)bh_sr->b_data + NILFS_SR_SUFILE_OFFSET(inode_size); in nilfs_load_super_root() 147 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_load_super_root()
|
D | btnode.c | 58 memset(bh->b_data, 0, 1 << inode->i_blkbits); in nilfs_btnode_create_block()
|
D | super.c | 393 nsbp = (void *)nsbh->b_data + offset; in nilfs_move_2nd_super() 871 return (struct nilfs_super_block *)((char *)(*pbh)->b_data + offset); in nilfs_read_super_block()
|
D | segment.c | 412 p = ssp->bh->b_data + ssp->offset; in nilfs_segctor_map_segsum_entry() 964 raw_sr = (struct nilfs_super_root *)bh_sr->b_data; in nilfs_segctor_fill_in_super_root()
|
/linux-4.4.14/fs/qnx4/ |
D | namei.c | 35 de = (struct qnx4_inode_entry *) (bh->b_data + *offset); in qnx4_match() 75 *res_dir = (struct qnx4_inode_entry *) (bh->b_data + offset); in qnx4_find_entry()
|
D | inode.c | 102 xblk = (struct qnx4_xblk*)bh->b_data; in qnx4_block_map() 167 rootdir = (struct qnx4_inode_entry *) bh->b_data; in qnx4_checkroot() 214 errmsg = qnx4_checkroot(s, (struct qnx4_super_block *) bh->b_data); in qnx4_fill_super() 293 raw_inode = ((struct qnx4_inode_entry *) bh->b_data) + in qnx4_iget()
|
D | bitmap.c | 37 memweight(bh->b_data, bytes); in qnx4_count_free_blocks()
|
D | dir.c | 41 de = (struct qnx4_inode_entry *) (bh->b_data + offset); in qnx4_readdir()
|
/linux-4.4.14/fs/befs/ |
D | datastream.c | 144 memcpy(buff + bytes_read, bh->b_data, plen); in befs_read_lsymlink() 336 array = (befs_disk_block_run *) indirblock->b_data; in befs_find_brun_indirect() 486 iaddr_array = (befs_disk_inode_addr *) dbl_indir_block->b_data; in befs_find_brun_dblindirect() 511 iaddr_array = (befs_disk_inode_addr *) indir_block->b_data; in befs_find_brun_dblindirect()
|
D | linuxvfs.c | 330 raw_inode = (befs_inode *) bh->b_data; in befs_iget() 802 disk_sb = (befs_super_block *) bh->b_data; in befs_fill_super() 809 (befs_super_block *) ((void *) bh->b_data + x86_sb_off); in befs_fill_super()
|
D | btree.c | 151 od_sup = (befs_disk_btree_super *) bh->b_data; in befs_bt_read_super() 215 (befs_btree_nodehead *) ((void *) node->bh->b_data + off); in befs_bt_read_node()
|
/linux-4.4.14/fs/isofs/ |
D | export.c | 84 de = (struct iso_directory_record*)bh->b_data; in isofs_export_get_parent() 88 de = (struct iso_directory_record*)(bh->b_data + parent_offset); in isofs_export_get_parent()
|
D | compress.c | 137 stream.next_in = bhs[curbh]->b_data + in zisofs_uncompress_block() 240 (bh->b_data + (blockptr & (blksize - 1)))); in zisofs_fill_pages() 254 (bh->b_data + (blockptr & (blksize - 1)))); in zisofs_fill_pages()
|
D | namei.c | 63 de = (struct iso_directory_record *) (bh->b_data + offset); in isofs_find_entry() 92 memcpy((void *) tmpde + slop, bh->b_data, offset); in isofs_find_entry()
|
D | dir.c | 109 de = (struct iso_directory_record *) (bh->b_data + offset); in do_isofs_readdir() 144 memcpy((void *) tmpde + slop, bh->b_data, offset); in do_isofs_readdir()
|
D | inode.c | 554 de = (struct iso_directory_record *) (bh->b_data + offset); in rootdir_empty() 623 vdp = (struct iso_volume_descriptor *)bh->b_data; in isofs_fill_super() 624 hdp = (struct hs_volume_descriptor *)bh->b_data; in isofs_fill_super() 1170 de = (struct iso_directory_record *) (bh->b_data + offset); in isofs_read_level3_size() 1202 memcpy((void *)tmpde+slop, bh->b_data, offset); in isofs_read_level3_size() 1264 de = (struct iso_directory_record *) (bh->b_data + offset); in isofs_read_inode() 1276 memcpy(tmpde, bh->b_data + offset, frag1); in isofs_read_inode() 1281 memcpy((char *)tmpde+frag1, bh->b_data, de_len - frag1); in isofs_read_inode()
|
D | rock.c | 116 memcpy(rs->buffer, bh->b_data + rs->cont_offset, in rock_continue() 719 pnt = (unsigned char *)bh->b_data + offset; in rock_ridge_symlink_readpage()
|
/linux-4.4.14/fs/jfs/ |
D | resize.c | 239 j_sb = (struct jfs_superblock *)bh->b_data; in jfs_extendfs() 491 j_sb = (struct jfs_superblock *)bh->b_data; in jfs_extendfs() 517 j_sb2 = (struct jfs_superblock *)bh2->b_data; in jfs_extendfs()
|
D | jfs_mount.c | 315 j_sb = (struct jfs_superblock *)bh->b_data; in chkSuper() 433 j_sb = (struct jfs_superblock *)bh->b_data; in updateSuper()
|
D | super.c | 771 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read() 814 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
|
D | jfs_imap.c | 3010 j_sb = (struct jfs_superblock *)bh->b_data; in duplicateIXtree()
|
/linux-4.4.14/fs/bfs/ |
D | file.c | 41 memcpy(new->b_data, bh->b_data, bh->b_size); in bfs_move_block()
|
D | inode.c | 61 di = (struct bfs_inode *)bh->b_data + off; in bfs_iget() 114 return (struct bfs_inode *)(*p)->b_data + ino % BFS_INODES_PER_BLOCK; in find_inode() 341 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super() 410 di = (struct bfs_inode *)bh->b_data + off; in bfs_fill_super()
|
D | dir.c | 53 de = (struct bfs_dirent *)(bh->b_data + offset); in bfs_readdir() 298 de = (struct bfs_dirent *)(bh->b_data + off); in bfs_add_entry() 349 de = (struct bfs_dirent *)(bh->b_data + offset); in bfs_find_entry()
|
/linux-4.4.14/sound/pci/asihpi/ |
D | hpi6205.h | 87 u8 b_data[HPI6205_SIZEOF_DATA]; member
|
D | hpi6205.c | 2027 memcpy((void *)&interface->u.b_data[0], in hpi6205_transfer_data() 2050 (void *)&interface->u.b_data[0], this_copy); in hpi6205_transfer_data()
|
D | hpi.h | 1138 u8 b_data[HPI_MAX_ANC_BYTES_PER_FRAME]; member
|
/linux-4.4.14/drivers/net/ethernet/i825xx/ |
D | lib82596.c | 255 u32 b_data; /* Address from i596 viewpoint */ member 451 SWAP32(rbd->b_data), SWAP16(rbd->size)); in i596_display_data() 484 rbd->b_data = SWAP32(dma_addr); in init_rx_bufs() 525 (dma_addr_t)SWAP32(rbd->b_data), in remove_rx_bufs() 696 (dma_addr_t)SWAP32(rbd->b_data), in i596_rx() 715 rbd->b_data = SWAP32(dma_addr); in i596_rx() 728 (dma_addr_t)SWAP32(rbd->b_data), in i596_rx() 732 (dma_addr_t)SWAP32(rbd->b_data), in i596_rx()
|
D | 82596.c | 278 unsigned char *b_data; /* Address from i596 viewpoint */ member 494 rbd, rbd->count, rbd->b_next, rbd->b_data, rbd->size); in i596_display_data() 562 rbd->b_data = WSWAPchar(virt_to_bus(skb->data)); in init_rx_bufs() 797 rbd->b_data = WSWAPchar(virt_to_bus(newskb->data)); in i596_rx()
|
/linux-4.4.14/include/linux/ |
D | buffer_head.h | 69 char *b_data; /* pointer to data within the page */ member 134 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK)
|
/linux-4.4.14/fs/ntfs/ |
D | super.c | 686 bh_primary->b_data, silent)) in read_ntfs_boot_sector() 703 bh_backup->b_data, silent)) in read_ntfs_boot_sector() 711 bh_backup->b_data, silent)) in read_ntfs_boot_sector() 738 memcpy(bh_primary->b_data, bh_backup->b_data, in read_ntfs_boot_sector() 2810 result = parse_ntfs_boot_sector(vol, (NTFS_BOOT_SECTOR*)bh->b_data); in ntfs_fill_super()
|
D | logfile.c | 812 memset(bh->b_data, -1, block_size); in ntfs_empty_logfile()
|
D | compress.c | 723 memcpy(cb_pos, bhs[i]->b_data, block_size); in ntfs_read_compressed_block()
|
D | attrib.c | 769 memcpy(al, bh->b_data, block_size); in load_attribute_list() 792 memcpy(al, bh->b_data, al_end - al); in load_attribute_list()
|
D | inode.c | 1842 memcpy((char*)m + (i << sb->s_blocksize_bits), bh->b_data, in ntfs_read_inode_mount()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
D | tilepro.c | 1600 void *b_data, unsigned int b_len) in tile_net_tx_frags() argument 1611 finv_buffer_remote(b_data, b_len, 0); in tile_net_tx_frags() 1613 cpa = __pa(b_data); in tile_net_tx_frags()
|
D | tilegx.c | 1977 void *b_data, unsigned int b_len) in tile_net_tx_frags() argument 1984 frags[n].buf = b_data; in tile_net_tx_frags()
|
/linux-4.4.14/fs/btrfs/ |
D | disk-io.c | 2685 if (btrfs_check_super_csum(bh->b_data)) { in open_ctree() 2697 memcpy(fs_info->super_copy, bh->b_data, sizeof(*fs_info->super_copy)); in open_ctree() 3247 super = (struct btrfs_super_block *)bh->b_data; in btrfs_read_dev_one_super() 3278 super = (struct btrfs_super_block *)bh->b_data; in btrfs_read_dev_super() 3367 memcpy(bh->b_data, sb, BTRFS_SUPER_INFO_SIZE); in write_dev_supers()
|
D | check-integrity.c | 815 (bh->b_data + (dev_bytenr & 4095)); in btrfsic_process_superblock_dev_mirror() 2924 dev_bytenr, bh->b_size, bh->b_data, bh->b_bdev); in btrfsic_submit_bh() 2926 &bh->b_data, 1, NULL, in btrfsic_submit_bh()
|
D | volumes.c | 914 disk_super = (struct btrfs_super_block *)bh->b_data; in __btrfs_open_devices() 1777 disk_super = (struct btrfs_super_block *)bh->b_data; in btrfs_rm_device() 1912 disk_super = (struct btrfs_super_block *)bh->b_data; in btrfs_rm_device() 2061 disk_super = (struct btrfs_super_block *)bh->b_data; in btrfs_find_device_by_path() 6880 disk_super = (struct btrfs_super_block *)bh->b_data; in btrfs_scratch_superblocks()
|
/linux-4.4.14/fs/ |
D | buffer.c | 1484 bh->b_data = (char *)(0 + offset); in set_bh_page() 1486 bh->b_data = page_address(page) + offset; in set_bh_page()
|
/linux-4.4.14/fs/f2fs/ |
D | super.c | 1059 ((char *)(buffer)->b_data + F2FS_SUPER_OFFSET); in read_raw_super_block()
|
/linux-4.4.14/drivers/md/bcache/ |
D | super.c | 75 s = (struct cache_sb *) bh->b_data; in read_super()
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 3610 p = offset + bh->b_data; 3660 what its b_data field contains: 3668 b_data = 0x50000800 "", b_page = 0x50004000, 3678 The b_data field is indeed 0x50000800, so the question becomes how
|