Searched refs:bh (Results 101 - 125 of 287) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Dsfp-util.h6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) ({ \
15 : "d" (bh), "d" (bl) : "cc"); \
20 #define sub_ddmmss(sh, sl, ah, al, bh, bl) ({ \
29 : "d" (bh), "d" (bl) : "cc"); \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Ddir.c79 struct buffer_head * bh, * tmp; local
91 bh = NULL;
114 bh = ocfs2_bread(inode, blk, &err, 0);
115 if (!bh) {
148 de = (struct ocfs2_dir_entry *) (bh->b_data + i);
168 de = (struct ocfs2_dir_entry *) (bh->b_data + offset);
169 if (!ocfs2_check_dir_entry(inode, de, bh, offset)) {
174 brelse(bh);
205 brelse(bh);
293 struct buffer_head * bh; local
532 struct buffer_head * bh = NULL; local
[all...]
H A Duptodate.c39 * - buffer_jbd is used liberally - if a bh is in the journal on
182 struct buffer_head *bh)
191 (unsigned long long) bh->b_blocknr,
196 bh->b_blocknr);
199 bh->b_blocknr);
214 struct buffer_head *bh)
216 /* Doesn't matter if the bh is in our cache or not -- if it's
219 if (!buffer_uptodate(bh))
224 if (buffer_jbd(bh))
229 return ocfs2_buffer_cached(OCFS2_I(inode), bh);
181 ocfs2_buffer_cached(struct ocfs2_inode_info *oi, struct buffer_head *bh) argument
213 ocfs2_buffer_uptodate(struct inode *inode, struct buffer_head *bh) argument
236 ocfs2_buffer_read_ahead(struct inode *inode, struct buffer_head *bh) argument
424 ocfs2_set_buffer_uptodate(struct inode *inode, struct buffer_head *bh) argument
464 ocfs2_set_new_buffer_uptodate(struct inode *inode, struct buffer_head *bh) argument
517 ocfs2_remove_from_cache(struct inode *inode, struct buffer_head *bh) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/efs/
H A Dinode.c53 struct buffer_head *bh; local
82 bh = sb_bread(inode->i_sb, block);
83 if (!bh) {
88 efs_inode = (struct efs_dinode *) (bh->b_data + offset);
126 brelse(bh);
131 brelse(bh);
195 struct buffer_head *bh = NULL; local
258 if (bh) brelse(bh);
270 if (bh) brels
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/
H A Dsymlink.c79 struct buffer_head *bh = NULL; local
89 bh = sb_bread(inode->i_sb, udf_block_map(inode, 0));
91 if (!bh)
94 symlink = bh->b_data;
98 brelse(bh);
H A Dinode.c283 epos.bh = NULL;
289 brelse(epos.bh);
297 struct buffer_head *bh; local
310 bh = NULL;
325 bh = inode_getblk(inode, block, &err, &phys, &new);
326 BUG_ON(bh);
353 struct buffer_head *bh; local
354 bh = sb_getblk(inode->i_sb, dummy.b_blocknr);
357 lock_buffer(bh);
358 memset(bh
972 struct buffer_head * bh = NULL; local
1040 struct buffer_head *bh = NULL; local
1132 udf_fill_inode(struct inode *inode, struct buffer_head *bh) argument
1429 struct buffer_head *bh = NULL; local
[all...]
H A Dsuper.c532 struct buffer_head *bh = NULL; local
554 bh = udf_tread(sb, sector >> sb->s_blocksize_bits);
555 if (!bh)
559 vsd = (struct volStructDesc *)(bh->b_data +
564 brelse(bh);
597 brelse(bh);
608 brelse(bh);
642 struct buffer_head *bh = NULL; local
666 if (last[i] < 0 || !(bh = sb_bread(sb, last[i])))
672 ident = le16_to_cpu(((tag *)bh
783 struct buffer_head *bh = NULL; local
873 udf_load_pvoldesc(struct super_block *sb, struct buffer_head *bh) argument
913 udf_load_fileset(struct super_block *sb, struct buffer_head *bh, kernel_lb_addr *root) argument
928 udf_load_partdesc(struct super_block *sb, struct buffer_head *bh) argument
1025 udf_load_logicalvol(struct super_block *sb, struct buffer_head * bh, kernel_lb_addr *fileset) argument
1124 struct buffer_head *bh = NULL; local
1164 struct buffer_head *bh = NULL; local
1309 struct buffer_head *bh; local
1399 struct buffer_head *bh = NULL; local
1816 struct buffer_head *bh = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ufs/
H A Dutil.c35 if (!(ubh->bh[i] = sb_bread(sb, fragment + i)))
38 ubh->bh[i] = NULL;
42 brelse (ubh->bh[j]);
60 if (!(USPI_UBH(uspi)->bh[i] = sb_bread(sb, fragment + i)))
63 USPI_UBH(uspi)->bh[i] = NULL;
67 brelse (USPI_UBH(uspi)->bh[j]);
77 brelse (ubh->bh[i]);
87 brelse (USPI_UBH(uspi)->bh[i]);
88 USPI_UBH(uspi)->bh[i] = NULL;
98 mark_buffer_dirty (ubh->bh[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dfile.c177 struct buffer_head *bh; // Buffer head that contains items that we are going to deal with local
297 bh = get_last_bh(&path); // Get a bufferhead for last element in path.
447 bh = get_last_bh(&path);
469 journal_mark_dirty(th, inode->i_sb, bh);
489 bh = get_last_bh(&path);
512 reiserfs_prepare_for_journal(inode->i_sb, bh, 1); // Prepare a buffer within which indirect item is stored for changing.
522 bh);
532 bh = get_last_bh(&path);
548 journal_mark_dirty(th, inode->i_sb, bh);
643 for (bh
761 struct buffer_head *bh, *head; local
992 struct buffer_head *bh, *head; // Current bufferhead and first bufferhead local
[all...]
H A Djournal.c133 static int reiserfs_clean_and_file_buffer(struct buffer_head *bh) argument
135 if (bh) {
136 clear_buffer_dirty(bh);
137 clear_buffer_journal_test(bh);
427 static void clear_prepared_bits(struct buffer_head *bh) argument
429 clear_buffer_journal_prepared(bh);
430 clear_buffer_journal_restore_dirty(bh);
618 static void reiserfs_end_buffer_io_sync(struct buffer_head *bh, int uptodate) argument
622 if (buffer_journaled(bh)) {
625 bh
635 reiserfs_end_ordered_io(struct buffer_head *bh, int uptodate) argument
645 submit_logged_buffer(struct buffer_head *bh) argument
658 submit_ordered_buffer(struct buffer_head *bh) argument
668 submit_barrier_buffer(struct buffer_head *bh) argument
678 check_barrier_completion(struct super_block *s, struct buffer_head *bh) argument
692 struct buffer_head *bh[CHUNK_SIZE]; member in struct:buffer_chunk
718 add_to_chunk(struct buffer_chunk *chunk, struct buffer_head *bh, spinlock_t * lock, void (fn) (struct buffer_chunk *)) argument
753 reiserfs_free_jh(struct buffer_head *bh) argument
770 __add_jh(struct reiserfs_journal *j, struct buffer_head *bh, int tail) argument
805 reiserfs_add_tail_list(struct inode *inode, struct buffer_head *bh) argument
809 reiserfs_add_ordered_list(struct inode *inode, struct buffer_head *bh) argument
820 struct buffer_head *bh; local
2287 struct buffer_head *bh; local
3197 journal_mark_dirty(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, struct buffer_head *bh) argument
3342 struct buffer_head *bh; local
3642 struct buffer_head *bh = NULL; local
3806 reiserfs_restore_prepared_buffer(struct super_block *p_s_sb, struct buffer_head *bh) argument
3836 reiserfs_prepare_for_journal(struct super_block *p_s_sb, struct buffer_head *bh, int wait) argument
[all...]
H A Dinode.c155 struct buffer_head *head, *next, *bh; local
159 bh = head;
161 next = bh->b_this_page;
162 if (buffer_mapped(bh) && bh->b_blocknr == 0) {
163 reiserfs_unmap_buffer(bh);
165 bh = next;
166 } while (bh != head);
189 static inline void set_block_dev_mapped(struct buffer_head *bh, argument
192 map_bh(bh, inod
247 struct buffer_head *bh; local
589 struct buffer_head *bh, *unbh = NULL; local
1097 struct buffer_head *bh; local
1276 struct buffer_head *bh; local
1302 struct buffer_head *bh; local
1998 struct buffer_head *bh; local
2074 struct buffer_head *bh = NULL; local
2164 struct buffer_head *bh; local
2321 struct buffer_head *head, *bh; local
2717 invalidatepage_can_drop(struct inode *inode, struct buffer_head *bh) argument
2771 struct buffer_head *head, *bh, *next; local
2840 struct buffer_head *bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dbmap.c40 struct buffer_head *bh, __be64 *top,
64 struct buffer_head *bh; local
90 bh = page_buffers(page);
92 if (!buffer_mapped(bh))
93 map_bh(bh, inode->i_sb, block);
95 set_buffer_uptodate(bh);
97 gfs2_trans_add_bh(ip->i_gl, bh, 0);
98 mark_buffer_dirty(bh);
122 struct buffer_head *bh, *dibh; local
141 error = gfs2_dir_get_new_buffer(ip, block, &bh);
364 metapointer(struct buffer_head *bh, int *boundary, unsigned int height, const struct metapath *mp) argument
393 lookup_block(struct gfs2_inode *ip, struct buffer_head *bh, unsigned int height, struct metapath *mp, int create, int *new, u64 *block) argument
460 struct buffer_head *bh; local
553 struct buffer_head bh = { .b_state = 0, .b_blocknr = 0 }; local
595 struct buffer_head *bh = NULL; local
655 do_strip(struct gfs2_inode *ip, struct buffer_head *dibh, struct buffer_head *bh, __be64 *top, __be64 *bottom, unsigned int height, void *data) argument
886 struct buffer_head *bh; local
[all...]
H A Deattr.c70 typedef int (*ea_call_t) (struct gfs2_inode *ip, struct buffer_head *bh,
74 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, argument
80 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_EA))
83 for (ea = GFS2_EA_BH2FIRST(bh);; prev = ea, ea = GFS2_EA2NEXT(ea)) {
86 if (!(bh->b_data <= (char *)ea && (char *)GFS2_EA2NEXT(ea) <=
87 bh->b_data + bh->b_size))
92 error = ea_call(ip, bh, ea, prev, data);
98 bh->b_data + bh
113 struct buffer_head *bh, *eabh; local
159 ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
217 ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
316 ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, int leave) argument
349 ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
445 struct buffer_head **bh; local
642 struct buffer_head *bh; local
740 struct buffer_head *bh; local
825 ea_set_simple_noalloc(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct ea_set *es) argument
886 ea_set_simple(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
1206 struct buffer_head **bh; local
[all...]
H A Dlops.c116 struct buffer_head *bh; local
136 bh = gfs2_log_get_buf(sdp);
138 ld = (struct gfs2_log_descriptor *)bh->b_data;
139 ptr = (__be64 *)(bh->b_data + offset);
157 set_buffer_dirty(bh);
158 ll_rw_block(WRITE, 1, &bh);
163 bh = gfs2_log_fake_buf(sdp, bd2->bd_bh);
164 set_buffer_dirty(bh);
165 ll_rw_block(WRITE, 1, &bh);
286 struct buffer_head *bh; local
354 struct buffer_head *bh; local
494 gfs2_check_magic(struct buffer_head *bh) argument
522 struct buffer_head *bh = NULL,*bh1 = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/lib/
H A Ddbg.c274 unsigned long long ah, al, bh, bl, ch, cl; local
284 asm volatile ("getcon " __KCR1 ", %0":"=r"(bh));
286 bh = (bh) >> 32;
293 ah, al, bh, bl, ch, cl);
299 asm volatile ("getcon " __PSPC ", %0":"=r"(bh));
301 bh = (bh) >> 32;
308 ah, al, bh, bl, ch, cl);
312 bh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/adfs/
H A Ddir_f.c73 *(u8 *)(bh[_buf]->b_data + _off); \
79 *(__le32 *)(bh[_buf]->b_data + _off); \
96 struct buffer_head * const *bh = dir->bh; local
119 * bytes will be within the same bh.
122 ptr.ptr8 = bufoff(bh, i);
131 * The directory tail is in the final bh
135 * same bh.
137 ptr.ptr8 = bufoff(bh, 2008);
180 dir->bh[bl
[all...]
H A Ddir_fplus.c39 dir->bh[0] = sb_bread(sb, block);
40 if (!dir->bh[0])
44 h = (struct adfs_bigdirheader *)dir->bh[0]->b_data;
64 dir->bh[blk] = sb_bread(sb, block);
65 if (!dir->bh[blk])
70 t = (struct adfs_bigdirtail *)(dir->bh[size - 1]->b_data + (sb->s_blocksize - 8));
82 brelse(dir->bh[i]);
90 struct adfs_bigdirheader *h = (struct adfs_bigdirheader *)dir->bh[0]->b_data;
113 memcpy(to, dir->bh[buffer]->b_data + offset, len);
119 memcpy(c, dir->bh[buffe
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/
H A Ddir.c100 struct buffer_head *bh = NULL; local
114 if (!bh) {
115 bh = isofs_bread(inode, block);
116 if (!bh)
120 de = (struct iso_directory_record *) (bh->b_data + offset);
129 brelse(bh);
130 bh = NULL;
147 brelse(bh);
148 bh = NULL;
150 bh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dresize.c36 struct buffer_head *bh = NULL; local
63 else if (!(bh = sb_bread(sb, end - 1)))
110 brelse(bh);
118 struct buffer_head *bh; local
121 bh = sb_getblk(sb, blk);
122 if (!bh)
124 if ((err = ext3_journal_get_write_access(handle, bh))) {
125 brelse(bh);
126 bh = ERR_PTR(err);
128 lock_buffer(bh);
171 struct buffer_head *bh; local
646 struct buffer_head *bh; local
926 struct buffer_head * bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dresize.c36 struct buffer_head *bh = NULL; local
63 else if (!(bh = sb_bread(sb, end - 1)))
115 brelse(bh);
123 struct buffer_head *bh; local
126 bh = sb_getblk(sb, blk);
127 if (!bh)
129 if ((err = ext4_journal_get_write_access(handle, bh))) {
130 brelse(bh);
131 bh = ERR_PTR(err);
133 lock_buffer(bh);
176 struct buffer_head *bh; local
655 struct buffer_head *bh; local
935 struct buffer_head * bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Dmdb.c68 struct buffer_head *bh; local
86 bh = sb_bread512(sb, part_start + HFS_MDB_BLK, mdb);
87 if (!bh)
92 brelse(bh);
118 brelse(bh);
124 bh = sb_bread512(sb, part_start + HFS_MDB_BLK, mdb);
125 if (!bh)
130 HFS_SB(sb)->mdb_bh = bh;
154 bh = sb_bread512(sb, sect, mdb2);
155 if (bh) {
293 struct buffer_head *bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/
H A Dinode.c145 struct buffer_head *bh; local
164 if (!(bh = sb_bread(s, 1)))
167 ms = (struct minix_super_block *) bh->b_data;
169 sbi->s_sbh = bh;
201 } else if ( *(__u16 *)(bh->b_data + 24) == MINIX3_SUPER_MAGIC) {
202 m3s = (struct minix3_super_block *) bh->b_data;
225 i = (sbi->s_imap_blocks + sbi->s_zmap_blocks) * sizeof(bh);
263 mark_buffer_dirty(bh);
307 brelse(bh);
399 struct buffer_head * bh; local
430 struct buffer_head * bh; local
474 struct buffer_head * bh; local
501 struct buffer_head * bh; local
542 struct buffer_head *bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/math-emu/
H A Dsfp-util.h5 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
9 (sh) = (ah) + (bh) + (__x < (al)); \
13 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
17 (sh) = (ah) - (bh) - (__x > (al)); \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/math-emu/
H A Dsfp-util.h14 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
23 "r" ((UDItype)(bh)), \
28 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
37 "r" ((UDItype)(bh)), \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysv/
H A Dsuper.c178 static int detect_xenix(struct sysv_sb_info *sbi, struct buffer_head *bh) argument
180 struct xenix_super_block *sbd = (struct xenix_super_block *)bh->b_data;
199 static int detect_sysv(struct sysv_sb_info *sbi, struct buffer_head *bh) argument
206 sbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2);
252 static int detect_coherent(struct sysv_sb_info *sbi, struct buffer_head *bh) argument
256 sbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2);
265 static int detect_sysv_odd(struct sysv_sb_info *sbi, struct buffer_head *bh) argument
267 int size = detect_sysv(sbi, bh);
356 struct buffer_head *bh1, *bh = NULL; local
378 brelse(bh);
441 struct buffer_head *bh, *bh2 = NULL; local
[all...]

Completed in 242 milliseconds

1234567891011>>