| /linux/drivers/net/slip/ |
| H A 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 …]
|
| /linux/rust/kernel/sync/atomic/ |
| H A D | predefine.rs | 45 static_assert!(size_of::<isize>() == size_of::<isize_atomic_repr>()); 46 static_assert!(align_of::<isize>() == align_of::<isize_atomic_repr>()); 52 unsafe impl super::AtomicType for isize { implementation 57 unsafe impl super::AtomicAdd<isize> for isize { implementation 58 fn rhs_into_delta(rhs: isize) -> isize_atomic_repr { in rhs_into_delta() 121 for_each_type!(42 in [i32, i64, u32, u64, isize, usize] |v| { in atomic_basic_tests() 130 for_each_type!(42 in [i32, i64, u32, u64, isize, usize] |v| { in atomic_xchg_tests() 143 for_each_type!(42 in [i32, i64, u32, u64, isize, usize] |v| { in atomic_cmpxchg_tests() 158 for_each_type!(42 in [i32, i64, u32, u64, isize, usize] |v| { in atomic_arithmetic_tests()
|
| /linux/fs/zonefs/ |
| H A D | file.c | 34 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() 51 iomap->length = isize - iomap->offset; 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() 95 if (iomap->offset >= isize) { in zonefs_write_iomap_begin() 100 iomap->length = isize - iomap->offset; in zonefs_write_iomap_begin() 198 int zonefs_file_truncate(struct inode *inode, loff_t isize) in zonefs_file_truncate() argument 214 if (!isize) in zonefs_file_truncate() [all …]
|
| H A D | super.c | 135 void zonefs_i_size_write(struct inode *inode, loff_t isize) in zonefs_i_size_write() argument 139 i_size_write(inode, isize); in zonefs_i_size_write() 145 if (isize >= z->z_capacity) { in zonefs_i_size_write() 265 loff_t isize, data_size; in zonefs_handle_io_error() local 274 isize = i_size_read(inode); in zonefs_handle_io_error() 276 !write && isize == data_size) in zonefs_handle_io_error() 298 if (isize != data_size) in zonefs_handle_io_error() 301 inode->i_ino, isize, data_size); in zonefs_handle_io_error() 324 data_size = isize; in zonefs_handle_io_error() 326 data_size > isize) { in zonefs_handle_io_error() [all …]
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 140 fn read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize { in read() argument 144 return e.to_errno() as isize; in read() 147 count as isize in read() 161 ) -> isize { in write() argument 221 ) -> isize { in write_only_write() argument 255 ) -> isize { in blob_read() argument 268 let ret = || -> Result<isize> { in blob_read() 276 Err(e) => e.to_errno() as isize, in blob_read() 310 ) -> isize { in blob_write() argument 323 let ret = || -> Result<isize> { in blob_write() [all …]
|
| /linux/drivers/net/ppp/ |
| H A 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 …]
|
| /linux/fs/ext2/ |
| H A D | trace.h | 17 __field(loff_t, isize) 27 __entry->isize = file_inode(iocb->ki_filp)->i_size; 37 __entry->isize, 61 __field(loff_t, isize) 71 __entry->isize = file_inode(iocb->ki_filp)->i_size; 81 __entry->isize,
|
| /linux/drivers/platform/chrome/wilco_ec/ |
| H A D | debugfs.c | 48 static int parse_hex_sentence(const char *in, int isize, u8 *out, int osize) in parse_hex_sentence() argument 59 while (word_start < isize && n_parsed < osize) { in parse_hex_sentence() 61 while (word_start < isize && isspace(in[word_start])) in parse_hex_sentence() 64 if (word_start >= isize) in parse_hex_sentence() 69 while (word_end < isize && !isspace(in[word_end])) in parse_hex_sentence()
|
| /linux/include/net/ |
| H A D | slhc_vj.h | 178 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/fs/romfs/ |
| H A D | mmap-nommu.c | 26 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/fs/xfs/scrub/ |
| H A D | inode.c | 419 unsigned long long isize; in xchk_dinode() local 541 isize = be64_to_cpu(dip->di_size); in xchk_dinode() 542 if (isize & (1ULL << 63)) in xchk_dinode() 546 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode() 550 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode() 554 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode() 563 if (isize > mp->m_super->s_maxbytes) in xchk_dinode()
|
| /linux/fs/quota/ |
| H A D | quota_v1.c | 134 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/fs/iomap/ |
| H A D | trace.h | 261 __field(loff_t, isize) 272 __entry->isize = file_inode(iocb->ki_filp)->i_size; 283 __entry->isize, 298 __field(loff_t, isize) 308 __entry->isize = file_inode(iocb->ki_filp)->i_size; 318 __entry->isize,
|
| /linux/block/ |
| H A D | fops.c | 444 loff_t isize = i_size_read(inode); in blkdev_iomap_begin() local 446 if (offset >= isize) in blkdev_iomap_begin() 453 iomap->length = isize - iomap->offset; in blkdev_iomap_begin() 551 loff_t isize = i_size_read(wpc->inode); in blkdev_writeback_range() local 553 if (WARN_ON_ONCE(offset >= isize)) in blkdev_writeback_range() 560 error = blkdev_iomap_begin(wpc->inode, offset, isize - offset, in blkdev_writeback_range() 875 loff_t isize; in blkdev_fallocate() local 891 isize = bdev_nr_bytes(bdev); in blkdev_fallocate() 892 if (start >= isize) in blkdev_fallocate() 894 if (end >= isize) { in blkdev_fallocate() [all …]
|
| /linux/include/linux/ |
| H A D | ppp-comp.h | 51 unsigned char *obuf, int isize, int osize); 71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
|
| /linux/arch/arm/mm/ |
| H A D | alignment.c | 809 int isize = 4; in do_alignment() local 834 isize = 2; in do_alignment() 855 regs->ARM_pc += isize; in do_alignment() 935 regs->ARM_pc -= isize; in do_alignment() 965 isize << 1, in do_alignment() 966 isize == 2 ? tinstr : instr, instrptr); in do_alignment() 977 isize << 1, in do_alignment() 978 isize == 2 ? tinstr : instr, in do_alignment()
|
| /linux/rust/syn/ |
| H A D | buffer.rs | 28 End(isize, isize), 54 -(group_end_index as isize), in recursive_new() 55 -(group_offset as isize), in recursive_new() 76 entries.push(Entry::End(-(entries.len() as isize), 0)); in new2()
|
| /linux/fs/xfs/ |
| H A D | xfs_icreate_item.c | 154 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()
|
| /linux/fs/ramfs/ |
| H A D | file-nommu.c | 209 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/arch/powerpc/sysdev/xics/ |
| H A D | xics-common.c | 489 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/arch/mips/include/asm/octeon/ |
| H A D | cvmx-mixx-defs.h | 214 uint64_t isize:20; member 220 uint64_t isize:20; 227 uint64_t isize:20; member 235 uint64_t isize:20;
|
| /linux/rust/kernel/ |
| H A D | configfs.rs | 553 ) -> isize { in show() argument 567 Ok(size) => size as isize, in show() 568 Err(err) => err.to_errno() as isize, in show() 587 ) -> isize { in store() argument 605 Ok(()) => size as isize, in store() 606 Err(err) => err.to_errno() as isize, in store()
|
| H A D | module_param.rs | 106 impl_int_module_param!(isize); 181 make_param_ops!(PARAM_OPS_ISIZE, isize);
|
| /linux/arch/arm64/kernel/ |
| H A D | compat_alignment.c | 317 int isize = 4; in do_compat_alignment_fixup() local 335 isize = 2; in do_compat_alignment_fixup() 382 arm64_skip_faulting_instruction(regs, isize); in do_compat_alignment_fixup()
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| H A D | README | 29 computed checksum abd15e8a isize 0000190d 30 stored checksum abd15e8a isize 0000190d
|