/linux-master/arch/x86/boot/compressed/ |
H A D | mkpiggy.c | 21 uint32_t olen; local 44 if (fread(&olen, sizeof(olen), 1, f) != 1) { 50 olen = get_unaligned_le32(&olen); 56 printf("z_output_len = %lu\n", (unsigned long)olen); 67 printf("output_len:\n\t.long %lu\n", (unsigned long)olen);
|
/linux-master/net/ceph/ |
H A D | armor.c | 39 int olen = 0; local 64 olen += 4; 69 olen++; 72 return olen; 77 int olen = 0; local 97 return olen + 1; 100 return olen + 2; 102 olen += 3; 105 return olen;
|
/linux-master/arch/powerpc/boot/ |
H A D | opal.c | 45 uint64_t olen, len; local 48 rc = opal_console_write_buffer_space(opal_con_id, &olen); 49 len = be64_to_cpu(olen); 56 olen = cpu_to_be64(1); 57 opal_console_write(opal_con_id, &olen, &c);
|
/linux-master/lib/842/ |
H A D | 842_decompress.c | 56 u64 olen; member in struct:sw842_param 136 if (n > p->olen) 158 p->olen -= n; 207 p->olen -= size; 266 * to the output buffer @out, using no more than @olen bytes. 273 * Returns: 0 on success, error on failure. The @olen parameter 278 u8 *out, unsigned int *olen) 290 p.olen = *olen; 292 total = p.olen; 277 sw842_decompress(const u8 *in, unsigned int ilen, u8 *out, unsigned int *olen) argument [all...] |
H A D | 842_compress.c | 93 u64 olen; member in struct:sw842_param 183 else if (p->olen < 8 && bits > 32 && bits <= 56) 185 else if (p->olen < 4 && bits > 16 && bits <= 24) 188 if (DIV_ROUND_UP(bits, 8) > p->olen) 215 p->olen -= p->bit / 8; 471 * @out, using no more than @olen bytes, using the 842 compression format. 473 * Returns: 0 on success, error on failure. The @olen parameter 478 u8 *out, unsigned int *olen, void *wmem) 496 p->olen = *olen; 477 sw842_compress(const u8 *in, unsigned int ilen, u8 *out, unsigned int *olen, void *wmem) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 101 int olen, l2_len; local 155 olen = sizeof(h_outer.ip); 179 olen += sizeof(h_outer.l4hdr.gre); 185 olen += sizeof(h_outer.l4hdr.udp); 201 l2_hdr = (__u8 *)&h_outer + olen; 223 olen += l2_len; 226 if (bpf_skb_adjust_room(skb, olen, BPF_ADJ_ROOM_MAC, flags)) 231 h_outer.ip.tot_len = bpf_htons(olen + 238 if (bpf_skb_store_bytes(skb, ETH_HLEN, &h_outer, olen, 269 int olen, l2_le local 380 int olen; local 606 int olen = len; local [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_sockopt.c | 279 socklen_t olen, _olen; local 285 olen = sizeof(good_data); 286 good_data.size_subflow_data = olen; 288 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); 290 assert(olen == sizeof(good_data)); 294 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); 296 assert(olen == sizeof(good_data)); 302 _olen = rand() % olen; 303 olen = _olen; 304 ret = getsockopt(fd, SOL_MPTCP, optname, &bd, &olen); 352 socklen_t olen; local 379 socklen_t olen; local 428 socklen_t olen, rlen, llen; local 500 socklen_t olen; local [all...] |
/linux-master/drivers/net/ppp/ |
H A D | ppp_deflate.c | 189 int r, proto, off, olen, oavail; local 215 olen = PPP_HDRLEN + DEFLATE_OVHD; 217 state->strm.avail_out = oavail = osize - olen; 234 olen += oavail; 241 olen += oavail - state->strm.avail_out; 246 if (olen < isize && olen <= osize) { 247 state->stats.comp_bytes += olen; 252 olen = 0; 257 return olen; 414 int olen, seq, r; local [all...] |
H A D | bsd_comp.c | 581 int olen; local 585 ++olen; \ 589 if (olen >= osize) \ 631 olen = PPP_HDRLEN + BSD_OVHD; 741 db->bytes_out += olen - PPP_HDRLEN - BSD_OVHD; 786 olen = 0; 791 db->comp_bytes += olen; 795 return olen;
|
/linux-master/drivers/misc/mei/ |
H A D | vsc-tp.h | 34 int vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen,
|
H A D | vsc-tp.c | 265 * @olen: the length of tx buffer 271 int vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen, argument 278 if (!obuf || !ibuf || olen > VSC_TP_MAX_MSG_SIZE) 285 pkt->len = cpu_to_le16(olen); 287 memcpy(pkt->buf, obuf, olen); 289 crc = ~crc32(~0, (u8 *)pkt, sizeof(pkt) + olen); 290 memcpy(pkt->buf + olen, &crc, sizeof(crc));
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-diolan-u2c.c | 84 int olen; /* Output buffer length */ member in struct:i2c_diolan_u2c 102 if (!dev->olen || !dev->ocount) 107 dev->obuffer, dev->olen, &actual, 151 dev->olen = 0; 158 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) 166 dev->obuffer[dev->olen++] = command; 175 dev->obuffer[dev->olen++] = command; 176 dev->obuffer[dev->olen++] = data; 185 dev->obuffer[dev->olen++] = command; 186 dev->obuffer[dev->olen [all...] |
/linux-master/drivers/iio/adc/ |
H A D | dln2-adc.c | 149 int olen = sizeof(count); local 152 &port, sizeof(port), &count, &olen); 157 if (olen < sizeof(count)) 202 int olen = sizeof(conflict); local 209 &conflict, &olen); 213 if (conflict_out && enable && olen >= sizeof(conflict)) 217 if (enable && olen < sizeof(conflict)) 253 int olen = sizeof(value); local 281 &value, &olen); 286 if (olen < sizeo 307 int olen = sizeof(*get_all_vals); local [all...] |
/linux-master/drivers/infiniband/core/ |
H A D | uverbs.h | 58 size_t ilen, size_t olen) 63 udata->outlen = olen; 70 size_t ilen, size_t olen) 73 ilen ? ibuf : NULL, olen ? obuf : NULL, 74 ilen, olen); 55 ib_uverbs_init_udata(struct ib_udata *udata, const void __user *ibuf, void __user *obuf, size_t ilen, size_t olen) argument 67 ib_uverbs_init_udata_buf_or_null(struct ib_udata *udata, const void __user *ibuf, void __user *obuf, size_t ilen, size_t olen) argument
|
/linux-master/drivers/media/usb/dvb-usb/ |
H A 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);
|
H A D | vp702x.c | 98 int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec) argument 105 ret = vp702x_usb_out_op_unlocked(d, REQUEST_OUT, 0, 0, o, olen); 114 int olen, u8 *i, int ilen, int msec) 119 int buflen = max(olen + 2, ilen + 1); 141 memcpy(&buf[2], o, olen); 143 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec); 113 vp702x_usb_inout_cmd(struct dvb_usb_device *d, u8 cmd, u8 *o, int olen, u8 *i, int ilen, int msec) argument
|
/linux-master/drivers/media/tuners/ |
H A D | tuner-i2c.h | 45 unsigned char *obuf, int olen, 49 .buf = obuf, .len = olen }, 44 tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props, unsigned char *obuf, int olen, unsigned char *ibuf, int ilen) argument
|
/linux-master/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 51 int dlen, olen; local 66 olen = be32_to_cpu(rp[0]); 68 if (olen == 0) { 70 olen = sizeof(u32); 73 olen = 0; 76 if (cmd->olen < olen) { 77 ar5523_err(ar, "olen too small %d < %d\n", 78 cmd->olen, olen); 249 ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, int ilen, void *odata, int olen, int flags) argument 304 ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata, int ilen, void *odata, int olen, int flags) argument 346 ar5523_get_status(struct ar5523 *ar, u32 which, void *odata, int olen) argument [all...] |
H A D | ar5523.h | 65 int olen; member in struct:ar5523_tx_cmd
|
/linux-master/fs/btrfs/ |
H A D | reflink.c | 25 const u64 olen, 38 if (endoff > destoff + olen) 39 endoff = destoff + olen; 331 * @olen: Original length, passed by user, of range to clone 332 * @olen_aligned: Block-aligned value of olen 337 const u64 off, const u64 olen, const u64 olen_aligned, 558 destoff, olen, no_time_update); 608 destoff, olen, no_time_update); 682 static int btrfs_extent_same(struct inode *src, u64 loff, u64 olen, argument 701 tail_len = olen 21 clone_finish_inode_update(struct btrfs_trans_handle *trans, struct inode *inode, u64 endoff, const u64 destoff, const u64 olen, int no_time_update) argument 336 btrfs_clone(struct inode *src, struct inode *inode, const u64 off, const u64 olen, const u64 olen_aligned, const u64 destoff, int no_time_update) argument 724 btrfs_clone_files(struct file *file, struct file *file_src, u64 off, u64 olen, u64 destoff) argument [all...] |
/linux-master/fs/crypto/ |
H A D | fname.c | 87 * @olen: size of the encrypted filename. It must be at least @iname->len. 93 u8 *out, unsigned int olen) 107 if (WARN_ON_ONCE(olen < iname->len)) 110 memset(out + iname->len, 0, olen - iname->len); 122 sg_init_one(&sg, out, olen); 123 skcipher_request_set_crypt(req, &sg, &sg, olen, &iv); 92 fscrypt_fname_encrypt(const struct inode *inode, const struct qstr *iname, u8 *out, unsigned int olen) argument
|
/linux-master/net/ipv6/ |
H A D | ip6_flowlabel.c | 380 int olen; local 384 olen = optlen - CMSG_ALIGN(sizeof(*freq)); 386 if (olen > 64 * 1024) 394 if (olen > 0) { 400 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); 405 fl->opt->tot_len = sizeof(*fl->opt) + olen; 408 CMSG_ALIGN(sizeof(*freq)), olen)) 411 msg.msg_controllen = olen;
|
/linux-master/lib/ |
H A D | decompress_unlzo.c | 280 unsigned char *out_buf, long olen, 277 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long olen, long *pos, void (*error)(char *x)) argument
|
H A D | decompress_unxz.c | 400 unsigned char *out_buf, long olen, 397 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long olen, long *pos, void (*error)(char *x)) argument
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal.c | 449 __be64 olen; local 457 rc = opal_console_write_buffer_space(vtermno, &olen); 458 if (rc || be64_to_cpu(olen) < total_len) { 468 olen = cpu_to_be64(total_len); 469 rc = opal_console_write(vtermno, &olen, data); 483 written = be64_to_cpu(olen);
|