/linux/drivers/crypto/bcm/ |
H A D | util.c | 355 ssize_t ret, out_offset, out_count; in spu_debugfs_read() local 363 out_count = 2048; in spu_debugfs_read() 365 buf = kmalloc(out_count, GFP_KERNEL); in spu_debugfs_read() 371 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read() 374 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read() 377 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read() 380 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read() 383 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read() 391 out_count - out_offset, in spu_debugfs_read() 397 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in spu_debugfs_read() [all …]
|
/linux/drivers/usb/misc/ |
H A D | brcmstb-usb-pinmap.c | 37 int out_count; member 85 for (x = 0; x < pdata->out_count; x++) { in brcmstb_usb_pinmap_ovr_isr() 113 int *out_count) in get_pin_counts() argument 119 *out_count = 0; in get_pin_counts() 127 *out_count = out; in get_pin_counts() 172 for (x = 0, index = 0; x < pdata->out_count; x++) { in parse_pins() 231 for (x = 0; x < pdata->out_count; x++) { in sync_all_pins() 255 int out_count; in brcmstb_usb_pinmap_probe() local 261 get_pin_counts(dn, &in_count, &out_count); in brcmstb_usb_pinmap_probe() 262 if ((in_count + out_count) == 0) in brcmstb_usb_pinmap_probe() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mirred.c | 147 if (esw_attr->out_count >= MLX5_MAX_FLOW_FWD_VPORTS) { in tc_act_can_offload_mirred() 152 esw_attr->out_count); in tc_act_can_offload_mirred() 184 parse_attr->mirred_ifindex[esw_attr->out_count] = out_dev->ifindex; in parse_mirred_encap() 185 parse_attr->tun_info[esw_attr->out_count] = in parse_mirred_encap() 188 if (!parse_attr->tun_info[esw_attr->out_count]) in parse_mirred_encap() 194 memcpy(&parse_attr->mpls_info[esw_attr->out_count], in parse_mirred_encap() 198 esw_attr->dests[esw_attr->out_count].flags |= MLX5_ESW_DEST_ENCAP; in parse_mirred_encap() 199 esw_attr->out_count++; in parse_mirred_encap() 273 esw_attr->dests[esw_attr->out_count].vport_valid = true; in parse_mirred() 274 esw_attr->dests[esw_attr->out_count].vport = rpriv->rep->vport; in parse_mirred() [all …]
|
H A D | redirect_ingress.c | 42 if (esw_attr->out_count) { in tc_act_can_offload_redirect_ingress() 65 &attr->action, esw_attr->out_count); in tc_act_parse_redirect_ingress() 70 esw_attr->out_count++; in tc_act_parse_redirect_ingress()
|
H A D | ct.c | 21 attr->esw_attr->split_count = attr->esw_attr->out_count; in tc_act_parse_ct()
|
H A D | vlan_mangle.c | 69 attr->esw_attr->split_count = attr->esw_attr->out_count; in tc_act_parse_vlan_mangle()
|
H A D | pedit.c | 103 esw_attr->split_count = esw_attr->out_count; in tc_act_parse_pedit()
|
H A D | vlan.c | 168 esw_attr->split_count = esw_attr->out_count; in tc_act_parse_vlan()
|
/linux/drivers/ntb/ |
H A D | ntb_transport.c | 470 ssize_t ret, out_offset, out_count; in debugfs_read() local 477 out_count = 1000; in debugfs_read() 479 buf = kmalloc(out_count, GFP_KERNEL); in debugfs_read() 484 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 486 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 488 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 490 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 492 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 494 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() 496 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read() [all …]
|
/linux/drivers/mailbox/ |
H A D | bcm-pdc-mailbox.c | 425 ssize_t ret, out_offset, out_count; in pdc_debugfs_read() local 427 out_count = 512; in pdc_debugfs_read() 429 buf = kmalloc(out_count, GFP_KERNEL); in pdc_debugfs_read() 435 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() 437 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() 440 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() 443 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() 446 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() 449 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() 452 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in pdc_debugfs_read() [all …]
|
/linux/drivers/usb/image/ |
H A D | mdc800.c | 156 int out_count; // Bytes in the buffer member 389 mdc800->out_count=64; in mdc800_usb_download_notify() 625 mdc800->out_count=0; in mdc800_device_open() 713 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read() 720 mdc800->out_count=0; in mdc800_device_read() 815 mdc800->out_count=0; in mdc800_device_write() 910 mdc800->out_count=16; in mdc800_device_write()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec_fs.c | 132 if (esw_attr->out_count - esw_attr->split_count > 1) in mlx5_esw_ipsec_modify_flow_dests() 136 esw_attr->out_count - 1); in mlx5_esw_ipsec_modify_flow_dests()
|
/linux/drivers/char/ |
H A D | virtio_console.c | 654 size_t out_count, bool to_user) in fill_readbuf() argument 659 if (!out_count || !port_has_data(port)) in fill_readbuf() 663 out_count = min(out_count, buf->len - buf->offset); in fill_readbuf() 668 ret = copy_to_user(out_buf, buf->buf + buf->offset, out_count); in fill_readbuf() 673 out_count); in fill_readbuf() 676 buf->offset += out_count; in fill_readbuf() 692 return out_count; in fill_readbuf()
|
/linux/sound/usb/line6/ |
H A D | driver.c | 570 unsigned int out_count; in line6_hwdep_read() local 595 rv = kfifo_to_user(&line6->messages.fifo, buf, count, &out_count); in line6_hwdep_read() 597 rv = out_count; in line6_hwdep_read()
|
/linux/fs/smb/server/ |
H A D | vfs.c | 1005 unsigned int in_count, unsigned int *out_count) in ksmbd_vfs_fqar_lseek() argument 1028 *out_count = 0; in ksmbd_vfs_fqar_lseek() 1030 while (start < end && *out_count < in_count) { in ksmbd_vfs_fqar_lseek() 1050 ranges[*out_count].file_offset = cpu_to_le64(extent_start); in ksmbd_vfs_fqar_lseek() 1051 ranges[(*out_count)++].length = in ksmbd_vfs_fqar_lseek()
|
H A D | smb2pdu.c | 7826 unsigned int in_count, unsigned int *out_count) in fsctl_query_allocated_ranges() argument 7832 *out_count = 0; in fsctl_query_allocated_ranges() 7847 qar_rsp, in_count, out_count); in fsctl_query_allocated_ranges() 7849 *out_count = 0; in fsctl_query_allocated_ranges()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads_termtbl.c | 235 for (i = esw_attr->split_count; i < esw_attr->out_count; i++) in mlx5_eswitch_termtbl_required()
|
H A D | eswitch_offloads.c | 304 for (i = esw_attr->split_count; i < esw_attr->out_count; i++) in esw_is_chain_src_port_rewrite() 327 if (esw_attr->out_count - esw_attr->split_count > 1) in esw_setup_chain_src_port_rewrite() 348 esw_put_dest_tables_loop(esw, attr, esw_attr->split_count, esw_attr->out_count); in esw_cleanup_chain_src_port_rewrite() 363 for (i = esw_attr->split_count; i < esw_attr->out_count; i++) { in esw_is_indir_table() 389 for (j = esw_attr->split_count; j < esw_attr->out_count; j++, (*i)++) { in esw_setup_indir_table() 418 esw_put_dest_tables_loop(esw, attr, esw_attr->split_count, esw_attr->out_count); in esw_cleanup_indir_table() 461 for (i = esw_attr->split_count; i < esw_attr->out_count; i++) in esw_flow_dests_fwd_ipsec_check() 463 (esw_attr->out_count - esw_attr->split_count > 1)) in esw_flow_dests_fwd_ipsec_check() 528 for (j = esw_attr->split_count; j < esw_attr->out_count; j++, i++) in esw_setup_vport_dests()
|
H A D | en_tc.c | 1758 esw_attr->split_count == esw_attr->out_count - 1) in extra_split_attr_dests_needed() 1766 for (i = esw_attr->split_count; i < esw_attr->out_count; i++) { in extra_split_attr_dests_needed() 1816 for (i = split_count, j = 0; i < esw_attr->out_count; i++, j++) in extra_split_attr_dests() 1819 esw_attr2->out_count = j; in extra_split_attr_dests() 1831 esw_attr->out_count = split_count; in extra_split_attr_dests() 3695 attr2->esw_attr->out_count = 0; in mlx5e_clone_flow_attr_for_post_act() 4295 esw_attr->out_count > 1) { in parse_tc_fdb_actions()
|
H A D | eswitch.h | 522 int out_count; member
|
/linux/drivers/hwmon/ |
H A D | hp-wmi-sensors.c | 1719 u8 *out_icount, u8 *out_count, in init_numeric_sensors() argument 1802 *out_count = count; in init_numeric_sensors()
|
/linux/sound/soc/ |
H A D | soc-pcm.c | 252 ssize_t out_count = PAGE_SIZE, offset = 0, ret = 0; in dpcm_state_read_file() local 262 buf = kmalloc(out_count, GFP_KERNEL); in dpcm_state_read_file() 271 out_count - offset); in dpcm_state_read_file()
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_mbx.c | 30 void qla4xxx_process_mbox_intr(struct scsi_qla_host *ha, int out_count) in qla4xxx_process_mbox_intr() argument 41 ha->mbox_status_count = out_count; in qla4xxx_process_mbox_intr()
|
H A D | ql4_nx.c | 3917 void qla4_82xx_process_mbox_intr(struct scsi_qla_host *ha, int out_count) in qla4_82xx_process_mbox_intr() argument 3923 ha->mbox_status_count = out_count; in qla4_82xx_process_mbox_intr()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_encap.c | 1072 if (*vf_tun && esw_attr->out_count > 1) { in mlx5e_tc_tun_encap_dests_set()
|