Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/net/slip/
A Dslhc.c248 return isize; in slhc_compress()
252 return isize; in slhc_compress()
261 return isize; in slhc_compress()
265 return isize; in slhc_compress()
269 return isize; in slhc_compress()
280 return isize; in slhc_compress()
484 memcpy(ocp, icp, isize); in slhc_compress()
488 return isize; in slhc_compress()
505 if(isize < 3){ in slhc_uncompress()
651 if(isize < 20) { in slhc_remember()
[all …]
/linux-6.3-rc2/drivers/net/ppp/
A 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()
394 state->stats.unc_bytes += isize; in mppe_compress()
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()
458 osize, isize - MPPE_OVHD - 1); in mppe_decompress()
559 isize -= PPP_HDRLEN + MPPE_OVHD; /* -6 */ in mppe_decompress()
[all …]
A Dppp_deflate.c48 int isize, 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()
418 if (isize <= PPP_HDRLEN + DEFLATE_OVHD) { in z_decompress()
421 state->unit, isize); in z_decompress()
[all …]
A Dbsd_comp.c185 unsigned char *obuf, int isize, int osize);
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()
868 ilen = isize - (PPP_HDRLEN + 2); in bsd_decompress()
[all …]
/linux-6.3-rc2/fs/zonefs/
A Dfile.c34 loff_t isize; in zonefs_read_iomap_begin() local
43 isize = i_size_read(inode); in zonefs_read_iomap_begin()
44 if (iomap->offset >= isize) { in zonefs_read_iomap_begin()
71 loff_t isize; in zonefs_write_iomap_begin() local
94 isize = i_size_read(inode); in zonefs_write_iomap_begin()
204 if (!isize) in zonefs_file_truncate()
220 if (isize == old_isize) in zonefs_file_truncate()
240 if (!isize) in zonefs_file_truncate()
248 z->z_wpoffset = isize; in zonefs_file_truncate()
342 return generic_file_llseek_size(file, offset, whence, isize, isize); in zonefs_file_llseek()
[all …]
A Dsuper.c134 void zonefs_i_size_write(struct inode *inode, loff_t isize) in zonefs_i_size_write() argument
138 i_size_write(inode, isize); in zonefs_i_size_write()
144 if (isize >= z->z_capacity) { in zonefs_i_size_write()
262 loff_t isize, data_size; in zonefs_io_error_cb() local
271 isize = i_size_read(inode); in zonefs_io_error_cb()
273 !err->write && isize == data_size) in zonefs_io_error_cb()
295 if (zonefs_zone_is_seq(z) && isize != data_size) in zonefs_io_error_cb()
298 inode->i_ino, isize, data_size); in zonefs_io_error_cb()
321 data_size = isize; in zonefs_io_error_cb()
323 data_size > isize) { in zonefs_io_error_cb()
[all …]
A Dzonefs.h261 void zonefs_i_size_write(struct inode *inode, loff_t isize);
281 int zonefs_file_truncate(struct inode *inode, loff_t isize);
/linux-6.3-rc2/include/linux/
A 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()
A Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
/linux-6.3-rc2/include/net/
A 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);
/linux-6.3-rc2/fs/romfs/
A 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()
/linux-6.3-rc2/drivers/platform/chrome/wilco_ec/
A 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()
/linux-6.3-rc2/fs/xfs/scrub/
A Dinode.c233 unsigned long long isize; in xchk_dinode() local
346 isize = be64_to_cpu(dip->di_size); in xchk_dinode()
347 if (isize & (1ULL << 63)) in xchk_dinode()
351 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
355 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
359 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
368 if (isize > mp->m_super->s_maxbytes) in xchk_dinode()
/linux-6.3-rc2/fs/quota/
A 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()
/linux-6.3-rc2/fs/xfs/
A Dxfs_file.c328 loff_t isize; in xfs_file_write_checks() local
385 isize = i_size_read(inode); in xfs_file_write_checks()
386 if (iocb->ki_pos > isize) { in xfs_file_write_checks()
412 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); in xfs_file_write_checks()
413 error = xfs_zero_range(ip, isize, iocb->ki_pos - isize, NULL); in xfs_file_write_checks()
574 size_t isize = i_size_read(VFS_I(ip)); in xfs_file_dio_write_unaligned() local
585 if (iocb->ki_pos > isize || iocb->ki_pos + count >= isize) { in xfs_file_dio_write_unaligned()
969 loff_t isize = i_size_read(inode); in xfs_file_fallocate() local
980 if (inode->i_sb->s_maxbytes - isize < len) { in xfs_file_fallocate()
984 new_size = isize + len; in xfs_file_fallocate()
[all …]
A Dxfs_icreate_item.c154 unsigned int isize; in xlog_recover_icreate_commit_pass2() local
182 isize = be32_to_cpu(icl->icl_isize); in xlog_recover_icreate_commit_pass2()
183 if (isize != mp->m_sb.sb_inodesize) { in xlog_recover_icreate_commit_pass2()
A Dxfs_aops.c55 xfs_fsize_t isize; in xfs_setfilesize() local
63 isize = xfs_new_eof(ip, offset + size); in xfs_setfilesize()
64 if (!isize) { in xfs_setfilesize()
72 ip->i_disk_size = isize; in xfs_setfilesize()
/linux-6.3-rc2/arch/arm/mm/
A Dalignment.c808 int isize = 4; in do_alignment() local
830 isize = 2; in do_alignment()
851 regs->ARM_pc += isize; in do_alignment()
931 regs->ARM_pc -= isize; in do_alignment()
961 isize << 1, in do_alignment()
962 isize == 2 ? tinstr : instr, instrptr); in do_alignment()
973 isize << 1, in do_alignment()
974 isize == 2 ? tinstr : instr, in do_alignment()
/linux-6.3-rc2/fs/ramfs/
A Dfile-nommu.c209 loff_t isize; in ramfs_nommu_get_unmapped_area() local
213 isize = i_size_read(inode); in ramfs_nommu_get_unmapped_area()
216 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area()
/linux-6.3-rc2/fs/reiserfs/
A Dxattr.c654 size_t isize; in reiserfs_xattr_get() local
685 isize = i_size_read(d_inode(dentry)); in reiserfs_xattr_get()
689 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
693 if (buffer_size < isize - sizeof(struct reiserfs_xattr_header)) { in reiserfs_xattr_get()
698 while (file_pos < isize) { in reiserfs_xattr_get()
703 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get()
706 chunk = isize - file_pos; in reiserfs_xattr_get()
741 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
743 if (xattr_hash(buffer, isize - sizeof(struct reiserfs_xattr_header)) != in reiserfs_xattr_get()
/linux-6.3-rc2/arch/powerpc/sysdev/xics/
A Dxics-common.c489 const __be32 *isize; in xics_get_server_size() local
498 isize = of_get_property(np, "ibm,interrupt-server#-size", NULL); in xics_get_server_size()
499 if (isize) in xics_get_server_size()
500 xics_interrupt_server_size = be32_to_cpu(*isize); in xics_get_server_size()
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A 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;
/linux-6.3-rc2/arch/arm64/kernel/
A Dcompat_alignment.c318 int isize = 4; in do_compat_alignment_fixup() local
336 isize = 2; in do_compat_alignment_fixup()
384 arm64_skip_faulting_instruction(regs, isize); in do_compat_alignment_fixup()
/linux-6.3-rc2/tools/testing/selftests/powerpc/nx-gzip/
A DREADME29 computed checksum abd15e8a isize 0000190d
30 stored checksum abd15e8a isize 0000190d
/linux-6.3-rc2/rust/alloc/vec/
A Dinto_iter.rs189 self.ptr = unsafe { arith_offset(self.ptr as *const i8, step_size as isize) as *mut T } in advance_by()
252 arith_offset(self.end as *const i8, step_size.wrapping_neg() as isize) as *mut T in advance_back_by()
256 self.end = unsafe { self.end.offset(step_size.wrapping_neg() as isize) }; in advance_back_by()

Completed in 36 milliseconds

123