Home
last modified time | relevance | path

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

/linux/drivers/net/ppp/
H A 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 …]
H A 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()
H A 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/net/ceph/crush/
H A Dmapper.c911 int osize; in crush_do_rule() local
1005 osize = 0; in crush_do_rule()
1032 osize += crush_choose_firstn( in crush_do_rule()
1039 o+osize, j, in crush_do_rule()
1040 result_max-osize, in crush_do_rule()
1048 c+osize, in crush_do_rule()
1052 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule()
1053 numrep : (result_max-osize)); in crush_do_rule()
1061 o+osize, j, in crush_do_rule()
1066 c+osize, in crush_do_rule()
[all …]
/linux/include/linux/
H A Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
72 unsigned char *obuf, int osize);
/linux/arch/mips/include/asm/octeon/
H A 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/net/ipv4/
H A Dtcp_bpf.c516 u32 copy, osize; in tcp_bpf_sendmsg() local
533 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
539 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
545 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
/linux/drivers/gpu/drm/radeon/
H A 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/drivers/scsi/aacraid/
H A 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/net/xfrm/
H A Dxfrm_state.c155 unsigned long nsize, osize; in xfrm_hash_resize() local
204 osize = (ohashmask + 1) * sizeof(struct hlist_head); in xfrm_hash_resize()
208 xfrm_hash_free(odst, osize); in xfrm_hash_resize()
209 xfrm_hash_free(osrc, osize); in xfrm_hash_resize()
210 xfrm_hash_free(ospi, osize); in xfrm_hash_resize()
211 xfrm_hash_free(oseq, osize); in xfrm_hash_resize()
/linux/drivers/media/tuners/
H A Dxc2028.c134 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \ argument
136 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \
/linux/net/core/
H A Dskmsg.c31 u32 osize = msg->sg.size; in sk_msg_alloc() local
82 sk_msg_trim(sk, msg, osize); in sk_msg_alloc()
H A Dskbuff.c2260 unsigned int osize = skb_end_offset(skb); in pskb_expand_head() local
2261 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2333 skb->truesize += size - osize; in pskb_expand_head()
2427 int osize = skb_end_offset(skb); in skb_expand_head() local
2451 delta = skb_end_offset(skb) - osize; in skb_expand_head()
/linux/net/sched/
H A Dsch_api.c689 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
702 osize = clhash->hashsize; in qdisc_class_hash_grow()
705 for (i = 0; i < osize; i++) { in qdisc_class_hash_grow()
/linux/drivers/net/wireless/ath/ath9k/
H A 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()
/linux/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c1046 oring1.s.osize = OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_open()