Lines Matching refs:block
166 sector_t block) in ocfs2_search_cache_tree() argument
174 if (block < item->c_block) in ocfs2_search_cache_tree()
176 else if (block > item->c_block) in ocfs2_search_cache_tree()
248 sector_t block) in ocfs2_append_cache_array() argument
252 mlog(0, "block %llu takes position %u\n", (unsigned long long) block, in ocfs2_append_cache_array()
255 ci->ci_cache.ci_array[ci->ci_num_cached] = block; in ocfs2_append_cache_array()
265 sector_t block = new->c_block; in __ocfs2_insert_cache_tree() local
270 mlog(0, "Insert block %llu num = %u\n", (unsigned long long) block, in __ocfs2_insert_cache_tree()
278 if (block < tmp->c_block) in __ocfs2_insert_cache_tree()
280 else if (block > tmp->c_block) in __ocfs2_insert_cache_tree()
285 (unsigned long long) block); in __ocfs2_insert_cache_tree()
344 sector_t block, in __ocfs2_set_buffer_uptodate() argument
355 (unsigned long long)block, expand_tree); in __ocfs2_set_buffer_uptodate()
362 new->c_block = block; in __ocfs2_set_buffer_uptodate()
384 ocfs2_append_cache_array(ci, block); in __ocfs2_set_buffer_uptodate()
519 sector_t block) in ocfs2_remove_block_from_cache() argument
529 (unsigned long long) block, ci->ci_num_cached, in ocfs2_remove_block_from_cache()
533 index = ocfs2_search_cache_array(ci, block); in ocfs2_remove_block_from_cache()
537 item = ocfs2_search_cache_tree(ci, block); in ocfs2_remove_block_from_cache()
555 sector_t block = bh->b_blocknr; in ocfs2_remove_from_cache() local
557 ocfs2_remove_block_from_cache(inode, block); in ocfs2_remove_from_cache()
562 sector_t block, in ocfs2_remove_xattr_clusters_from_cache() argument
567 for (i = 0; i < b_len; i++, block++) in ocfs2_remove_xattr_clusters_from_cache()
568 ocfs2_remove_block_from_cache(inode, block); in ocfs2_remove_xattr_clusters_from_cache()