Home
last modified time | relevance | path

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

/drivers/net/ppp/
Dppp_mppe.c338 int isize, int osize) in mppe_compress() argument
351 if (osize < isize + MPPE_OVHD + 2) { in mppe_compress()
355 osize, osize + MPPE_OVHD + 2); in mppe_compress()
359 osize = isize + MPPE_OVHD + 2; in mppe_compress()
396 state->stats.comp_bytes += osize; in mppe_compress()
399 return osize; in mppe_compress()
435 int osize) in mppe_decompress() argument
455 if (osize < isize - MPPE_OVHD - 1) { in mppe_decompress()
458 osize, isize - MPPE_OVHD - 1); in mppe_decompress()
461 osize = isize - MPPE_OVHD - 2; /* assume no PFC */ in mppe_decompress()
[all …]
Dppp_deflate.c48 int isize, int osize);
51 int isize, unsigned char *obuf, int osize);
186 int isize, int osize) in z_compress() argument
201 if (osize > isize) in z_compress()
202 osize = isize; in z_compress()
217 state->strm.avail_out = oavail = osize - olen; in z_compress()
246 if (olen < isize && olen <= osize) { in z_compress()
411 unsigned char *obuf, int osize) in z_decompress() argument
469 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
501 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()
/drivers/platform/chrome/wilco_ec/
Ddebugfs.c47 static int parse_hex_sentence(const char *in, int isize, u8 *out, int osize) in parse_hex_sentence() argument
58 while (word_start < isize && n_parsed < osize) { in parse_hex_sentence()
/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c450 unsigned long nsize, osize; in radeon_crtc_do_set_base() local
453 osize = radeon_bo_size(old_rbo); in radeon_crtc_do_set_base()
455 if (nsize <= osize && !radeon_bo_reserve(old_rbo, false)) { in radeon_crtc_do_set_base()
/drivers/scsi/aacraid/
Dcommctrl.c52 unsigned int size, osize; in ioctl_send_fib() local
76 osize = size = le16_to_cpu(kfib->header.Size) + in ioctl_send_fib()
110 if ((osize != le16_to_cpu(kfib->header.Size) + in ioctl_send_fib()
/drivers/media/tuners/
Dtuner-xc2028.c134 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \ argument
136 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3275 int osize; in ar9300_eeprom_restore_internal() local
3361 osize = length; in ar9300_eeprom_restore_internal()
3362 read(ah, cptr, word, COMP_HDR_LEN + osize + COMP_CKSUM_LEN); in ar9300_eeprom_restore_internal()
3364 mchecksum = get_unaligned_le16(&word[COMP_HDR_LEN + osize]); in ar9300_eeprom_restore_internal()
3374 cptr -= (COMP_HDR_LEN + osize + COMP_CKSUM_LEN); in ar9300_eeprom_restore_internal()
/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1049 oring1.s.osize = OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_open()