/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | sdk.c | 66 u8 actual_size; in mlx5_fpga_mem_read_i2c() local 76 actual_size = min(max_size, (size - bytes_done)); in mlx5_fpga_mem_read_i2c() 78 err = mlx5_fpga_access_reg(fdev->mdev, actual_size, in mlx5_fpga_mem_read_i2c() 87 bytes_done += actual_size; in mlx5_fpga_mem_read_i2c() 98 u8 actual_size; in mlx5_fpga_mem_write_i2c() local 108 actual_size = min(max_size, (size - bytes_done)); in mlx5_fpga_mem_write_i2c() 110 err = mlx5_fpga_access_reg(fdev->mdev, actual_size, in mlx5_fpga_mem_write_i2c() 118 bytes_done += actual_size; in mlx5_fpga_mem_write_i2c()
|
/Linux-v5.4/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 91 for (i = 0; i < buf->actual_size; i += 2048) { in saa7164_pack_verifier() 119 for (i = 0; i < buf->actual_size; i += 188) { in saa7164_ts_verifier() 273 buf->crc = crc32(0, buf->cpu, buf->actual_size); in saa7164_work_enchandler_helper() 278 if ((*(p + buf->actual_size + 0) != 0xff) || in saa7164_work_enchandler_helper() 279 (*(p + buf->actual_size + 1) != 0xff) || in saa7164_work_enchandler_helper() 280 (*(p + buf->actual_size + 2) != 0xff) || in saa7164_work_enchandler_helper() 281 (*(p + buf->actual_size + 3) != 0xff) || in saa7164_work_enchandler_helper() 282 (*(p + buf->actual_size + 0x10) != 0xff) || in saa7164_work_enchandler_helper() 283 (*(p + buf->actual_size + 0x11) != 0xff) || in saa7164_work_enchandler_helper() 284 (*(p + buf->actual_size + 0x12) != 0xff) || in saa7164_work_enchandler_helper() [all …]
|
D | saa7164-buffer.c | 99 buf->actual_size = params->pitch * params->numberoflines; in saa7164_buffer_alloc() 118 buf->crc = crc32(0, buf->cpu, buf->actual_size); in saa7164_buffer_alloc() 285 buf->actual_size = len; in saa7164_buffer_alloc_user()
|
D | saa7164-vbi.c | 476 crc = crc32(0, ubuf->data, ubuf->actual_size); in saa7164_vbi_next_buf() 544 rem = ubuf->actual_size - ubuf->pos; in fops_read() 567 if (ubuf->pos > ubuf->actual_size) in fops_read() 570 if (ubuf->pos == ubuf->actual_size) { in fops_read()
|
D | saa7164-encoder.c | 771 crc = crc32(0, ubuf->data, ubuf->actual_size); in saa7164_enc_next_buf() 840 rem = ubuf->actual_size - ubuf->pos; in fops_read() 863 if (ubuf->pos > ubuf->actual_size) in fops_read() 866 if (ubuf->pos == ubuf->actual_size) { in fops_read()
|
D | saa7164.h | 206 u32 actual_size; member 318 u32 actual_size; member
|
/Linux-v5.4/drivers/staging/uwb/ |
D | est.c | 205 size_t actual_size = uwb_est_size * sizeof(uwb_est[0]); in uwb_est_grow() local 206 void *new = kmalloc_array(2, actual_size, GFP_ATOMIC); in uwb_est_grow() 209 memcpy(new, uwb_est, actual_size); in uwb_est_grow() 210 memset(new + actual_size, 0, actual_size); in uwb_est_grow()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 195 ring->actual_size, in mlx4_en_fill_rx_buffers() 197 if (ring->actual_size < MLX4_EN_MIN_RX_SIZE) { in mlx4_en_fill_rx_buffers() 201 new_size = rounddown_pow_of_two(ring->actual_size); in mlx4_en_fill_rx_buffers() 203 ring->actual_size, new_size); in mlx4_en_fill_rx_buffers() 207 ring->actual_size++; in mlx4_en_fill_rx_buffers() 216 while (ring->actual_size > new_size) { in mlx4_en_fill_rx_buffers() 217 ring->actual_size--; in mlx4_en_fill_rx_buffers() 219 mlx4_en_free_rx_desc(priv, ring, ring->actual_size); in mlx4_en_fill_rx_buffers() 340 ring->actual_size = 0; in mlx4_en_activate_rx_rings() 370 ring->size_mask = ring->actual_size - 1; in mlx4_en_activate_rx_rings() [all …]
|
D | en_cq.c | 134 cq->size = priv->rx_ring[cq->ring]->actual_size; in mlx4_en_activate_cq()
|
D | mlx4_en.h | 337 u32 actual_size; member
|
D | en_ethtool.c | 1148 if (rx_size == (priv->port_up ? priv->rx_ring[0]->actual_size : in mlx4_en_set_ringparam() 1194 priv->rx_ring[0]->actual_size : priv->rx_ring[0]->size; in mlx4_en_get_ringparam()
|
/Linux-v5.4/kernel/ |
D | ptrace.c | 964 unsigned long actual_size = offsetof(struct ptrace_syscall_info, entry); in ptrace_get_syscall_info() local 977 actual_size = ptrace_get_syscall_info_entry(child, regs, in ptrace_get_syscall_info() 981 actual_size = ptrace_get_syscall_info_exit(child, regs, in ptrace_get_syscall_info() 987 actual_size = ptrace_get_syscall_info_seccomp(child, regs, in ptrace_get_syscall_info() 992 write_size = min(actual_size, user_size); in ptrace_get_syscall_info() 993 return copy_to_user(datavp, &info, write_size) ? -EFAULT : actual_size; in ptrace_get_syscall_info()
|
/Linux-v5.4/drivers/virt/vboxguest/ |
D | vboxguest_core.c | 1319 size_t actual_size; in vbg_ioctl_hgcm_call() local 1336 actual_size = sizeof(*call); in vbg_ioctl_hgcm_call() 1338 actual_size += call->parm_count * in vbg_ioctl_hgcm_call() 1341 actual_size += call->parm_count * in vbg_ioctl_hgcm_call() 1343 if (call->hdr.size_in < actual_size) { in vbg_ioctl_hgcm_call() 1345 call->hdr.size_in, actual_size); in vbg_ioctl_hgcm_call() 1348 call->hdr.size_out = actual_size; in vbg_ioctl_hgcm_call()
|
/Linux-v5.4/drivers/usb/serial/ |
D | cypress_m8.c | 685 int count = 0, result, offset, actual_size; in cypress_send() local 758 actual_size = 1; in cypress_send() 760 actual_size = count + in cypress_send() 768 port->interrupt_out_buffer, actual_size, in cypress_send()
|
/Linux-v5.4/drivers/net/ethernet/intel/ |
D | e100.c | 415 __le16 actual_size; member 1960 u16 rfd_status, actual_size; in e100_rx_indicate() local 1996 actual_size = le16_to_cpu(rfd->actual_size) & 0x3FFF; in e100_rx_indicate() 1997 if (unlikely(actual_size > RFD_BUF_LEN - sizeof(struct rfd))) in e100_rx_indicate() 1998 actual_size = RFD_BUF_LEN - sizeof(struct rfd); in e100_rx_indicate() 2019 skb_put(skb, actual_size); in e100_rx_indicate() 2026 if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) in e100_rx_indicate() 2035 } else if (actual_size > ETH_DATA_LEN + VLAN_ETH_HLEN + fcs_pad) { in e100_rx_indicate() 2042 dev->stats.rx_bytes += (actual_size - fcs_pad); in e100_rx_indicate()
|
/Linux-v5.4/drivers/scsi/ |
D | scsi_transport_iscsi.c | 2579 int actual_size; in iscsi_if_get_stats() local 2603 actual_size = nlmsg_total_size(sizeof(struct iscsi_uevent) + in iscsi_if_get_stats() 2607 actual_size -= sizeof(*nlhstat); in iscsi_if_get_stats() 2608 actual_size = nlmsg_msg_size(actual_size); in iscsi_if_get_stats() 2609 skb_trim(skbstat, NLMSG_ALIGN(actual_size)); in iscsi_if_get_stats() 2610 nlhstat->nlmsg_len = actual_size; in iscsi_if_get_stats() 3030 int actual_size; in iscsi_get_chap() local 3054 actual_size = nlmsg_total_size(sizeof(*ev) + chap_buf_size); in iscsi_get_chap() 3055 skb_trim(skbchap, NLMSG_ALIGN(actual_size)); in iscsi_get_chap() 3056 nlhchap->nlmsg_len = actual_size; in iscsi_get_chap() [all …]
|
/Linux-v5.4/kernel/bpf/ |
D | syscall.c | 64 size_t actual_size) in bpf_check_uarg_tail_zero() argument 71 if (unlikely(actual_size > PAGE_SIZE)) /* silly large */ in bpf_check_uarg_tail_zero() 74 if (unlikely(!access_ok(uaddr, actual_size))) in bpf_check_uarg_tail_zero() 77 if (actual_size <= expected_size) in bpf_check_uarg_tail_zero() 81 end = uaddr + actual_size; in bpf_check_uarg_tail_zero()
|
/Linux-v5.4/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 850 uint16_t actual_size; in qla2x00_sysfs_read_xgmac_stats() local 876 actual_size = 0; in qla2x00_sysfs_read_xgmac_stats() 880 XGMAC_DATA_SIZE, &actual_size); in qla2x00_sysfs_read_xgmac_stats() 889 count = actual_size > count ? count : actual_size; in qla2x00_sysfs_read_xgmac_stats()
|
D | qla_mbx.c | 4961 uint16_t size_in_bytes, uint16_t *actual_size) in qla2x00_get_xgmac_stats() argument 4994 *actual_size = mcp->mb[2] << 2; in qla2x00_get_xgmac_stats()
|
/Linux-v5.4/include/linux/ |
D | bpf.h | 693 size_t actual_size);
|