/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/ |
H A D | transaction.c | 505 struct buffer_head *bh = hfsplus_jh2bh(jh); local 507 if (test_clear_buffer_dirty(bh)) 508 set_buffer_hfsplus_jbddirty(bh); 526 struct buffer_head *bh; local 543 bh = hfsplus_jh2bh(jh); 547 lock_buffer(bh); 548 hfsplus_jbd_lock_bh_state(bh); 563 if (buffer_dirty(bh)) { 586 unlock_buffer(bh); 590 hfsplus_jbd_unlock_bh_state(bh); 747 hfsplus_jbd_get_write_access(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 780 hfsplus_jbd_get_create_access(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 863 hfsplus_jbd_get_undo_access(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 927 hfsplus_jbd_dirty_data(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 1096 hfsplus_jbd_dirty_metadata(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 1176 hfsplus_jbd_release_buffer(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 1198 hfsplus_jbd_forget(hfsplus_jbd_handle_t *handle, struct buffer_head *bh) argument 1489 struct buffer_head *bh = hfsplus_jh2bh(jh); local 1558 __hfsplus_jbd_try_to_free_buffer(hfsplus_jbd_t *journal, struct buffer_head *bh) argument 1632 struct buffer_head *bh; local 1678 struct buffer_head *bh = hfsplus_jh2bh(jh); local 1742 hfsplus_jbd_unmap_buffer(hfsplus_jbd_t *journal, struct buffer_head *bh) argument 1889 struct buffer_head *head, *bh, *next; local 1934 struct buffer_head *bh = hfsplus_jh2bh(jh); local 2023 struct buffer_head *bh = hfsplus_jh2bh(jh); local 2067 struct buffer_head *bh = hfsplus_jh2bh(jh); local [all...] |
H A D | wrapper.c | 90 struct buffer_head *bh; local 103 bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); 104 if (!bh) 113 brelse(bh); 114 bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); 115 if (!bh) 124 brelse(bh); 134 brelse(bh); 163 bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); 164 if (!bh) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/ |
H A D | chestnut.c | 45 static mv64x60_handle_t bh; variable 49 extern void mv64360_pcibios_fixup(mv64x60_handle_t *bh); 219 if (mv64x60_init(&bh, &si)) { 228 mv64x60_set_bus(&bh, 0, 0); 229 bh.hose_a->first_busno = 0; 230 bh.hose_a->last_busno = 0xff; 231 bh.hose_a->last_busno = pciauto_bus_scan(bh.hose_a, 0); 237 mv64x60_set_32bit_window(&bh, MV64x60_CPU2BOOT_WIN, 239 bh [all...] |
H A D | hdpu.c | 44 static mv64x60_handle_t bh; variable 91 mv64x60_write(&bh, MV64x60_GPP_IO_CNTL, 98 mv64x60_clr_bits(&bh, MV64x60_PCI0_CMD, (1 << 5) | (1 << 9)); 99 mv64x60_clr_bits(&bh, MV64x60_PCI1_CMD, (1 << 5) | (1 << 9)); 105 mv64x60_write(&bh, MV64x60_GPP_INTR_CAUSE, ~((1 << 8) | (1 << 13))); 106 mv64x60_set_bits(&bh, MV64x60_GPP_INTR_MASK, (1 << 8) | (1 << 13)); 112 mv64x60_set_bits(&bh, MV64360_IC_CPU0_INTR_MASK_HI, (1 << 25)); 119 mv64x60_set_32bit_window(&bh, MV64x60_CPU2BOOT_WIN, 121 bh.ci->enable_window_32bit(&bh, MV64x60_CPU2BOOT_WI [all...] |
H A D | radstone_ppc7d.c | 69 static struct mv64x60_handle bh; variable in typeref:struct:mv64x60_handle 149 data = mv64x60_read(&bh, MV64x60_GPP_INTR_MASK); 151 mv64x60_write(&bh, MV64x60_GPP_INTR_MASK, data); 154 data = mv64x60_read(&bh, MV64x60_MPP_CNTL_2); 156 mv64x60_write(&bh, MV64x60_MPP_CNTL_2, data); 159 data = mv64x60_read(&bh, MV64x60_GPP_IO_CNTL); 161 mv64x60_write(&bh, MV64x60_GPP_IO_CNTL, data); 164 mv64x60_write(&bh, MV64x60_GPP_VALUE_CLR, 1 << PPC7D_RST_PIN); 165 mv64x60_write(&bh, MV64x60_GPP_VALUE_SET, 1 << PPC7D_RST_PIN); 180 data = mv64x60_read(&bh, MV64x60_MPP_CNTL_ [all...] |
H A D | ev64360.c | 42 static struct mv64x60_handle bh; variable in typeref:struct:mv64x60_handle 115 if (mv64x60_init(&bh, &si)) 124 mv64x60_set_bus(&bh, 1, 0); 125 bh.hose_b->first_busno = 0; 126 bh.hose_b->last_busno = 0xff; 135 mv64x60_clr_bits(&bh, MV64x60_MPP_CNTL_1, 0xfff); 141 mv64x60_set_bits(&bh, MV64x60_GPP_LEVEL_CNTL, 0x700); 142 mv64x60_clr_bits(&bh, MV64x60_GPP_IO_CNTL, 0x700); 145 mv64x60_set_bits(&bh, MV64x60_COMM_ARBITER_CNTL, (1<<10)); 148 mv64x60_clr_bits(&bh, MV64x60_PCI0_CM [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/qnx4/ |
H A D | bitmap.c | 65 struct buffer_head *bh; local 68 if ((bh = sb_bread(sb, start + offset)) == NULL) { 72 count_bits(bh->b_data, size - total, &total_free); 73 brelse(bh); 87 struct buffer_head *bh; local 95 bh = sb_bread(sb, start); 96 if (bh == NULL) { 99 g = bh->b_data + (block % QNX4_BLOCK_SIZE); 107 brelse(bh); 116 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/ |
H A D | namei.c | 57 struct buffer_head * bh = NULL; local 72 if (!bh) { 73 bh = isofs_bread(dir, block); 74 if (!bh) 78 de = (struct iso_directory_record *) (bh->b_data + offset); 82 brelse(bh); 83 bh = NULL; 90 block_saved = bh->b_blocknr; 101 brelse(bh); 102 bh [all...] |
H A D | compress.c | 50 struct buffer_head *bh, *ptrbh[2]; local 108 bh = ptrbh[0]; 109 if ( !bh || (wait_on_buffer(bh), !buffer_uptodate(bh)) ) { 116 cstart = le32_to_cpu(*(__le32 *)(bh->b_data + (blockptr & bufmask))); 120 brelse(bh); 121 bh = ptrbh[1]; 122 if ( !bh || (wait_on_buffer(bh), !buffer_uptodat [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/ |
H A D | xattr.c | 64 #define BHDR(bh) ((struct ext3_xattr_header *)((bh)->b_data)) 66 #define BFIRST(bh) ENTRY(BHDR(bh)+1) 83 # define ea_bdebug(bh, f...) do { \ 86 bdevname(bh->b_bdev, b), \ 87 (unsigned long) bh->b_blocknr); \ 164 ext3_xattr_check_block(struct buffer_head *bh) argument 168 if (BHDR(bh)->h_magic != cpu_to_le32(EXT3_XATTR_MAGIC) || 169 BHDR(bh) 217 struct buffer_head *bh = NULL; local 360 struct buffer_head *bh = NULL; local 474 ext3_xattr_release_block(handle_t *handle, struct inode *inode, struct buffer_head *bh) argument 630 struct buffer_head *bh; member in struct:ext3_xattr_block_find 1081 struct buffer_head *bh = NULL; local 1126 ext3_xattr_cache_insert(struct buffer_head *bh) argument 1212 struct buffer_head *bh; local [all...] |
H A D | inode.c | 60 * "bh" may be NULL: a metadata block may have been freed from memory 65 struct buffer_head *bh, ext3_fsblk_t blocknr) 71 BUFFER_TRACE(bh, "enter"); 73 jbd_debug(4, "forgetting bh %p: is_metadata = %d, mode %o, " 75 bh, is_metadata, inode->i_mode, 85 if (bh) { 86 BUFFER_TRACE(bh, "call journal_forget"); 87 return ext3_journal_forget(handle, bh); 95 BUFFER_TRACE(bh, "call ext3_journal_revoke"); 96 err = ext3_journal_revoke(handle, blocknr, bh); 64 ext3_forget(handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext3_fsblk_t blocknr) argument 239 struct buffer_head *bh; member in struct:__anon7414 242 add_chain(Indirect *p, struct buffer_head *bh, __le32 *v) argument 359 struct buffer_head *bh; local 600 struct buffer_head *bh; local 1023 struct buffer_head *bh; local 1069 struct buffer_head * bh; local 1085 walk_page_buffers( handle_t *handle, struct buffer_head *head, unsigned from, unsigned to, int *partial, int (*fn)( handle_t *handle, struct buffer_head *bh)) argument 1093 struct buffer_head *bh; local 1142 do_journal_get_write_access(handle_t *handle, struct buffer_head *bh) argument 1184 ext3_journal_dirty_data(handle_t *handle, struct buffer_head *bh) argument 1194 commit_write_fn(handle_t *handle, struct buffer_head *bh) argument 1346 bget_one(handle_t *handle, struct buffer_head *bh) argument 1352 bput_one(handle_t *handle, struct buffer_head *bh) argument 1358 journal_dirty_data_fn(handle_t *handle, struct buffer_head *bh) argument 1716 struct buffer_head *bh; local 1901 ext3_clear_blocks(handle_t *handle, struct inode *inode, struct buffer_head *bh, ext3_fsblk_t block_to_free, unsigned long count, __le32 *first, __le32 *last) argument 1930 struct buffer_head *bh; local 2038 struct buffer_head *bh; local 2342 struct buffer_head *bh; local 2393 struct buffer_head *bh; local 2544 struct buffer_head *bh; local 2688 struct buffer_head *bh = iloc->bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/ |
H A D | xattr.c | 64 #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) 66 #define BFIRST(bh) ENTRY(BHDR(bh)+1) 83 # define ea_bdebug(bh, f...) do { \ 86 bdevname(bh->b_bdev, b), \ 87 (unsigned long) bh->b_blocknr); \ 164 ext4_xattr_check_block(struct buffer_head *bh) argument 168 if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) || 169 BHDR(bh) 217 struct buffer_head *bh = NULL; local 360 struct buffer_head *bh = NULL; local 474 ext4_xattr_release_block(handle_t *handle, struct inode *inode, struct buffer_head *bh) argument 629 struct buffer_head *bh; member in struct:ext4_xattr_block_find 1079 struct buffer_head *bh = NULL; local 1124 ext4_xattr_cache_insert(struct buffer_head *bh) argument 1210 struct buffer_head *bh; local [all...] |
H A D | inode.c | 58 * "bh" may be NULL: a metadata block may have been freed from memory 63 struct buffer_head *bh, ext4_fsblk_t blocknr) 69 BUFFER_TRACE(bh, "enter"); 71 jbd_debug(4, "forgetting bh %p: is_metadata = %d, mode %o, " 73 bh, is_metadata, inode->i_mode, 83 if (bh) { 84 BUFFER_TRACE(bh, "call jbd2_journal_forget"); 85 return ext4_journal_forget(handle, bh); 93 BUFFER_TRACE(bh, "call ext4_journal_revoke"); 94 err = ext4_journal_revoke(handle, blocknr, bh); 62 ext4_forget(handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr) argument 237 struct buffer_head *bh; member in struct:__anon7419 240 add_chain(Indirect *p, struct buffer_head *bh, __le32 *v) argument 357 struct buffer_head *bh; local 598 struct buffer_head *bh; local 1022 struct buffer_head *bh; local 1068 struct buffer_head * bh; local 1084 walk_page_buffers( handle_t *handle, struct buffer_head *head, unsigned from, unsigned to, int *partial, int (*fn)( handle_t *handle, struct buffer_head *bh)) argument 1092 struct buffer_head *bh; local 1141 do_journal_get_write_access(handle_t *handle, struct buffer_head *bh) argument 1183 ext4_journal_dirty_data(handle_t *handle, struct buffer_head *bh) argument 1193 commit_write_fn(handle_t *handle, struct buffer_head *bh) argument 1345 bget_one(handle_t *handle, struct buffer_head *bh) argument 1351 bput_one(handle_t *handle, struct buffer_head *bh) argument 1357 jbd2_journal_dirty_data_fn(handle_t *handle, struct buffer_head *bh) argument 1715 struct buffer_head *bh; local 1908 ext4_clear_blocks(handle_t *handle, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t block_to_free, unsigned long count, __le32 *first, __le32 *last) argument 1937 struct buffer_head *bh; local 2045 struct buffer_head *bh; local 2352 struct buffer_head *bh; local 2404 struct buffer_head *bh; local 2536 struct buffer_head *bh; local 2684 struct buffer_head *bh = iloc->bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/ |
H A D | recovery.c | 74 struct buffer_head *bh; local 97 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 98 if (!bh) { 103 if (!buffer_uptodate(bh) && !buffer_locked(bh)) { 104 bufs[nbufs++] = bh; 111 brelse(bh); 136 struct buffer_head *bh; local 153 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 154 if (!bh) 181 count_tags(journal_t *journal, struct buffer_head *bh) argument 327 struct buffer_head * bh; local 580 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hpfs/ |
H A D | anode.c | 15 struct buffer_head *bh) 27 brelse(bh); 28 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; 33 brelse(bh); 41 brelse(bh); 50 brelse(bh); 54 brelse(bh); 67 struct buffer_head *bh, *bh1, *bh2; local 72 if (!(fnode = hpfs_map_fnode(s, node, &bh))) return -1; 75 if (!(anode = hpfs_map_anode(s, node, &bh))) retur 13 hpfs_bplus_lookup(struct super_block *s, struct inode *inode, struct bplus_header *btree, unsigned sec, struct buffer_head *bh) argument 273 struct buffer_head *bh; local 327 struct buffer_head *bh; local 335 struct buffer_head *bh; local 358 struct buffer_head *bh; local 382 struct buffer_head *bh; local 397 struct buffer_head *bh; local 477 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/ |
H A D | process.c | 117 unsigned long long ah, al, bh, bl, ch, cl; local 123 bh = (regs->regs[18]) >> 32; 128 ah, al, bh, bl, ch, cl); 132 asm volatile ("getcon " __TEA ", %0" : "=r" (bh)); 134 bh = (bh) >> 32; 141 ah, al, bh, bl, ch, cl); 145 bh = (regs->regs[1]) >> 32; 150 ah, al, bh, bl, ch, cl); 154 bh [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/ |
H A D | log.c | 72 struct buffer_head *bh; local 82 bh = bd->bd_bh; 86 if (!buffer_busy(bh)) { 87 if (!buffer_uptodate(bh)) { 89 gfs2_io_error_bh(sdp, bh); 96 if (!buffer_dirty(bh)) 102 wait_on_buffer(bh); 103 ll_rw_block(WRITE, 1, &bh); 122 struct buffer_head *bh; local 126 bh 401 struct buffer_head *bh; local 431 struct buffer_head *bh; local 474 struct buffer_head *bh; local 519 struct buffer_head *bh; local [all...] |
H A D | dir.c | 92 struct buffer_head *bh; local 94 bh = gfs2_meta_new(ip->i_gl, block); 95 gfs2_trans_add_bh(ip->i_gl, bh, 1); 96 gfs2_metatype_set(bh, GFS2_METATYPE_JD, GFS2_FORMAT_JD); 97 gfs2_buffer_clear_tail(bh, sizeof(struct gfs2_meta_header)); 98 *bhp = bh; 105 struct buffer_head *bh; local 108 error = gfs2_meta_read(ip->i_gl, block, DIO_WAIT, &bh); 111 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_JD)) { 112 brelse(bh); 185 struct buffer_head *bh; local 300 struct buffer_head *bh; local 541 dirent_first(struct gfs2_inode *dip, struct buffer_head *bh, struct gfs2_dirent **dent) argument 588 dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, struct gfs2_dirent **dent) argument 623 dirent_del(struct gfs2_inode *dip, struct buffer_head *bh, struct gfs2_dirent *prev, struct gfs2_dirent *cur) argument 663 gfs2_init_dirent(struct inode *inode, struct gfs2_dirent *dent, const struct qstr *name, struct buffer_head *bh) argument 683 gfs2_dirent_alloc(struct inode *inode, struct buffer_head *bh, const struct qstr *name) argument 753 struct buffer_head *bh; local 807 struct buffer_head *bh = gfs2_meta_new(ip->i_gl, bn); local 841 struct buffer_head *bh, *dibh; local 1266 struct buffer_head *bh; local 1494 struct buffer_head *bh; local 1513 struct buffer_head *bh, *obh; local 1571 struct buffer_head *bh; local 1643 struct buffer_head *bh; local 1705 struct buffer_head *bh; local 1747 struct buffer_head *bh; local 1828 struct buffer_head *bh, *dibh; local 1942 struct buffer_head *bh; local 1981 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/ |
H A D | aops.c | 44 * @bh: buffer head on which io is completed 45 * @uptodate: whether @bh is now uptodate or not 58 static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) argument 67 page = bh->b_page; 75 set_buffer_uptodate(bh); 78 bh_offset(bh); 88 if (unlikely(file_ofs + bh->b_size > init_size)) { 95 zero_user_page(page, bh_offset(bh) + ofs, 96 bh->b_size - ofs, KM_BIO_SRC_IRQ); 100 clear_buffer_uptodate(bh); 190 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; local 549 struct buffer_head *bh, *head; local 897 struct buffer_head *bh, *head, *tbh, *rec_start_bh; local 1563 struct buffer_head *bh, *head, *buffers_to_free = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/ |
H A D | symlink.c | 15 struct buffer_head *bh; local 28 bh = affs_bread(inode->i_sb, inode->i_ino); 29 if (!bh) 33 lf = (struct slink_front *)bh->b_data; 57 affs_brelse(bh);
|
H A D | namei.c | 174 struct buffer_head *bh; local 180 bh = affs_bread(sb, dir->i_ino); 181 if (!bh) 184 key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)]); 187 affs_brelse(bh); 190 bh = affs_bread(sb, key); 191 if (!bh) 193 if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper)) 194 return bh; 195 key = be32_to_cpu(AFFS_TAIL(sb, bh) 203 struct buffer_head *bh; local 317 struct buffer_head *bh; local 401 struct buffer_head *bh = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/ |
H A D | truncate.c | 121 brelse(epos.bh); 155 if (!epos.bh) { 159 struct allocExtDesc *aed = (struct allocExtDesc *)(epos.bh->b_data); 162 udf_update_tag(epos.bh->b_data, epos.offset); 164 udf_update_tag(epos.bh->b_data, sizeof(struct allocExtDesc)); 165 mark_buffer_dirty_inode(epos.bh, inode); 171 brelse(epos.bh); 204 if (!epos.bh) 218 if (!epos.bh) 224 if (!epos.bh) [all...] |
H A D | balloc.c | 87 struct buffer_head *bh = NULL; local 94 bh = udf_tread(sb, udf_get_lb_pblock(sb, loc, block)); 95 if (!bh) 99 bitmap->s_block_bitmap[bitmap_nr] = bh; 147 struct buffer_head * bh = NULL; local 184 bh = bitmap->s_block_bitmap[bitmap_nr]; 187 if (udf_set_bit(bit + i, bh->b_data)) 190 udf_debug("byte=%2x\n", ((char *)bh->b_data)[(bit + i) >> 3]); 203 mark_buffer_dirty(bh); 227 struct buffer_head *bh; local 289 struct buffer_head *bh = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/ |
H A D | wrapper.c | 90 struct buffer_head *bh; local 103 bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); 104 if (!bh) 113 brelse(bh); 114 bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); 115 if (!bh) 124 brelse(bh); 134 brelse(bh); 163 bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr); 164 if (!bh) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/bfs/ |
H A D | dir.c | 31 struct buffer_head * bh; local 48 bh = sb_bread(dir->i_sb, block); 49 if (!bh) { 54 de = (struct bfs_dirent *)(bh->b_data + offset); 58 brelse(bh); 66 brelse(bh); 133 struct buffer_head * bh; local 140 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); 141 if (bh) { 143 brelse(bh); 180 struct buffer_head * bh; local 273 struct buffer_head * bh; local 329 struct buffer_head * bh; local [all...] |