Searched refs:bh (Results 76 - 100 of 287) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/qnx4/
H A Ddir.c27 struct buffer_head *bh; local
41 bh = sb_bread(inode->i_sb, blknum);
42 if(bh==NULL) {
49 de = (struct qnx4_inode_entry *) (bh->b_data + offset);
68 brelse(bh);
76 brelse(bh);
H A Dinode.c67 struct buffer_head *bh; local
82 if (!(bh = sb_bread(inode->i_sb, block))) {
88 raw_inode = ((struct qnx4_inode_entry *) bh->b_data) +
99 mark_buffer_dirty(bh);
100 brelse(bh);
168 struct buffer_head *bh; local
170 bh = qnx4_getblk(inode, block, create);
171 if (!bh || buffer_uptodate(bh)) {
172 return bh;
184 qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create ) argument
205 struct buffer_head *bh = NULL; local
278 struct buffer_head *bh; local
325 struct buffer_head *bh; local
431 struct buffer_head *bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/efs/
H A Ddir.c24 struct buffer_head *bh; local
47 bh = sb_bread(inode->i_sb, efs_bmap(inode, block));
49 if (!bh) {
54 dirblock = (struct efs_dir *) bh->b_data;
58 brelse(bh);
68 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
96 brelse(bh);
102 brelse(bh);
H A Dnamei.c15 struct buffer_head *bh; local
29 bh = sb_bread(inode->i_sb, efs_bmap(inode, block));
30 if (!bh) {
35 dirblock = (struct efs_dir *) bh->b_data;
39 brelse(bh);
44 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
51 brelse(bh);
55 brelse(bh);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysv/
H A Dialloc.c55 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) argument
62 *bh = sb_bread(sb, block);
63 if (!*bh)
65 res = (struct sysv_inode *)(*bh)->b_data;
72 struct buffer_head * bh; local
77 raw_inode = sysv_raw_inode(sb, ino, &bh);
87 brelse(bh);
88 raw_inode = sysv_raw_inode(sb, ino, &bh);
94 brelse(bh);
104 struct buffer_head * bh; local
190 struct buffer_head * bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Drecovery.c32 struct buffer_head **bh)
49 *bh = gfs2_meta_ra(gl, dblock, extlen);
136 struct buffer_head *bh; local
142 error = gfs2_replay_read_block(jd, blk, &bh);
146 hash = crc32_le((u32)~0, bh->b_data, sizeof(struct gfs2_log_header) -
150 gfs2_log_header_in(&lh, bh->b_data);
151 brelse(bh);
302 struct buffer_head *bh; local
312 error = gfs2_replay_read_block(jd, start, &bh);
315 if (gfs2_meta_check(sdp, bh)) {
31 gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, struct buffer_head **bh) argument
373 struct buffer_head *bh; local
[all...]
H A Dutil.h76 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
81 struct buffer_head *bh,
85 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data;
88 return gfs2_meta_check_ii(sdp, bh, "magic number", function,
93 #define gfs2_meta_check(sdp, bh) \
94 gfs2_meta_check_i((sdp), (bh), __FUNCTION__, __FILE__, __LINE__)
97 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
103 struct buffer_head *bh,
108 struct gfs2_meta_header *mh = (struct gfs2_meta_header *)bh->b_data;
112 return gfs2_meta_check_ii(sdp, bh, "magi
80 gfs2_meta_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *function, char *file, unsigned int line) argument
102 gfs2_metatype_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, const char *function, char *file, unsigned int line) argument
123 gfs2_metatype_set(struct buffer_head *bh, u16 type, u16 format) argument
[all...]
H A Dops_address.c44 struct buffer_head *bh; local
47 for (bh = head, start = 0; bh != head || !start;
48 bh = bh->b_this_page, start = end) {
52 gfs2_trans_add_bh(ip->i_gl, bh, 0);
572 static void discard_buffer(struct gfs2_sbd *sdp, struct buffer_head *bh) argument
577 bd = bh->b_private;
580 bh->b_private = NULL;
584 lock_buffer(bh);
597 struct buffer_head *head, *bh, *next; local
693 stuck_releasepage(struct buffer_head *bh) argument
755 struct buffer_head *bh, *head; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Drevoke.c314 * parameter, but does _not_ forget the buffer_head if the bh was only
327 struct buffer_head *bh = NULL; local
343 bh = bh_in;
345 if (!bh) {
346 bh = __find_get_block(bdev, blocknr, journal->j_blocksize);
347 if (bh)
348 HFSPLUS_BUFFER_TRACE(bh, "found on hash");
359 if (bh2 != bh && buffer_revokevalid(bh2))
375 if (bh) {
376 if (!HFSPLUS_J_EXPECT_BH(bh, !buffer_hfsplus_jbd_revoke
423 struct buffer_head *bh = hfsplus_jh2bh(jh); local
602 struct buffer_head *bh = hfsplus_jh2bh(descriptor); local
[all...]
H A Djbd_journal.c616 * the buffer's contents they really should run flush_dcache_page(bh->b_page).
622 struct buffer_head *bh; local
631 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
632 lock_buffer(bh);
633 memset(bh->b_data, 0, journal->j_blocksize);
634 set_buffer_uptodate(bh);
635 unlock_buffer(bh);
636 HFSPLUS_BUFFER_TRACE(bh, "return this buffer");
637 return hfsplus_jbd_add_journal_head(bh);
714 struct buffer_head *bh; local
755 struct buffer_head *bh; local
810 struct buffer_head *bh = journal->j_sb_buffer; local
860 struct buffer_head *bh; local
931 struct buffer_head *bh = journal->j_sb_buffer; local
986 struct buffer_head *bh; local
1304 struct buffer_head *bh; local
1735 hfsplus_jbd_add_journal_head(struct buffer_head *bh) argument
1782 hfsplus_jbd_grab_journal_head(struct buffer_head *bh) argument
1795 __hfsplus_jbd_remove_journal_head(struct buffer_head *bh) argument
1846 hfsplus_jbd_remove_journal_head(struct buffer_head *bh) argument
1859 struct buffer_head *bh = hfsplus_jh2bh(jh); local
[all...]
H A Dhfsplus_jbd.h247 void buffer_assertion_failure(struct buffer_head *bh);
248 #define HFSPLUS_J_ASSERT_BH(bh, expr) \
251 buffer_assertion_failure(bh); \
256 #define HFSPLUS_J_ASSERT_BH(bh, expr) HFSPLUS_J_ASSERT(expr)
266 #define HFSPLUS_J_EXPECT_BH(bh, expr, why...) HFSPLUS_J_ASSERT_BH(bh, expr)
280 #define HFSPLUS_J_EXPECT_BH(bh, expr, why...) __hfsplus_jbd_expect(expr, ## why)
293 BH_HFSPLUS_JournalHead, /* Pins bh->b_private and jh->b_bh */
312 static inline struct hfsplus_jbd_head *hfsplus_bh2jh(struct buffer_head *bh) argument
314 return bh
317 hfsplus_jbd_lock_bh_state(struct buffer_head *bh) argument
322 hfsplus_jbd_trylock_bh_state(struct buffer_head *bh) argument
327 hfsplus_jbd_is_locked_bh_state(struct buffer_head *bh) argument
332 hfsplus_jbd_unlock_bh_state(struct buffer_head *bh) argument
337 hfsplus_jbd_lock_bh_hfsplus_jbd_head(struct buffer_head *bh) argument
342 hfsplus_jbd_unlock_bh_hfsplus_jbd_head(struct buffer_head *bh) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/
H A Drevoke.c317 * parameter, but does _not_ forget the buffer_head if the bh was only
330 struct buffer_head *bh = NULL; local
346 bh = bh_in;
348 if (!bh) {
349 bh = __find_get_block(bdev, blocknr, journal->j_blocksize);
350 if (bh)
351 BUFFER_TRACE(bh, "found on hash");
362 if (bh2 != bh && buffer_revokevalid(bh2))
378 if (bh) {
379 if (!J_EXPECT_BH(bh, !buffer_revoke
426 struct buffer_head *bh = jh2bh(jh); local
604 struct buffer_head *bh = jh2bh(descriptor); local
[all...]
H A Djournal.c616 * the buffer's contents they really should run flush_dcache_page(bh->b_page).
622 struct buffer_head *bh; local
631 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
632 lock_buffer(bh);
633 memset(bh->b_data, 0, journal->j_blocksize);
634 set_buffer_uptodate(bh);
635 unlock_buffer(bh);
636 BUFFER_TRACE(bh, "return this buffer");
637 return journal_add_journal_head(bh);
714 struct buffer_head *bh; local
755 struct buffer_head *bh; local
810 struct buffer_head *bh = journal->j_sb_buffer; local
859 struct buffer_head *bh; local
930 struct buffer_head *bh = journal->j_sb_buffer; local
984 struct buffer_head *bh; local
1306 struct buffer_head *bh; local
1771 journal_add_journal_head(struct buffer_head *bh) argument
1814 journal_grab_journal_head(struct buffer_head *bh) argument
1827 __journal_remove_journal_head(struct buffer_head *bh) argument
1878 journal_remove_journal_head(struct buffer_head *bh) argument
1891 struct buffer_head *bh = jh2bh(jh); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/
H A Drevoke.c318 * parameter, but does _not_ forget the buffer_head if the bh was only
331 struct buffer_head *bh = NULL; local
347 bh = bh_in;
349 if (!bh) {
350 bh = __find_get_block(bdev, blocknr, journal->j_blocksize);
351 if (bh)
352 BUFFER_TRACE(bh, "found on hash");
363 if (bh2 != bh && buffer_revokevalid(bh2))
379 if (bh) {
380 if (!J_EXPECT_BH(bh, !buffer_revoke
427 struct buffer_head *bh = jh2bh(jh); local
613 struct buffer_head *bh = jh2bh(descriptor); local
[all...]
H A Djournal.c616 * the buffer's contents they really should run flush_dcache_page(bh->b_page).
622 struct buffer_head *bh; local
631 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
632 lock_buffer(bh);
633 memset(bh->b_data, 0, journal->j_blocksize);
634 set_buffer_uptodate(bh);
635 unlock_buffer(bh);
636 BUFFER_TRACE(bh, "return this buffer");
637 return jbd2_journal_add_journal_head(bh);
714 struct buffer_head *bh; local
755 struct buffer_head *bh; local
810 struct buffer_head *bh = journal->j_sb_buffer; local
859 struct buffer_head *bh; local
930 struct buffer_head *bh = journal->j_sb_buffer; local
984 struct buffer_head *bh; local
1306 struct buffer_head *bh; local
1782 jbd2_journal_add_journal_head(struct buffer_head *bh) argument
1825 jbd2_journal_grab_journal_head(struct buffer_head *bh) argument
1838 __journal_remove_journal_head(struct buffer_head *bh) argument
1889 jbd2_journal_remove_journal_head(struct buffer_head *bh) argument
1902 struct buffer_head *bh = jh2bh(jh); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dnamei.c56 struct buffer_head *bh; local
60 if ((bh = ext3_bread(handle, inode, *block, 1, err))) {
63 ext3_journal_get_write_access(handle,bh);
65 return bh;
135 struct buffer_head *bh; member in struct:dx_frame
295 struct buffer_head *bh; local
304 if (!(bh = ext3_bread (NULL,dir, block, 0,&err))) continue;
306 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1):
307 dx_show_leaf(hinfo, (struct ext3_dir_entry_2 *) bh->b_data, blocksize, 0);
311 brelse (bh);
336 struct buffer_head *bh; local
471 struct buffer_head *bh; local
541 struct buffer_head *bh; local
766 search_dirblock(struct buffer_head * bh, struct inode *dir, struct dentry *dentry, unsigned long offset, struct ext3_dir_entry_2 ** res_dir) argument
820 struct buffer_head * bh, *ret = NULL; local
937 struct buffer_head *bh; local
1002 struct buffer_head * bh; local
1033 struct buffer_head *bh; local
1123 do_split(handle_t *handle, struct inode *dir, struct buffer_head **bh,struct dx_frame *frame, struct dx_hash_info *hinfo, int *error) argument
1217 add_dirent_to_buf(handle_t *handle, struct dentry *dentry, struct inode *inode, struct ext3_dir_entry_2 *de, struct buffer_head * bh) argument
1295 make_indexed_dir(handle_t *handle, struct dentry *dentry, struct inode *inode, struct buffer_head *bh) argument
1386 struct buffer_head * bh; local
1445 struct buffer_head * bh; local
1576 ext3_delete_entry(handle_t *handle, struct inode * dir, struct ext3_dir_entry_2 * de_del, struct buffer_head * bh) argument
1780 struct buffer_head * bh; local
1990 struct buffer_head * bh; local
2049 struct buffer_head * bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dnamei.c56 struct buffer_head *bh; local
60 if ((bh = ext4_bread(handle, inode, *block, 1, err))) {
63 ext4_journal_get_write_access(handle,bh);
65 return bh;
135 struct buffer_head *bh; member in struct:dx_frame
295 struct buffer_head *bh; local
304 if (!(bh = ext4_bread (NULL,dir, block, 0,&err))) continue;
306 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1):
307 dx_show_leaf(hinfo, (struct ext4_dir_entry_2 *) bh->b_data, blocksize, 0);
311 brelse (bh);
336 struct buffer_head *bh; local
471 struct buffer_head *bh; local
541 struct buffer_head *bh; local
764 search_dirblock(struct buffer_head * bh, struct inode *dir, struct dentry *dentry, unsigned long offset, struct ext4_dir_entry_2 ** res_dir) argument
818 struct buffer_head * bh, *ret = NULL; local
935 struct buffer_head *bh; local
1000 struct buffer_head * bh; local
1031 struct buffer_head *bh; local
1121 do_split(handle_t *handle, struct inode *dir, struct buffer_head **bh,struct dx_frame *frame, struct dx_hash_info *hinfo, int *error) argument
1215 add_dirent_to_buf(handle_t *handle, struct dentry *dentry, struct inode *inode, struct ext4_dir_entry_2 *de, struct buffer_head * bh) argument
1293 make_indexed_dir(handle_t *handle, struct dentry *dentry, struct inode *inode, struct buffer_head *bh) argument
1384 struct buffer_head * bh; local
1443 struct buffer_head * bh; local
1574 ext4_delete_entry(handle_t *handle, struct inode * dir, struct ext4_dir_entry_2 * de_del, struct buffer_head * bh) argument
1778 struct buffer_head * bh; local
1988 struct buffer_head * bh; local
2047 struct buffer_head * bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Djbd.h262 void buffer_assertion_failure(struct buffer_head *bh);
263 #define J_ASSERT_BH(bh, expr) \
266 buffer_assertion_failure(bh); \
271 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
281 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr)
295 #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why)
308 BH_JournalHead, /* Pins bh->b_private and jh->b_bh */
327 static inline struct journal_head *bh2jh(struct buffer_head *bh) argument
329 return bh
332 jbd_lock_bh_state(struct buffer_head *bh) argument
337 jbd_trylock_bh_state(struct buffer_head *bh) argument
342 jbd_is_locked_bh_state(struct buffer_head *bh) argument
347 jbd_unlock_bh_state(struct buffer_head *bh) argument
352 jbd_lock_bh_journal_head(struct buffer_head *bh) argument
357 jbd_unlock_bh_journal_head(struct buffer_head *bh) argument
[all...]
H A Djbd2.h271 void buffer_assertion_failure(struct buffer_head *bh);
272 #define J_ASSERT_BH(bh, expr) \
275 buffer_assertion_failure(bh); \
280 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
290 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr)
304 #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why)
317 BH_JournalHead, /* Pins bh->b_private and jh->b_bh */
336 static inline struct journal_head *bh2jh(struct buffer_head *bh) argument
338 return bh
341 jbd_lock_bh_state(struct buffer_head *bh) argument
346 jbd_trylock_bh_state(struct buffer_head *bh) argument
351 jbd_is_locked_bh_state(struct buffer_head *bh) argument
356 jbd_unlock_bh_state(struct buffer_head *bh) argument
361 jbd_lock_bh_journal_head(struct buffer_head *bh) argument
366 jbd_unlock_bh_journal_head(struct buffer_head *bh) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/
H A Dinode.c23 struct buffer_head *bh; local
34 bh = affs_bread(sb, block);
35 if (!bh) {
39 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) {
42 AFFS_HEAD(bh)->ptype, block);
46 head = AFFS_HEAD(bh);
47 tail = AFFS_TAIL(sb, bh);
151 affs_brelse(bh);
156 affs_brelse(bh);
164 struct buffer_head *bh; local
289 struct buffer_head *bh; local
345 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 Dinode.c118 struct buffer_head *bh; local
121 bh = sb_bread(sb, uspi->s_sbbase + fs32_to_cpu(sb, block)+(n>>shift));
122 if (!bh)
124 block = ((__fs32 *) bh->b_data)[n & mask];
125 brelse (bh);
138 struct buffer_head *bh; local
143 bh = sb_bread(sb, temp +(u64) (n>>shift));
144 if (!bh)
146 u2_block = ((__fs64 *)bh->b_data)[n & mask];
147 brelse(bh);
330 ufs_inode_getblock(struct inode *inode, struct buffer_head *bh, u64 fragment, sector_t new_fragment, int *err, long *phys, int *new, struct page *locked_page) argument
419 struct buffer_head * bh; local
527 struct buffer_head *bh; local
542 struct buffer_head * bh; local
706 struct buffer_head * bh; local
847 struct buffer_head * bh; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fat/
H A Ddir.c27 struct buffer_head *bh,
30 return ((loff_t)bh->b_blocknr << MSDOS_SB(sb)->dir_per_block_bits)
31 | (de - (struct msdos_dir_entry *)bh->b_data);
39 struct buffer_head *bh; local
49 bh = sb_find_get_block(sb, phys);
50 if (bh == NULL || !buffer_uptodate(bh)) {
54 brelse(bh);
57 /* Returns the inode number of the directory entry at offset pos. If bh is
59 returned in bh
26 fat_make_i_pos(struct super_block *sb, struct buffer_head *bh, struct msdos_dir_entry *de) argument
67 fat__get_entry(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de) argument
103 fat_get_entry(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de) argument
238 fat_parse_long(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de, wchar_t **unicode, unsigned char *nr_slots) argument
309 struct buffer_head *bh = NULL; local
439 struct buffer_head *bh; local
808 fat_get_short_entry(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de) argument
824 fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh, struct msdos_dir_entry **de, loff_t *i_pos) argument
845 struct buffer_head *bh; local
871 struct buffer_head *bh; local
914 struct buffer_head *bh; local
949 struct buffer_head *bh; local
1110 fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, int *nr_cluster, struct msdos_dir_entry **de, struct buffer_head **bh, loff_t *i_pos) argument
1195 struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */ local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/
H A Dlonglong.h117 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
123 "rI" ((USItype)(bh)), \
126 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
132 "rI" ((USItype)(bh)), \
188 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
194 "rI" ((USItype)(bh)), \
197 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
203 "rI" ((USItype)(bh)), \
276 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
282 "g" ((USItype)(bh)), \
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/math-emu/
H A Dsfp-util.h6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
12 "rI" ((USItype)(bh)), \
16 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
22 "rI" ((USItype)(bh)), \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Dtail_conversion.c142 void reiserfs_unmap_buffer(struct buffer_head *bh) argument
144 lock_buffer(bh);
145 if (buffer_journaled(bh) || buffer_journal_dirty(bh)) {
148 clear_buffer_dirty(bh);
152 if ((!list_empty(&bh->b_assoc_buffers) || bh->b_private) && bh->b_page) {
153 struct inode *inode = bh->b_page->mapping->host;
156 list_del_init(&bh
[all...]

Completed in 228 milliseconds

1234567891011>>