Home
last modified time | relevance | path

Searched refs:idle_ctx (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/smb/server/
H A Dcrypto_ctx.c19 struct list_head idle_ctx; member
117 if (!list_empty(&ctx_list.idle_ctx)) { in ksmbd_find_crypto_ctx()
118 ctx = list_entry(ctx_list.idle_ctx.next, in ksmbd_find_crypto_ctx()
129 !list_empty(&ctx_list.idle_ctx)); in ksmbd_find_crypto_ctx()
142 !list_empty(&ctx_list.idle_ctx)); in ksmbd_find_crypto_ctx()
157 list_add(&ctx->list, &ctx_list.idle_ctx); in ksmbd_release_crypto_ctx()
243 while (!list_empty(&ctx_list.idle_ctx)) { in ksmbd_crypto_destroy()
244 ctx = list_entry(ctx_list.idle_ctx.next, in ksmbd_crypto_destroy()
257 INIT_LIST_HEAD(&ctx_list.idle_ctx); in ksmbd_crypto_create()
264 list_add(&ctx->list, &ctx_list.idle_ctx); in ksmbd_crypto_create()