| /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 | 58 // as `isize` and `usize`, and `isize` and `usize` are always bi-directional transmutable to 79 static_assert!(size_of::<isize>() == size_of::<isize_atomic_repr>()); 80 static_assert!(align_of::<isize>() == align_of::<isize_atomic_repr>()); 84 // SAFETY: `isize` has the same size and alignment with `isize_atomic_repr`, and is round-trip in rhs_into_delta() 86 unsafe impl super::AtomicType for isize { 91 unsafe impl super::AtomicAdd<isize> for isize { 92 fn rhs_into_delta(rhs: isize) -> isize_atomic_repr { 155 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usiz in atomic_cmpxchg_tests() 63 unsafe impl super::AtomicType for isize { global() implementation 68 unsafe impl super::AtomicAdd<isize> for isize { global() implementation [all...] |
| /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/drivers/net/ppp/ |
| H A D | ppp_mppe.c | 281 int isize, int osize) in mppe_compress() argument 294 if (osize < isize + MPPE_OVHD + 2) { in mppe_compress() 302 osize = isize + MPPE_OVHD + 2; in mppe_compress() 333 isize -= 2; in mppe_compress() 335 arc4_crypt(&state->arc4, obuf, ibuf, isize); in mppe_compress() 337 state->stats.unc_bytes += isize; in mppe_compress() 377 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, in mppe_decompress() argument 384 if (isize <= PPP_HDRLEN + MPPE_OVHD) { in mppe_decompress() 388 state->unit, isize); in mppe_decompress() 398 if (osize < isize - MPPE_OVHD - 1) { in mppe_decompress() [all …]
|
| H A D | ppp_deflate.c | 48 int isize, int osize); 51 int isize, unsigned char *obuf, int osize); 185 int isize, int osize) in z_compress() argument 200 if (osize > isize) in z_compress() 201 osize = isize; in z_compress() 222 state->strm.avail_in = (isize - off); in z_compress() 245 if (olen < isize && olen <= osize) { in z_compress() 249 state->stats.inc_bytes += isize; in z_compress() 253 state->stats.unc_bytes += isize; in z_compress() 409 static int z_decompress(void *arg, unsigned char *ibuf, int isize, in z_decompress() argument [all …]
|
| H A D | bsd_comp.c | 185 unsigned char *obuf, int isize, int osize); 188 static int bsd_decompress (void *state, unsigned char *ibuf, int isize, 563 int isize, int osize) in bsd_compress() argument 632 if (osize > isize) in bsd_compress() 634 osize = isize; in bsd_compress() 650 isize -= PPP_HDRLEN; in bsd_compress() 651 ilen = ++isize; /* Low byte of protocol is counted as input */ in bsd_compress() 741 db->uncomp_bytes += isize; in bsd_compress() 742 db->in_count += isize; in bsd_compress() 784 db->incomp_bytes += isize; in bsd_compress() [all …]
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 148 fn read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize { in read() 152 return e.to_errno() as isize; 155 count as isize 169 ) -> isize { 228 ) -> isize { 261 ) -> isize { in blob_read() 274 let ret = || -> Result<isize> { in blob_read() 282 Err(e) => e.to_errno() as isize, 315 ) -> isize { in blob_write() 328 let ret = || -> Result<isize> { in blob_write() 140 read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize read() argument 161 write<T: Reader + Sync>( file: *mut bindings::file, buf: *const c_char, count: usize, _ppos: *mut bindings::loff_t, ) -> isize write() argument 221 write_only_write<T: Reader + Sync>( file: *mut bindings::file, buf: *const c_char, count: usize, _ppos: *mut bindings::loff_t, ) -> isize write_only_write() argument 255 blob_read<T: BinaryWriter>( file: *mut bindings::file, buf: *mut c_char, count: usize, ppos: *mut bindings::loff_t, ) -> isize blob_read() argument 310 blob_write<T: BinaryReader>( file: *mut bindings::file, buf: *const c_char, count: usize, ppos: *mut bindings::loff_t, ) -> isize blob_write() 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/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 | 443 loff_t isize = i_size_read(inode); in blkdev_iomap_begin() local 445 if (offset >= isize) in blkdev_iomap_begin() 452 iomap->length = isize - iomap->offset; in blkdev_iomap_begin() 550 loff_t isize = i_size_read(wpc->inode); in blkdev_writeback_range() local 552 if (WARN_ON_ONCE(offset >= isize)) in blkdev_writeback_range() 559 error = blkdev_iomap_begin(wpc->inode, offset, isize - offset, in blkdev_writeback_range() 874 loff_t isize; in blkdev_fallocate() local 890 isize = bdev_nr_bytes(bdev); in blkdev_fallocate() 891 if (start >= isize) in blkdev_fallocate() 893 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/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/fs/xfs/ |
| H A D | xfs_file.c | 392 loff_t isize; in xfs_file_write_zero_eof() local 405 isize = i_size_read(VFS_I(ip)); in xfs_file_write_zero_eof() 406 if (iocb->ki_pos <= isize) { in xfs_file_write_zero_eof() 440 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); in xfs_file_write_zero_eof() 443 error = xfs_zero_range(ip, isize, iocb->ki_pos - isize, ac, NULL); in xfs_file_write_zero_eof() 857 size_t isize = i_size_read(VFS_I(ip)); in xfs_file_dio_write_unaligned() local 868 if (iocb->ki_pos > isize || iocb->ki_pos + count >= isize) { in xfs_file_dio_write_unaligned() 1249 loff_t isize = i_size_read(inode); in xfs_falloc_insert_range() local 1259 if (inode->i_sb->s_maxbytes - isize < len) in xfs_falloc_insert_range() 1263 if (offset >= isize) in xfs_falloc_insert_range() [all …]
|
| /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 | 552 ) -> isize { in show() 566 Ok(size) => size as isize, in show() 567 Err(err) => err.to_errno() as isize, in show() 586 ) -> isize { in store() 604 Ok(()) => size as isize, in store() 605 Err(err) => err.to_errno() as isize, in store() 553 show( item: *mut bindings::config_item, page: *mut kernel::ffi::c_char, ) -> isize show() argument 587 store( item: *mut bindings::config_item, page: *const kernel::ffi::c_char, size: usize, ) -> isize store() argument
|
| 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()
|