Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/slip/
Dslhc.c227 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 …]
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_mppe.c338 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 …]
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()
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()
411 static int z_decompress(void *arg, unsigned char *ibuf, int isize, in z_decompress() argument
[all …]
Dbsd_comp.c185 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 …]
/kernel/linux/linux-5.10/include/linux/
Dlz4.h61 #define LZ4_COMPRESSBOUND(isize) (\ argument
62 (unsigned int)(isize) > (unsigned int)LZ4_MAX_INPUT_SIZE \
64 : (isize) + ((isize)/255) + 16)
170 static inline int LZ4_compressBound(size_t isize) in LZ4_compressBound() argument
172 return LZ4_COMPRESSBOUND(isize); in LZ4_compressBound()
Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
/kernel/linux/linux-5.10/fs/zonefs/
Dsuper.c58 static inline void zonefs_i_size_write(struct inode *inode, loff_t isize) in zonefs_i_size_write() argument
62 i_size_write(inode, isize); in zonefs_i_size_write()
67 if (isize >= zi->i_max_size) in zonefs_i_size_write()
77 loff_t isize; in zonefs_read_iomap_begin() local
86 isize = i_size_read(inode); in zonefs_read_iomap_begin()
87 if (iomap->offset >= isize) { in zonefs_read_iomap_begin()
94 iomap->length = isize - iomap->offset; in zonefs_read_iomap_begin()
111 loff_t isize; in zonefs_write_iomap_begin() local
135 isize = i_size_read(inode); in zonefs_write_iomap_begin()
136 if (iomap->offset >= isize) { in zonefs_write_iomap_begin()
[all …]
/kernel/linux/linux-5.10/include/net/
Dslhc_vj.h178 int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize,
180 int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize);
181 int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize);
/kernel/linux/linux-5.10/fs/romfs/
Dmmap-nommu.c26 unsigned long isize, offset, maxpages, lpages; in romfs_get_unmapped_area() local
34 isize = i_size_read(inode); in romfs_get_unmapped_area()
37 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in romfs_get_unmapped_area()
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dinode.c225 unsigned long long isize; in xchk_dinode() local
323 isize = be64_to_cpu(dip->di_size); in xchk_dinode()
324 if (isize & (1ULL << 63)) in xchk_dinode()
328 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
332 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
336 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
345 if (isize >= mp->m_super->s_maxbytes) in xchk_dinode()
/kernel/linux/linux-5.10/fs/quota/
Dquota_v1.c134 loff_t isize; in v1_check_quota_file() local
137 isize = i_size_read(inode); in v1_check_quota_file()
138 if (!isize) in v1_check_quota_file()
140 blocks = isize >> BLOCK_SIZE_BITS; in v1_check_quota_file()
141 off = isize & (BLOCK_SIZE - 1); in v1_check_quota_file()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xics/
Dxics-common.c436 const __be32 *isize; in xics_get_server_size() local
445 isize = of_get_property(np, "ibm,interrupt-server#-size", NULL); in xics_get_server_size()
446 if (isize) in xics_get_server_size()
447 xics_interrupt_server_size = be32_to_cpu(*isize); in xics_get_server_size()
/kernel/linux/linux-5.10/fs/udf/
Dfile.c46 loff_t isize = i_size_read(inode); in __udf_adinicb_readpage() local
53 memcpy(kaddr, iinfo->i_data + iinfo->i_lenEAttr, isize); in __udf_adinicb_readpage()
54 memset(kaddr + isize, 0, PAGE_SIZE - isize); in __udf_adinicb_readpage()
/kernel/linux/linux-5.10/arch/arm/mm/
Dalignment.c800 int isize = 4; in do_alignment() local
822 isize = 2; in do_alignment()
843 regs->ARM_pc += isize; in do_alignment()
923 regs->ARM_pc -= isize; in do_alignment()
953 isize << 1, in do_alignment()
954 isize == 2 ? tinstr : instr, instrptr); in do_alignment()
965 isize << 1, in do_alignment()
966 isize == 2 ? tinstr : instr, in do_alignment()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_icreate_item.c153 unsigned int isize; in xlog_recover_icreate_commit_pass2() local
181 isize = be32_to_cpu(icl->icl_isize); in xlog_recover_icreate_commit_pass2()
182 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_icreate_commit_pass2()
Dxfs_file.c343 loff_t isize; in xfs_file_aio_write_checks() local
380 isize = i_size_read(inode); in xfs_file_aio_write_checks()
381 if (iocb->ki_pos > isize) { in xfs_file_aio_write_checks()
403 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); in xfs_file_aio_write_checks()
404 error = iomap_zero_range(inode, isize, iocb->ki_pos - isize, in xfs_file_aio_write_checks()
925 loff_t isize = i_size_read(inode); in xfs_file_fallocate() local
936 if (inode->i_sb->s_maxbytes - isize < len) { in xfs_file_fallocate()
940 new_size = isize + len; in xfs_file_fallocate()
943 if (offset >= isize) { in xfs_file_fallocate()
Dxfs_aops.c79 xfs_fsize_t isize; in __xfs_setfilesize() local
82 isize = xfs_new_eof(ip, offset + size); in __xfs_setfilesize()
83 if (!isize) { in __xfs_setfilesize()
91 ip->i_d.di_size = isize; in __xfs_setfilesize()
/kernel/linux/linux-5.10/fs/ramfs/
Dfile-nommu.c208 loff_t isize; in ramfs_nommu_get_unmapped_area() local
212 isize = i_size_read(inode); in ramfs_nommu_get_unmapped_area()
215 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area()
/kernel/linux/linux-5.10/fs/reiserfs/
Dxattr.c661 size_t isize; in reiserfs_xattr_get() local
692 isize = i_size_read(d_inode(dentry)); in reiserfs_xattr_get()
696 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
700 if (buffer_size < isize - sizeof(struct reiserfs_xattr_header)) { in reiserfs_xattr_get()
705 while (file_pos < isize) { in reiserfs_xattr_get()
710 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get()
713 chunk = isize - file_pos; in reiserfs_xattr_get()
748 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
750 if (xattr_hash(buffer, isize - sizeof(struct reiserfs_xattr_header)) != in reiserfs_xattr_get()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-mixx-defs.h214 uint64_t isize:20; member
220 uint64_t isize:20;
227 uint64_t isize:20; member
235 uint64_t isize:20;
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
DREADME29 computed checksum abd15e8a isize 0000190d
30 stored checksum abd15e8a isize 0000190d
/kernel/linux/linux-5.10/fs/
Dremap_range.c317 loff_t isize = i_size_read(inode_in); in generic_remap_file_range_prep() local
319 if ((remap_flags & REMAP_FILE_DEDUP) || pos_in == isize) in generic_remap_file_range_prep()
321 if (pos_in > isize) in generic_remap_file_range_prep()
323 *len = isize - pos_in; in generic_remap_file_range_prep()
Dioctl.c300 loff_t isize = i_size_read(inode); in __generic_block_fiemap() local
315 if (len >= isize) { in __generic_block_fiemap()
317 len = isize; in __generic_block_fiemap()
354 blk_to_logical(inode, start_blk) >= isize) in __generic_block_fiemap()
422 if (!past_eof && logical + size >= isize) in __generic_block_fiemap()
/kernel/linux/linux-5.10/mm/
Dreadahead.c254 loff_t isize = i_size_read(inode); in do_page_cache_ra() local
257 if (isize == 0) in do_page_cache_ra()
260 end_index = (isize - 1) >> PAGE_SHIFT; in do_page_cache_ra()

1234