Searched refs:bhs (Results 1 - 25 of 31) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fat/
H A Dfatent.c42 struct buffer_head **bhs = fatent->bhs; local
44 WARN_ON(offset >= (bhs[0]->b_size - 1));
45 fatent->u.ent12_p[0] = bhs[0]->b_data + offset;
46 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1);
48 WARN_ON(offset != (bhs[0]->b_size - 1));
49 fatent->u.ent12_p[0] = bhs[0]->b_data + offset;
50 fatent->u.ent12_p[1] = bhs[1]->b_data;
57 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset);
63 fatent->u.ent32_p = (__le32 *)(fatent->bhs[
69 struct buffer_head **bhs = fatent->bhs; local
190 struct buffer_head **bhs = fatent->bhs; local
306 struct buffer_head **bhs = fatent->bhs; local
346 fat_mirror_bhs(struct super_block *sb, struct buffer_head **bhs, int nr_bhs) argument
415 fat_collect_bhs(struct buffer_head **bhs, int *nr_bhs, struct fat_entry *fatent) argument
439 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local
526 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local
[all...]
H A Dmisc.c196 int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) argument
200 ll_rw_block(SWRITE, nr_bhs, bhs);
202 wait_on_buffer(bhs[i]);
203 if (buffer_eopnotsupp(bhs[i])) {
204 clear_buffer_eopnotsupp(bhs[i]);
206 } else if (!err && !buffer_uptodate(bhs[i]))
H A Ddir.c999 struct buffer_head **bhs, int nr_bhs)
1009 bhs[n] = sb_getblk(sb, blknr);
1010 if (!bhs[n]) {
1014 memset(bhs[n]->b_data, 0, sb->s_blocksize);
1015 set_buffer_uptodate(bhs[n]);
1016 mark_buffer_dirty(bhs[n]);
1022 err = fat_sync_bhs(bhs, n);
1027 brelse(bhs[i]);
1032 err = fat_sync_bhs(bhs, n);
1037 brelse(bhs[
998 fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used, struct buffer_head **bhs, int nr_bhs) argument
1051 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local
1116 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local
1195 struct buffer_head *bh, *prev, *bhs[3]; /* 32*slots (672bytes) */ local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Dbuffer_head_io.c92 struct buffer_head *bhs[], int flags,
106 if (osb == NULL || osb->sb == NULL || bhs == NULL) {
133 if (bhs[i] == NULL) {
134 bhs[i] = sb_getblk(sb, block++);
135 if (bhs[i] == NULL) {
143 bh = bhs[i];
240 bh = bhs[i];
258 bhs[i] = NULL;
91 ocfs2_read_blocks(struct ocfs2_super *osb, u64 block, int nr, struct buffer_head *bhs[], int flags, struct inode *inode) argument
H A Dbuffer_head_io.h46 struct buffer_head *bhs[],
H A Dnamei.c1079 struct buffer_head *new_de_bh = NULL, *old_de_bh = NULL; // bhs for above
1128 /* make sure both dirs have bhs
1484 struct buffer_head **bhs = NULL; local
1507 bhs = kcalloc(blocks, sizeof(struct buffer_head *), GFP_KERNEL);
1508 if (!bhs) {
1534 bhs[virtual] = sb_getblk(sb, p_blkno);
1535 if (!bhs[virtual]) {
1540 ocfs2_set_new_buffer_uptodate(inode, bhs[virtual]);
1542 status = ocfs2_journal_access(handle, inode, bhs[virtual],
1549 memset(bhs[virtua
[all...]
H A Djournal.c656 struct buffer_head *bhs[CONCURRENT_JOURNAL_FILL]; local
660 memset(bhs, 0, sizeof(struct buffer_head *) * CONCURRENT_JOURNAL_FILL);
678 p_blkno, p_blocks, bhs, 0,
686 brelse(bhs[i]);
687 bhs[i] = NULL;
695 if (bhs[i])
696 brelse(bhs[i]);
H A Dalloc.c341 struct buffer_head *bhs[])
366 bhs[i] = sb_getblk(osb->sb, first_blkno);
367 if (bhs[i] == NULL) {
372 ocfs2_set_new_buffer_uptodate(inode, bhs[i]);
374 status = ocfs2_journal_access(handle, inode, bhs[i],
381 memset(bhs[i]->b_data, 0, osb->sb->s_blocksize);
382 eb = (struct ocfs2_extent_block *) bhs[i]->b_data;
403 status = ocfs2_journal_dirty(handle, bhs[i]);
417 if (bhs[i])
418 brelse(bhs[
336 ocfs2_create_new_meta_bhs(struct ocfs2_super *osb, handle_t *handle, struct inode *inode, int wanted, struct ocfs2_alloc_context *meta_ac, struct buffer_head *bhs[]) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/
H A Dcompress.c168 struct buffer_head *bhs[needblocks+1]; local
174 memset(bhs, 0, (needblocks+1)*sizeof(struct buffer_head *));
175 haveblocks = isofs_get_blocks(inode, blockptr, bhs, needblocks);
176 ll_rw_block(READ, haveblocks, bhs);
178 bhptr = &bhs[0];
288 if ( bhs[i] )
289 brelse(bhs[i]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dcheckpoint.c203 __flush_batch(hfsplus_jbd_t *journal, struct buffer_head **bhs, int *batch_count) argument
208 ll_rw_block(SWRITE, *batch_count, bhs);
211 struct buffer_head *bh = bhs[i];
229 struct buffer_head **bhs, int *batch_count,
249 bhs[*batch_count] = bh;
253 __flush_batch(journal, bhs, batch_count);
288 struct buffer_head *bhs[NR_BATCH]; local
335 retry = __flush_buffer(journal, jh, bhs, &batch_count, &drop_count);
343 __flush_batch(journal, bhs, &batch_count);
228 __flush_buffer(hfsplus_jbd_t *journal, struct hfsplus_jbd_head *jh, struct buffer_head **bhs, int *batch_count, int *drop_count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/
H A Dcheckpoint.c211 __flush_batch(journal_t *journal, struct buffer_head **bhs, int *batch_count) argument
215 ll_rw_block(SWRITE, *batch_count, bhs);
217 struct buffer_head *bh = bhs[i];
235 struct buffer_head **bhs, int *batch_count)
279 bhs[*batch_count] = bh;
285 __flush_batch(journal, bhs, batch_count);
335 struct buffer_head *bhs[NR_BATCH]; local
349 retry = __process_buffer(journal, jh, bhs,&batch_count);
362 __flush_batch(journal, bhs, &batch_count);
234 __process_buffer(journal_t *journal, struct journal_head *jh, struct buffer_head **bhs, int *batch_count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/
H A Dcheckpoint.c211 __flush_batch(journal_t *journal, struct buffer_head **bhs, int *batch_count) argument
215 ll_rw_block(SWRITE, *batch_count, bhs);
217 struct buffer_head *bh = bhs[i];
235 struct buffer_head **bhs, int *batch_count)
279 bhs[*batch_count] = bh;
285 __flush_batch(journal, bhs, batch_count);
335 struct buffer_head *bhs[NR_BATCH]; local
349 retry = __process_buffer(journal, jh, bhs,&batch_count);
362 __flush_batch(journal, bhs, &batch_count);
234 __process_buffer(journal_t *journal, struct journal_head *jh, struct buffer_head **bhs, int *batch_count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/
H A Dcompress.c454 struct buffer_head **bhs; local
498 bhs = kmalloc(bhs_size, GFP_NOFS);
500 if (unlikely(!pages || !bhs)) {
501 kfree(bhs);
605 if (unlikely(!(bhs[nr_bhs] = sb_getblk(sb, block))))
617 struct buffer_head *tbh = bhs[i];
632 struct buffer_head *tbh = bhs[i];
674 memcpy(cb_pos, bhs[i]->b_data, block_size);
842 brelse(bhs[i]);
849 kfree(bhs);
[all...]
H A Daops.c898 struct buffer_head *bhs[MAX_BUF_PER_PAGE]; local
1062 while (bhs[--nr_bhs] != rec_start_bh)
1079 bhs[nr_bhs++] = bh;
1097 tbh = bhs[i];
1121 bhs[i] = NULL;
1149 clear_buffer_dirty(bhs[i]);
1150 bhs[i] = NULL;
1162 tbh = bhs[i];
1181 tbh = bhs[i];
1214 tbh = bhs[
[all...]
H A Dmft.c465 struct buffer_head *bhs[max_bhs]; local
573 bhs[nr_bhs++] = bh;
581 struct buffer_head *tbh = bhs[i_bhs];
593 struct buffer_head *tbh = bhs[i_bhs];
608 clear_buffer_dirty(bhs[i_bhs]);
670 struct buffer_head *bhs[max_bhs]; local
756 bhs[nr_bhs++] = bh;
774 struct buffer_head *tbh = bhs[i_bhs];
789 struct buffer_head *tbh = bhs[i_bhs];
822 clear_buffer_dirty(bhs[i_bh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dmsdos_fs.h362 struct buffer_head *bhs[2]; member in struct:fat_entry
370 fatent->bhs[0] = fatent->bhs[1] = NULL;
384 brelse(fatent->bhs[i]);
386 fatent->bhs[0] = fatent->bhs[1] = NULL;
427 extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mm/
H A Dcache-v4wt.S79 bhs __flush_whole_cache
H A Dcache-v4wb.S105 bhs __flush_whole_cache @ flush whole D cache
H A Dproc-arm1020e.S174 bhs __flush_whole_cache
H A Dproc-arm1022.S162 bhs __flush_whole_cache
H A Dproc-arm1026.S157 bhs __flush_whole_cache
H A Dproc-arm920.S164 bhs __flush_whole_cache
H A Dproc-arm922.S166 bhs __flush_whole_cache
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dbuffer.c1126 * The bhs[] array is sorted - newest buffer is at bhs[0]. Buffers have their
1141 struct buffer_head *bhs[BH_LRU_SIZE]; member in struct:bh_lru
1172 if (lru->bhs[0] != bh) {
1173 struct buffer_head *bhs[BH_LRU_SIZE]; local
1178 bhs[out++] = bh;
1180 struct buffer_head *bh2 = lru->bhs[in];
1189 bhs[out++] = bh2;
1194 bhs[out++] = NULL;
1195 memcpy(lru->bhs, bh
2577 ll_rw_block(int rw, int nr, struct buffer_head *bhs[]) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/misc/
H A Dlkdtm.c152 void jp_ll_rw_block(int rw, int nr, struct buffer_head *bhs[]) argument

Completed in 148 milliseconds

12