Searched refs:ks (Results 1 – 1 of 1) sorted by relevance
174 struct btrfs_lockdep_keyset *ks = &btrfs_lockdep_keysets[i]; in btrfs_init_lockdep() local176 for (j = 0; j < ARRAY_SIZE(ks->names); j++) in btrfs_init_lockdep()177 snprintf(ks->names[j], sizeof(ks->names[j]), in btrfs_init_lockdep()178 "btrfs-%s-%02d", ks->name_stem, j); in btrfs_init_lockdep()185 struct btrfs_lockdep_keyset *ks; in btrfs_set_buffer_lockdep_class() local187 BUG_ON(level >= ARRAY_SIZE(ks->keys)); in btrfs_set_buffer_lockdep_class()190 for (ks = btrfs_lockdep_keysets; ks->id; ks++) in btrfs_set_buffer_lockdep_class()191 if (ks->id == objectid) in btrfs_set_buffer_lockdep_class()195 &ks->keys[level], ks->names[level]); in btrfs_set_buffer_lockdep_class()