Home
last modified time | relevance | path

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

/include/crypto/internal/
A Dsig.h14 void (*free)(struct sig_instance *inst);
54 struct sig_instance *inst);
56 static inline struct sig_instance *sig_instance(struct crypto_instance *inst) in sig_instance() argument
58 return container_of(&inst->alg, struct sig_instance, alg.base); in sig_instance()
67 *inst) in sig_crypto_instance()
69 return container_of(&inst->alg.base, struct crypto_instance, alg); in sig_crypto_instance()
72 static inline void *sig_instance_ctx(struct sig_instance *inst) in sig_instance_ctx() argument
74 return crypto_instance_ctx(sig_crypto_instance(inst)); in sig_instance_ctx()
78 struct crypto_instance *inst,
A Dskcipher.h29 void (*free)(struct skcipher_instance *inst);
59 struct skcipher_instance *inst) in skcipher_crypto_instance() argument
61 return &inst->s.base; in skcipher_crypto_instance()
65 struct lskcipher_instance *inst) in lskcipher_crypto_instance() argument
67 return &inst->s.base; in lskcipher_crypto_instance()
100 struct crypto_instance *inst,
104 struct crypto_instance *inst,
165 struct skcipher_instance *inst);
172 struct lskcipher_instance *inst);
235 struct skcipher_instance *inst) in skcipher_ialg_simple() argument
[all …]
A Dakcipher.h14 void (*free)(struct akcipher_instance *inst);
81 struct akcipher_instance *inst) in akcipher_crypto_instance() argument
83 return container_of(&inst->alg.base, struct crypto_instance, alg); in akcipher_crypto_instance()
87 struct crypto_instance *inst) in akcipher_instance() argument
89 return container_of(&inst->alg, struct akcipher_instance, alg.base); in akcipher_instance()
98 static inline void *akcipher_instance_ctx(struct akcipher_instance *inst) in akcipher_instance_ctx() argument
100 return crypto_instance_ctx(akcipher_crypto_instance(inst)); in akcipher_instance_ctx()
104 struct crypto_instance *inst,
154 struct akcipher_instance *inst);
A Dkpp.h21 void (*free)(struct kpp_instance *inst);
106 struct kpp_instance *inst) in kpp_crypto_instance() argument
108 return &inst->s.base; in kpp_crypto_instance()
117 static inline struct kpp_instance *kpp_instance(struct crypto_instance *inst) in kpp_instance() argument
119 return container_of(inst, struct kpp_instance, s.base); in kpp_instance()
144 static inline void *kpp_instance_ctx(struct kpp_instance *inst) in kpp_instance_ctx() argument
146 return crypto_instance_ctx(kpp_crypto_instance(inst)); in kpp_instance_ctx()
182 struct kpp_instance *inst);
197 struct crypto_instance *inst,
A Daead.h19 void (*free)(struct aead_instance *inst);
48 struct aead_instance *inst) in aead_crypto_instance() argument
50 return container_of(&inst->alg.base, struct crypto_instance, alg); in aead_crypto_instance()
53 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() argument
55 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance()
63 static inline void *aead_instance_ctx(struct aead_instance *inst) in aead_instance_ctx() argument
65 return crypto_instance_ctx(aead_crypto_instance(inst)); in aead_instance_ctx()
100 struct crypto_instance *inst,
165 struct aead_instance *inst);
A Dhash.h49 void (*free)(struct ahash_instance *inst);
92 struct ahash_instance *inst);
124 struct crypto_instance *inst,
143 struct shash_instance *inst);
147 struct crypto_instance *inst,
214 struct ahash_instance *inst) in ahash_crypto_instance() argument
216 return &inst->s.base; in ahash_crypto_instance()
220 struct crypto_instance *inst) in ahash_instance() argument
280 struct shash_instance *inst) in shash_crypto_instance() argument
282 return &inst->s.base; in shash_crypto_instance()
[all …]
A Dcipher.h186 struct crypto_instance *inst, in crypto_grab_cipher() argument
192 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_cipher()
/include/crypto/
A Dalgapi.h92 struct crypto_instance *inst; member
136 struct crypto_instance *inst);
137 void crypto_unregister_instance(struct crypto_instance *inst);
152 #define crypto_inst_setname(inst, name, ...) \ argument
154 inst, name, ##__VA_ARGS__)
155 #define crypto_inst_setname_1(inst, name, alg) \ argument
156 __crypto_inst_setname(inst, name, name, alg)
157 #define crypto_inst_setname_2(inst, name, driver, alg) \ argument
158 __crypto_inst_setname(inst, name, driver, alg)
208 static inline void *crypto_instance_ctx(struct crypto_instance *inst) in crypto_instance_ctx() argument
[all …]
/include/uapi/linux/
A Dkcov.h56 static inline __u64 kcov_remote_handle(__u64 subsys, __u64 inst) in kcov_remote_handle() argument
58 if (subsys & ~KCOV_SUBSYSTEM_MASK || inst & ~KCOV_INSTANCE_MASK) in kcov_remote_handle()
60 return subsys | inst; in kcov_remote_handle()
/include/linux/usb/
A Dcomposite.h576 struct usb_function *(*alloc_func)(struct usb_function_instance *inst);
583 int (*set_inst_name)(struct usb_function_instance *inst,
585 void (*free_func_inst)(struct usb_function_instance *inst);
/include/linux/
A Dmcb.h68 int inst; member
A Darm-smccc.h615 #define __arm_smccc_1_1(inst, ...) \ argument
623 asm volatile(inst "\n" : \
/include/sound/
A Dopl3.h256 struct fm_instrument inst; member
/include/linux/ceph/
A Dmessenger.h104 struct ceph_entity_inst inst; /* my name+address */ member

Completed in 20 milliseconds