| /linux/rust/kernel/sync/atomic/ |
| H A D | predefine.rs | 77 // as `isize` and `usize`, and `isize` and `usize` are always bi-directional transmutable to 98 static_assert!(size_of::<isize>() == size_of::<isize_atomic_repr>()); 99 static_assert!(align_of::<isize>() == align_of::<isize_atomic_repr>()); 103 // SAFETY: `isize` has the same size and alignment with `isize_atomic_repr`, and is round-trip 105 unsafe impl super::AtomicType for isize { 110 unsafe impl super::AtomicAdd<isize> for isize { in rhs_into_delta() 111 fn rhs_into_delta(rhs: isize) -> isize_atomic_repr { 173 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usiz in atomic_arithmetic_tests() 63 unsafe impl super::AtomicType for isize { global() implementation 68 unsafe impl super::AtomicAdd<isize> for isize { global() implementation [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/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/drivers/platform/chrome/wilco_ec/ |
| H A D | debugfs.c | 47 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/rust/uapi/ |
| H A D | lib.rs | 35 type __kernel_ssize_t = isize; 36 type __kernel_ptrdiff_t = isize;
|
| /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/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/rust/bindings/ |
| H A D | lib.rs | 39 type __kernel_ssize_t = isize; 40 type __kernel_ptrdiff_t = isize;
|
| /linux/block/ |
| H A D | fops.c | 442 loff_t isize = i_size_read(inode); in blkdev_iomap_begin() local 444 if (offset >= isize) in blkdev_iomap_begin() 451 iomap->length = isize - iomap->offset; in blkdev_iomap_begin() 527 loff_t isize = i_size_read(wpc->inode); in blkdev_writeback_range() local 529 if (WARN_ON_ONCE(offset >= isize)) in blkdev_writeback_range() 536 error = blkdev_iomap_begin(wpc->inode, offset, isize - offset, in blkdev_writeback_range() 851 loff_t isize; in blkdev_fallocate() local 867 isize = bdev_nr_bytes(bdev); in blkdev_fallocate() 868 if (start >= isize) in blkdev_fallocate() 870 if (end >= isize) { in blkdev_fallocate() [all …]
|
| /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/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/fs/zonefs/ |
| 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 …]
|
| H A D | zonefs.h | 261 void zonefs_i_size_write(struct inode *inode, loff_t isize); 281 int zonefs_file_truncate(struct inode *inode, loff_t 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/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 | 105 impl_int_module_param!(isize); 202 make_param_ops!(PARAM_OPS_ISIZE, isize);
|
| H A D | time.rs | 326 type Repr = isize; 343 pub const fn from_jiffies(jiffies: isize) -> Self { in from_jiffies() 349 pub const fn as_jiffies(self) -> isize { in as_jiffies() argument
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| H A D | README | 29 computed checksum abd15e8a isize 0000190d 30 stored checksum abd15e8a isize 0000190d
|
| /linux/fs/ |
| H A D | remap_range.c | 302 loff_t isize = i_size_read(inode_in); in __generic_remap_file_range_prep() local 304 if ((remap_flags & REMAP_FILE_DEDUP) || pos_in == isize) in __generic_remap_file_range_prep() 306 if (pos_in > isize) in __generic_remap_file_range_prep() 308 *len = isize - pos_in; in __generic_remap_file_range_prep()
|