Searched refs:osize (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/net/ppp/
H A Dppp_mppe.c368 int isize, int osize) mppe_compress()
383 if (osize < isize + MPPE_OVHD + 2) { mppe_compress()
385 printk(KERN_DEBUG "mppe_compress[%d]: osize too small! " mppe_compress()
387 osize, osize + MPPE_OVHD + 2); mppe_compress()
391 osize = isize + MPPE_OVHD + 2; mppe_compress()
428 setup_sg(sg_out, obuf, osize); mppe_compress()
436 state->stats.comp_bytes += osize; mppe_compress()
439 return osize; mppe_compress()
475 int osize) mppe_decompress()
497 if (osize < isize - MPPE_OVHD - 1) { mppe_decompress()
498 printk(KERN_DEBUG "mppe_decompress[%d]: osize too small! " mppe_decompress()
500 osize, isize - MPPE_OVHD - 1); mppe_decompress()
503 osize = isize - MPPE_OVHD - 2; /* assume no PFC */ mppe_decompress()
602 /* net osize: isize-4 */ mppe_decompress()
626 osize++; mppe_decompress()
631 setup_sg(sg_out, obuf + 1, osize - 1); mppe_decompress()
637 state->stats.unc_bytes += osize; mppe_decompress()
645 return osize; mppe_decompress()
367 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, int isize, int osize) mppe_compress() argument
474 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) mppe_decompress() argument
H A Dppp_deflate.c51 int isize, int osize);
54 int isize, unsigned char *obuf, int osize);
183 * @osize: space available at @obuf
189 int isize, int osize) z_compress()
204 if (osize > isize) z_compress()
205 osize = isize; z_compress()
220 state->strm.avail_out = oavail = osize - olen; z_compress()
249 if (olen < isize && olen <= osize) { z_compress()
399 * @osize: amount of space available at @obuf
415 unsigned char *obuf, int osize) z_decompress()
473 state->strm.avail_out = osize - PPP_HDRLEN; z_decompress()
505 olen = osize + overflow - state->strm.avail_out; z_decompress()
188 z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, int isize, int osize) z_compress() argument
414 z_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) z_decompress() argument
H A Dbsd_comp.c185 unsigned char *obuf, int isize, int osize);
189 unsigned char *obuf, int osize);
564 int isize, int osize) bsd_compress()
589 if (olen >= osize) \ bsd_compress()
633 if (osize > isize) bsd_compress()
635 osize = isize; bsd_compress()
828 unsigned char *obuf, int osize) bsd_decompress()
977 if (explen > osize) bsd_decompress()
563 bsd_compress(void *state, unsigned char *rptr, unsigned char *obuf, int isize, int osize) bsd_compress() argument
827 bsd_decompress(void *state, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) bsd_decompress() argument
/linux-4.4.14/net/ceph/crush/
H A Dmapper.c798 int osize; crush_do_rule() local
888 osize = 0; crush_do_rule()
912 osize += crush_choose_firstn( crush_do_rule()
918 o+osize, j, crush_do_rule()
919 result_max-osize, crush_do_rule()
926 c+osize, crush_do_rule()
929 out_size = ((numrep < (result_max-osize)) ? crush_do_rule()
930 numrep : (result_max-osize)); crush_do_rule()
937 o+osize, j, crush_do_rule()
942 c+osize, crush_do_rule()
944 osize += out_size; crush_do_rule()
950 memcpy(o, c, osize*sizeof(*o)); crush_do_rule()
956 wsize = osize; crush_do_rule()
/linux-4.4.14/include/linux/
H A Dppp-comp.h54 unsigned char *obuf, int isize, int osize);
75 unsigned char *obuf, int osize);
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-mixx-defs.h432 uint64_t osize:20; member in struct:cvmx_mixx_oring1::cvmx_mixx_oring1_s
438 uint64_t osize:20;
445 uint64_t osize:20; member in struct:cvmx_mixx_oring1::cvmx_mixx_oring1_cn52xx
453 uint64_t osize:20;
/linux-4.4.14/lib/lz4/
H A Dlz4_decompress.c55 static int lz4_uncompress(const char *source, char *dest, int osize) lz4_uncompress() argument
60 BYTE * const oend = op + osize; lz4_uncompress()
/linux-4.4.14/drivers/usb/usbip/
H A Dusbip_common.c334 int osize = size; usbip_recv() local
373 usbip_dump_buffer(bp, osize); usbip_recv()
374 pr_debug("received, osize %d ret %d size %d total %d\n", usbip_recv()
375 osize, result, size, total); usbip_recv()
/linux-4.4.14/net/ceph/
H A Dosdmap.c1391 u32 osize = le32_to_cpu(layout->fl_object_size); ceph_calc_file_object_mapping() local
1398 dout("mapping %llu~%llu osize %u fl_su %u\n", off, len, ceph_calc_file_object_mapping()
1399 osize, su); ceph_calc_file_object_mapping()
1402 su_per_object = osize / su; ceph_calc_file_object_mapping()
1405 dout("osize %u / su %u = su_per_object %u\n", osize, su, ceph_calc_file_object_mapping()
/linux-4.4.14/net/sched/
H A Dsch_api.c656 unsigned int nsize, nmask, osize; qdisc_class_hash_grow() local
669 osize = clhash->hashsize; qdisc_class_hash_grow()
672 for (i = 0; i < osize; i++) { qdisc_class_hash_grow()
683 qdisc_class_hash_free(ohash, osize); qdisc_class_hash_grow()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c449 unsigned long nsize, osize; radeon_crtc_do_set_base() local
452 osize = radeon_bo_size(old_rbo); radeon_crtc_do_set_base()
454 if (nsize <= osize && !radeon_bo_reserve(old_rbo, false)) { radeon_crtc_do_set_base()
/linux-4.4.14/net/xfrm/
H A Dxfrm_state.c104 unsigned long nsize, osize; xfrm_hash_resize() local
143 osize = (ohashmask + 1) * sizeof(struct hlist_head); xfrm_hash_resize()
144 xfrm_hash_free(odst, osize); xfrm_hash_resize()
145 xfrm_hash_free(osrc, osize); xfrm_hash_resize()
146 xfrm_hash_free(ospi, osize); xfrm_hash_resize()
/linux-4.4.14/drivers/media/tuners/
H A Dtuner-xc2028.c137 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \
139 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c3276 int osize; ar9300_eeprom_restore_internal() local
3354 osize = length; ar9300_eeprom_restore_internal()
3355 read(ah, cptr, word, COMP_HDR_LEN + osize + COMP_CKSUM_LEN); ar9300_eeprom_restore_internal()
3357 mchecksum = get_unaligned_le16(&word[COMP_HDR_LEN + osize]); ar9300_eeprom_restore_internal()
3367 cptr -= (COMP_HDR_LEN + osize + COMP_CKSUM_LEN); ar9300_eeprom_restore_internal()
/linux-4.4.14/drivers/net/ethernet/octeon/
H A Docteon_mgmt.c1049 oring1.s.osize = OCTEON_MGMT_TX_RING_SIZE; octeon_mgmt_open()

Completed in 1010 milliseconds