Searched refs:ks (Results 1 – 1 of 1) sorted by relevance
188 struct btrfs_lockdep_keyset *ks = &btrfs_lockdep_keysets[i]; in btrfs_init_lockdep() local190 for (j = 0; j < ARRAY_SIZE(ks->names); j++) in btrfs_init_lockdep()191 snprintf(ks->names[j], sizeof(ks->names[j]), in btrfs_init_lockdep()192 "btrfs-%s-%02d", ks->name_stem, j); in btrfs_init_lockdep()199 struct btrfs_lockdep_keyset *ks; in btrfs_set_buffer_lockdep_class() local201 BUG_ON(level >= ARRAY_SIZE(ks->keys)); in btrfs_set_buffer_lockdep_class()204 for (ks = btrfs_lockdep_keysets; ks->id; ks++) in btrfs_set_buffer_lockdep_class()205 if (ks->id == objectid) in btrfs_set_buffer_lockdep_class()209 &ks->keys[level], ks->names[level]); in btrfs_set_buffer_lockdep_class()