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.c281 int isize, int osize) in mppe_compress() argument
294 if (osize < isize + MPPE_OVHD + 2) { in mppe_compress()
298 osize, osize + MPPE_OVHD + 2); in mppe_compress()
302 osize = isize + MPPE_OVHD + 2; in mppe_compress()
339 state->stats.comp_bytes += osize; in mppe_compress()
342 return osize; in mppe_compress()
378 int osize) in mppe_decompress() argument
398 if (osize < isize - MPPE_OVHD - 1) { in mppe_decompress()
401 osize, isize - MPPE_OVHD - 1); in mppe_decompress()
404 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);
185 int isize, int osize) in z_compress() argument
200 if (osize > isize) in z_compress()
201 osize = isize; in z_compress()
216 state->strm.avail_out = oavail = osize - olen; in z_compress()
245 if (olen < isize && olen <= osize) { in z_compress()
410 unsigned char *obuf, int osize) in z_decompress() argument
468 state->strm.avail_out = osize - PPP_HDRLEN; in z_decompress()
500 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);
563 int isize, int osize) in bsd_compress() argument
588 if (olen >= osize) \ in bsd_compress()
632 if (osize > isize) in bsd_compress()
634 osize = isize; in bsd_compress()
827 unsigned char *obuf, int osize) in bsd_decompress() argument
976 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/drivers/platform/chrome/wilco_ec/
H A Ddebugfs.c48 static int parse_hex_sentence(const char *in, int isize, u8 *out, int osize) in parse_hex_sentence() argument
59 while (word_start < isize && n_parsed < osize) { in parse_hex_sentence()
/linux/net/ipv4/
H A Dtcp_bpf.c538 u32 copy, osize; in tcp_bpf_sendmsg() local
555 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
561 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
567 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
/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/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/xfrm/
H A Dxfrm_state.c165 unsigned long nsize, osize; in xfrm_hash_resize() local
214 osize = (ohashmask + 1) * sizeof(struct hlist_head); in xfrm_hash_resize()
218 xfrm_hash_free(odst, osize); in xfrm_hash_resize()
219 xfrm_hash_free(osrc, osize); in xfrm_hash_resize()
220 xfrm_hash_free(ospi, osize); in xfrm_hash_resize()
221 xfrm_hash_free(oseq, osize); in xfrm_hash_resize()
/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.c2300 unsigned int osize = skb_end_offset(skb); in pskb_expand_head() local
2301 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2371 skb->truesize += size - osize; in pskb_expand_head()
2465 int osize = skb_end_offset(skb); in skb_expand_head() local
2489 delta = skb_end_offset(skb) - osize; in skb_expand_head()
/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/net/sched/
H A Dsch_api.c685 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
698 osize = clhash->hashsize; in qdisc_class_hash_grow()
701 for (i = 0; i < osize; i++) { in qdisc_class_hash_grow()
/linux/fs/ntfs3/
H A Dfslog.c841 __le32 osize = cpu_to_le32(bytes_per_rt(tbl)); in extend_rsttbl() local
858 *(__le32 *)Add2Ptr(rt, le32_to_cpu(tbl->last_free)) = osize; in extend_rsttbl()
860 rt->first_free = osize; in extend_rsttbl()