Home
last modified time | relevance | path

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

1234

/openbmc/qemu/util/
H A Dcacheflush.c27 static void sys_cache_info(int *isize, int *dsize) in sys_cache_info() argument
56 *isize = *dsize = buf[i].Cache.LineSize; in sys_cache_info()
59 *isize = buf[i].Cache.LineSize; in sys_cache_info()
75 static void sys_cache_info(int *isize, int *dsize) in sys_cache_info() argument
81 *isize = *dsize = size; in sys_cache_info()
86 static void sys_cache_info(int *isize, int *dsize) in sys_cache_info() argument
92 *isize = *dsize = size; in sys_cache_info()
98 static void sys_cache_info(int *isize, int *dsize) in sys_cache_info() argument
103 *isize = tmp_isize; in sys_cache_info()
131 static void arch_cache_info(int *isize, int *dsize) in arch_cache_info() argument
[all …]
/openbmc/linux/drivers/net/slip/
H A 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 …]
/openbmc/linux/fs/zonefs/
H 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()
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()
187 int zonefs_file_truncate(struct inode *inode, loff_t isize) in zonefs_file_truncate() argument
203 if (!isize) in zonefs_file_truncate()
[all …]
H 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()
264 loff_t isize, data_size; in zonefs_handle_io_error() local
273 isize = i_size_read(inode); in zonefs_handle_io_error()
275 !write && isize == data_size) in zonefs_handle_io_error()
297 if (isize != data_size) in zonefs_handle_io_error()
300 inode->i_ino, isize, data_size); in zonefs_handle_io_error()
323 data_size = isize; in zonefs_handle_io_error()
325 data_size > isize) { in zonefs_handle_io_error()
[all …]
/openbmc/linux/drivers/net/ppp/
H 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()
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 …]
H A 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()
410 static int z_decompress(void *arg, unsigned char *ibuf, int isize, in z_decompress() argument
[all …]
H A 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 …]
/openbmc/linux/include/linux/
H 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()
H A Dppp-comp.h51 unsigned char *obuf, int isize, int osize);
71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
/openbmc/linux/fs/ext2/
H A Dtrace.h17 __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,
/openbmc/linux/include/net/
H 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);
/openbmc/linux/fs/romfs/
H 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()
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H 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()
/openbmc/linux/fs/iomap/
H A Dtrace.h199 __field(loff_t, isize)
210 __entry->isize = file_inode(iocb->ki_filp)->i_size;
221 __entry->isize,
236 __field(loff_t, isize)
246 __entry->isize = file_inode(iocb->ki_filp)->i_size;
256 __entry->isize,
/openbmc/linux/fs/quota/
H 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()
/openbmc/linux/fs/xfs/scrub/
H A Dinode.c372 unsigned long long isize; in xchk_dinode() local
485 isize = be64_to_cpu(dip->di_size); in xchk_dinode()
486 if (isize & (1ULL << 63)) in xchk_dinode()
490 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
494 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
498 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
507 if (isize > mp->m_super->s_maxbytes) in xchk_dinode()
/openbmc/linux/block/
H A Dfops.c386 loff_t isize = i_size_read(inode); in blkdev_iomap_begin() local
390 if (offset >= isize) in blkdev_iomap_begin()
394 iomap->length = isize - iomap->offset; in blkdev_iomap_begin()
472 loff_t isize = i_size_read(inode); in blkdev_map_blocks() local
474 if (WARN_ON_ONCE(offset >= isize)) in blkdev_map_blocks()
479 return blkdev_iomap_begin(inode, offset, isize - offset, in blkdev_map_blocks()
748 loff_t isize; in blkdev_fallocate() local
756 isize = bdev_nr_bytes(bdev); in blkdev_fallocate()
757 if (start >= isize) in blkdev_fallocate()
759 if (end >= isize) { in blkdev_fallocate()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_file.c386 loff_t isize; in xfs_file_write_checks()
443 isize = i_size_read(inode); in xfs_file_write_checks()
444 if (iocb->ki_pos > isize) { in xfs_file_write_checks()
470 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); in xfs_file_write_checks()
471 error = xfs_zero_range(ip, isize, iocb->ki_pos - isize, NULL); in xfs_file_write_checks()
523 * Unwritten conversion updates the in-core isize after extent in xfs_dio_write_end_io()
524 * conversion but before updating the on-disk size. Updating isize any in xfs_dio_write_end_io()
632 size_t isize
393 loff_t isize; xfs_file_write_checks() local
639 size_t isize = i_size_read(VFS_I(ip)); xfs_file_dio_write_unaligned() local
1028 loff_t isize = i_size_read(inode); xfs_file_fallocate() local
[all...]
H 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()
/openbmc/linux/arch/arm/mm/
H 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()
/openbmc/linux/fs/ramfs/
H 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()
/openbmc/linux/fs/reiserfs/
H A Dxattr.c656 size_t isize; in reiserfs_xattr_get() local
687 isize = i_size_read(d_inode(dentry)); in reiserfs_xattr_get()
691 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
695 if (buffer_size < isize - sizeof(struct reiserfs_xattr_header)) { in reiserfs_xattr_get()
700 while (file_pos < isize) { in reiserfs_xattr_get()
705 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get()
708 chunk = isize - file_pos; in reiserfs_xattr_get()
743 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
745 if (xattr_hash(buffer, isize - sizeof(struct reiserfs_xattr_header)) != in reiserfs_xattr_get()
/openbmc/linux/arch/powerpc/sysdev/xics/
H 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()
/openbmc/qemu/rust/qemu-api/src/
H A Ddevice_class.rs35 offset: $crate::offset_of!($state, $field) as isize,
46 offset: $crate::offset_of!($state, $field) as isize,
/openbmc/linux/arch/mips/include/asm/octeon/
H 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;

1234