Lines Matching refs:index
149 * Link an unindexed block with a dir trailer structure into the index free
261 * XXX: Is this really necessary, if the index is never looked
583 "Checksum failed for dir index root block %llu\n",
626 "Checksum failed for dir index leaf block %llu\n",
682 int ra_ptr = 0; /* Current index into readahead
835 * Returns the block index, from the start of the cluster which this
1220 int index)
1224 if (num_used == 1 || index == (num_used - 1))
1227 memmove(&entry_list->de_entries[index],
1228 &entry_list->de_entries[index + 1],
1229 (num_used - index - 1)*sizeof(struct ocfs2_dx_entry));
1240 int ret, index, max_rec_len, add_to_free_list = 0;
1273 index = (char *)dx_entry - (char *)entry_list->de_entries;
1274 index /= sizeof(*dx_entry);
1276 if (index >= le16_to_cpu(entry_list->de_num_used)) {
1278 (unsigned long long)OCFS2_I(dir)->ip_blkno, index,
1293 * Add the block holding our index into the journal before
1321 index);
1344 ocfs2_dx_list_remove_entry(entry_list, index);
2062 * entries which might not have been found in the index.
2450 * XXX: For create, this should claim cluster for the index
2535 * unindexed, then add the index block. This works with very
2541 * the index block.
2811 /* Add one more cluster for an index leaf */
2868 * Allocate our index cluster first, to maximize the
2925 * like a valid dirent. Even if inserting the index fails
3181 * never have an index root.
4191 * steps. The call to find_dir_space_dx reserves room in the index for