Home
last modified time | relevance | path

Searched refs:isize (Results 1 – 21 of 21) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dppp_deflate.c71 int isize, int osize));
74 int isize, unsigned char *obuf, int osize));
175 z_compress(arg, rptr, obuf, isize, osize) in z_compress() argument
179 int isize, osize;
194 if (osize > isize)
195 osize = isize;
218 state->strm.avail_in = (isize - off);
241 if (olen < isize) {
245 state->stats.inc_bytes += isize;
249 state->stats.unc_bytes += isize;
[all …]
Dslhc.c232 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, in slhc_compress() argument
251 if(isize<sizeof(struct iphdr)) in slhc_compress()
252 return isize; in slhc_compress()
263 return isize; in slhc_compress()
274 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
278 return isize; in slhc_compress()
464 memcpy(cp+deltaS,icp+hlen,isize-hlen); in slhc_compress()
467 return isize - hlen + deltaS + (cp - ocp); in slhc_compress()
482 memcpy(ocp, icp, isize); in slhc_compress()
486 return isize; in slhc_compress()
[all …]
Dbsd_comp.c182 unsigned char *obuf, int isize, int osize);
185 static int bsd_decompress (void *state, unsigned char *ibuf, int isize,
572 int isize, int osize) in bsd_compress() argument
641 if (osize > isize) in bsd_compress()
643 osize = isize; in bsd_compress()
659 isize -= PPP_HDRLEN; in bsd_compress()
660 ilen = ++isize; /* Low byte of protocol is counted as input */ in bsd_compress()
750 db->uncomp_bytes += isize; in bsd_compress()
751 db->in_count += isize; in bsd_compress()
793 db->incomp_bytes += isize; in bsd_compress()
[all …]
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_lrw.c248 xfs_fsize_t isize; in xfs_inval_cached_pages() local
251 isize = XFS_SIZE(mp, io); in xfs_inval_cached_pages()
252 if (offset > isize) { in xfs_inval_cached_pages()
253 xfs_zero_eof(vp, io, offset, isize, offset); in xfs_inval_cached_pages()
369 xfs_fsize_t isize, in xfs_zero_last_block() argument
384 ASSERT(offset > isize); in xfs_zero_last_block()
388 isize_fsb_offset = XFS_B_FSB_OFFSET(mp, isize); in xfs_zero_last_block()
397 last_fsb = XFS_B_TO_FSBT(mp, isize); in xfs_zero_last_block()
447 xfs_fsize_t isize, /* current inode size */ in xfs_zero_eof() argument
474 error = xfs_zero_last_block(ip, io, offset, isize, end_size); in xfs_zero_eof()
[all …]
Dxfs_buf.c633 size_t isize, /* length of range */ in _pagebuf_find() argument
645 range_length = (isize << BBSHIFT); in _pagebuf_find()
732 size_t isize, /* length of range */ in xfs_buf_get_flags() argument
742 pb = _pagebuf_find(target, ioff, isize, flags, new_pb); in xfs_buf_get_flags()
788 size_t isize, in xfs_buf_read_flags() argument
795 pb = xfs_buf_get_flags(target, ioff, isize, flags); in xfs_buf_read_flags()
831 size_t isize, in pagebuf_lookup() argument
839 _pagebuf_initialize(pb, target, ioff, isize, flags); in pagebuf_lookup()
852 size_t isize, in pagebuf_readahead() argument
856 xfs_buf_read_flags(target, ioff, isize, flags); in pagebuf_readahead()
Dxfs_aops.c72 loff_t isize = i_size_read(inode); in xfs_page_trace() local
92 (void *)((unsigned long)((isize >> 32) & 0xffffffff)), in xfs_page_trace()
93 (void *)((unsigned long)(isize & 0xffffffff)), in xfs_page_trace()
/linux-2.4.37.9/include/net/
Dslhc_vj.h180 int isize, unsigned char *ocp, unsigned char **cpp,
183 int isize));
185 int isize));
/linux-2.4.37.9/fs/jffs2/
Dfile.c158 ri->isize = (ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size; in jffs2_setattr()
166 if (inode->i_size < ri->isize) { in jffs2_setattr()
169 ri->dsize = ri->isize - inode->i_size; in jffs2_setattr()
200 if (inode->i_size > ri->isize) { in jffs2_setattr()
201 vmtruncate(inode, ri->isize); in jffs2_setattr()
202 jffs2_truncate_fraglist (c, &f->fraglist, ri->isize); in jffs2_setattr()
205 if (inode->i_size < ri->isize) { in jffs2_setattr()
207 inode->i_size = ri->isize; in jffs2_setattr()
368 ri.isize = max((__u32)inode->i_size, pageofs); in jffs2_prepare_write()
486 ri->isize = max((__u32)inode->i_size, file_ofs + datalen); in jffs2_commit_write()
[all …]
Dgc.c345 ri.isize = inode->i_size; in jffs2_garbage_collect_metadata()
509 ri.isize = inode->i_size; in jffs2_garbage_collect_hole()
671 ri.isize = inode->i_size; in jffs2_garbage_collect_dnode()
Dreadinode.c365 inode->i_size = latest_node.isize; in jffs2_read_inode()
367 jffs2_truncate_fraglist(c, &f->fraglist, latest_node.isize); in jffs2_read_inode()
Ddir.c559 inode->i_size = ri->isize = ri->dsize = ri->csize = strlen(target); in jffs2_symlink()
/linux-2.4.37.9/fs/xfs/
Dxfs_iomap.c380 xfs_fsize_t isize; in xfs_iomap_write_direct() local
406 isize = ip->i_d.di_size; in xfs_iomap_write_direct()
407 aeof = (offset + count) > isize; in xfs_iomap_write_direct()
409 if (io->io_new_size > isize) in xfs_iomap_write_direct()
410 isize = io->io_new_size; in xfs_iomap_write_direct()
554 xfs_fsize_t isize; in xfs_iomap_write_delay() local
574 isize = ip->i_d.di_size; in xfs_iomap_write_delay()
575 if (io->io_new_size > isize) { in xfs_iomap_write_delay()
576 isize = io->io_new_size; in xfs_iomap_write_delay()
655 && (isize >= XFS_FSB_TO_B(mp, mp->m_swidth)) && aeof) { in xfs_iomap_write_delay()
[all …]
Dxfs_inode.h545 #define xfs_isize_check(mp, ip, isize) argument
Dxfs_inode.c1308 xfs_fsize_t isize) in xfs_isize_check() argument
1321 map_first = XFS_B_TO_FSB(mp, (xfs_ufsize_t)isize); in xfs_isize_check()
1820 xfs_fsize_t isize; in xfs_igrow_start() local
1828 isize = ip->i_d.di_size; in xfs_igrow_start()
1834 error = xfs_zero_eof(XFS_ITOV(ip), &ip->i_iocore, new_size, isize, in xfs_igrow_start()
/linux-2.4.37.9/include/linux/
Dppp-comp.h81 unsigned char *obuf, int isize, int osize);
101 int (*decompress) (void *state, unsigned char *ibuf, int isize,
Djffs2.h143 __u32 isize; /* Total resultant size of this inode (used for truncations) */ member
/linux-2.4.37.9/drivers/isdn/
Disdn_bsdcomp.c480 int isize = skb_in->len; in bsd_compress() local
522 ilen = ++isize; /* This is off by one, but that is what is in draft! */ in bsd_compress()
598 db->uncomp_bytes += isize; in bsd_compress()
599 db->in_count += isize; in bsd_compress()
630 db->incomp_bytes += isize; in bsd_compress()
/linux-2.4.37.9/arch/mips/baget/
Dbalo.c90 extern void flush_cache_low(int isize, int dsize); in start_kernel()
/linux-2.4.37.9/drivers/net/e100/
De100_eeprom.c213 int isize = size; in eeprom_address_size() local
215 return (ffs(isize) - 1); in eeprom_address_size()
/linux-2.4.37.9/arch/ppc64/kernel/
Dprom.c2029 int l, isize, ipsize, asize, map_size, regpsize; in finish_node_interrupts() local
2042 isize = 1; in finish_node_interrupts()
2050 isize = *isizep; in finish_node_interrupts()
2059 np->n_intrs = ipsize / isize; in finish_node_interrupts()
2064 if (isize > 1) in finish_node_interrupts()
2066 for (j=2; j<isize; j++) in finish_node_interrupts()
2099 for (i=0; i<isize; i++) { in finish_node_interrupts()
2109 temp_isize = isize; in finish_node_interrupts()
/linux-2.4.37.9/fs/ntfs/
Ddir.c429 int error, off, i, bsize, isize; in ntfs_split_indexroot() local
473 isize = NTFS_GETU16(root + 0x18) - 0x10; in ntfs_split_indexroot()
474 ntfs_memcpy(index + NTFS_GETU16(index + 0x18) + 0x18, root+0x20, isize); in ntfs_split_indexroot()
478 isize + NTFS_GETU16(index + 0x18) + 0x18); in ntfs_split_indexroot()