Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/net/ceph/crush/
Dmapper.c908 int osize; in crush_do_rule() local
1002 osize = 0; in crush_do_rule()
1029 osize += crush_choose_firstn( in crush_do_rule()
1036 o+osize, j, in crush_do_rule()
1037 result_max-osize, in crush_do_rule()
1045 c+osize, in crush_do_rule()
1049 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule()
1050 numrep : (result_max-osize)); in crush_do_rule()
1058 o+osize, j, in crush_do_rule()
1063 c+osize, in crush_do_rule()
[all …]
/linux-6.6.21/include/linux/
Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
72 unsigned char *obuf, int osize);
/linux-6.6.21/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-6.6.21/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-6.6.21/net/ipv4/
Dtcp_bpf.c515 u32 copy, osize; in tcp_bpf_sendmsg() local
532 osize = msg_tx->sg.size; in tcp_bpf_sendmsg()
538 copy = msg_tx->sg.size - osize; in tcp_bpf_sendmsg()
544 sk_msg_trim(sk, msg_tx, osize); in tcp_bpf_sendmsg()
/linux-6.6.21/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-6.6.21/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-6.6.21/net/xfrm/
Dxfrm_state.c154 unsigned long nsize, osize; in xfrm_hash_resize() local
203 osize = (ohashmask + 1) * sizeof(struct hlist_head); in xfrm_hash_resize()
207 xfrm_hash_free(odst, osize); in xfrm_hash_resize()
208 xfrm_hash_free(osrc, osize); in xfrm_hash_resize()
209 xfrm_hash_free(ospi, osize); in xfrm_hash_resize()
210 xfrm_hash_free(oseq, osize); in xfrm_hash_resize()
/linux-6.6.21/drivers/media/tuners/
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-6.6.21/net/core/
Dskmsg.c31 u32 osize = msg->sg.size; in sk_msg_alloc() local
82 sk_msg_trim(sk, msg, osize); in sk_msg_alloc()
Dskbuff.c2078 unsigned int osize = skb_end_offset(skb); in pskb_expand_head() local
2079 unsigned int size = osize + nhead + ntail; in pskb_expand_head()
2151 skb->truesize += size - osize; in pskb_expand_head()
2245 int osize = skb_end_offset(skb); in skb_expand_head() local
2269 delta = skb_end_offset(skb) - osize; in skb_expand_head()
/linux-6.6.21/net/sched/
Dsch_api.c690 unsigned int nsize, nmask, osize; in qdisc_class_hash_grow() local
703 osize = clhash->hashsize; in qdisc_class_hash_grow()
706 for (i = 0; i < osize; i++) { in qdisc_class_hash_grow()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1046 oring1.s.osize = OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_open()
/linux-6.6.21/fs/ntfs3/
Dfslog.c822 __le32 osize = cpu_to_le32(bytes_per_rt(tbl)); in extend_rsttbl() local
839 *(__le32 *)Add2Ptr(rt, le32_to_cpu(tbl->last_free)) = osize; in extend_rsttbl()
841 rt->first_free = osize; in extend_rsttbl()