Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 25 of 136) sorted by relevance

123456

/kernel/linux/linux-5.10/tools/perf/util/
Ddemangle-java.c47 int rlen = 0; in __demangle_java_sym() local
57 if (rlen == (maxlen - 1)) in __demangle_java_sym()
65 rlen += scnprintf(buf + rlen, maxlen - rlen, ", "); in __demangle_java_sym()
73 buf[rlen++] = *q; in __demangle_java_sym()
85 rlen += scnprintf(buf + rlen, maxlen - rlen, ", "); in __demangle_java_sym()
86 rlen += scnprintf(buf + rlen, maxlen - rlen, "%s", base_types[*q - 'A']); in __demangle_java_sym()
88 rlen += scnprintf(buf + rlen, maxlen - rlen, "[]"); in __demangle_java_sym()
92 buf[rlen++] = *q; in __demangle_java_sym()
96 rlen += scnprintf(buf + rlen, maxlen - rlen, "void"); in __demangle_java_sym()
98 rlen += scnprintf(buf + rlen, maxlen - rlen, "[]"); in __demangle_java_sym()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dcpcmd.c38 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
41 unsigned long _rlen = *rlen; in diag8_response()
53 : "d" (reg2), "d" (reg3), "d" (*rlen) : "cc"); in diag8_response()
54 *rlen = reg5; in diag8_response()
62 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
75 memset(response, 0, rlen); in __cpcmd()
76 response_len = rlen; in __cpcmd()
77 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
84 return rlen; in __cpcmd()
88 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_link.c190 ssize_t rlen; in dp_link_parse_audio_pattern_type() local
193 rlen = drm_dp_dpcd_readb(link->aux, in dp_link_parse_audio_pattern_type()
195 if (rlen < 0) { in dp_link_parse_audio_pattern_type()
196 DRM_ERROR("failed to read link audio mode. rlen=%zd\n", rlen); in dp_link_parse_audio_pattern_type()
197 return rlen; in dp_link_parse_audio_pattern_type()
217 ssize_t rlen; in dp_link_parse_audio_mode() local
223 rlen = drm_dp_dpcd_readb(link->aux, DP_TEST_AUDIO_MODE, &data); in dp_link_parse_audio_mode()
224 if (rlen < 0) { in dp_link_parse_audio_mode()
225 DRM_ERROR("failed to read link audio mode. rlen=%zd\n", rlen); in dp_link_parse_audio_mode()
226 return rlen; in dp_link_parse_audio_mode()
[all …]
Ddp_panel.c26 ssize_t rlen; in dp_panel_read_dpcd() local
37 rlen = drm_dp_dpcd_read(panel->aux, offset, in dp_panel_read_dpcd()
39 if (rlen < (DP_RECEIVER_CAP_SIZE + 1)) { in dp_panel_read_dpcd()
40 DRM_ERROR("dpcd read failed, rlen=%zd\n", rlen); in dp_panel_read_dpcd()
41 if (rlen == -ETIMEDOUT) in dp_panel_read_dpcd()
42 rc = rlen; in dp_panel_read_dpcd()
57 rlen = drm_dp_dpcd_read(panel->aux, offset, in dp_panel_read_dpcd()
59 if (rlen < (DP_RECEIVER_CAP_SIZE + 1)) { in dp_panel_read_dpcd()
60 DRM_ERROR("dpcd read failed, rlen=%zd\n", rlen); in dp_panel_read_dpcd()
61 if (rlen == -ETIMEDOUT) in dp_panel_read_dpcd()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-i2c-core.c94 u16 rlen) /* Amount of data to read */ in pvr2_i2c_read() argument
108 if (res && (rlen > (sizeof(hdw->cmd_buffer) - 1))) { in pvr2_i2c_read()
112 rlen,(unsigned int)(sizeof(hdw->cmd_buffer) - 1)); in pvr2_i2c_read()
124 hdw->cmd_buffer[2] = rlen; /* answer length. Device will send one in pvr2_i2c_read()
134 rlen + 1); in pvr2_i2c_read()
146 if (res && rlen) { in pvr2_i2c_read()
149 memset(res, 0, rlen); in pvr2_i2c_read()
151 memcpy(res, hdw->cmd_buffer + 1, rlen); in pvr2_i2c_read()
167 u16 rlen) in pvr2_i2c_basic_op() argument
169 if (!rdata) rlen = 0; in pvr2_i2c_basic_op()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_urb.c12 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dvb_usb_v2_generic_io() argument
39 if (rbuf && rlen) { in dvb_usb_v2_generic_io()
47 rbuf, rlen, &actual_length, 2000); in dvb_usb_v2_generic_io()
61 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dvb_usbv2_generic_rw() argument
66 ret = dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); in dvb_usbv2_generic_rw()
86 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in dvb_usbv2_generic_rw_locked() argument
88 return dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); in dvb_usbv2_generic_rw_locked()
Dzd1301.c26 unsigned int wlen, u8 *rbuf, unsigned int rlen) in zd1301_ctrl_msg() argument
45 if (rlen) { in zd1301_ctrl_msg()
47 dev->buf, rlen, &actual_length, 1000); in zd1301_ctrl_msg()
56 if (actual_length != rlen) { in zd1301_ctrl_msg()
65 dev->buf, rlen, &actual_length, in zd1301_ctrl_msg()
77 memcpy(rbuf, dev->buf, rlen); in zd1301_ctrl_msg()
Dau6610.c15 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_usb_msg() argument
67 u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) in au6610_i2c_msg() argument
70 u8 wo = (rbuf == NULL || rlen == 0); /* write-only */ in au6610_i2c_msg()
78 return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); in au6610_i2c_msg()
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c91 ssize_t rlen; in rw_ctl_loop() local
106 rlen = read(ctl_fd, buf, sizeof(buf)); in rw_ctl_loop()
107 if (rlen < 0) { in rw_ctl_loop()
112 if (rlen == 2 && buf[0] == '1') { in rw_ctl_loop()
120 } else if (rlen == 2 && buf[0] == '0') { in rw_ctl_loop()
Dtrace-agent-rw.c106 ssize_t rlen, wlen; in rw_thread_main() local
127 rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL, in rw_thread_main()
130 if (rlen < 0) { in rw_thread_main()
133 } else if (rlen == 0) { in rw_thread_main()
149 rlen - wlen, in rw_thread_main()
168 } while (wlen < rlen); in rw_thread_main()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Disa-bridge.c83 int rlen = 0; in pci_process_ISA_OF_ranges() local
85 range = of_get_property(isa_node, "ranges", &rlen); in pci_process_ISA_OF_ranges()
86 if (range == NULL || (rlen < sizeof(struct isa_range))) in pci_process_ISA_OF_ranges()
99 rlen -= sizeof(struct isa_range); in pci_process_ISA_OF_ranges()
100 if (rlen < sizeof(struct isa_range)) in pci_process_ISA_OF_ranges()
190 int rlen, i, rs; in isa_bridge_init_non_pci() local
215 ranges = of_get_property(np, "ranges", &rlen); in isa_bridge_init_non_pci()
216 if (ranges == NULL || rlen < rs) { in isa_bridge_init_non_pci()
223 for (i = 0; (i + rs - 1) < rlen; i += rs) { in isa_bridge_init_non_pci()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dsi2157.c36 if (cmd->rlen) { in si2157_cmd_execute()
41 ret = i2c_master_recv(client, cmd->args, cmd->rlen); in si2157_cmd_execute()
44 } else if (ret != cmd->rlen) { in si2157_cmd_execute()
95 cmd.rlen = 4; in si2157_init()
116 cmd.rlen = 1; in si2157_init()
138 cmd.rlen = 13; in si2157_init()
212 cmd.rlen = 1; in si2157_init()
227 cmd.rlen = 1; in si2157_init()
235 cmd.rlen = 10; in si2157_init()
246 cmd.rlen = 1; in si2157_init()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_netlink.c36 u32 rlen; in scsi_nl_rcv_msg() local
50 rlen = NLMSG_ALIGN(nlh->nlmsg_len); in scsi_nl_rcv_msg()
51 if (rlen > skb->len) in scsi_nl_rcv_msg()
52 rlen = skb->len; in scsi_nl_rcv_msg()
102 skb_pull(skb, rlen); in scsi_nl_rcv_msg()
/kernel/linux/linux-5.10/drivers/of/
Dfdt_address.c115 int rlen; in fdt_translate_one() local
119 ranges = fdt_getprop(blob, parent, rprop, &rlen); in fdt_translate_one()
122 if (rlen == 0) { in fdt_translate_one()
132 rlen /= 4; in fdt_translate_one()
134 for (; rlen >= rone; rlen -= rone, ranges += rone) { in fdt_translate_one()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_alloc.c394 xfs_extlen_t rlen; in xfs_alloc_fix_len() local
397 rlen = args->len; in xfs_alloc_fix_len()
398 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
399 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len()
400 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
401 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
403 k = rlen % args->prod; in xfs_alloc_fix_len()
407 rlen = rlen - (k - args->mod); in xfs_alloc_fix_len()
409 rlen = rlen - args->prod + (args->mod - k); in xfs_alloc_fix_len()
411 if ((int)rlen < (int)args->minlen) in xfs_alloc_fix_len()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_fip.c85 ssize_t rlen; in qedf_fcoe_process_vlan_resp() local
90 rlen = ntohs(fiph->fip_dl_len) * 4; in qedf_fcoe_process_vlan_resp()
92 while (rlen > 0) { in qedf_fcoe_process_vlan_resp()
100 rlen -= dlen; in qedf_fcoe_process_vlan_resp()
176 size_t rlen, dlen; in qedf_fip_recv() local
231 rlen = ntohs(fiph->fip_dl_len) * FIP_BPW; in qedf_fip_recv()
233 while (rlen >= sizeof(*desc)) { in qedf_fip_recv()
280 rlen -= dlen; in qedf_fip_recv()
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/
Dcore.c159 int i, layout = 0, rlen, ok = force; in i2sbus_add_dev() local
272 rlen = resource_size(r); in i2sbus_add_dev()
273 if (rlen < sizeof(struct i2s_interface_regs)) in i2sbus_add_dev()
275 dev->intfregs = ioremap(r->start, rlen); in i2sbus_add_dev()
278 rlen = resource_size(r); in i2sbus_add_dev()
279 if (rlen < sizeof(struct dbdma_regs)) in i2sbus_add_dev()
281 dev->out.dbdma = ioremap(r->start, rlen); in i2sbus_add_dev()
284 rlen = resource_size(r); in i2sbus_add_dev()
285 if (rlen < sizeof(struct dbdma_regs)) in i2sbus_add_dev()
287 dev->in.dbdma = ioremap(r->start, rlen); in i2sbus_add_dev()
/kernel/linux/linux-5.10/drivers/usb/misc/
Duss720.c505 int rlen; in parport_uss720_epp_write_data() local
512 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buf, length, &rlen, 20000); in parport_uss720_epp_write_data()
514 printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buf, length, rlen); in parport_uss720_epp_write_data()
516 return rlen; in parport_uss720_epp_write_data()
566 int rlen; in parport_uss720_ecp_write_data() local
573 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); in parport_uss720_ecp_write_data()
575 printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buffer, len, rlen); in parport_uss720_ecp_write_data()
577 return rlen; in parport_uss720_ecp_write_data()
584 int rlen; in parport_uss720_ecp_read_data() local
591 i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); in parport_uss720_ecp_read_data()
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dunwind_decoder.c165 unw_word rlen; in unw_decode_r1() local
167 rlen = (code & 0x1f); in unw_decode_r1()
168 UNW_DEC_PROLOGUE(R1, body, rlen, arg); in unw_decode_r1()
176 unw_word rlen; in unw_decode_r2() local
182 rlen = unw_decode_uleb128 (&dp); in unw_decode_r2()
183 UNW_DEC_PROLOGUE_GR(R2, rlen, mask, grsave, arg); in unw_decode_r2()
190 unw_word rlen; in unw_decode_r3() local
192 rlen = unw_decode_uleb128 (&dp); in unw_decode_r3()
193 UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg); in unw_decode_r3()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dcpcmd.h15 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code);
30 int cpcmd(const char *cmd, char *response, int rlen, int *response_code);
/kernel/linux/linux-5.10/fs/ext4/
Ddir.c73 const int rlen = ext4_rec_len_from_disk(de->rec_len, in __ext4_check_dir_entry() local
75 const int next_offset = ((char *) de - buf) + rlen; in __ext4_check_dir_entry()
77 if (unlikely(rlen < EXT4_DIR_REC_LEN(1))) in __ext4_check_dir_entry()
79 else if (unlikely(rlen % 4 != 0)) in __ext4_check_dir_entry()
81 else if (unlikely(rlen < EXT4_DIR_REC_LEN(de->name_len))) in __ext4_check_dir_entry()
99 rlen, de->name_len, size); in __ext4_check_dir_entry()
105 rlen, de->name_len, size); in __ext4_check_dir_entry()
638 int rlen; in ext4_check_all_de() local
648 rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); in ext4_check_all_de()
649 de = (struct ext4_dir_entry_2 *)((char *)de + rlen); in ext4_check_all_de()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xlp9xx.c183 u8 rlen, *buf = priv->msg_buf; in xlp9xx_i2c_drain_rx_fifo() local
191 rlen = xlp9xx_read_i2c_reg(priv, XLP9XX_I2C_MRXFIFO); in xlp9xx_i2c_drain_rx_fifo()
206 if (rlen > I2C_SMBUS_BLOCK_MAX || rlen == 0) { in xlp9xx_i2c_drain_rx_fifo()
207 rlen = 0; /*abort transfer */ in xlp9xx_i2c_drain_rx_fifo()
214 *buf++ = rlen; in xlp9xx_i2c_drain_rx_fifo()
216 ++rlen; /* account for error check byte */ in xlp9xx_i2c_drain_rx_fifo()
218 priv->msg_buf_remaining = rlen; in xlp9xx_i2c_drain_rx_fifo()
219 priv->msg_len = rlen + 1; in xlp9xx_i2c_drain_rx_fifo()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/shaders/clear_kernel/
Dhsw.asm73 … render MsgDesc: media block read MsgCtrl = 0x0 Surface = 1 mlen 1 rlen 1 { align1 1Q };
78 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 1 mlen 2 rlen 0 { align1 1Q };
106 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
109 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
119 thread_spawner MsgDesc: mlen 1 rlen 0 { align1 1Q EOT };
Divb.asm72 … render MsgDesc: media block read MsgCtrl = 0x0 Surface = 1 mlen 1 rlen 1 { align1 1Q };
77 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 1 mlen 2 rlen 0 { align1 1Q };
104 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
107 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
117 thread_spawner MsgDesc: mlen 1 rlen 0 { align1 1Q EOT };
/kernel/linux/linux-5.10/drivers/bus/
Duniphier-system-bus.c182 int pna, bank, rlen, rone, ret; in uniphier_system_bus_probe() local
216 ranges = of_get_property(dev->of_node, "ranges", &rlen); in uniphier_system_bus_probe()
222 rlen /= sizeof(*ranges); in uniphier_system_bus_probe()
225 for (; rlen >= rone; rlen -= rone) { in uniphier_system_bus_probe()

123456