Searched refs:nbytes (Results 226 - 250 of 461) sorted by relevance

1234567891011>>

/linux-master/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c156 int nbytes = 0; local
164 nbytes = sg_copy_from_buffer(out_sg, rctx->dst_nents,
166 if (!nbytes) {
168 "nbytes", nbytes, "cryptlen", req->cryptlen);
173 "nbytes", nbytes, "req->cryptlen", req->cryptlen,
186 int nbytes; local
192 nbytes = sg_copy_to_buffer(in_sg, rctx->src_nents,
196 "nbytes", nbyte
[all...]
/linux-master/drivers/vhost/
H A Dvsock.c116 size_t nbytes; local
195 nbytes = copy_to_iter(hdr, sizeof(*hdr), &iov_iter);
196 if (nbytes != sizeof(*hdr)) {
337 size_t nbytes; local
355 nbytes = copy_from_iter(hdr, sizeof(*hdr), &iov_iter);
356 if (nbytes != sizeof(*hdr)) {
358 sizeof(*hdr), nbytes);
378 nbytes = copy_from_iter(skb->data, payload_len, &iov_iter);
379 if (nbytes != payload_len) {
381 payload_len, nbytes);
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c422 int ix, nbytes; local
433 nbytes = sz;
436 nbytes = DATA_PKT_SZ;
459 if (wilc_spi_tx(wilc, &b[ix], nbytes)) {
470 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes);
483 ix += nbytes;
484 sz -= nbytes;
744 int nbytes; local
747 nbytes = min_t(u32, sz, DATA_PKT_SZ);
766 if (wilc_spi_rx(wilc, &b[ix], nbytes)) {
[all...]
/linux-master/drivers/crypto/tegra/
H A Dtegra-se-hash.c134 rctx->fallback_req.nbytes = req->nbytes;
164 rctx->fallback_req.nbytes = req->nbytes;
181 rctx->fallback_req.nbytes = req->nbytes;
306 nresidue = (req->nbytes + rctx->residue.size) % rctx->blk_size;
307 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size;
310 * If nbytes is a multiple of block size and there is no residue,
319 rctx->datbuf.size = (req->nbytes
[all...]
/linux-master/drivers/spi/
H A Dspi-cadence-xspi.c167 FIELD_PREP(CDNS_XSPI_CMD_P1_R3_NUM_ADDR_BYTES, (op)->addr.nbytes))
178 FIELD_PREP(CDNS_XSPI_CMD_DSEQ_R2_DCNT_L, (op)->data.nbytes & 0xFFFF)
182 ((op)->data.nbytes >> 16) & 0xffff) | \
358 int dummybytes = op->dummy.nbytes;
445 op->data.nbytes = clamp_val(op->data.nbytes, 0, cdns_xspi->sdmasize);
H A Dspi-bcm-qspi.c422 int addrlen = op->addr.nbytes;
431 if (op->dummy.nbytes)
432 bpp |= (op->dummy.nbytes * 8) / op->dummy.buswidth;
467 int addrlen = op->addr.nbytes;
513 int addrlen = op->addr.nbytes;
1045 if (op->addr.nbytes == BSPI_ADDRLEN_4BYTES)
1075 len = op->data.nbytes;
1165 for (i = 0; i < op->addr.nbytes; i++)
1166 cmd[1 + i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1));
1169 t[0].len = op->addr.nbytes
[all...]
/linux-master/kernel/sched/
H A Dpsi.c1513 size_t nbytes, enum psi_res res)
1523 if (!nbytes)
1526 buf_size = min(nbytes, sizeof(buf));
1552 return nbytes;
1556 size_t nbytes, loff_t *ppos)
1558 return psi_write(file, user_buf, nbytes, PSI_IO);
1562 size_t nbytes, loff_t *ppos)
1564 return psi_write(file, user_buf, nbytes, PSI_MEM);
1568 size_t nbytes, loff_t *ppos)
1570 return psi_write(file, user_buf, nbytes, PSI_CP
1512 psi_write(struct file *file, const char __user *user_buf, size_t nbytes, enum psi_res res) argument
1555 psi_io_write(struct file *file, const char __user *user_buf, size_t nbytes, loff_t *ppos) argument
1561 psi_memory_write(struct file *file, const char __user *user_buf, size_t nbytes, loff_t *ppos) argument
1567 psi_cpu_write(struct file *file, const char __user *user_buf, size_t nbytes, loff_t *ppos) argument
1626 psi_irq_write(struct file *file, const char __user *user_buf, size_t nbytes, loff_t *ppos) argument
[all...]
/linux-master/crypto/
H A Dlrw.c168 while (w.nbytes) {
169 unsigned int avail = w.nbytes;
185 if (second_pass && w.nbytes == w.total) {
/linux-master/drivers/macintosh/
H A Dvia-macii.c252 if (req->nbytes < 2 || req->data[0] != ADB_PACKET || req->nbytes > 15) {
330 * And req->nbytes is the number of bytes of real data plus one.
446 } else if (data_index >= req->nbytes) {
/linux-master/arch/x86/kernel/
H A Ddumpstack.c76 unsigned int nbytes)
79 return copy_from_kernel_nofault(buf, (u8 *)src, nbytes);
91 return copy_from_user_nmi(buf, (void __user *)src, nbytes);
75 copy_code(struct pt_regs *regs, u8 *buf, unsigned long src, unsigned int nbytes) argument
/linux-master/fs/coda/
H A Dcoda_psdev.h83 size_t nbytes);
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_ll2.h199 * @nbytes: Number of bytes.
205 dma_addr_t addr, u16 nbytes);
/linux-master/drivers/scsi/fnic/
H A Dfnic_debugfs.c258 * @nbytes: The number of bytes to read.
263 * field of @file. It will start reading at @pos and copy up to @nbytes of
268 * less than @nbytes if the end of the file was reached).
272 size_t nbytes,
277 rc = simple_read_from_buffer(ubuf, nbytes, pos,
606 * @nbytes: The number of bytes to read.
611 * field of @file. It will start reading at @pos and copy up to @nbytes of
616 * less than @nbytes if the end of the file was reached).
620 size_t nbytes,
625 rc = simple_read_from_buffer(ubuf, nbytes, po
270 fnic_trace_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument
618 fnic_stats_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument
[all...]
/linux-master/drivers/i3c/master/
H A Di3c-master-cdns.c428 const u8 *bytes, int nbytes)
430 writesl(master->regs + TX_FIFO, bytes, nbytes / 4);
431 if (nbytes & 3) {
434 memcpy(&tmp, bytes + (nbytes & ~3), nbytes & 3);
440 u8 *bytes, int nbytes)
442 readsl(master->regs + RX_FIFO, bytes, nbytes / 4);
443 if (nbytes & 3) {
447 memcpy(bytes + (nbytes & ~3), &tmp, nbytes
427 cdns_i3c_master_wr_to_tx_fifo(struct cdns_i3c_master *master, const u8 *bytes, int nbytes) argument
439 cdns_i3c_master_rd_from_rx_fifo(struct cdns_i3c_master *master, u8 *bytes, int nbytes) argument
1313 size_t nbytes; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_refcount_item.c70 int *nbytes)
75 *nbytes += xfs_cui_log_format_sizeof(cuip->cui_format.cui_nextents);
170 int *nbytes)
173 *nbytes += sizeof(struct xfs_cud_log_format);
67 xfs_cui_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
167 xfs_cud_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
H A Dxfs_exchmaps_item.c72 int *nbytes)
75 *nbytes += sizeof(struct xfs_xmi_log_format);
155 int *nbytes)
158 *nbytes += sizeof(struct xfs_xmd_log_format);
69 xfs_xmi_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
152 xfs_xmd_item_size( struct xfs_log_item *lip, int *nvecs, int *nbytes) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c797 u32 nbytes; local
814 nbytes = 0;
848 nbytes += wi->num_bytes;
861 nbytes += wi->num_bytes;
888 netdev_tx_completed_queue(sq->txq, npkts, nbytes);
906 u32 dma_fifo_cc, nbytes = 0; local
923 nbytes += wi->num_bytes;
935 nbytes += wi->num_bytes;
942 netdev_tx_completed_queue(sq->txq, npkts, nbytes);
/linux-master/fs/jfs/
H A Dxattr.c211 s32 nbytes, nb; local
245 nbytes = size;
251 nb = min(PSIZE, nbytes);
284 nbytes -= nb;
360 int nbytes, nb; local
368 nbytes = sizeDXD(&ji->ea);
369 if (!nbytes) {
370 jfs_error(sb, "nbytes is 0\n");
391 nb = min(PSIZE, nbytes);
403 nbytes
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dpci.c903 int nbytes)
925 alloc_nbytes = min_t(unsigned int, nbytes, DIAG_TRANSFER_LIMIT);
943 remaining_bytes = nbytes;
946 nbytes = min_t(unsigned int, remaining_bytes,
954 ret = ath10k_ce_send(ce_diag, NULL, (u32)address, nbytes, 0, 0);
981 if (nbytes != completed_nbytes) {
991 remaining_bytes -= nbytes;
992 memcpy(data, data_buf, nbytes);
994 address += nbytes;
995 data += nbytes;
902 ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, int nbytes) argument
1048 ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, const void *data, int nbytes) argument
1201 unsigned int nbytes, max_nbytes; local
1245 unsigned int nbytes, max_nbytes, nentries; local
2213 unsigned int nbytes; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Dcpqphp_sysfs.c161 size_t nbytes, loff_t *ppos)
164 return simple_read_from_buffer(buf, nbytes, ppos, dbg->data, dbg->size);
160 read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
/linux-master/drivers/crypto/ccp/
H A Dccp-crypto.h134 unsigned int nbytes; member in struct:ccp_aes_cmac_req_ctx
208 unsigned int nbytes; member in struct:ccp_sha_req_ctx
/linux-master/net/core/
H A Dnetprio_cgroup.c196 char *buf, size_t nbytes, loff_t off)
216 return ret ?: nbytes;
195 write_priomap(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off) argument
/linux-master/drivers/comedi/drivers/
H A Ddt282x.c400 unsigned int nbytes)
406 if (nbytes % 2)
410 for (i = 0; i < nbytes / 2; i++) {
428 unsigned int nbytes; local
430 nbytes = comedi_buf_read_samples(s, desc->virt_addr, nsamples);
431 if (nbytes)
432 dt282x_prep_ao_dma(dev, cur_dma, nbytes);
436 return nbytes;
397 dt282x_munge(struct comedi_device *dev, struct comedi_subdevice *s, unsigned short *buf, unsigned int nbytes) argument
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.h314 * nbytes: number of bytes to transfer to/from buf
323 int brcmf_sdiod_send_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes);
326 int brcmf_sdiod_recv_buf(struct brcmf_sdio_dev *sdiodev, u8 *buf, uint nbytes);
341 * nbytes: number of bytes to transfer to/from buf
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dce.c320 struct sk_buff **skb, int *nbytes)
346 *nbytes = ath12k_hal_ce_dst_status_get_length(desc);
347 if (*nbytes == 0) {
374 unsigned int nbytes, max_nbytes; local
378 while (ath12k_ce_completed_recv_next(pipe, &skb, &nbytes) == 0) {
383 if (unlikely(max_nbytes < nbytes)) {
384 ath12k_warn(ab, "rxed more than expected (nbytes %d, max %d)",
385 nbytes, max_nbytes);
390 skb_put(skb, nbytes);
319 ath12k_ce_completed_recv_next(struct ath12k_ce_pipe *pipe, struct sk_buff **skb, int *nbytes) argument

Completed in 256 milliseconds

1234567891011>>