Home
last modified time | relevance | path

Searched refs:out_count (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/crypto/bcm/
H A Dutil.c355 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 Dbrcmstb-usb-pinmap.c37 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 Dmirred.c147 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 Dredirect_ingress.c42 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 Dct.c31 attr->esw_attr->split_count = attr->esw_attr->out_count; in tc_act_parse_ct()
H A Dvlan_mangle.c69 attr->esw_attr->split_count = attr->esw_attr->out_count; in tc_act_parse_vlan_mangle()
H A Dpedit.c103 esw_attr->split_count = esw_attr->out_count; in tc_act_parse_pedit()
H A Dvlan.c169 esw_attr->split_count = esw_attr->out_count; in tc_act_parse_vlan()
/linux/drivers/ntb/
H A Dntb_transport.c474 ssize_t ret, out_offset, out_count; in debugfs_read() local
481 out_count = 1000; in debugfs_read()
483 buf = kmalloc(out_count, GFP_KERNEL); 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()
498 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
500 out_offset += scnprintf(buf + out_offset, out_count - out_offset, in debugfs_read()
[all …]
/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c425 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 Dmdc800.c156 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 Dipsec_fs.c145 if (esw_attr->out_count - esw_attr->split_count > 1) in mlx5_esw_ipsec_modify_flow_dests()
149 esw_attr->out_count - 1); in mlx5_esw_ipsec_modify_flow_dests()
/linux/drivers/char/
H A Dvirtio_console.c655 size_t out_count, bool to_user) in fill_readbuf() argument
660 if (!out_count || !port_has_data(port)) in fill_readbuf()
664 out_count = min(out_count, buf->len - buf->offset); in fill_readbuf()
669 ret = copy_to_user(out_buf, buf->buf + buf->offset, out_count); in fill_readbuf()
674 out_count); in fill_readbuf()
677 buf->offset += out_count; in fill_readbuf()
693 return out_count; in fill_readbuf()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads_termtbl.c235 for (i = esw_attr->split_count; i < esw_attr->out_count; i++) in mlx5_eswitch_termtbl_required()
/linux/sound/soc/
H A Dsoc-pcm.c237 ssize_t out_count = PAGE_SIZE, offset = 0, ret = 0; in dpcm_state_read_file() local
245 buf = kmalloc(out_count, GFP_KERNEL); in dpcm_state_read_file()
254 out_count - offset); in dpcm_state_read_file()
/linux/drivers/scsi/qla4xxx/
H A Dql4_mbx.c30 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 Dql4_nx.c3912 void qla4_82xx_process_mbox_intr(struct scsi_qla_host *ha, int out_count) in qla4_82xx_process_mbox_intr() argument
3918 ha->mbox_status_count = out_count; in qla4_82xx_process_mbox_intr()
/linux/fs/smb/server/
H A Dsmb2pdu.c7999 unsigned int in_count, unsigned int *out_count) in fsctl_query_allocated_ranges()
8005 *out_count = 0; in fsctl_query_allocated_ranges()
8020 qar_rsp, in_count, out_count); in fsctl_query_allocated_ranges()
8022 *out_count = 0; in fsctl_pipe_transceive()
7993 fsctl_query_allocated_ranges(struct ksmbd_work * work,u64 id,struct file_allocated_range_buffer * qar_req,struct file_allocated_range_buffer * qar_rsp,unsigned int in_count,unsigned int * out_count) fsctl_query_allocated_ranges() argument
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c2128 goto out_count; in mlx5_ib_alloc_ucontext()
2181 out_count: in mlx5_ib_alloc_ucontext()