/Linux-v4.19/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-v4.19/drivers/uwb/ |
D | est.c | 219 size_t actual_size = uwb_est_size * sizeof(uwb_est[0]); in uwb_est_grow() local 220 void *new = kmalloc_array(2, actual_size, GFP_ATOMIC); in uwb_est_grow() 223 memcpy(new, uwb_est, actual_size); in uwb_est_grow() 224 memset(new + actual_size, 0, actual_size); in uwb_est_grow()
|
/Linux-v4.19/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 101 for (i = 0; i < buf->actual_size; i += 2048) { in saa7164_pack_verifier() 129 for (i = 0; i < buf->actual_size; i += 188) { in saa7164_ts_verifier() 283 buf->crc = crc32(0, buf->cpu, buf->actual_size); in saa7164_work_enchandler_helper() 288 if ((*(p + buf->actual_size + 0) != 0xff) || in saa7164_work_enchandler_helper() 289 (*(p + buf->actual_size + 1) != 0xff) || in saa7164_work_enchandler_helper() 290 (*(p + buf->actual_size + 2) != 0xff) || in saa7164_work_enchandler_helper() 291 (*(p + buf->actual_size + 3) != 0xff) || in saa7164_work_enchandler_helper() 292 (*(p + buf->actual_size + 0x10) != 0xff) || in saa7164_work_enchandler_helper() 293 (*(p + buf->actual_size + 0x11) != 0xff) || in saa7164_work_enchandler_helper() 294 (*(p + buf->actual_size + 0x12) != 0xff) || in saa7164_work_enchandler_helper() [all …]
|
D | saa7164-buffer.c | 109 buf->actual_size = params->pitch * params->numberoflines; in saa7164_buffer_alloc() 128 buf->crc = crc32(0, buf->cpu, buf->actual_size); in saa7164_buffer_alloc() 295 buf->actual_size = len; in saa7164_buffer_alloc_user()
|
D | saa7164-vbi.c | 493 crc = crc32(0, ubuf->data, ubuf->actual_size); in saa7164_vbi_next_buf() 561 rem = ubuf->actual_size - ubuf->pos; in fops_read() 584 if (ubuf->pos > ubuf->actual_size) in fops_read() 587 if (ubuf->pos == ubuf->actual_size) { in fops_read()
|
D | saa7164-encoder.c | 789 crc = crc32(0, ubuf->data, ubuf->actual_size); in saa7164_enc_next_buf() 858 rem = ubuf->actual_size - ubuf->pos; in fops_read() 881 if (ubuf->pos > ubuf->actual_size) in fops_read() 884 if (ubuf->pos == ubuf->actual_size) { in fops_read()
|
D | saa7164.h | 216 u32 actual_size; member 328 u32 actual_size; member
|
/Linux-v4.19/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() 343 ring->actual_size = 0; in mlx4_en_activate_rx_rings() 373 ring->size_mask = ring->actual_size - 1; in mlx4_en_activate_rx_rings() [all …]
|
D | en_cq.c | 137 cq->size = priv->rx_ring[cq->ring]->actual_size; in mlx4_en_activate_cq()
|
D | mlx4_en.h | 338 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-v4.19/drivers/virt/vboxguest/ |
D | vboxguest_core.c | 1270 size_t actual_size; in vbg_ioctl_hgcm_call() local 1287 actual_size = sizeof(*call); in vbg_ioctl_hgcm_call() 1289 actual_size += call->parm_count * in vbg_ioctl_hgcm_call() 1292 actual_size += call->parm_count * in vbg_ioctl_hgcm_call() 1294 if (call->hdr.size_in < actual_size) { in vbg_ioctl_hgcm_call() 1296 call->hdr.size_in, actual_size); in vbg_ioctl_hgcm_call() 1299 call->hdr.size_out = actual_size; in vbg_ioctl_hgcm_call()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_transport_iscsi.c | 2575 int actual_size; in iscsi_if_get_stats() local 2599 actual_size = nlmsg_total_size(sizeof(struct iscsi_uevent) + in iscsi_if_get_stats() 2603 actual_size -= sizeof(*nlhstat); in iscsi_if_get_stats() 2604 actual_size = nlmsg_msg_size(actual_size); in iscsi_if_get_stats() 2605 skb_trim(skbstat, NLMSG_ALIGN(actual_size)); in iscsi_if_get_stats() 2606 nlhstat->nlmsg_len = actual_size; in iscsi_if_get_stats() 3026 int actual_size; in iscsi_get_chap() local 3050 actual_size = nlmsg_total_size(sizeof(*ev) + chap_buf_size); in iscsi_get_chap() 3051 skb_trim(skbchap, NLMSG_ALIGN(actual_size)); in iscsi_get_chap() 3052 nlhchap->nlmsg_len = actual_size; in iscsi_get_chap() [all …]
|
/Linux-v4.19/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-v4.19/drivers/usb/serial/ |
D | cypress_m8.c | 689 int count = 0, result, offset, actual_size; in cypress_send() local 762 actual_size = 1; in cypress_send() 764 actual_size = count + in cypress_send()
|
/Linux-v4.19/kernel/bpf/ |
D | syscall.c | 73 size_t actual_size) in bpf_check_uarg_tail_zero() argument 80 if (unlikely(actual_size > PAGE_SIZE)) /* silly large */ in bpf_check_uarg_tail_zero() 83 if (unlikely(!access_ok(VERIFY_READ, uaddr, actual_size))) in bpf_check_uarg_tail_zero() 86 if (actual_size <= expected_size) in bpf_check_uarg_tail_zero() 90 end = uaddr + actual_size; in bpf_check_uarg_tail_zero()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 781 uint16_t actual_size; in qla2x00_sysfs_read_xgmac_stats() local 804 actual_size = 0; in qla2x00_sysfs_read_xgmac_stats() 808 XGMAC_DATA_SIZE, &actual_size); in qla2x00_sysfs_read_xgmac_stats() 815 count = actual_size > count ? count: actual_size; in qla2x00_sysfs_read_xgmac_stats()
|
D | qla_mbx.c | 4868 uint16_t size_in_bytes, uint16_t *actual_size) in qla2x00_get_xgmac_stats() argument 4901 *actual_size = mcp->mb[2] << 2; in qla2x00_get_xgmac_stats()
|
/Linux-v4.19/include/linux/ |
D | bpf.h | 484 size_t actual_size);
|