Lines Matching refs:private

113 static void alg_do_release(const struct af_alg_type *type, void *private)  in alg_do_release()  argument
118 type->release(private); in alg_do_release()
155 void *private; in alg_bind() local
184 private = type->bind(sa->salg_name, sa->salg_feat, sa->salg_mask); in alg_bind()
185 if (IS_ERR(private)) { in alg_bind()
187 return PTR_ERR(private); in alg_bind()
196 swap(ask->private, private); in alg_bind()
203 alg_do_release(type, private); in alg_bind()
223 err = type->setkey(ask->private, key, keylen); in alg_setkey()
339 err = type->setkey(ask->private, key_data, key_datalen); in alg_setkey_by_key_serial()
393 err = type->setauthsize(ask->private, optlen); in alg_setsockopt()
401 err = type->setentropy(ask->private, optval, optlen); in alg_setsockopt()
440 err = type->accept(ask->private, sk2); in af_alg_accept()
444 err = type->accept_nokey(ask->private, sk2); in af_alg_accept()
502 alg_do_release(ask->type, ask->private); in alg_sock_destruct()
608 struct af_alg_ctx *ctx = ask->private; in af_alg_alloc_tsgl()
649 const struct af_alg_ctx *ctx = ask->private; in af_alg_count_tsgl()
706 struct af_alg_ctx *ctx = ask->private; in af_alg_pull_tsgl()
774 struct af_alg_ctx *ctx = ask->private; in af_alg_free_areq_sgls()
868 struct af_alg_ctx *ctx = ask->private; in af_alg_wait_for_data()
906 struct af_alg_ctx *ctx = ask->private; in af_alg_data_wakeup()
943 struct af_alg_ctx *ctx = ask->private; in af_alg_sendmsg()
1125 ctx = alg_sk(sk)->private; in af_alg_free_resources()
1170 struct af_alg_ctx *ctx = ask->private; in af_alg_poll()
1196 struct af_alg_ctx *ctx = alg_sk(sk)->private; in af_alg_alloc_areq()
1238 struct af_alg_ctx *ctx = ask->private; in af_alg_get_rsgl()