Home
last modified time | relevance | path

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

/Linux-v5.4/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()
412 unsigned char *obuf, int osize) in z_decompress() argument
470 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
502 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-v5.4/net/ceph/crush/
Dmapper.c908 int osize; in crush_do_rule() local
1003 osize = 0; in crush_do_rule()
1030 osize += crush_choose_firstn( in crush_do_rule()
1037 o+osize, j, in crush_do_rule()
1038 result_max-osize, in crush_do_rule()
1046 c+osize, in crush_do_rule()
1050 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule()
1051 numrep : (result_max-osize)); in crush_do_rule()
1059 o+osize, j, in crush_do_rule()
1064 c+osize, in crush_do_rule()
[all …]
/Linux-v5.4/include/linux/
Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
72 unsigned char *obuf, int osize);
/Linux-v5.4/arch/mips/include/asm/octeon/
Dcvmx-mixx-defs.h337 uint64_t osize:20; member
343 uint64_t osize:20;
350 uint64_t osize:20; member
358 uint64_t osize:20;
/Linux-v5.4/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()
/Linux-v5.4/net/ipv4/
Dtcp_bpf.c418 u32 copy, osize; in tcp_bpf_sendmsg() local
435 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
441 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
447 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/net/xfrm/
Dxfrm_state.c122 unsigned long nsize, osize; in xfrm_hash_resize() local
162 osize = (ohashmask + 1) * sizeof(struct hlist_head); in xfrm_hash_resize()
166 xfrm_hash_free(odst, osize); in xfrm_hash_resize()
167 xfrm_hash_free(osrc, osize); in xfrm_hash_resize()
168 xfrm_hash_free(ospi, osize); in xfrm_hash_resize()
/Linux-v5.4/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, \
/Linux-v5.4/net/sched/
Dsch_api.c662 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
675 osize = clhash->hashsize; in qdisc_class_hash_grow()
678 for (i = 0; i < osize; i++) { in qdisc_class_hash_grow()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3275 int osize; in ar9300_eeprom_restore_internal() local
3360 osize = length; in ar9300_eeprom_restore_internal()
3361 read(ah, cptr, word, COMP_HDR_LEN + osize + COMP_CKSUM_LEN); in ar9300_eeprom_restore_internal()
3363 mchecksum = get_unaligned_le16(&word[COMP_HDR_LEN + osize]); in ar9300_eeprom_restore_internal()
3373 cptr -= (COMP_HDR_LEN + osize + COMP_CKSUM_LEN); in ar9300_eeprom_restore_internal()
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1047 oring1.s.osize = OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_open()
/Linux-v5.4/net/core/
Dskbuff.c1615 int i, osize = skb_end_offset(skb); in pskb_expand_head() local
1616 int size = osize + nhead + ntail; in pskb_expand_head()
1688 skb->truesize += size - osize; in pskb_expand_head()