Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ppp/
Dppp_mppe.c369 int isize, int osize) in mppe_compress() argument
384 if (osize < isize + MPPE_OVHD + 2) { in mppe_compress()
388 osize, osize + MPPE_OVHD + 2); in mppe_compress()
392 osize = isize + MPPE_OVHD + 2; in mppe_compress()
429 setup_sg(sg_out, obuf, osize); in mppe_compress()
437 state->stats.comp_bytes += osize; in mppe_compress()
440 return osize; in mppe_compress()
476 int osize) in mppe_decompress() argument
499 if (osize < isize - MPPE_OVHD - 1) { in mppe_decompress()
502 osize, isize - MPPE_OVHD - 1); in mppe_decompress()
[all …]
Dppp_deflate.c51 int isize, int osize);
54 int isize, unsigned char *obuf, int osize);
189 int isize, int osize) in z_compress() argument
204 if (osize > isize) in z_compress()
205 osize = isize; in z_compress()
220 state->strm.avail_out = oavail = osize - olen; in z_compress()
415 unsigned char *obuf, int osize) in z_decompress() argument
473 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
505 olen = osize + overflow - state->strm.avail_out; in z_decompress()
Dbsd_comp.c185 unsigned char *obuf, int isize, int osize);
189 unsigned char *obuf, int osize);
564 int isize, int osize) in bsd_compress() argument
589 if (olen >= osize) \ in bsd_compress()
633 if (osize > isize) in bsd_compress()
635 osize = isize; in bsd_compress()
828 unsigned char *obuf, int osize) in bsd_decompress() argument
977 if (explen > osize) in bsd_decompress()
/linux-3.4.99/net/ceph/crush/
Dmapper.c482 int osize; in crush_do_rule() local
553 osize = 0; in crush_do_rule()
568 if (osize == 0 && force_pos >= 0) { in crush_do_rule()
576 o[osize] = force_context[force_pos]; in crush_do_rule()
578 c[osize] = force_context[0]; in crush_do_rule()
582 osize += crush_choose(map, in crush_do_rule()
587 o+osize, j, in crush_do_rule()
589 recurse_to_leaf, c+osize); in crush_do_rule()
594 memcpy(o, c, osize*sizeof(*o)); in crush_do_rule()
600 wsize = osize; in crush_do_rule()
/linux-3.4.99/include/linux/
Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
72 unsigned char *obuf, int osize);
/linux-3.4.99/arch/mips/include/asm/octeon/
Dcvmx-mixx-defs.h261 uint64_t osize:20; member
267 uint64_t osize:20; member
/linux-3.4.99/drivers/staging/usbip/
Dusbip_common.c347 int osize = size; in usbip_recv() local
387 usbip_dump_buffer(bp, osize); in usbip_recv()
389 osize, result, size, total); in usbip_recv()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c443 unsigned long nsize, osize; in radeon_crtc_do_set_base() local
446 osize = radeon_bo_size(old_rbo); in radeon_crtc_do_set_base()
448 if (nsize <= osize && !radeon_bo_reserve(old_rbo, false)) { in radeon_crtc_do_set_base()
/linux-3.4.99/net/ceph/
Dosdmap.c969 u32 osize = le32_to_cpu(layout->fl_object_size); in ceph_calc_file_object_mapping() local
977 osize, su); in ceph_calc_file_object_mapping()
980 su_per_object = osize / su; in ceph_calc_file_object_mapping()
983 dout("osize %u / su %u = su_per_object %u\n", osize, su, in ceph_calc_file_object_mapping()
/linux-3.4.99/net/sched/
Dsch_api.c550 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
563 osize = clhash->hashsize; in qdisc_class_hash_grow()
566 for (i = 0; i < osize; i++) { in qdisc_class_hash_grow()
577 qdisc_class_hash_free(ohash, osize); in qdisc_class_hash_grow()
/linux-3.4.99/net/xfrm/
Dxfrm_state.c111 unsigned long nsize, osize; in xfrm_hash_resize() local
152 osize = (ohashmask + 1) * sizeof(struct hlist_head); in xfrm_hash_resize()
153 xfrm_hash_free(odst, osize); in xfrm_hash_resize()
154 xfrm_hash_free(osrc, osize); in xfrm_hash_resize()
155 xfrm_hash_free(ospi, osize); in xfrm_hash_resize()
/linux-3.4.99/drivers/media/common/tuners/
Dtuner-xc2028.c132 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \ argument
134 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3273 int osize; in ar9300_eeprom_restore_internal() local
3341 osize = length; in ar9300_eeprom_restore_internal()
3342 read(ah, cptr, word, COMP_HDR_LEN + osize + COMP_CKSUM_LEN); in ar9300_eeprom_restore_internal()
3344 mchecksum = get_unaligned_le16(&word[COMP_HDR_LEN + osize]); in ar9300_eeprom_restore_internal()
3354 cptr -= (COMP_HDR_LEN + osize + COMP_CKSUM_LEN); in ar9300_eeprom_restore_internal()
/linux-3.4.99/net/netlink/
Daf_netlink.c275 size_t osize, size; in nl_pid_hash_rehash() local
280 osize = size = (mask + 1) * sizeof(*table); in nl_pid_hash_rehash()
308 nl_pid_hash_free(otable, osize); in nl_pid_hash_rehash()
/linux-3.4.99/drivers/net/ethernet/octeon/
Docteon_mgmt.c757 oring1.s.osize = OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_open()