Lines Matching defs:level
20 * the level the eb occupies in the tree.
36 * We also add a check to make sure the highest level of the tree is the
45 #define DEFINE_LEVEL(stem, level) \
46 .names[level] = "btrfs-" stem "-0" #level,
82 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level)
86 BUG_ON(level >= ARRAY_SIZE(ks->keys));
93 lockdep_set_class_and_name(&eb->lock, &ks->keys[level], ks->names[level]);
124 * @nest: the nesting level to be used for lockdep
127 * level for lockdep purposes.
219 * This releases any locks held in the path starting at level and going all the
227 void btrfs_unlock_up_safe(struct btrfs_path *path, int level)
234 for (i = level; i < BTRFS_MAX_LEVEL; i++) {