Home
last modified time | relevance | path

Searched refs:olen (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.3-rc2/tools/testing/selftests/net/mptcp/
A Dmptcp_sockopt.c239 socklen_t olen, _olen; in do_getsockopt_bogus_sf_data() local
262 _olen = rand() % olen; in do_getsockopt_bogus_sf_data()
263 olen = _olen; in do_getsockopt_bogus_sf_data()
282 olen = sizeof(bd); in do_getsockopt_bogus_sf_data()
297 _olen = olen; in do_getsockopt_bogus_sf_data()
303 assert(olen == _olen); in do_getsockopt_bogus_sf_data()
312 socklen_t olen; in do_getsockopt_mptcp_info() local
315 olen = sizeof(i); in do_getsockopt_mptcp_info()
338 socklen_t olen; in do_getsockopt_tcp_info() local
345 olen = sizeof(ti); in do_getsockopt_tcp_info()
[all …]
/linux-6.3-rc2/net/ceph/
A Darmor.c39 int olen = 0; in ceph_armor() local
64 olen += 4; in ceph_armor()
69 olen++; in ceph_armor()
72 return olen; in ceph_armor()
77 int olen = 0; in ceph_unarmor() local
97 return olen + 1; in ceph_unarmor()
100 return olen + 2; in ceph_unarmor()
102 olen += 3; in ceph_unarmor()
105 return olen; in ceph_unarmor()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c98 int olen, l2_len; in __encap_ipv4() local
152 olen = sizeof(h_outer.ip); in __encap_ipv4()
220 olen += l2_len; in __encap_ipv4()
266 int olen, l2_len; in __encap_ipv6() local
283 olen = sizeof(h_outer.ip); in __encap_ipv6()
349 olen += l2_len; in __encap_ipv6()
377 int olen; in encap_ipv6_ipip6() local
391 olen = sizeof(h_outer.ip); in encap_ipv6_ipip6()
603 int olen = len; in decap_internal() local
636 olen += ETH_HLEN; in decap_internal()
[all …]
/linux-6.3-rc2/arch/x86/boot/compressed/
A Dmkpiggy.c21 uint32_t olen; in main() local
44 if (fread(&olen, sizeof(olen), 1, f) != 1) { in main()
50 olen = get_unaligned_le32(&olen); in main()
56 printf("z_output_len = %lu\n", (unsigned long)olen); in main()
67 printf("output_len:\n\t.long %lu\n", (unsigned long)olen); in main()
/linux-6.3-rc2/lib/842/
A D842_decompress.c56 u64 olen; member
136 if (n > p->olen) in do_data()
158 p->olen -= n; in do_data()
207 p->olen -= size; in __do_index()
290 p.olen = *olen; in sw842_decompress()
292 total = p.olen; in sw842_decompress()
294 *olen = 0; in sw842_decompress()
321 p.olen -= 8; in sw842_decompress()
334 p.olen -= 8; in sw842_decompress()
354 p.olen--; in sw842_decompress()
[all …]
A D842_compress.c93 u64 olen; member
188 if (DIV_ROUND_UP(bits, 8) > p->olen) in add_bits()
215 p->olen -= p->bit / 8; in add_bits()
496 p->olen = *olen; in sw842_compress()
499 total = p->olen; in sw842_compress()
501 *olen = 0; in sw842_compress()
589 p->olen--; in sw842_compress()
594 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress()
596 if (pad > p->olen) /* we were so close! */ in sw842_compress()
600 p->olen -= pad; in sw842_compress()
[all …]
/linux-6.3-rc2/arch/powerpc/boot/
A Dopal.c45 uint64_t olen, len; in opal_con_putc() local
48 rc = opal_console_write_buffer_space(opal_con_id, &olen); in opal_con_putc()
49 len = be64_to_cpu(olen); in opal_con_putc()
56 olen = cpu_to_be64(1); in opal_con_putc()
57 opal_console_write(opal_con_id, &olen, &c); in opal_con_putc()
/linux-6.3-rc2/drivers/net/ppp/
A Dppp_deflate.c189 int r, proto, off, olen, oavail; in z_compress() local
215 olen = PPP_HDRLEN + DEFLATE_OVHD; in z_compress()
234 olen += oavail; in z_compress()
241 olen += oavail - state->strm.avail_out; in z_compress()
246 if (olen < isize && olen <= osize) { in z_compress()
247 state->stats.comp_bytes += olen; in z_compress()
252 olen = 0; in z_compress()
257 return olen; in z_compress()
414 int olen, seq, r; in z_decompress() local
502 state->stats.unc_bytes += olen; in z_decompress()
[all …]
A Dbsd_comp.c581 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()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-diolan-u2c.c84 int olen; /* Output buffer length */ member
102 if (!dev->olen || !dev->ocount) in diolan_usb_transfer()
107 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer()
151 dev->olen = 0; in diolan_usb_transfer()
158 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd()
166 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd()
175 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data()
176 dev->obuffer[dev->olen++] = data; in diolan_usb_cmd_data()
185 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data2()
186 dev->obuffer[dev->olen++] = d1; in diolan_usb_cmd_data2()
[all …]
/linux-6.3-rc2/drivers/iio/adc/
A Ddln2-adc.c149 int olen = sizeof(count); in dln2_adc_get_chan_count() local
152 &port, sizeof(port), &count, &olen); in dln2_adc_get_chan_count()
157 if (olen < sizeof(count)) in dln2_adc_get_chan_count()
202 int olen = sizeof(conflict); in dln2_adc_set_port_enabled() local
209 &conflict, &olen); in dln2_adc_set_port_enabled()
217 if (enable && olen < sizeof(conflict)) in dln2_adc_set_port_enabled()
253 int olen = sizeof(value); in dln2_adc_read() local
281 &value, &olen); in dln2_adc_read()
286 if (olen < sizeof(value)) { in dln2_adc_read()
307 int olen = sizeof(*get_all_vals); in dln2_adc_read_all() local
[all …]
/linux-6.3-rc2/drivers/infiniband/core/
A Duverbs.h58 size_t ilen, size_t olen) in ib_uverbs_init_udata() argument
63 udata->outlen = olen; in ib_uverbs_init_udata()
70 size_t ilen, size_t olen) in ib_uverbs_init_udata_buf_or_null() argument
73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null()
74 ilen, olen); in ib_uverbs_init_udata_buf_or_null()
/linux-6.3-rc2/fs/btrfs/
A Dreflink.c25 const u64 olen, in clone_finish_inode_update() argument
40 if (endoff > destoff + olen) in clone_finish_inode_update()
41 endoff = destoff + olen; in clone_finish_inode_update()
339 const u64 off, const u64 olen, const u64 olen_aligned, in btrfs_clone() argument
560 destoff, olen, no_time_update); in btrfs_clone()
610 destoff, olen, no_time_update); in btrfs_clone()
703 tail_len = olen % BTRFS_MAX_DEDUPE_LEN; in btrfs_extent_same()
704 chunk_count = div_u64(olen, BTRFS_MAX_DEDUPE_LEN); in btrfs_extent_same()
727 u64 off, u64 olen, u64 destoff) in btrfs_clone_files() argument
734 u64 len = olen; in btrfs_clone_files()
[all …]
/linux-6.3-rc2/drivers/media/usb/dvb-usb/
A Dvp702x.c98 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
105 ret = vp702x_usb_out_op_unlocked(d, REQUEST_OUT, 0, 0, o, olen); in vp702x_usb_inout_op()
114 int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_cmd() argument
119 int buflen = max(olen + 2, ilen + 1); in vp702x_usb_inout_cmd()
141 memcpy(&buf[2], o, olen); in vp702x_usb_inout_cmd()
143 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec); in vp702x_usb_inout_cmd()
A Dvp702x.h111 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec…
/linux-6.3-rc2/drivers/net/wireless/ath/ar5523/
A Dar5523.c51 int dlen, olen; in ar5523_read_reply() local
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()
131 cmd->olen = 0; in ar5523_cmd_rx_cb()
271 cmd->olen = olen; in ar5523_cmd()
[all …]
A Dar5523.h65 int olen; member
/linux-6.3-rc2/fs/crypto/
A Dfname.c99 u8 *out, unsigned int olen) in fscrypt_fname_encrypt() argument
113 if (WARN_ON(olen < iname->len)) in fscrypt_fname_encrypt()
116 memset(out + iname->len, 0, olen - iname->len); in fscrypt_fname_encrypt()
128 sg_init_one(&sg, out, olen); in fscrypt_fname_encrypt()
129 skcipher_request_set_crypt(req, &sg, &sg, olen, &iv); in fscrypt_fname_encrypt()
/linux-6.3-rc2/net/ipv6/
A Dip6_flowlabel.c377 int olen; in fl_create() local
381 olen = optlen - CMSG_ALIGN(sizeof(*freq)); in fl_create()
383 if (olen > 64 * 1024) in fl_create()
391 if (olen > 0) { in fl_create()
397 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create()
402 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create()
405 CMSG_ALIGN(sizeof(*freq)), olen)) in fl_create()
408 msg.msg_controllen = olen; in fl_create()
/linux-6.3-rc2/drivers/media/tuners/
A Dtuner-i2c.h45 unsigned char *obuf, int olen, in tuner_i2c_xfer_send_recv() argument
49 .buf = obuf, .len = olen }, in tuner_i2c_xfer_send_recv()
/linux-6.3-rc2/drivers/media/dvb-frontends/
A Dbcm3510.c205 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()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal.c448 __be64 olen; in __opal_put_chars() local
456 rc = opal_console_write_buffer_space(vtermno, &olen); in __opal_put_chars()
457 if (rc || be64_to_cpu(olen) < total_len) { in __opal_put_chars()
467 olen = cpu_to_be64(total_len); in __opal_put_chars()
468 rc = opal_console_write(vtermno, &olen, data); in __opal_put_chars()
482 written = be64_to_cpu(olen); in __opal_put_chars()
/linux-6.3-rc2/fs/
A Dioctl.c231 u64 off, u64 olen, u64 destoff) in ioctl_file_clone() argument
240 olen, 0); in ioctl_file_clone()
243 else if (olen && cloned != olen) in ioctl_file_clone()
/linux-6.3-rc2/scripts/dtc/libfdt/
A Dfdt_ro.c16 int olen; in fdt_nodename_eq_() local
17 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_()
19 if (!p || olen < len) in fdt_nodename_eq_()
/linux-6.3-rc2/net/bluetooth/
A Dl2cap_core.c3593 if (olen != 2) in l2cap_parse_conf_req()
3599 if (olen != 2) in l2cap_parse_conf_req()
3614 if (olen != 1) in l2cap_parse_conf_req()
3628 if (olen != 2) in l2cap_parse_conf_req()
3797 int type, olen; in l2cap_parse_conf_rsp() local
3811 if (olen != 2) in l2cap_parse_conf_rsp()
3823 if (olen != 2) in l2cap_parse_conf_rsp()
3843 if (olen != 2) in l2cap_parse_conf_rsp()
3863 if (olen != 1) in l2cap_parse_conf_rsp()
4011 int type, olen; in l2cap_conf_rfc_get() local
[all …]

Completed in 80 milliseconds

123