Lines Matching refs:root
37 struct root { struct
131 struct root *root; in root_create() local
133 root = kzalloc(sizeof(*root), GFP_KERNEL); in root_create()
134 if (!root) in root_create()
136 memcpy(&root->key, key, sizeof(root->key)); in root_create()
137 memcpy(root->buf, world->next_root_buf, sizeof(root->buf)); in root_create()
139 return root; in root_create()
144 struct root *root = root_priv; in root_destroy() local
148 kfree(root); in root_destroy()
156 const struct root *root; in test_nodelta_obj_get() local
182 root = objagg_obj_root_priv(objagg_obj); in test_nodelta_obj_get()
183 if (root->key.id != key_id) { in test_nodelta_obj_get()
189 memcmp(world->next_root_buf, root->buf, sizeof(root->buf))) { in test_nodelta_obj_get()