/arch/powerpc/platforms/52xx/ |
D | mpc52xx_lpbfifo.c | 53 struct mpc52xx_lpbfifo_request *req; member 63 static void mpc52xx_lpbfifo_kick(struct mpc52xx_lpbfifo_request *req) in mpc52xx_lpbfifo_kick() argument 65 size_t transfer_size = req->size - req->pos; in mpc52xx_lpbfifo_kick() 71 int dma = !(req->flags & MPC52XX_LPBFIFO_FLAG_NO_DMA); in mpc52xx_lpbfifo_kick() 72 int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_kick() 73 int poll_dma = req->flags & MPC52XX_LPBFIFO_FLAG_POLL_DMA; in mpc52xx_lpbfifo_kick() 96 data = req->data + req->pos; in mpc52xx_lpbfifo_kick() 150 bd->data[0] = req->data_phys + req->pos; in mpc52xx_lpbfifo_kick() 164 req->offset + req->pos); in mpc52xx_lpbfifo_kick() 167 bit_fields = req->cs << 24 | 0x000008; in mpc52xx_lpbfifo_kick() [all …]
|
/arch/um/drivers/ |
D | mconsole_user.c | 40 static int mconsole_reply_v0(struct mc_request *req, char *reply) in mconsole_reply_v0() argument 48 msg.msg_name = &(req->origin); in mconsole_reply_v0() 49 msg.msg_namelen = req->originlen; in mconsole_reply_v0() 56 return sendmsg(req->originating_fd, &msg, 0); in mconsole_reply_v0() 59 static struct mconsole_command *mconsole_parse(struct mc_request *req) in mconsole_parse() argument 66 if (!strncmp(req->request.data, cmd->command, in mconsole_parse() 79 int mconsole_get_request(int fd, struct mc_request *req) in mconsole_get_request() argument 83 req->originlen = sizeof(req->origin); in mconsole_get_request() 84 req->len = recvfrom(fd, &req->request, sizeof(req->request), 0, in mconsole_get_request() 85 (struct sockaddr *) req->origin, &req->originlen); in mconsole_get_request() [all …]
|
D | mconsole_kern.c | 59 struct mconsole_entry *req; in mc_work_proc() local 64 req = list_entry(mc_requests.next, struct mconsole_entry, list); in mc_work_proc() 65 list_del(&req->list); in mc_work_proc() 67 req->request.cmd->handler(&req->request); in mc_work_proc() 68 kfree(req); in mc_work_proc() 79 static struct mc_request req; /* that's OK */ in mconsole_interrupt() local 82 while (mconsole_get_request(fd, &req)) { in mconsole_interrupt() 83 if (req.cmd->context == MCONSOLE_INTR) in mconsole_interrupt() 84 (*req.cmd->handler)(&req); in mconsole_interrupt() 88 mconsole_reply(&req, "Out of memory", 1, 0); in mconsole_interrupt() [all …]
|
D | mconsole.h | 51 void (*handler)(struct mc_request *req); 72 extern int mconsole_reply_len(struct mc_request *req, const char *reply, 74 extern int mconsole_reply(struct mc_request *req, const char *str, int err, 77 extern void mconsole_version(struct mc_request *req); 78 extern void mconsole_help(struct mc_request *req); 79 extern void mconsole_halt(struct mc_request *req); 80 extern void mconsole_reboot(struct mc_request *req); 81 extern void mconsole_config(struct mc_request *req); 82 extern void mconsole_remove(struct mc_request *req); 83 extern void mconsole_sysrq(struct mc_request *req); [all …]
|
D | ubd_kern.c | 47 struct request *req; member 449 struct io_thread_req *req; in ubd_handler() local 456 n = os_read_file(thread_fd, &req, in ubd_handler() 458 if(n != sizeof(req)){ in ubd_handler() 466 blk_end_request(req->req, 0, req->length); in ubd_handler() 467 kfree(req); in ubd_handler() 1191 static void cowify_req(struct io_thread_req *req, unsigned long *bitmap, in cowify_req() argument 1194 __u64 sector = req->offset >> 9; in cowify_req() 1197 if(req->length > (sizeof(req->sector_mask) * 8) << 9) in cowify_req() 1200 if(req->op == UBD_READ) { in cowify_req() [all …]
|
/arch/m68k/mac/ |
D | misc.c | 39 struct adb_request req; in cuda_read_time() local 42 if (cuda_request(&req, NULL, 2, CUDA_PACKET, CUDA_GET_TIME) < 0) in cuda_read_time() 44 while (!req.complete) in cuda_read_time() 47 time = (req.reply[3] << 24) | (req.reply[4] << 16) in cuda_read_time() 48 | (req.reply[5] << 8) | req.reply[6]; in cuda_read_time() 54 struct adb_request req; in cuda_write_time() local 56 if (cuda_request(&req, NULL, 6, CUDA_PACKET, CUDA_SET_TIME, in cuda_write_time() 60 while (!req.complete) in cuda_write_time() 66 struct adb_request req; in cuda_read_pram() local 67 if (cuda_request(&req, NULL, 4, CUDA_PACKET, CUDA_GET_PRAM, in cuda_read_pram() [all …]
|
/arch/s390/pci/ |
D | pci_insn.c | 17 static inline void zpci_err_insn(u8 cc, u8 status, u64 req, u64 offset) in zpci_err_insn() argument 20 u64 req; in zpci_err_insn() member 24 } __packed data = {req, offset, cc, status}; in zpci_err_insn() 30 static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) in __mpcifc() argument 38 : [cc] "=d" (cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc() 40 *status = req >> 24 & 0xff; in __mpcifc() 44 int zpci_mod_fc(u64 req, struct zpci_fib *fib) in zpci_mod_fc() argument 49 cc = __mpcifc(req, fib, &status); in zpci_mod_fc() 55 zpci_err_insn(cc, status, req, 0); in zpci_mod_fc() 106 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg() argument [all …]
|
/arch/powerpc/platforms/powermac/ |
D | time.c | 107 struct adb_request req; in cuda_get_time() local 110 if (cuda_request(&req, NULL, 2, CUDA_PACKET, CUDA_GET_TIME) < 0) in cuda_get_time() 112 while (!req.complete) in cuda_get_time() 114 if (req.reply_len != 7) in cuda_get_time() 116 req.reply_len); in cuda_get_time() 117 now = (req.reply[3] << 24) + (req.reply[4] << 16) in cuda_get_time() 118 + (req.reply[5] << 8) + req.reply[6]; in cuda_get_time() 127 struct adb_request req; in cuda_set_rtc_time() local 130 if (cuda_request(&req, NULL, 6, CUDA_PACKET, CUDA_SET_TIME, in cuda_set_rtc_time() 134 while (!req.complete) in cuda_set_rtc_time() [all …]
|
/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 68 static int ccm_init_mac(struct aead_request *req, u8 maciv[], u32 msglen) in ccm_init_mac() argument 70 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac() 72 u32 l = req->iv[0] + 1; in ccm_init_mac() 89 memcpy(maciv, req->iv, AES_BLOCK_SIZE - l); in ccm_init_mac() 99 if (req->assoclen) in ccm_init_mac() 102 memset(&req->iv[AES_BLOCK_SIZE - l], 0, l); in ccm_init_mac() 106 static void ccm_calculate_auth_mac(struct aead_request *req, u8 mac[]) in ccm_calculate_auth_mac() argument 108 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() 112 u32 len = req->assoclen; in ccm_calculate_auth_mac() 127 scatterwalk_start(&walk, req->src); in ccm_calculate_auth_mac() [all …]
|
D | sha1-ce-core.S | 17 k0 .req v0 18 k1 .req v1 19 k2 .req v2 20 k3 .req v3 22 t0 .req v4 23 t1 .req v5 25 dga .req q6 26 dgav .req v6 27 dgb .req s7 28 dgbv .req v7 [all …]
|
/arch/arm/crypto/ |
D | ghash-ce-core.S | 14 SHASH .req q0 15 SHASH2 .req q1 16 T1 .req q2 17 T2 .req q3 18 MASK .req q4 19 XL .req q5 20 XM .req q6 21 XH .req q7 22 IN1 .req q7 24 SHASH_L .req d0 [all …]
|
D | ghash-ce-glue.c | 151 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() argument 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 155 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 159 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_init() 167 desc->flags = req->base.flags; in ghash_async_init() 172 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() argument 174 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 181 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_update() 186 return shash_ahash_update(req, desc); in ghash_async_update() [all …]
|
D | speck-neon-core.S | 16 ROUND_KEYS .req r0 // const {u64,u32} *round_keys 17 NROUNDS .req r1 // int nrounds 18 DST .req r2 // void *dst 19 SRC .req r3 // const void *src 20 NBYTES .req r4 // unsigned int nbytes 21 TWEAK .req r5 // void *tweak 24 X0 .req q0 25 X0_L .req d0 26 X0_H .req d1 27 Y0 .req q1 [all …]
|
D | sha1-ce-core.S | 18 k0 .req q0 19 k1 .req q1 20 k2 .req q2 21 k3 .req q3 23 ta0 .req q4 24 ta1 .req q5 25 tb0 .req q5 26 tb1 .req q4 28 dga .req q6 29 dgb .req q7 [all …]
|
D | sha2-ce-core.S | 18 k0 .req q7 19 k1 .req q8 20 rk .req r3 22 ta0 .req q9 23 ta1 .req q10 24 tb0 .req q10 25 tb1 .req q9 27 dga .req q11 28 dgb .req q12 30 dg0 .req q13 [all …]
|
/arch/powerpc/platforms/512x/ |
D | mpc512x_lpbfifo.c | 43 struct mpc512x_lpbfifo_request *req; member 67 struct mpc512x_lpbfifo_request *req = NULL; in mpc512x_lpbfifo_irq() local 76 req = lpbfifo.req; in mpc512x_lpbfifo_irq() 77 if (!req || req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) { in mpc512x_lpbfifo_irq() 98 lpbfifo.req = NULL; in mpc512x_lpbfifo_irq() 102 if (req->callback) in mpc512x_lpbfifo_irq() 103 req->callback(req); in mpc512x_lpbfifo_irq() 119 struct mpc512x_lpbfifo_request *req = NULL; in mpc512x_lpbfifo_callback() local 129 req = lpbfifo.req; in mpc512x_lpbfifo_callback() 130 if (!req) { in mpc512x_lpbfifo_callback() [all …]
|
/arch/arm64/lib/ |
D | strlen.S | 38 srcin .req x0 39 len .req x0 42 src .req x1 43 data1 .req x2 44 data2 .req x3 45 data2a .req x4 46 has_nul1 .req x5 47 has_nul2 .req x6 48 tmp1 .req x7 49 tmp2 .req x8 [all …]
|
D | strnlen.S | 39 srcin .req x0 40 len .req x0 41 limit .req x1 44 src .req x2 45 data1 .req x3 46 data2 .req x4 47 data2a .req x5 48 has_nul1 .req x6 49 has_nul2 .req x7 50 tmp1 .req x8 [all …]
|
D | memmove.S | 40 dstin .req x0 41 src .req x1 42 count .req x2 43 tmp1 .req x3 44 tmp1w .req w3 45 tmp2 .req x4 46 tmp2w .req w4 47 tmp3 .req x5 48 tmp3w .req w5 49 dst .req x6 [all …]
|
D | copy_template.S | 36 dstin .req x0 37 src .req x1 38 count .req x2 39 tmp1 .req x3 40 tmp1w .req w3 41 tmp2 .req x4 42 tmp2w .req w4 43 dst .req x6 45 A_l .req x7 46 A_h .req x8 [all …]
|
D | memset.S | 40 dstin .req x0 41 val .req w1 42 count .req x2 43 tmp1 .req x3 44 tmp1w .req w3 45 tmp2 .req x4 46 tmp2w .req w4 47 zva_len_x .req x5 48 zva_len .req w5 49 zva_bits_x .req x6 [all …]
|
/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 165 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() argument 167 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 169 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 173 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_init() 181 desc->flags = req->base.flags; in ghash_async_init() 186 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() argument 188 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 191 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 195 memcpy(cryptd_req, req, sizeof(*req)); in ghash_async_update() 200 return shash_ahash_update(req, desc); in ghash_async_update() [all …]
|
D | aesni-intel_glue.c | 595 struct lrw_crypt_req req = { in lrw_encrypt() local 608 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_encrypt() 619 struct lrw_crypt_req req = { in lrw_decrypt() local 632 ret = lrw_crypt(desc, dst, src, nbytes, &req); in lrw_decrypt() 746 struct xts_crypt_req req = { in xts_encrypt() local 760 ret = xts_crypt(desc, dst, src, nbytes, &req); in xts_encrypt() 771 struct xts_crypt_req req = { in xts_decrypt() local 785 ret = xts_crypt(desc, dst, src, nbytes, &req); in xts_decrypt() 818 rfc4106_set_hash_subkey_done(struct crypto_async_request *req, int err) in rfc4106_set_hash_subkey_done() argument 820 struct aesni_gcm_set_hash_subkey_result *result = req->data; in rfc4106_set_hash_subkey_done() [all …]
|
/arch/um/os-Linux/ |
D | aio.c | 132 static int do_not_aio(struct aio_thread_req *req) in do_not_aio() argument 138 actual = lseek64(req->io_fd, req->offset, SEEK_SET); in do_not_aio() 139 if (actual != req->offset) in do_not_aio() 142 switch (req->type) { in do_not_aio() 144 n = read(req->io_fd, req->buf, req->len); in do_not_aio() 147 n = write(req->io_fd, req->buf, req->len); in do_not_aio() 150 n = read(req->io_fd, &c, sizeof(c)); in do_not_aio() 154 req->type); in do_not_aio() 171 struct aio_thread_req req; in not_aio_thread() local 177 err = read(aio_req_fd_r, &req, sizeof(req)); in not_aio_thread() [all …]
|
/arch/s390/include/asm/ |
D | pci_io.h | 36 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \ 40 rc = zpci_load(&data, req, ZPCI_OFFSET(addr)); \ 51 u64 req = ZPCI_CREATE_REQ(entry->fh, entry->bar, LENGTH); \ 54 zpci_store(data, req, ZPCI_OFFSET(addr)); \ 66 static inline int zpci_write_single(u64 req, const u64 *data, u64 offset, u8 len) in zpci_write_single() argument 87 return zpci_store(val, req, offset); in zpci_write_single() 90 static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) in zpci_read_single() argument 95 cc = zpci_load(&data, req, offset); in zpci_read_single() 117 static inline int zpci_write_block(u64 req, const u64 *data, u64 offset) in zpci_write_block() argument 119 return zpci_store_block(data, req, offset); in zpci_write_block() [all …]
|