/linux-4.4.14/arch/x86/boot/compressed/ |
D | mkpiggy.c | 36 uint32_t olen; in main() local 62 if (fread(&olen, sizeof(olen), 1, f) != 1) { in main() 68 olen = get_unaligned_le32(&olen); in main() 75 offs = (olen > ilen) ? olen - ilen : 0; in main() 76 offs += olen >> 12; /* Add 8 bytes for each 32K block */ in main() 85 printf("z_output_len = %lu\n", (unsigned long)olen); in main()
|
/linux-4.4.14/net/ceph/ |
D | armor.c | 38 int olen = 0; in ceph_armor() local 63 olen += 4; in ceph_armor() 68 olen++; in ceph_armor() 71 return olen; in ceph_armor() 76 int olen = 0; in ceph_unarmor() local 96 return olen + 1; in ceph_unarmor() 99 return olen + 2; in ceph_unarmor() 101 olen += 3; in ceph_unarmor() 104 return olen; in ceph_unarmor()
|
D | auth_x.c | 49 void *ibuf, int ilen, void *obuf, size_t olen) in ceph_x_encrypt() argument 55 size_t len = olen - sizeof(u32); in ceph_x_encrypt() 67 void **p, void *end, void **obuf, size_t olen) in ceph_x_decrypt() argument 82 olen = len; in ceph_x_decrypt() 85 ret = ceph_decrypt2(secret, &head, &head_len, *obuf, &olen, *p, len); in ceph_x_decrypt() 91 return olen; in ceph_x_decrypt()
|
/linux-4.4.14/lib/842/ |
D | 842_decompress.c | 65 u64 olen; member 145 if (n > p->olen) in do_data() 167 p->olen -= n; in do_data() 212 p->olen -= size; in __do_index() 283 u8 *out, unsigned int *olen) in sw842_decompress() argument 295 p.olen = *olen; in sw842_decompress() 297 total = p.olen; in sw842_decompress() 299 *olen = 0; in sw842_decompress() 320 if (rep * 8 > p.olen) in sw842_decompress() 326 p.olen -= 8; in sw842_decompress() [all …]
|
D | 842_compress.c | 102 u64 olen; member 192 else if (p->olen < 8 && bits > 32 && bits <= 56) in add_bits() 194 else if (p->olen < 4 && bits > 16 && bits <= 24) in add_bits() 197 if (DIV_ROUND_UP(bits, 8) > p->olen) in add_bits() 224 p->olen -= p->bit / 8; in add_bits() 487 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument 505 p->olen = *olen; in sw842_compress() 508 total = p->olen; in sw842_compress() 510 *olen = 0; in sw842_compress() 598 p->olen--; in sw842_compress() [all …]
|
/linux-4.4.14/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()
|
/linux-4.4.14/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 …]
|
/linux-4.4.14/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); \
|
/linux-4.4.14/fs/f2fs/ |
D | crypto_fname.c | 271 unsigned int olen; in f2fs_fname_crypto_alloc_buffer() local 279 olen = f2fs_fname_crypto_round_up(ilen, padding); in f2fs_fname_crypto_alloc_buffer() 280 crypto_str->len = olen; in f2fs_fname_crypto_alloc_buffer() 281 if (olen < F2FS_FNAME_CRYPTO_DIGEST_SIZE * 2) in f2fs_fname_crypto_alloc_buffer() 282 olen = F2FS_FNAME_CRYPTO_DIGEST_SIZE * 2; in f2fs_fname_crypto_alloc_buffer() 285 crypto_str->name = kmalloc(olen + 1, GFP_NOFS); in f2fs_fname_crypto_alloc_buffer()
|
/linux-4.4.14/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 | 110 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec…
|
/linux-4.4.14/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
|
/linux-4.4.14/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()
|
/linux-4.4.14/fs/ext4/ |
D | crypto_fname.c | 283 unsigned int olen = ext4_fname_encrypted_size(inode, ilen); in ext4_fname_crypto_alloc_buffer() local 285 crypto_str->len = olen; in ext4_fname_crypto_alloc_buffer() 286 if (olen < EXT4_FNAME_CRYPTO_DIGEST_SIZE*2) in ext4_fname_crypto_alloc_buffer() 287 olen = EXT4_FNAME_CRYPTO_DIGEST_SIZE*2; in ext4_fname_crypto_alloc_buffer() 290 crypto_str->name = kmalloc(olen+1, GFP_NOFS); in ext4_fname_crypto_alloc_buffer()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal.c | 338 __be64 olen; in opal_put_chars() local 356 rc = opal_console_write_buffer_space(vtermno, &olen); in opal_put_chars() 357 len = be64_to_cpu(olen); in opal_put_chars() 374 olen = cpu_to_be64(total_len); in opal_put_chars() 375 rc = opal_console_write(vtermno, &olen, data); in opal_put_chars() 376 len = be64_to_cpu(olen); in opal_put_chars()
|
/linux-4.4.14/net/ipv6/ |
D | ip6_flowlabel.c | 358 int olen; in fl_create() local 362 olen = optlen - CMSG_ALIGN(sizeof(*freq)); in fl_create() 364 if (olen > 64 * 1024) in fl_create() 372 if (olen > 0) { in fl_create() 378 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create() 383 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create() 385 if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen)) in fl_create() 388 msg.msg_controllen = olen; in fl_create()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/fs/ceph/ |
D | ioctl.c | 187 u64 len = 1, olen; in ceph_ioctl_get_dataloc() local 199 &olen); in ceph_ioctl_get_dataloc()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 620 int i, npages, curlen, olen; in rpcrdma_inline_fixup() local 639 olen = copy_len; in rpcrdma_inline_fixup() 641 rpcx_to_rdmax(rqst->rq_xprt)->rx_stats.fixup_copy_count += olen; in rpcrdma_inline_fixup() 691 __func__, olen, i, copy_len); in rpcrdma_inline_fixup()
|
/linux-4.4.14/fs/btrfs/ |
D | ioctl.c | 90 u64 off, u64 olen, u64 olen_aligned, u64 destoff, 3022 u64 olen) in extent_same_check_offsets() argument 3027 if (off + olen > inode->i_size || off + olen < off) in extent_same_check_offsets() 3041 static int btrfs_extent_same(struct inode *src, u64 loff, u64 olen, in btrfs_extent_same() argument 3045 u64 len = olen; in btrfs_extent_same() 3060 ret = extent_same_check_offsets(src, loff, &len, olen); in btrfs_extent_same() 3078 if (len != olen) { in btrfs_extent_same() 3094 ret = extent_same_check_offsets(src, loff, &len, olen); in btrfs_extent_same() 3098 ret = extent_same_check_offsets(dst, dst_loff, &len, olen); in btrfs_extent_same() 3111 ret = btrfs_cmp_data_prepare(src, loff, dst, dst_loff, olen, &cmp); in btrfs_extent_same() [all …]
|
/linux-4.4.14/lib/ |
D | decompress_unlzo.c | 295 unsigned char *out_buf, long olen, in __decompress() argument
|
D | decompress_unxz.c | 401 unsigned char *out_buf, long olen, in __decompress() argument
|
D | decompress_bunzip2.c | 749 unsigned char *outbuf, long olen, in __decompress() argument
|
/linux-4.4.14/net/netfilter/ |
D | nf_nat_sip.c | 180 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local 197 olen = *datalen; in nf_nat_sip() 204 matchend = matchoff + matchlen + *datalen - olen; in nf_nat_sip()
|
/linux-4.4.14/net/bluetooth/ |
D | l2cap_core.c | 2935 static inline int l2cap_get_conf_opt(void **ptr, int *type, int *olen, in l2cap_get_conf_opt() argument 2945 *olen = opt->len; in l2cap_get_conf_opt() 3300 int type, hint, olen; in l2cap_parse_conf_req() local 3312 len -= l2cap_get_conf_opt(&req, &type, &olen, &val); in l2cap_parse_conf_req() 3330 if (olen == sizeof(rfc)) in l2cap_parse_conf_req() 3331 memcpy(&rfc, (void *) val, olen); in l2cap_parse_conf_req() 3341 if (olen == sizeof(efs)) in l2cap_parse_conf_req() 3342 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req() 3513 int type, olen; in l2cap_parse_conf_rsp() local 3521 len -= l2cap_get_conf_opt(&rsp, &type, &olen, &val); in l2cap_parse_conf_rsp() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_debug.c | 1054 int plen, olen; in inquiry_evpd_85() local 1059 olen = strlen(na1); in inquiry_evpd_85() 1060 plen = olen + 1; in inquiry_evpd_85() 1064 memcpy(arr + num, na1, olen); in inquiry_evpd_85() 1065 memset(arr + num + olen, 0, plen - olen); in inquiry_evpd_85() 1071 olen = strlen(na2); in inquiry_evpd_85() 1072 plen = olen + 1; in inquiry_evpd_85() 1076 memcpy(arr + num, na2, olen); in inquiry_evpd_85() 1077 memset(arr + num + olen, 0, plen - olen); in inquiry_evpd_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()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_ioctl.c | 279 __u32 olen; in xfs_readlink_by_handle() local 296 if (copy_from_user(&olen, hreq->ohandlen, sizeof(__u32))) { in xfs_readlink_by_handle() 310 error = readlink_copy(hreq->ohandle, olen, link); in xfs_readlink_by_handle()
|
/linux-4.4.14/drivers/tty/ |
D | n_gsm.c | 544 int olen = 0; in gsm_stuff_frame() local 550 olen++; in gsm_stuff_frame() 553 olen++; in gsm_stuff_frame() 555 return olen; in gsm_stuff_frame()
|
/linux-4.4.14/tools/perf/util/ |
D | header.c | 93 u32 len, olen; in do_write_string() local 96 olen = strlen(str) + 1; in do_write_string() 97 len = PERF_ALIGN(olen, NAME_ALIGN); in do_write_string() 104 return write_padded(fd, str, olen, len); in do_write_string()
|
/linux-4.4.14/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) {
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_ap.c | 1353 int len, olen; in handle_authen() local 1526 olen = 6; in handle_authen() 1536 olen += 2 + WLAN_AUTH_CHALLENGE_LEN; in handle_authen() 1540 body, olen, hdr->addr2, ap->tx_callback_auth); in handle_authen()
|
/linux-4.4.14/net/9p/ |
D | client.c | 817 int inlen, int olen, int in_hdrlen, in p9_client_zc_rpc() argument 842 inlen, olen, in_hdrlen); in p9_client_zc_rpc()
|
/linux-4.4.14/security/selinux/ss/ |
D | services.c | 759 u32 olen, nlen, tlen; in security_validtrans_handle_fail() local 761 if (context_struct_to_string(ocontext, &o, &olen)) in security_validtrans_handle_fail()
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 2496 static inline int match_prefix(char *prefix, int plen, char *option, int olen) in match_prefix() argument 2498 if (plen > olen) in match_prefix()
|