Lines Matching refs:parent
70 void *parent; member
85 void *parent = crngt->parent; in lock_parent() local
87 if (parent != NULL in lock_parent()
89 && !crngt->parent_lock(parent)) { in lock_parent()
98 void *parent = crngt->parent; in unlock_parent() local
100 if (parent != NULL && crngt->parent_unlock != NULL) in unlock_parent()
101 crngt->parent_unlock(parent); in unlock_parent()
187 static void *crng_test_new(void *provctx, void *parent, in crng_test_new() argument
200 if (parent != NULL) { in crng_test_new()
201 crngt->parent = parent; in crng_test_new()
294 if (crngt->parent == NULL in crng_test_get_seed()
308 n = crngt->parent_get_seed(crngt->parent, pout, entropy, in crng_test_get_seed()
314 crngt->parent_clear_seed(crngt->parent, *pout, n); in crng_test_get_seed()
324 if (crngt->parent == NULL || crngt->parent_get_seed == NULL) in crng_test_clear_seed()
327 crngt->parent_clear_seed(crngt->parent, out, outlen); in crng_test_clear_seed()
336 if (!crngt->parent_enable_locking(crngt->parent)) { in crng_test_enable_locking()
369 if (crngt->parent != NULL && crngt->parent_get_ctx_params != NULL) in crng_test_get_ctx_params()
370 return crngt->parent_get_ctx_params(crngt->parent, params); in crng_test_get_ctx_params()
403 if (crngt->parent != NULL && crngt->parent_gettable_ctx_params != NULL) in crng_test_gettable_ctx_params()
404 return crngt->parent_gettable_ctx_params(crngt->parent, provctx); in crng_test_gettable_ctx_params()