Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 80) sorted by relevance

1234

/include/net/
Drequest_sock.h36 struct request_sock *req);
38 struct request_sock *req);
41 void (*destructor)(struct request_sock *req);
42 void (*syn_ack_timeout)(const struct request_sock *req);
45 int inet_rtx_syn_ack(const struct sock *parent, struct request_sock *req);
76 static inline struct sock *req_to_sk(struct request_sock *req) in req_to_sk() argument
78 return (struct sock *)req; in req_to_sk()
85 struct request_sock *req; in reqsk_alloc() local
87 req = kmem_cache_alloc(ops->slab, GFP_ATOMIC | __GFP_NOWARN); in reqsk_alloc()
88 if (!req) in reqsk_alloc()
[all …]
Dinet_sock.h74 struct request_sock req; member
75 #define ir_loc_addr req.__req_common.skc_rcv_saddr
76 #define ir_rmt_addr req.__req_common.skc_daddr
77 #define ir_num req.__req_common.skc_num
78 #define ir_rmt_port req.__req_common.skc_dport
79 #define ir_v6_rmt_addr req.__req_common.skc_v6_daddr
80 #define ir_v6_loc_addr req.__req_common.skc_v6_rcv_saddr
81 #define ir_iif req.__req_common.skc_bound_dev_if
82 #define ir_cookie req.__req_common.skc_cookie
83 #define ireq_net req.__req_common.skc_net
[all …]
/include/crypto/
Dakcipher.h93 int (*sign)(struct akcipher_request *req);
94 int (*verify)(struct akcipher_request *req);
95 int (*encrypt)(struct akcipher_request *req);
96 int (*decrypt)(struct akcipher_request *req);
161 static inline void akcipher_request_set_tfm(struct akcipher_request *req, in akcipher_request_set_tfm() argument
164 req->base.tfm = crypto_akcipher_tfm(tfm); in akcipher_request_set_tfm()
168 struct akcipher_request *req) in crypto_akcipher_reqtfm() argument
170 return __crypto_akcipher_tfm(req->base.tfm); in crypto_akcipher_reqtfm()
194 struct akcipher_request *req; in akcipher_request_alloc() local
196 req = kmalloc(sizeof(*req) + crypto_akcipher_reqsize(tfm), gfp); in akcipher_request_alloc()
[all …]
Dkpp.h79 int (*generate_public_key)(struct kpp_request *req);
80 int (*compute_shared_secret)(struct kpp_request *req);
137 static inline void kpp_request_set_tfm(struct kpp_request *req, in kpp_request_set_tfm() argument
140 req->base.tfm = crypto_kpp_tfm(tfm); in kpp_request_set_tfm()
143 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req) in crypto_kpp_reqtfm() argument
145 return __crypto_kpp_tfm(req->base.tfm); in crypto_kpp_reqtfm()
169 struct kpp_request *req; in kpp_request_alloc() local
171 req = kmalloc(sizeof(*req) + crypto_kpp_reqsize(tfm), gfp); in kpp_request_alloc()
172 if (likely(req)) in kpp_request_alloc()
173 kpp_request_set_tfm(req, tfm); in kpp_request_alloc()
[all …]
Daead.h140 int (*encrypt)(struct aead_request *req);
141 int (*decrypt)(struct aead_request *req);
304 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm() argument
306 return __crypto_aead_cast(req->base.tfm); in crypto_aead_reqtfm()
328 static inline int crypto_aead_encrypt(struct aead_request *req) in crypto_aead_encrypt() argument
330 return crypto_aead_alg(crypto_aead_reqtfm(req))->encrypt(req); in crypto_aead_encrypt()
355 static inline int crypto_aead_decrypt(struct aead_request *req) in crypto_aead_decrypt() argument
357 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
359 if (req->cryptlen < crypto_aead_authsize(aead)) in crypto_aead_decrypt()
362 return crypto_aead_alg(aead)->decrypt(req); in crypto_aead_decrypt()
[all …]
Dhash.h130 int (*init)(struct ahash_request *req);
131 int (*update)(struct ahash_request *req);
132 int (*final)(struct ahash_request *req);
133 int (*finup)(struct ahash_request *req);
134 int (*digest)(struct ahash_request *req);
135 int (*export)(struct ahash_request *req, void *out);
136 int (*import)(struct ahash_request *req, const void *in);
197 int (*init)(struct ahash_request *req);
198 int (*update)(struct ahash_request *req);
199 int (*final)(struct ahash_request *req);
[all …]
Dskcipher.h58 int (*encrypt)(struct skcipher_request *req);
59 int (*decrypt)(struct skcipher_request *req);
125 int (*encrypt)(struct skcipher_request *req);
126 int (*decrypt)(struct skcipher_request *req);
391 struct skcipher_request *req) in crypto_skcipher_reqtfm() argument
393 return __crypto_skcipher_cast(req->base.tfm); in crypto_skcipher_reqtfm()
407 static inline int crypto_skcipher_encrypt(struct skcipher_request *req) in crypto_skcipher_encrypt() argument
409 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_encrypt()
411 return tfm->encrypt(req); in crypto_skcipher_encrypt()
425 static inline int crypto_skcipher_decrypt(struct skcipher_request *req) in crypto_skcipher_decrypt() argument
[all …]
Dengine.h69 struct ablkcipher_request *req);
71 struct ablkcipher_request *req);
73 struct ahash_request *req);
75 struct ahash_request *req);
77 struct ablkcipher_request *req);
79 struct ahash_request *req);
90 struct ablkcipher_request *req,
93 struct ablkcipher_request *req);
95 struct ahash_request *req, bool need_pump);
97 struct ahash_request *req);
[all …]
Dpcrypt.h34 static inline void *pcrypt_request_ctx(struct pcrypt_request *req) in pcrypt_request_ctx() argument
36 return req->__ctx; in pcrypt_request_ctx()
40 struct padata_priv *pcrypt_request_padata(struct pcrypt_request *req) in pcrypt_request_padata() argument
42 return &req->padata; in pcrypt_request_padata()
Dablk_helper.h19 extern int __ablk_encrypt(struct ablkcipher_request *req);
21 extern int ablk_encrypt(struct ablkcipher_request *req);
23 extern int ablk_decrypt(struct ablkcipher_request *req);
/include/crypto/internal/
Daead.h68 static inline void *aead_request_ctx(struct aead_request *req) in aead_request_ctx() argument
70 return req->__ctx; in aead_request_ctx()
73 static inline void aead_request_complete(struct aead_request *req, int err) in aead_request_complete() argument
75 req->base.complete(&req->base, err); in aead_request_complete()
78 static inline u32 aead_request_flags(struct aead_request *req) in aead_request_flags() argument
80 return req->base.flags; in aead_request_flags()
84 struct crypto_async_request *req) in aead_request_cast() argument
86 return container_of(req, struct aead_request, base); in aead_request_cast()
146 struct crypto_async_request *req; in aead_dequeue_request() local
148 req = crypto_dequeue_request(&queue->base); in aead_dequeue_request()
[all …]
Dkpp.h21 static inline void *kpp_request_ctx(struct kpp_request *req) in kpp_request_ctx() argument
23 return req->__ctx; in kpp_request_ctx()
31 static inline void kpp_request_complete(struct kpp_request *req, int err) in kpp_request_complete() argument
33 req->base.complete(&req->base, err); in kpp_request_complete()
Dskcipher.h57 static inline void skcipher_request_complete(struct skcipher_request *req, int err) in skcipher_request_complete() argument
59 req->base.complete(&req->base, err); in skcipher_request_complete()
121 static inline void ablkcipher_request_complete(struct ablkcipher_request *req, in ablkcipher_request_complete() argument
124 req->base.complete(&req->base, err); in ablkcipher_request_complete()
127 static inline u32 ablkcipher_request_flags(struct ablkcipher_request *req) in ablkcipher_request_flags() argument
129 return req->base.flags; in ablkcipher_request_flags()
137 static inline void *skcipher_request_ctx(struct skcipher_request *req) in skcipher_request_ctx() argument
139 return req->__ctx; in skcipher_request_ctx()
142 static inline u32 skcipher_request_flags(struct skcipher_request *req) in skcipher_request_flags() argument
144 return req->base.flags; in skcipher_request_flags()
Dakcipher.h36 static inline void *akcipher_request_ctx(struct akcipher_request *req) in akcipher_request_ctx() argument
38 return req->__ctx; in akcipher_request_ctx()
46 static inline void akcipher_request_complete(struct akcipher_request *req, in akcipher_request_complete() argument
49 req->base.complete(&req->base, err); in akcipher_request_complete()
Dhash.h56 int crypto_hash_walk_first(struct ahash_request *req,
58 int crypto_ahash_walk_first(struct ahash_request *req,
123 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc);
124 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc);
125 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc);
179 static inline void ahash_request_complete(struct ahash_request *req, int err) in ahash_request_complete() argument
181 req->base.complete(&req->base, err); in ahash_request_complete()
184 static inline u32 ahash_request_flags(struct ahash_request *req) in ahash_request_flags() argument
186 return req->base.flags; in ahash_request_flags()
/include/linux/
Dnfs_page.h111 #define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags)) argument
136 struct nfs_page *req);
138 extern void nfs_unlock_request(struct nfs_page *req);
149 nfs_lock_request(struct nfs_page *req) in nfs_lock_request() argument
151 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
160 nfs_list_add_request(struct nfs_page *req, struct list_head *head) in nfs_list_add_request() argument
162 list_add_tail(&req->wb_list, head); in nfs_list_add_request()
171 nfs_list_remove_request(struct nfs_page *req) in nfs_list_remove_request() argument
173 if (list_empty(&req->wb_list)) in nfs_list_remove_request()
175 list_del_init(&req->wb_list); in nfs_list_remove_request()
[all …]
Dpm_qos.h113 static inline int dev_pm_qos_request_active(struct dev_pm_qos_request *req) in dev_pm_qos_request_active() argument
115 return req->dev != NULL; in dev_pm_qos_request_active()
121 struct pm_qos_flags_request *req,
123 void pm_qos_add_request(struct pm_qos_request *req, int pm_qos_class,
125 void pm_qos_update_request(struct pm_qos_request *req,
127 void pm_qos_update_request_timeout(struct pm_qos_request *req,
129 void pm_qos_remove_request(struct pm_qos_request *req);
134 int pm_qos_request_active(struct pm_qos_request *req);
142 int dev_pm_qos_add_request(struct device *dev, struct dev_pm_qos_request *req,
144 int dev_pm_qos_update_request(struct dev_pm_qos_request *req, s32 new_value);
[all …]
Dcrypto.h154 typedef void (*crypto_completion_t)(struct crypto_async_request *req, int err);
260 int (*encrypt)(struct ablkcipher_request *req);
261 int (*decrypt)(struct ablkcipher_request *req);
262 int (*givencrypt)(struct skcipher_givcrypt_request *req);
263 int (*givdecrypt)(struct skcipher_givcrypt_request *req);
494 void crypto_req_done(struct crypto_async_request *req, int err);
537 int (*encrypt)(struct ablkcipher_request *req);
538 int (*decrypt)(struct ablkcipher_request *req);
889 struct ablkcipher_request *req) in crypto_ablkcipher_reqtfm() argument
891 return __crypto_ablkcipher_cast(req->base.tfm); in crypto_ablkcipher_reqtfm()
[all …]
Dinet_diag.h22 const struct inet_diag_req_v2 *req);
29 const struct inet_diag_req_v2 *req);
37 struct sk_buff *skb, const struct inet_diag_req_v2 *req,
47 const struct inet_diag_req_v2 *req);
51 const struct inet_diag_req_v2 *req);
Dpmu.h16 extern int pmu_request(struct adb_request *req,
18 extern int pmu_queue_request(struct adb_request *req);
21 extern void pmu_wait_complete(struct adb_request *req);
/include/scsi/
Dscsi_tcq.h24 struct request *req = NULL; in scsi_host_find_tag() local
33 req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq], in scsi_host_find_tag()
37 req = blk_map_queue_find_tag(shost->bqt, tag); in scsi_host_find_tag()
40 if (!req) in scsi_host_find_tag()
42 return req->special; in scsi_host_find_tag()
/include/trace/events/
Dhswadsp.h245 struct sst_hsw_audio_data_format_ipc *req),
247 TP_ARGS(stream, req),
262 __entry->frequency = req->frequency;
263 __entry->bitdepth = req->bitdepth;
264 __entry->map = req->map;
265 __entry->config = req->config;
266 __entry->style = req->style;
267 __entry->ch_num = req->ch_num;
268 __entry->valid_bit = req->valid_bit;
281 struct sst_hsw_ipc_stream_alloc_req *req),
[all …]
/include/linux/sunrpc/
Dbc_xprt.h36 void xprt_complete_bc_request(struct rpc_rqst *req, uint32_t copied);
37 void xprt_free_bc_request(struct rpc_rqst *req);
44 void xprt_free_bc_rqst(struct rpc_rqst *req);
67 static inline void xprt_free_bc_request(struct rpc_rqst *req) in xprt_free_bc_request() argument
/include/net/9p/
Dtransport.h60 int (*request) (struct p9_client *, struct p9_req_t *req);
61 int (*cancel) (struct p9_client *, struct p9_req_t *req);
62 int (*cancelled)(struct p9_client *, struct p9_req_t *req);
/include/video/
Dsisfb.h32 extern void sis_malloc(struct sis_memreq *req);
33 extern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req);

1234