Home
last modified time | relevance | path

Searched refs:b_data (Results 1 – 25 of 196) sorted by relevance

12345678

/openbmc/linux/fs/hpfs/
H A Dbuffer.c84 return bh->b_data; in hpfs_map_sector()
105 return bh->b_data; in hpfs_get_sector()
135 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_map_4sectors()
136 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_map_4sectors()
137 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_map_4sectors()
138 return qbh->data = qbh->bh[0]->b_data; in hpfs_map_4sectors()
185 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_get_4sectors()
186 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_get_4sectors()
187 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_get_4sectors()
188 return qbh->data = qbh->bh[0]->b_data; in hpfs_get_4sectors()
[all …]
/openbmc/linux/fs/qnx6/
H A Dsuper_mmi.c51 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
62 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_mmi_fill_super()
81 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
89 sb2 = (struct qnx6_mmi_super_block *)bh2->b_data; in qnx6_mmi_fill_super()
98 != crc32_be(0, (char *)(bh2->b_data + 8), 504)) { in qnx6_mmi_fill_super()
116 memcpy(bh1->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super()
119 sbi->sb = (struct qnx6_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
128 memcpy(bh2->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super()
131 sbi->sb = (struct qnx6_super_block *)bh2->b_data; in qnx6_mmi_fill_super()
/openbmc/linux/fs/affs/
H A Dbitmap.c70 data = (__be32 *)bh->b_data + bit / 32 + 1; in affs_free_block()
79 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_free_block()
80 *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask); in affs_free_block()
183 data = (__be32 *)bh->b_data + bit / 32 + 1; in affs_alloc_block()
223 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_alloc_block()
224 *(__be32 *)bh->b_data = cpu_to_be32(tmp + mask); in affs_alloc_block()
274 bmap_blk = (__be32 *)sbi->s_root_bh->b_data; in affs_init_bitmap()
310 bmap_blk = (__be32 *)bmap_bh->b_data; in affs_init_bitmap()
324 old = be32_to_cpu(((__be32 *)bh->b_data)[offset]); in affs_init_bitmap()
338 ((__be32 *)bh->b_data)[offset] = 0; in affs_init_bitmap()
[all …]
H A Daffs.h21 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data)
22 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_t…
23 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data)
24 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(str…
25 #define AFFS_DATA_HEAD(bh) ((struct affs_data_head *)(bh)->b_data)
26 #define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data)
258 memset(bh->b_data, 0 , sb->s_blocksize); in affs_getzeroblk()
289 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[5]); in affs_adjust_checksum()
290 ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val); in affs_adjust_checksum()
295 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[0]); in affs_adjust_bitmapchecksum()
[all …]
/openbmc/linux/fs/jbd2/
H A Drecovery.c212 tagp = &bh->b_data[sizeof(journal_header_t)]; in count_tags()
214 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags()
572 tmp = (journal_header_t *)bh->b_data; in do_one_pass()
601 bh->b_data)) { in do_one_pass()
648 while ((tagp - bh->b_data + tag_bytes) in do_one_pass()
714 memcpy(nbh->b_data, obh->b_data, in do_one_pass()
717 *((__be32 *)nbh->b_data) = in do_one_pass()
811 (struct commit_header *)bh->b_data; in do_one_pass()
837 bh->b_data)) { in do_one_pass()
840 bh->b_data)) { in do_one_pass()
[all …]
/openbmc/linux/fs/gfs2/
H A Dmeta_io.h16 memset(bh->b_data, 0, bh->b_size); in gfs2_buffer_clear()
22 memset(bh->b_data + head, 0, bh->b_size - head); in gfs2_buffer_clear_tail()
31 memcpy(to_bh->b_data + to_head, from_bh->b_data + from_head, in gfs2_buffer_copy_tail()
33 memset(to_bh->b_data + to_bh->b_size + to_head - from_head, in gfs2_buffer_copy_tail()
H A Ddir.c134 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_stuffed()
211 memcpy(bh->b_data + o, buf, amount); in gfs2_dir_write_data()
233 gfs2_dinode_out(ip, dibh->b_data); in gfs2_dir_write_data()
314 memcpy(buf, bh->b_data + o, amount); in gfs2_dir_read_data()
942 args.name = bh->b_data; in dir_make_exhash()
983 gfs2_dinode_out(dip, dibh->b_data); in dir_make_exhash()
1088 void *ptr = ((char *)dent - obh->b_data) + nbh->b_data; in dir_split_leaf()
1189 gfs2_dinode_out(dip, dibh->b_data); in dir_double_exhash()
1197 gfs2_dinode_out(dip, dibh->b_data); in dir_double_exhash()
1349 (bh->b_data + gfs2_dirent_offset(sdp, bh->b_data)); in gfs2_set_cookies()
[all …]
/openbmc/linux/fs/omfs/
H A Ddir.c50 oi = (struct omfs_inode *) bh->b_data; in omfs_scan_list()
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()
228 ptr = (u64 *) &bh->b_data[OMFS_DIR_START]; in omfs_dir_is_empty()
[all …]
H A Dfile.c22 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()
/openbmc/linux/fs/minix/
H A Dbitmap.c34 __u16 *p = (__u16 *)(*map++)->b_data; in count_free()
63 if (!minix_test_and_clear_bit(bit, bh->b_data)) in minix_free_block()
82 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_block()
84 minix_set_bit(j, bh->b_data); in minix_new_block()
126 p = (void *)(*bh)->b_data; in minix_V1_raw_inode()
152 p = (void *)(*bh)->b_data; in minix_V2_raw_inode()
207 if (!minix_test_and_clear_bit(bit, bh->b_data)) in minix_free_inode()
230 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_inode()
239 if (minix_test_and_set_bit(j, bh->b_data)) { /* shouldn't happen */ in minix_new_inode()
/openbmc/linux/fs/udf/
H A Dballoc.c68 if (udf_test_bit(i + off, bh->b_data)) { in read_block_bitmap()
173 if (udf_set_bit(bit + i, bh->b_data)) { in udf_bitmap_free_blocks()
176 ((__u8 *)bh->b_data)[(bit + i) >> 3]); in udf_bitmap_free_blocks()
223 if (!udf_clear_bit(bit, bh->b_data)) in udf_bitmap_prealloc_blocks()
273 if (udf_test_bit(bit, bh->b_data)) in udf_bitmap_new_block()
283 newbit = (ptr - ((char *)bh->b_data)) << 3; in udf_bitmap_new_block()
289 newbit = udf_find_next_one_bit(bh->b_data, in udf_bitmap_new_block()
311 bit = (ptr - ((char *)bh->b_data)) << 3; in udf_bitmap_new_block()
315 bit = udf_find_next_one_bit(bh->b_data, in udf_bitmap_new_block()
339 udf_test_bit(bit - 1, bh->b_data)) { in udf_bitmap_new_block()
[all …]
/openbmc/linux/fs/freevxfs/
H A Dvxfs_olt.c61 if (!bp || !bp->b_data) in vxfs_read_olt()
64 op = (struct vxfs_olt *)bp->b_data; in vxfs_read_olt()
80 oaddr = bp->b_data + fs32_to_cpu(infp, op->olt_size); in vxfs_read_olt()
81 eaddr = bp->b_data + (infp->vsi_oltsize * sbp->s_blocksize); in vxfs_read_olt()
/openbmc/linux/fs/sysv/
H A Dsuper.c56 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
59 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
60 sbd2 = (struct xenix_super_block *) (bh2->b_data - 512); in detected_xenix()
86 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
88 sbd = (struct sysv4_super_block *) bh2->b_data; in detected_sysv4()
116 sbd = (struct sysv2_super_block *) bh2->b_data; in detected_sysv2()
140 sbd = (struct coh_super_block *) bh1->b_data; in detected_coherent()
207 sbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2); in detect_sysv()
257 sbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2); in detect_coherent()
448 v7sb = (struct v7_super_block *) bh->b_data; in v7_sanity_check()
[all …]
H A Dballoc.c33 char *bh_data = bh->b_data; in get_chunk()
84 memset(bh->b_data, 0, sb->s_blocksize); in sysv_free_block()
85 *(__fs16*)bh->b_data = cpu_to_fs16(sbi, count); in sysv_free_block()
137 count = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_new_block()
207 n = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); in sysv_count_free_blocks()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dsiggen.py1007 for data in [a_data, b_data]:
1065 if a_data['taskdeps'] != b_data['taskdeps']:
1089 newval = b_data['varvals'][dep]
1112 if not 'file_checksum_values' in b_data:
1113 b_data['file_checksum_values'] = []
1128 if not 'runtaskdeps' in b_data:
1129 b_data['runtaskdeps'] = {}
1138 b = b_data['runtaskdeps'][idx]
1144 clean_b = b_data['runtaskdeps']
1154 b = b_data['runtaskhashes']
[all …]
/openbmc/linux/fs/ext4/
H A Dbitmap.c31 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_verify()
51 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_set()
70 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_verify()
91 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_set()
H A Dmmp.c45 struct mmp_struct *mmp = (struct mmp_struct *)(bh->b_data); in write_mmp_block_thawed()
101 mmp = (struct mmp_struct *)((*bh)->b_data); in read_mmp_block()
152 mmp = (struct mmp_struct *)(bh->b_data); in kmmpd()
214 mmp_check = (struct mmp_struct *)(bh_check->b_data); in kmmpd()
301 mmp = (struct mmp_struct *)(bh->b_data); in ext4_multi_mount_protect()
340 mmp = (struct mmp_struct *)(bh->b_data); in ext4_multi_mount_protect()
375 mmp = (struct mmp_struct *)(bh->b_data); in ext4_multi_mount_protect()
H A Dsymlink.c49 caddr = bh->b_data; in ext4_encrypted_get_link()
110 nd_terminate_link(bh->b_data, inode->i_size, in ext4_get_link()
112 return bh->b_data; in ext4_get_link()
/openbmc/linux/fs/reiserfs/
H A Dlbalance.c45 source->b_data + ih_location(ih) + in leaf_copy_dir_entries()
379 memmove(dest->b_data + last_loc, in leaf_copy_items_entirely()
384 memcpy(dest->b_data + last_inserted_loc, in leaf_copy_items_entirely()
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()
1037 memcpy(bh->b_data + ih_location(ih) + in leaf_paste_in_buffer()
1095 item = bh->b_data + ih_location(ih); in leaf_cut_entries()
1182 memmove(bh->b_data + ih_location(ih), in leaf_cut_from_buffer()
1210 memmove(bh->b_data + last_loc + cut_size, bh->b_data + last_loc, in leaf_cut_from_buffer()
[all …]
/openbmc/linux/fs/ocfs2/
H A Ddir.c411 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
733 bh->b_data, sb->s_blocksize, in ocfs2_find_entry_el()
974 0, dir_ent_bh->b_data, in ocfs2_dx_dir_search()
1025 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1367 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1600 char *data_start = insert_bh->b_data; in __ocfs2_add_entry()
1759 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
2098 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_empty_dir_dx()
2608 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_block()
2655 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_root_block()
[all …]
H A Dresize.c86 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) bm_bh->b_data; in ocfs2_update_last_group_and_inode()
105 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_update_last_group_and_inode()
192 memcpy(backup->b_data, data, inode->i_sb->s_blocksize); in update_backups()
194 backup_di = (struct ocfs2_dinode *)backup->b_data; in update_backups()
229 super_di = (struct ocfs2_dinode *)super_bh->b_data; in ocfs2_update_super_and_backups()
240 ret = update_backups(inode, clusters, super_bh->b_data); in ocfs2_update_super_and_backups()
296 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_extend()
321 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_group_extend()
376 (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_check_new_group()
481 fe = (struct ocfs2_dinode *)main_bm_bh->b_data; in ocfs2_group_add()
[all …]
H A Dsuballoc.c491 (struct ocfs2_group_desc *)bg_bh->b_data; in ocfs2_block_group_grow_discontig()
556 bg = (struct ocfs2_group_desc *)bg_bh->b_data; in ocfs2_bg_alloc_cleanup()
708 bg = (struct ocfs2_group_desc *) bg_bh->b_data; in ocfs2_block_group_alloc()
796 fe = (struct ocfs2_dinode *) bh->b_data; in ocfs2_reserve_suballoc_bits()
1688 gd = (struct ocfs2_group_desc *) group_bh->b_data; in ocfs2_search_one_group()
1764 bg = (struct ocfs2_group_desc *) group_bh->b_data; in ocfs2_search_chain()
1788 bg = (struct ocfs2_group_desc *) group_bh->b_data; in ocfs2_search_chain()
1893 fe = (struct ocfs2_dinode *) ac->ac_bh->b_data; in ocfs2_claim_suballoc_bits()
2150 bg = (struct ocfs2_group_desc *) bg_bh->b_data; in ocfs2_claim_new_inode_at_loc()
2713 inode_fe = (struct ocfs2_dinode *) inode_bh->b_data; in ocfs2_get_suballoc_slot_bit()
[all …]
H A Dquota_local.c182 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()
358 dchunk = (struct ocfs2_local_disk_chunk *)hbh->b_data; in ocfs2_recovery_load_quota()
486 dchunk = (struct ocfs2_local_disk_chunk *)hbh->b_data; in ocfs2_recover_local_quota_file()
825 (chunk->qc_headerbh->b_data); in ocfs2_local_free_info()
876 dqblk = (struct ocfs2_local_disk_dqblk *)(bh->b_data in olq_set_dquot()
931 iter->qc_headerbh->b_data; in ocfs2_find_free_entry()
1020 dchunk = (struct ocfs2_local_disk_chunk *)bh->b_data; in ocfs2_local_quota_add_chunk()
1166 memset(bh->b_data, 0, sb->s_blocksize); in ocfs2_extend_local_quota_file()
1211 dchunk = (struct ocfs2_local_disk_chunk *)bh->b_data; in olq_alloc_dquot()
[all …]
/openbmc/linux/fs/fat/
H A Dfatent.c48 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr()
49 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr()
52 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr()
53 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr()
60 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr()
203 WARN_ON(ent12_p[0] > (u8 *)(bhs[0]->b_data + in fat12_ent_next()
205 WARN_ON(ent12_p[1] > (u8 *)(bhs[0]->b_data + in fat12_ent_next()
207 if (nextp < (u8 *)(bhs[0]->b_data + (bhs[0]->b_size - 1))) { in fat12_ent_next()
213 WARN_ON(ent12_p[0] != (u8 *)(bhs[0]->b_data + in fat12_ent_next()
215 WARN_ON(ent12_p[1] != (u8 *)bhs[1]->b_data); in fat12_ent_next()
[all …]
/openbmc/linux/fs/romfs/
H A Dstorage.c117 memcpy(buf, bh->b_data + offset, segment); in romfs_blk_read()
146 buf = bh->b_data + offset; in romfs_blk_strnlen()
178 matched = (memcmp(bh->b_data + offset, str, segment) == 0); in romfs_blk_strcmp()
184 if (!bh->b_data[offset + segment]) in romfs_blk_strcmp()
201 matched = !bh->b_data[0]; in romfs_blk_strcmp()

12345678