Searched refs:padata (Results 1 – 7 of 7) sorted by relevance
51 static void pcrypt_aead_serial(struct padata_priv *padata) in pcrypt_aead_serial() argument53 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_serial()56 aead_request_complete(req->base.data, padata->info); in pcrypt_aead_serial()63 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_done() local65 padata->info = err; in pcrypt_aead_done()68 padata_do_serial(padata); in pcrypt_aead_done()71 static void pcrypt_aead_enc(struct padata_priv *padata) in pcrypt_aead_enc() argument73 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_enc()76 padata->info = crypto_aead_encrypt(req); in pcrypt_aead_enc()78 if (padata->info == -EINPROGRESS) in pcrypt_aead_enc()[all …]
17 struct padata_priv padata; member30 return &req->padata; in pcrypt_request_padata()34 struct pcrypt_request *pcrypt_padata_request(struct padata_priv *padata) in pcrypt_padata_request() argument36 return container_of(padata, struct pcrypt_request, padata); in pcrypt_padata_request()
2 The padata parallel execution mechanism11 those packets. The crypto developers made a point of writing padata in a14 The first step in using padata is to set up a padata_instance structure for17 #include <linux/padata.h>31 To allocate a padata instance with the cpu_possible_mask for both39 user supplied cpumasks; these are the cpumasks padata actually uses. So40 it is legal to supply a cpumask to padata that contains offline CPUs.41 Once an offline CPU in the user supplied cpumask comes online, padata52 padata cpumask contains no active CPU (flag not set).53 padata_stop clears the flag and blocks until the padata instance[all …]
74 struct padata_priv *padata; in padata_parallel_worker() local76 padata = list_entry(local_list.next, in padata_parallel_worker()79 list_del_init(&padata->list); in padata_parallel_worker()81 padata->parallel(padata); in padata_parallel_worker()102 struct padata_priv *padata, int *cb_cpu) in padata_do_parallel() argument139 padata->pd = pd; in padata_do_parallel()140 padata->cb_cpu = *cb_cpu; in padata_do_parallel()142 padata->seq_nr = atomic_inc_return(&pd->seq_nr); in padata_do_parallel()143 target_cpu = padata_cpu_hash(pd, padata->seq_nr); in padata_do_parallel()144 padata->cpu = target_cpu; in padata_do_parallel()[all …]
109 obj-$(CONFIG_PADATA) += padata.o
40 void (*parallel)(struct padata_priv *padata);41 void (*serial)(struct padata_priv *padata);160 struct padata_priv *padata, int *cb_cpu);161 extern void padata_do_serial(struct padata_priv *padata);
12254 F: kernel/padata.c12255 F: include/linux/padata.h12256 F: Documentation/padata.txt