Home
last modified time | relevance | path

Searched refs:blocknr (Results 1 – 25 of 32) sorted by relevance

12

/linux-2.4.37.9/fs/jbd/
Drevoke.c85 unsigned long blocknr; member
120 int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq) in insert_revoke_hash() argument
131 record->blocknr = blocknr; in insert_revoke_hash()
132 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
147 unsigned long blocknr) in find_revoke_record() argument
152 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
156 if (record->blocknr == blocknr) in find_revoke_record()
276 int journal_revoke(handle_t *handle, unsigned long blocknr, in journal_revoke() argument
297 bh = get_hash_table(dev, blocknr, journal->j_blocksize); in journal_revoke()
307 bh2 = get_hash_table(dev, blocknr, journal->j_blocksize); in journal_revoke()
[all …]
Drecovery.c74 unsigned long blocknr; in do_readahead() local
90 err = journal_bmap(journal, next, &blocknr); in do_readahead()
98 bh = getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
136 unsigned long blocknr; in jread() local
146 err = journal_bmap(journal, offset, &blocknr); in jread()
154 bh = getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
453 unsigned long blocknr; in do_one_pass() local
456 blocknr = ntohl(tag->t_blocknr); in do_one_pass()
462 (journal, blocknr, in do_one_pass()
471 nbh = getblk(journal->j_fs_dev, blocknr, in do_one_pass()
[all …]
Dcheckpoint.c364 unsigned long blocknr, freed; in cleanup_journal_tail() local
378 blocknr = transaction->t_log_start; in cleanup_journal_tail()
381 blocknr = transaction->t_log_start; in cleanup_journal_tail()
384 blocknr = journal->j_head; in cleanup_journal_tail()
387 blocknr = journal->j_head; in cleanup_journal_tail()
390 J_ASSERT (blocknr != 0); in cleanup_journal_tail()
400 freed = blocknr - journal->j_tail; in cleanup_journal_tail()
401 if (blocknr < journal->j_tail) in cleanup_journal_tail()
407 journal->j_tail_sequence, first_tid, blocknr, freed); in cleanup_journal_tail()
411 journal->j_tail = blocknr; in cleanup_journal_tail()
Djournal.c389 int blocknr) in journal_write_metadata_buffer() argument
482 new_bh->b_blocknr = blocknr; in journal_write_metadata_buffer()
611 unsigned long blocknr; in journal_next_log_block() local
615 blocknr = journal->j_head; in journal_next_log_block()
620 return journal_bmap(journal, blocknr, retp); in journal_next_log_block()
630 int journal_bmap(journal_t *journal, unsigned long blocknr, in journal_bmap() argument
637 ret = bmap(journal->j_inode, blocknr); in journal_bmap()
643 blocknr, bdevname(journal->j_dev)); in journal_bmap()
648 *retp = blocknr; /* +journal->j_blk_offset */ in journal_bmap()
664 unsigned long blocknr; in journal_get_descriptor_buffer() local
[all …]
Dcommit.c96 unsigned long blocknr; in journal_commit_transaction() local
434 err = journal_next_log_block(journal, &blocknr); in journal_commit_transaction()
461 jh, &new_jh, blocknr); in journal_commit_transaction()
/linux-2.4.37.9/fs/reiserfs/
Djournal.c430 if ((cn->blocknr == bl) && (cn->dev == dev)) in get_journal_hash_dev()
568 cn_orig = journal_hash(table, cn->dev, cn->blocknr) ; in insert_journal_hash()
574 journal_hash(table, cn->dev, cn->blocknr) = cn ; in insert_journal_hash()
770 unsigned long blocknr = cn->blocknr ; in find_newer_jl_for_cn() local
774 if (cn->dev == dev && cn->blocknr == blocknr && cn->jlist) { in find_newer_jl_for_cn()
797 if (cn->blocknr != 0) { in remove_all_from_journal_list()
799 reiserfs_warning(p_s_sb, "block %lu, bh is %d, state %ld\n", cn->blocknr, cn->bh ? 1: 0, in remove_all_from_journal_list()
802 fake_bh.b_blocknr = cn->blocknr ; in remove_all_from_journal_list()
970 if (cn->blocknr == 0) { in flush_journal_list()
1112 unsigned long blocknr ; in kupdate_one_transaction() local
[all …]
Dinode.c233 int blocknr; in _get_block_create_0() local
266 blocknr = get_block_num(ind_item, path.pos_in_item) ; in _get_block_create_0()
268 if (blocknr) { in _get_block_create_0()
270 bh_result->b_blocknr = blocknr; in _get_block_create_0()
2222 struct kiobuf *iobuf, unsigned long blocknr, in reiserfs_direct_io() argument
2228 return generic_direct_IO(rw, inode, iobuf, blocknr, blocksize, in reiserfs_direct_io()
Ddo_balan.c1243 unsigned long blocknr ; in free_thrown() local
1246 blocknr = tb->thrown[i]->b_blocknr ; in free_thrown()
1248 reiserfs_warning (tb->tb_sb, "free_thrown deals with dirty buffer %ld\n", blocknr); in free_thrown()
1250 reiserfs_free_block (tb->transaction_handle, blocknr); in free_thrown()
Dstree.c604 static void search_by_key_reada (struct super_block * s, int blocknr) in search_by_key_reada() argument
608 if (blocknr == 0) in search_by_key_reada()
611 bh = getblk (s->s_dev, blocknr, s->s_blocksize); in search_by_key_reada()
/linux-2.4.37.9/fs/cramfs/
Dinode.c116 unsigned i, blocknr, buffer, unread; in cramfs_read() local
124 blocknr = offset >> PAGE_CACHE_SHIFT; in cramfs_read()
133 if (blocknr < buffer_blocknr[i]) in cramfs_read()
135 blk_offset = (blocknr - buffer_blocknr[i]) << PAGE_CACHE_SHIFT; in cramfs_read()
154 if (blocknr + i < devsize) { in cramfs_read()
155 page = read_cache_page(mapping, blocknr + i, in cramfs_read()
179 buffer_blocknr[buffer] = blocknr; in cramfs_read()
/linux-2.4.37.9/fs/affs/
Dfile.c160 u32 blocknr, tmp; in affs_alloc_extblock() local
162 blocknr = affs_alloc_block(inode, bh->b_blocknr); in affs_alloc_extblock()
163 if (!blocknr) in affs_alloc_extblock()
166 new_bh = affs_getzeroblk(sb, blocknr); in affs_alloc_extblock()
168 affs_free_block(sb, blocknr); in affs_alloc_extblock()
173 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock()
183 AFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr); in affs_alloc_extblock()
184 affs_adjust_checksum(bh, blocknr - tmp); in affs_alloc_extblock()
365 u32 blocknr = affs_alloc_block(inode, ext_bh->b_blocknr); in affs_get_block() local
366 if (!blocknr) in affs_get_block()
[all …]
/linux-2.4.37.9/include/linux/
Dext3_jbd.h145 unsigned long blocknr, struct buffer_head *bh) in __ext3_journal_revoke() argument
147 int err = journal_revoke(handle, blocknr, bh); in __ext3_journal_revoke()
180 #define ext3_journal_revoke(handle, blocknr, bh) \ argument
181 __ext3_journal_revoke(__FUNCTION__, (handle), (blocknr), (bh))
Djbd.h719 int blocknr);
/linux-2.4.37.9/drivers/char/
Draw.c297 unsigned long blocknr, blocks; in rw_raw_dev() local
357 blocknr = off >> sector_bits; in rw_raw_dev()
362 if (blocks > limit - blocknr) in rw_raw_dev()
363 blocks = limit - blocknr; in rw_raw_dev()
374 iobuf->blocks[i] = blocknr++; in rw_raw_dev()
/linux-2.4.37.9/fs/jffs2/
Dnodemgmt.c286 int blocknr; in jffs2_mark_node_obsolete() local
299 blocknr = ref->flash_offset / c->sector_size; in jffs2_mark_node_obsolete()
300 if (blocknr >= c->nr_blocks) { in jffs2_mark_node_obsolete()
304 jeb = &c->blocks[blocknr]; in jffs2_mark_node_obsolete()
307 ref->totlen, blocknr, ref->flash_offset, jeb->used_size); in jffs2_mark_node_obsolete()
/linux-2.4.37.9/drivers/isdn/act2000/
Dcapi.h311 __u8 blocknr; member
318 __u8 blocknr; member
323 __u8 blocknr; member
327 __u8 blocknr; member
Dcapi.c551 __u8 blocknr; in actcapi_data_b3_ind() local
563 blocknr = msg->msg.data_b3_ind.blocknr; in actcapi_data_b3_ind()
577 msg->msg.data_b3_resp.blocknr = blocknr; in actcapi_data_b3_ind()
588 handle_ack(act2000_card *card, act2000_chan *chan, __u8 blocknr) { in handle_ack() argument
607 (m->msg.data_b3_req.blocknr == blocknr)) { in handle_ack()
660 msg->msg.data_b3_conf.blocknr); in actcapi_dispatch()
1043 msg->msg.data_b3_ind.blocknr); in actcapi_debug_msg()
/linux-2.4.37.9/fs/sysv/
Dsuper.c351 unsigned long blocknr; in sysv_read_super() local
381 blocknr = bh->b_blocknr << 1; in sysv_read_super()
385 bh1 = sb_bread(sb, blocknr); in sysv_read_super()
386 bh = sb_bread(sb, blocknr + 1); in sysv_read_super()
392 blocknr = bh->b_blocknr >> 1; in sysv_read_super()
396 bh1 = bh = sb_bread(sb, blocknr); in sysv_read_super()
/linux-2.4.37.9/fs/jfs/
Dinode.c332 unsigned long blocknr, int blocksize) in jfs_direct_IO() argument
334 return generic_direct_IO(rw, inode, iobuf, blocknr, in jfs_direct_IO()
/linux-2.4.37.9/fs/nfs/
Ddirect.c351 unsigned long blocknr, int blocksize) in nfs_direct_IO() argument
357 loff_t offset = (loff_t) blocknr << inode->i_blkbits; in nfs_direct_IO()
/linux-2.4.37.9/fs/
Dbuffer.c2188 int generic_direct_IO(int rw, struct inode * inode, struct kiobuf * iobuf, unsigned long blocknr, i… in generic_direct_IO() argument
2198 for (i = 0; i < nr_blocks; i++, blocknr++) { in generic_direct_IO()
2206 if (((loff_t) blocknr) * blocksize >= inode->i_size) in generic_direct_IO()
2211 retval = get_block(inode, blocknr, &bh, in generic_direct_IO()
2327 unsigned long blocknr; in brw_kiovec() local
2367 blocknr = b[bufind++]; in brw_kiovec()
2368 if (blocknr == -1UL) { in brw_kiovec()
2388 tmp->b_blocknr = blocknr; in brw_kiovec()
Dblock_dev.c134 …irect_IO(int rw, struct inode * inode, struct kiobuf * iobuf, unsigned long blocknr, int blocksize) in blkdev_direct_IO() argument
136 return generic_direct_IO(rw, inode, iobuf, blocknr, blocksize, blkdev_get_block); in blkdev_direct_IO()
/linux-2.4.37.9/arch/s390/boot/
Diplfba.S25 lm %r3,%r4,0x10 # blocknr and length of loadlist
/linux-2.4.37.9/arch/s390x/boot/
Diplfba.S25 lm %r3,%r4,0x10 # blocknr and length of loadlist
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_aops.c1162 unsigned long blocknr, in linvfs_direct_IO() argument
1181 offset = blocknr; in linvfs_direct_IO()

12