Searched refs:bh (Results 1 - 25 of 139) sorted by relevance

123456

/external/e2fsprogs/debugfs/
H A Djournal.h21 void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh);
22 void jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh);
23 void jbd2_descr_block_csum_set(journal_t *j, struct buffer_head *bh);
25 struct buffer_head *bh, __u32 sequence);
H A Drecovery.c75 struct buffer_head *bh; local
98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
99 if (!bh) {
104 if (!buffer_uptodate(bh) && !buffer_locked(bh)) {
105 bufs[nbufs++] = bh;
112 brelse(bh);
137 struct buffer_head *bh; local
154 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
155 if (!bh)
201 count_tags(journal_t *journal, struct buffer_head *bh) argument
366 calc_chksums(journal_t *journal, struct buffer_head *bh, unsigned long *next_log_block, __u32 *crc32_sum) argument
440 struct buffer_head * bh; local
846 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) argument
[all...]
H A Djournal.c126 struct buffer_head *bh; local
127 int bufsize = sizeof(*bh) + kdev->k_fs->blocksize -
128 sizeof(bh->b_data);
131 retval = ext2fs_get_memzero(bufsize, &bh);
142 bh->b_fs = kdev->k_fs;
144 bh->b_io = kdev->k_fs->io;
146 bh->b_io = kdev->k_fs->journal_io;
147 bh->b_size = blocksize;
148 bh->b_blocknr = blocknr;
150 return bh;
168 struct buffer_head *bh; local
210 mark_buffer_dirty(struct buffer_head *bh) argument
215 mark_buffer_clean(struct buffer_head *bh) argument
220 brelse(struct buffer_head *bh) argument
229 buffer_uptodate(struct buffer_head *bh) argument
234 mark_buffer_uptodate(struct buffer_head *bh, int val) argument
239 wait_on_buffer(struct buffer_head *bh) argument
289 struct buffer_head *bh; local
865 jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) argument
881 jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh) argument
896 jbd2_descr_block_csum_set(journal_t *j, struct buffer_head *bh) argument
911 jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, struct buffer_head *bh, __u32 sequence) argument
[all...]
H A Drevoke.c325 * parameter, but does _not_ forget the buffer_head if the bh was only
338 struct buffer_head *bh = NULL; local
354 bh = bh_in;
356 if (!bh) {
357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize);
358 if (bh)
359 BUFFER_TRACE(bh, "found on hash");
370 if (bh2 != bh && buffer_revokevalid(bh2))
386 if (bh) {
387 if (!J_EXPECT_BH(bh, !buffer_revoke
432 struct buffer_head *bh = jh2bh(jh); local
499 struct buffer_head *bh; local
644 jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh) argument
[all...]
H A Ddo_journal.c69 struct buffer_head *bh, *cbh = NULL; local
82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize);
83 if (bh == NULL)
87 commit = (struct commit_header *)bh->b_data;
135 jbd2_commit_block_csum_set(trans->journal, bh);
136 err = journal_bmap(trans->journal, trans->block, &bh->b_blocknr);
141 bh->b_blocknr);
142 mark_buffer_dirty(bh);
143 ll_rw_block(WRITE, 1, &bh);
144 err = bh
170 struct buffer_head *bh; local
274 struct buffer_head *bh = NULL, *data_bh; local
653 struct buffer_head *bh; local
[all...]
/external/libvncserver/test/
H A Dbmp.c181 bmphdr bh; int flags=O_RDONLY; local
193 readme(fd, &bh.bfType, sizeof(unsigned short));
194 if(!littleendian()) bh.bfType=byteswap16(bh.bfType);
196 if(bh.bfType==0x3650)
201 if(bh.bfType==0x3350)
207 readme(fd, &bh.bfSize, sizeof(unsigned int));
208 readme(fd, &bh.bfReserved1, sizeof(unsigned short));
209 readme(fd, &bh.bfReserved2, sizeof(unsigned short));
210 readme(fd, &bh
304 bmphdr bh; int mode; local
[all...]
/external/squashfs-tools/kernel/fs/squashfs/
H A Dblock.c50 struct buffer_head *bh; local
52 bh = sb_bread(sb, *cur_index);
53 if (bh == NULL)
57 *length = (unsigned char) bh->b_data[*offset];
58 put_bh(bh);
59 bh = sb_bread(sb, ++(*cur_index));
60 if (bh == NULL)
62 *length |= (unsigned char) bh->b_data[0] << 8;
65 *length = (unsigned char) bh->b_data[*offset] |
66 (unsigned char) bh
86 struct buffer_head **bh; local
[all...]
/external/e2fsprogs/e2fsck/
H A Drecovery.c75 struct buffer_head *bh; local
98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
99 if (!bh) {
104 if (!buffer_uptodate(bh) && !buffer_locked(bh)) {
105 bufs[nbufs++] = bh;
112 brelse(bh);
137 struct buffer_head *bh; local
154 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
155 if (!bh)
201 count_tags(journal_t *journal, struct buffer_head *bh) argument
366 calc_chksums(journal_t *journal, struct buffer_head *bh, unsigned long *next_log_block, __u32 *crc32_sum) argument
440 struct buffer_head * bh; local
846 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) argument
[all...]
H A Drevoke.c325 * parameter, but does _not_ forget the buffer_head if the bh was only
338 struct buffer_head *bh = NULL; local
354 bh = bh_in;
356 if (!bh) {
357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize);
358 if (bh)
359 BUFFER_TRACE(bh, "found on hash");
370 if (bh2 != bh && buffer_revokevalid(bh2))
386 if (bh) {
387 if (!J_EXPECT_BH(bh, !buffer_revoke
432 struct buffer_head *bh = jh2bh(jh); local
499 struct buffer_head *bh; local
644 jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh) argument
[all...]
H A Djournal.c121 struct buffer_head *bh; local
122 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize -
123 sizeof(bh->b_data);
125 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer");
126 if (!bh)
136 bh->b_ctx = kdev->k_ctx;
138 bh->b_io = kdev->k_ctx->fs->io;
140 bh->b_io = kdev->k_ctx->journal_io;
141 bh->b_size = blocksize;
142 bh
162 struct buffer_head *bh; local
204 mark_buffer_dirty(struct buffer_head *bh) argument
209 mark_buffer_clean(struct buffer_head * bh) argument
214 brelse(struct buffer_head *bh) argument
223 buffer_uptodate(struct buffer_head *bh) argument
228 mark_buffer_uptodate(struct buffer_head *bh, int val) argument
233 wait_on_buffer(struct buffer_head *bh) argument
284 struct buffer_head *bh; local
[all...]
H A Djfs_user.h70 #define lock_buffer(bh) do {} while (0)
71 #define unlock_buffer(bh) do {} while (0)
72 #define buffer_req(bh) 1
149 void ll_rw_block(int rw, int dummy, struct buffer_head *bh[]);
150 void mark_buffer_dirty(struct buffer_head *bh);
151 void mark_buffer_uptodate(struct buffer_head *bh, int val);
152 void brelse(struct buffer_head *bh);
153 int buffer_uptodate(struct buffer_head *bh);
154 void wait_on_buffer(struct buffer_head *bh);
160 #define set_buffer_uptodate(bh) mark_buffer_uptodat
[all...]
/external/capstone/bindings/java/capstone/
H A DPpc.java69 public int bh; field in class:Ppc.UnionOpInfo
81 readField("bh");
91 return Arrays.asList("bc", "bh", "update_cr0", "op_count", "op");
97 public int bh; field in class:Ppc.OpInfo
104 bh = op_info.bh;
/external/libjpeg-turbo/simd/
H A Djdcolext-altivec.c49 crl, crh, rl, rh, gl, gh, bl, bh, g0w, g1w, g2w, g3w; local
110 bh = vec_add(cbh, cbh);
112 bh = vec_madds(bh, pw_mf0228, pw_one);
114 bh = vec_sra(bh, (__vector unsigned short)pw_one);
116 bh = vec_add(bh, cbh);
118 bh = vec_add(bh, cb
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_rgtc.c43 const unsigned bw = 4, bh = 4, comps = 4; local
47 for(y = 0; y < height; y += bh) {
50 for(j = 0; j < bh; ++j) {
69 const unsigned bw = 4, bh = 4, bytes_per_block = 8; local
72 for(y = 0; y < height; y += bh) {
75 uint8_t tmp[4][4]; /* [bh][bw][comps] */
76 for(j = 0; j < bh; ++j) {
116 const unsigned bw = 4, bh = 4, bytes_per_block = 8; local
119 for(y = 0; y < height; y += bh) {
122 uint8_t tmp[4][4]; /* [bh][b
167 const unsigned bw = 4, bh = 4, bytes_per_block = 8; local
235 const unsigned bw = 4, bh = 4, comps = 4; local
260 const unsigned bw = 4, bh = 4, bytes_per_block = 16; local
285 const unsigned bw = 4, bh = 4, bytes_per_block = 16; local
399 const unsigned bw = 4, bh = 4, bytes_per_block = 16; local
[all...]
H A Du_format_etc.c28 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
32 for (y = 0; y < height; y += bh) {
38 for (j = 0; j < bh; j++) {
/external/capstone/bindings/ocaml/
H A Dppc.ml30 bh: int; Record field in type:cs_ppc
/external/capstone/cstool/
H A Dcstool_ppc.c84 if (ppc->bh != 0)
85 printf("\tBranch hint: %u\n", ppc->bh);
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
H A DJmhCipherEncryptBenchmark.java56 public void encrypt(Blackhole bh) throws Exception { argument
57 bh.consume(benchmark.encrypt());
/external/libedit/src/
H A Dmakelist38 USAGE="Usage: $0 -n|-h|-e|-fc|-fh|-bc|-bh|-m <filenames>"
138 -bh)
/external/capstone/bindings/python/
H A Dtest_ppc.py54 if insn.bh:
55 print("\tBranch hint: %u" % insn.bh)
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_segmentation.c108 int *t_unpred_seg_counts, int bw, int bh, int mi_row,
117 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols);
148 int bw, bh; local
154 bh = num_8x8_blocks_high_lookup[mi[0]->sb_type];
156 if (bw == bs && bh == bs) {
159 } else if (bw == bs && bh < bs) {
165 } else if (bw < bs && bh == bs) {
175 assert(bw < bs && bh < bs);
104 count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *tile, MODE_INFO **mi, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int bw, int bh, int mi_row, int mi_col) argument
H A Dvp9_aq_variance.c152 const int bh = 8 * num_8x8_blocks_high_lookup[bs] - bottom_overflow; local
157 CONVERT_TO_BYTEPTR(vp9_highbd_64_zeros), 0, bw, bh,
163 bw, bh, &sse, &avg);
167 bw, bh, &sse, &avg);
169 var = sse - (unsigned int)(((int64_t)avg * avg) / (bw * bh));
170 return (unsigned int)(((uint64_t)256 * var) / (bw * bh));
/external/mesa3d/src/mesa/main/
H A Dtexcompress_etc.c676 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
680 for (y = 0; y < height; y += bh) {
686 const unsigned h = MIN2(bh, height - y);
723 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
728 for (y = 0; y < height; y += bh) {
730 const unsigned h = MIN2(bh, height - y);
771 const unsigned bw = 4, bh = 4, bs = 16, comps = 4; local
775 for (y = 0; y < height; y += bh) {
777 const unsigned h = MIN2(bh, height - y);
809 const unsigned bw = 4, bh local
854 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; local
891 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; local
941 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; local
979 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; local
1026 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
1062 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
[all...]
/external/libyuv/files/unit_test/
H A Dcolor_test.cc445 static void PrintHistogram(int rh[256], int gh[256], int bh[256]) { argument
449 if (rh[i] || gh[i] || bh[i]) {
455 if (rh[i] || gh[i] || bh[i]) {
461 if (rh[i] || gh[i] || bh[i]) {
467 if (rh[i] || gh[i] || bh[i]) {
468 printf("\t%8d", bh[i]);
483 bh[256] = { local
498 ++bh[b1 - b0 + 128];
502 PrintHistogram(rh, gh, bh);
514 bh[25 local
[all...]
/external/mesa3d/src/intel/isl/
H A Disl_priv.h132 assert(extent_sa.h % fmtl->bh == 0);
137 .h = extent_sa.h / fmtl->bh,
149 .h = extent_el.h * fmtl->bh,

Completed in 1413 milliseconds

123456