• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ocfs2/

Lines Matching refs:lookup

943 	mlog(0, "Dir %llu: name: \"%.*s\", lookup of hash: %u.0x%x "
1026 struct ocfs2_dir_lookup_result *lookup)
1049 ret = ocfs2_dx_dir_search(name, namelen, dir, dx_root, lookup);
1056 lookup->dl_dx_root_bh = dx_root_bh;
1079 struct inode *dir, struct ocfs2_dir_lookup_result *lookup)
1085 return ocfs2_find_entry_dx(name, namelen, dir, lookup);
1088 * The unindexed dir code only uses part of the lookup
1100 lookup->dl_leaf_bh = bh;
1101 lookup->dl_entry = res_dir;
1255 struct ocfs2_dir_lookup_result *lookup)
1258 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh;
1259 struct buffer_head *leaf_bh = lookup->dl_leaf_bh;
1261 struct ocfs2_dx_entry *dx_entry = lookup->dl_dx_entry;
1281 dx_leaf = (struct ocfs2_dx_leaf *) lookup->dl_dx_leaf_bh->b_data;
1286 * been caught by lookup, before we got here. */
1329 lookup->dl_dx_leaf_bh,
1340 ret = __ocfs2_delete_entry(handle, dir, lookup->dl_entry,
1364 ocfs2_journal_dirty(handle, lookup->dl_dx_leaf_bh);
1511 struct ocfs2_dir_lookup_result *lookup)
1515 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh;
1524 dx_root = (struct ocfs2_dx_root_block *)lookup->dl_dx_root_bh->b_data;
1527 &lookup->dl_hinfo,
1528 lookup->dl_leaf_bh->b_blocknr,
1531 ret = __ocfs2_dx_dir_leaf_insert(dir, handle, &lookup->dl_hinfo,
1532 lookup->dl_leaf_bh->b_blocknr,
1533 lookup->dl_dx_leaf_bh);
1547 struct ocfs2_dir_lookup_result *lookup)
1553 trailer = ocfs2_trailer_from_bh(lookup->dl_leaf_bh, dir->i_sb);
1555 if (ocfs2_free_list_at_root(lookup)) {
1556 bh = lookup->dl_dx_root_bh;
1560 bh = lookup->dl_prev_leaf_bh;
1569 ocfs2_journal_dirty(handle, lookup->dl_leaf_bh);
1574 * lookup->dl_prev_leaf_bh or lookup->dl_dx_root_bh
1577 struct ocfs2_dir_lookup_result *lookup)
1583 max_rec_len = ocfs2_find_max_rec_len(dir->i_sb, lookup->dl_leaf_bh);
1590 trailer = ocfs2_trailer_from_bh(lookup->dl_leaf_bh, dir->i_sb);
1592 ocfs2_journal_dirty(handle, lookup->dl_leaf_bh);
1594 ocfs2_remove_block_from_free_list(dir, handle, lookup);
1601 * The lookup context must have been filled from
1609 struct ocfs2_dir_lookup_result *lookup)
1618 struct buffer_head *insert_bh = lookup->dl_leaf_bh;
1629 if (ocfs2_free_list_at_root(lookup)) {
1630 bh = lookup->dl_dx_root_bh;
1635 bh = lookup->dl_prev_leaf_bh;
1701 lookup);
1730 ocfs2_recalc_free_list(dir, handle, lookup);
2046 struct ocfs2_dir_lookup_result *lookup)
2053 status = ocfs2_find_entry(name, namelen, inode, lookup);
2057 *blkno = le64_to_cpu(lookup->dl_entry->inode);
2073 struct ocfs2_dir_lookup_result lookup = { NULL, };
2075 ret = ocfs2_find_files_on_disk(name, namelen, blkno, dir, &lookup);
2076 ocfs2_free_dir_lookup_result(&lookup);
2093 struct ocfs2_dir_lookup_result lookup = { NULL, };
2099 if (ocfs2_find_entry(name, namelen, dir, &lookup) == 0)
2104 ocfs2_free_dir_lookup_result(&lookup);
2830 struct ocfs2_dir_lookup_result *lookup,
3109 &lookup->dl_hinfo);
3111 lookup->dl_dx_leaf_bh = dx_leaves[off];
3113 lookup->dl_dx_root_bh = dx_root_bh;
3213 struct ocfs2_dir_lookup_result *lookup,
3228 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh;
3240 blocks_wanted, lookup,
3249 dx_root_bh = lookup->dl_dx_root_bh;
3951 struct ocfs2_dir_lookup_result *lookup)
3963 ret = ocfs2_dx_dir_lookup(dir, &dx_root->dr_list, &lookup->dl_hinfo,
3986 &lookup->dl_hinfo, leaf_cpos,
3995 * Restart the lookup. The rebalance might have
4005 lookup->dl_dx_leaf_bh = dx_leaf_bh;
4016 struct ocfs2_dir_lookup_result *lookup)
4041 lookup->dl_leaf_bh = leaf_bh;
4042 lookup->dl_prev_leaf_bh = prev_leaf_bh;
4195 struct ocfs2_dir_lookup_result *lookup)
4242 namelen, lookup);
4255 ret = ocfs2_search_dx_free_list(dir, dx_root_bh, namelen, lookup);
4262 lookup->dl_dx_root_bh = dx_root_bh;
4266 ret = ocfs2_extend_dir(osb, dir, di_bh, 1, lookup, &leaf_bh);
4277 lookup->dl_prev_leaf_bh = NULL;
4278 lookup->dl_leaf_bh = leaf_bh;
4290 * lookup result that ocfs2_add_entry() will be able complete the task
4298 struct ocfs2_dir_lookup_result *lookup)
4325 ocfs2_dx_dir_name_hash(dir, name, namelen, &lookup->dl_hinfo);
4329 name, namelen, lookup);
4353 lookup, &bh);
4363 lookup->dl_leaf_bh = bh;