Searched refs:isize (Results 1 – 8 of 8) sorted by relevance
/drivers/net/slip/ |
D | slhc.c | 227 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, in slhc_compress() argument 247 if(isize<sizeof(struct iphdr)) in slhc_compress() 248 return isize; in slhc_compress() 252 return isize; in slhc_compress() 261 return isize; in slhc_compress() 264 if (isize < nlen + sizeof(*th)) in slhc_compress() 265 return isize; in slhc_compress() 269 return isize; in slhc_compress() 276 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress() 280 return isize; in slhc_compress() [all …]
|
/drivers/net/ppp/ |
D | ppp_mppe.c | 338 int isize, int osize) in mppe_compress() argument 351 if (osize < isize + MPPE_OVHD + 2) { in mppe_compress() 359 osize = isize + MPPE_OVHD + 2; in mppe_compress() 390 isize -= 2; in mppe_compress() 392 arc4_crypt(&state->arc4, obuf, ibuf, isize); in mppe_compress() 394 state->stats.unc_bytes += isize; in mppe_compress() 434 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, in mppe_decompress() argument 441 if (isize <= PPP_HDRLEN + MPPE_OVHD) { in mppe_decompress() 445 state->unit, isize); in mppe_decompress() 455 if (osize < isize - MPPE_OVHD - 1) { in mppe_decompress() [all …]
|
D | ppp_deflate.c | 48 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() 223 state->strm.avail_in = (isize - off); in z_compress() 246 if (olen < isize && olen <= osize) { in z_compress() 250 state->stats.inc_bytes += isize; in z_compress() 254 state->stats.unc_bytes += isize; in z_compress() 410 static int z_decompress(void *arg, unsigned char *ibuf, int isize, in z_decompress() argument [all …]
|
D | bsd_comp.c | 185 unsigned char *obuf, int isize, int osize); 188 static int bsd_decompress (void *state, unsigned char *ibuf, int isize, 564 int isize, int osize) in bsd_compress() argument 633 if (osize > isize) in bsd_compress() 635 osize = isize; in bsd_compress() 651 isize -= PPP_HDRLEN; in bsd_compress() 652 ilen = ++isize; /* Low byte of protocol is counted as input */ in bsd_compress() 742 db->uncomp_bytes += isize; in bsd_compress() 743 db->in_count += isize; in bsd_compress() 785 db->incomp_bytes += isize; in bsd_compress() [all …]
|
/drivers/platform/chrome/wilco_ec/ |
D | debugfs.c | 47 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() 60 while (word_start < isize && isspace(in[word_start])) in parse_hex_sentence() 63 if (word_start >= isize) in parse_hex_sentence() 68 while (word_end < isize && !isspace(in[word_end])) in parse_hex_sentence()
|
/drivers/media/tuners/ |
D | tuner-xc2028.c | 134 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \ argument 137 ibuf, isize); \ 138 if (isize != _rc) \ 140 _rc, (int)isize); \
|
/drivers/md/ |
D | md-bitmap.c | 614 loff_t isize = i_size_read(bitmap->storage.file->f_mapping->host); in md_bitmap_read_sb() local 615 int bytes = isize > PAGE_SIZE ? PAGE_SIZE : isize; in md_bitmap_read_sb()
|
/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 1054 iring1.s.isize = OCTEON_MGMT_RX_RING_SIZE; in octeon_mgmt_open()
|