/drivers/net/ppp/ |
D | ppp_deflate.c | 192 int r, proto, off, olen, oavail; in z_compress() local 218 olen = PPP_HDRLEN + DEFLATE_OVHD; in z_compress() 220 state->strm.avail_out = oavail = osize - olen; in z_compress() 237 olen += oavail; in z_compress() 244 olen += oavail - state->strm.avail_out; in z_compress() 249 if (olen < isize && olen <= osize) { in z_compress() 250 state->stats.comp_bytes += olen; in z_compress() 255 olen = 0; in z_compress() 260 return olen; in z_compress() 418 int olen, seq, r; in z_decompress() local [all …]
|
D | bsd_comp.c | 581 int olen; in bsd_compress() local 585 ++olen; \ in bsd_compress() 589 if (olen >= osize) \ in bsd_compress() 631 olen = PPP_HDRLEN + BSD_OVHD; in bsd_compress() 741 db->bytes_out += olen - PPP_HDRLEN - BSD_OVHD; in bsd_compress() 786 olen = 0; in bsd_compress() 791 db->comp_bytes += olen; in bsd_compress() 795 return olen; in bsd_compress()
|
/drivers/i2c/busses/ |
D | i2c-diolan-u2c.c | 89 int olen; /* Output buffer length */ member 107 if (!dev->olen || !dev->ocount) in diolan_usb_transfer() 112 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer() 156 dev->olen = 0; in diolan_usb_transfer() 163 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd() 171 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd() 180 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data() 181 dev->obuffer[dev->olen++] = data; in diolan_usb_cmd_data() 190 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data2() 191 dev->obuffer[dev->olen++] = d1; in diolan_usb_cmd_data2() [all …]
|
/drivers/iio/adc/ |
D | dln2-adc.c | 152 int olen = sizeof(count); in dln2_adc_get_chan_count() local 155 &port, sizeof(port), &count, &olen); in dln2_adc_get_chan_count() 160 if (olen < sizeof(count)) in dln2_adc_get_chan_count() 205 int olen = sizeof(conflict); in dln2_adc_set_port_enabled() local 212 &conflict, &olen); in dln2_adc_set_port_enabled() 216 if (conflict_out && enable && olen >= sizeof(conflict)) in dln2_adc_set_port_enabled() 220 if (enable && olen < sizeof(conflict)) in dln2_adc_set_port_enabled() 257 int olen = sizeof(value); in dln2_adc_read() local 289 &value, &olen); in dln2_adc_read() 294 if (olen < sizeof(value)) { in dln2_adc_read() [all …]
|
/drivers/infiniband/core/ |
D | uverbs.h | 50 #define INIT_UDATA(udata, ibuf, obuf, ilen, olen) \ argument 55 (udata)->outlen = (olen); \ 58 #define INIT_UDATA_BUF_OR_NULL(udata, ibuf, obuf, ilen, olen) \ argument 61 (udata)->outbuf = (olen) ? (void __user *) (obuf) : NULL; \ 63 (udata)->outlen = (olen); \
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 51 int dlen, olen; in ar5523_read_reply() local 66 olen = be32_to_cpu(rp[0]); in ar5523_read_reply() 68 if (olen == 0) { in ar5523_read_reply() 70 olen = sizeof(u32); in ar5523_read_reply() 73 olen = 0; in ar5523_read_reply() 76 if (cmd->olen < olen) { in ar5523_read_reply() 78 cmd->olen, olen); in ar5523_read_reply() 79 cmd->olen = 0; in ar5523_read_reply() 82 cmd->olen = olen; in ar5523_read_reply() 83 memcpy(cmd->odata, &rp[1], olen); in ar5523_read_reply() [all …]
|
D | ar5523.h | 65 int olen; member
|
/drivers/media/usb/dvb-usb/ |
D | vp702x.c | 101 int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_op() argument 108 ret = vp702x_usb_out_op_unlocked(d, REQUEST_OUT, 0, 0, o, olen); in vp702x_usb_inout_op() 117 int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_cmd() argument 122 int buflen = max(olen + 2, ilen + 1); in vp702x_usb_inout_cmd() 144 memcpy(&buf[2], o, olen); in vp702x_usb_inout_cmd() 146 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec); in vp702x_usb_inout_cmd()
|
D | vp702x.h | 111 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec…
|
/drivers/isdn/i4l/ |
D | isdn_audio.c | 367 int olen = 0; in isdn_audio_adpcm2xlaw() local 385 olen++; in isdn_audio_adpcm2xlaw() 392 return olen; in isdn_audio_adpcm2xlaw() 402 int olen = 0; in isdn_audio_xlaw2adpcm() local 424 isdn_audio_put_bits(e, nbits, s, &out, &olen); in isdn_audio_xlaw2adpcm() 437 return olen; in isdn_audio_xlaw2adpcm()
|
D | isdn_v110.c | 456 int olen; in isdn_v110_encode() local 496 olen = 0; in isdn_v110_encode() 508 olen++; in isdn_v110_encode() 512 skb_trim(nskb, olen); in isdn_v110_encode()
|
/drivers/media/dvb-frontends/ |
D | bcm3510.c | 205 static int bcm3510_do_hab_cmd(struct bcm3510_state *st, u8 cmd, u8 msgid, u8 *obuf, u8 olen, u8 *ib… in bcm3510_do_hab_cmd() argument 215 if (olen + 2 > sizeof(ob)) { in bcm3510_do_hab_cmd() 216 deb_hab("do_hab_cmd: olen=%d is too big!\n", olen); in bcm3510_do_hab_cmd() 222 memcpy(&ob[2],obuf,olen); in bcm3510_do_hab_cmd() 225 dbufout(ob,olen+2,deb_hab); in bcm3510_do_hab_cmd() 231 if ((ret = bcm3510_hab_send_request(st, ob, olen+2)) < 0 || in bcm3510_do_hab_cmd()
|
/drivers/media/tuners/ |
D | tuner-i2c.h | 57 unsigned char *obuf, int olen, in tuner_i2c_xfer_send_recv() argument 61 .buf = obuf, .len = olen }, in tuner_i2c_xfer_send_recv()
|
/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 1620 u16 olen, len, status, min_len, cap_len; in ibmvscsis_cap_mad() local 1625 olen = be16_to_cpu(mad->common.length); in ibmvscsis_cap_mad() 1631 if ((olen < min_len) || (olen > PAGE_SIZE)) { in ibmvscsis_cap_mad() 1632 pr_warn("cap_mad: invalid len %d\n", olen); in ibmvscsis_cap_mad() 1637 cap = dma_alloc_coherent(&vscsi->dma_dev->dev, olen, &token, in ibmvscsis_cap_mad() 1645 rc = h_copy_rdma(olen, vscsi->dds.window[REMOTE].liobn, in ibmvscsis_cap_mad() 1652 len = olen - min_len; in ibmvscsis_cap_mad() 1691 rc = h_copy_rdma(olen, vscsi->dds.window[LOCAL].liobn, token, in ibmvscsis_cap_mad() 1713 dma_free_coherent(&vscsi->dma_dev->dev, olen, cap, token); in ibmvscsis_cap_mad()
|
/drivers/scsi/ |
D | scsi_debug.c | 1071 int plen, olen; in inquiry_vpd_85() local 1076 olen = strlen(na1); in inquiry_vpd_85() 1077 plen = olen + 1; in inquiry_vpd_85() 1081 memcpy(arr + num, na1, olen); in inquiry_vpd_85() 1082 memset(arr + num + olen, 0, plen - olen); in inquiry_vpd_85() 1088 olen = strlen(na2); in inquiry_vpd_85() 1089 plen = olen + 1; in inquiry_vpd_85() 1093 memcpy(arr + num, na2, olen); in inquiry_vpd_85() 1094 memset(arr + num + olen, 0, plen - olen); in inquiry_vpd_85()
|
D | ncr53c8xx.c | 6252 u32 oadr, olen; in ncr_int_ma() local 6387 olen = scr_to_cpu(tblp[0]); in ncr_int_ma() 6391 olen = scr_to_cpu(vdsp[0]) & 0xffffff; in ncr_int_ma() 6398 (unsigned) olen, in ncr_int_ma() 6431 cmd&7, sbcl&7, (unsigned)olen, in ncr_int_ma() 6453 newcmd[1] = cpu_to_scr(oadr + olen - rest); in ncr_int_ma()
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_rxtx.c | 297 skb->sp->olen++; in mlx5e_ipsec_build_sp()
|
/drivers/tty/ |
D | n_gsm.c | 543 int olen = 0; in gsm_stuff_frame() local 549 olen++; in gsm_stuff_frame() 552 olen++; in gsm_stuff_frame() 554 return olen; in gsm_stuff_frame()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 2407 u32 oadr, olen; local 2535 olen = scr_to_cpu(tblp[0]); 2539 olen = scr_to_cpu(vdsp[0]) & 0xffffff; 2546 (unsigned) olen, 2569 cmd&7, INB(np, nc_sbcl)&7, (unsigned)olen, 2611 pm->sg.addr = cpu_to_scr(oadr + olen - rest); 2715 if (cp->tag != NO_TAG && olen - rest <= 3) {
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.c | 1351 int len, olen; in handle_authen() local 1524 olen = 6; in handle_authen() 1534 olen += 2 + WLAN_AUTH_CHALLENGE_LEN; in handle_authen() 1538 body, olen, hdr->addr2, ap->tx_callback_auth); in handle_authen()
|