Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Dcrypto_ctx.c19 struct list_head idle_ctx; member
105 if (!list_empty(&ctx_list.idle_ctx)) { in ksmbd_find_crypto_ctx()
106 ctx = list_entry(ctx_list.idle_ctx.next, in ksmbd_find_crypto_ctx()
117 !list_empty(&ctx_list.idle_ctx)); in ksmbd_find_crypto_ctx()
130 !list_empty(&ctx_list.idle_ctx)); in ksmbd_find_crypto_ctx()
145 list_add(&ctx->list, &ctx_list.idle_ctx); in ksmbd_release_crypto_ctx()
211 while (!list_empty(&ctx_list.idle_ctx)) { in ksmbd_crypto_destroy()
212 ctx = list_entry(ctx_list.idle_ctx.next, in ksmbd_crypto_destroy()
225 INIT_LIST_HEAD(&ctx_list.idle_ctx); in ksmbd_crypto_create()
232 list_add(&ctx->list, &ctx_list.idle_ctx); in ksmbd_crypto_create()