/linux-master/include/linux/ |
H A D | lz4.h | 61 #define LZ4_COMPRESSBOUND(isize) (\ 62 (unsigned int)(isize) > (unsigned int)LZ4_MAX_INPUT_SIZE \ 64 : (isize) + ((isize)/255) + 16) 165 * @isize: Size of the input data 170 static inline int LZ4_compressBound(size_t isize) argument 172 return LZ4_COMPRESSBOUND(isize);
|
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-master/fs/romfs/ |
H A D | mmap-nommu.c | 26 unsigned long isize, offset, maxpages, lpages; local 34 isize = i_size_read(inode); 37 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT;
|
/linux-master/fs/zonefs/ |
H A D | file.c | 34 loff_t isize; local 43 isize = i_size_read(inode); 44 if (iomap->offset >= isize) { 51 iomap->length = isize - iomap->offset; 71 loff_t isize; local 94 isize = i_size_read(inode); 95 if (iomap->offset >= isize) { 100 iomap->length = isize - iomap->offset; 188 int zonefs_file_truncate(struct inode *inode, loff_t isize) argument 204 if (!isize) 335 loff_t isize = i_size_read(file_inode(file)); local 624 loff_t isize; local 681 loff_t isize; local [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-master/fs/ext2/ |
H A D | trace.h | 17 __field(loff_t, isize) 27 __entry->isize = file_inode(iocb->ki_filp)->i_size; 34 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zu flags %s aio %d ret %zd", 37 __entry->isize, 61 __field(loff_t, isize) 71 __entry->isize = file_inode(iocb->ki_filp)->i_size; 78 TP_printk("dev %d:%d ino 0x%lx isize 0x%llx pos 0x%llx len %zd flags %s aio %d ret %d", 81 __entry->isize,
|
/linux-master/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-master/fs/xfs/scrub/ |
H A D | xfile.h | 13 int xfile_create(const char *description, loff_t isize, struct xfile **xfilep);
|
H A D | inode.c | 381 unsigned long long isize; local 494 isize = be64_to_cpu(dip->di_size); 495 if (isize & (1ULL << 63)) 499 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) 503 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) 507 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) 516 if (isize > mp->m_super->s_maxbytes)
|
/linux-master/drivers/net/slip/ |
H A D | slhc.c | 220 * icp and isize are the original packet. 227 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, argument 247 if(isize<sizeof(struct iphdr)) 248 return isize; 252 return isize; 261 return isize; 264 if (isize < nlen + sizeof(*th)) 265 return isize; 269 return isize; 276 if(hlen > isize || t 493 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) argument 644 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) argument 713 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) argument 719 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) argument 727 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) argument [all...] |
/linux-master/drivers/net/ppp/ |
H A D | ppp_mppe.c | 338 int isize, int osize) 351 if (osize < isize + MPPE_OVHD + 2) { 359 osize = isize + MPPE_OVHD + 2; 390 isize -= 2; 392 arc4_crypt(&state->arc4, obuf, ibuf, isize); 394 state->stats.unc_bytes += isize; 434 mppe_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, argument 441 if (isize <= PPP_HDRLEN + MPPE_OVHD) { 445 state->unit, isize); 455 if (osize < isize 337 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, int isize, int osize) argument [all...] |
H A D | ppp_deflate.c | 48 int isize, int osize); 51 int isize, unsigned char *obuf, int osize); 179 * @isize: size of uncompressed packet 186 int isize, int osize) 201 if (osize > isize) 202 osize = isize; 223 state->strm.avail_in = (isize - off); 246 if (olen < isize && olen <= osize) { 250 state->stats.inc_bytes += isize; 254 state->stats.unc_bytes += isize; 185 z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, int isize, int osize) argument 410 z_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) 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, 564 int isize, int osize) 633 if (osize > isize) 635 osize = isize; 651 isize -= PPP_HDRLEN; 652 ilen = ++isize; /* Low byte of protocol is counted as input */ 742 db->uncomp_bytes += isize; 743 db->in_count += isize; 785 db->incomp_bytes += isize; 563 bsd_compress(void *state, unsigned char *rptr, unsigned char *obuf, int isize, int osize) argument 827 bsd_decompress(void *state, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) argument [all...] |
/linux-master/drivers/platform/chrome/wilco_ec/ |
H A D | debugfs.c | 34 * @isize: Length of input buffer. 47 static int parse_hex_sentence(const char *in, int isize, u8 *out, int osize) argument 58 while (word_start < isize && n_parsed < osize) { 60 while (word_start < isize && isspace(in[word_start])) 63 if (word_start >= isize) 68 while (word_end < isize && !isspace(in[word_end]))
|
/linux-master/fs/quota/ |
H A D | quota_v1.c | 134 loff_t isize; local 137 isize = i_size_read(inode); 138 if (!isize) 140 blocks = isize >> BLOCK_SIZE_BITS; 141 off = isize & (BLOCK_SIZE - 1);
|
/linux-master/fs/xfs/ |
H A D | xfs_file.c | 393 loff_t isize; local 450 isize = i_size_read(inode); 451 if (iocb->ki_pos > isize) { 477 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); 478 error = xfs_zero_range(ip, isize, iocb->ki_pos - isize, NULL); 530 * Unwritten conversion updates the in-core isize after extent 531 * conversion but before updating the on-disk size. Updating isize any 639 size_t isize local 1028 loff_t isize = i_size_read(inode); local [all...] |
H A D | xfs_icreate_item.c | 154 unsigned int isize; local 182 isize = be32_to_cpu(icl->icl_isize); 183 if (isize != mp->m_sb.sb_inodesize) { 184 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize");
|
H A D | xfs_aops.c | 55 xfs_fsize_t isize; local 63 isize = xfs_new_eof(ip, offset + size); 64 if (!isize) { 72 ip->i_disk_size = isize;
|
/linux-master/fs/iomap/ |
H A D | trace.h | 243 __field(loff_t, isize) 254 __entry->isize = file_inode(iocb->ki_filp)->i_size; 265 __entry->isize, 280 __field(loff_t, isize) 290 __entry->isize = file_inode(iocb->ki_filp)->i_size; 300 __entry->isize,
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-mixx-defs.h | 214 uint64_t isize:20; member in struct:cvmx_mixx_iring1::cvmx_mixx_iring1_s 220 uint64_t isize:20; 227 uint64_t isize:20; member in struct:cvmx_mixx_iring1::cvmx_mixx_iring1_cn52xx 235 uint64_t isize:20;
|
/linux-master/arch/powerpc/sysdev/xics/ |
H A D | xics-common.c | 489 const __be32 *isize; local 498 isize = of_get_property(np, "ibm,interrupt-server#-size", NULL); 499 if (isize) 500 xics_interrupt_server_size = be32_to_cpu(*isize);
|
/linux-master/arch/arm64/kernel/ |
H A D | compat_alignment.c | 317 int isize = 4; local 335 isize = 2; 380 arm64_skip_faulting_instruction(regs, isize);
|
/linux-master/fs/ramfs/ |
H A D | file-nommu.c | 209 loff_t isize; local 213 isize = i_size_read(inode); 216 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT;
|
/linux-master/block/ |
H A D | fops.c | 389 loff_t isize = i_size_read(inode); local 393 if (iomap->offset >= isize) 397 iomap->length = isize - iomap->offset; 490 loff_t isize = i_size_read(inode); local 492 if (WARN_ON_ONCE(offset >= isize)) 497 return blkdev_iomap_begin(inode, offset, isize - offset, 772 loff_t isize; local 780 isize = bdev_nr_bytes(bdev); 781 if (start >= isize) 783 if (end >= isize) { [all...] |
/linux-master/fs/ |
H A D | remap_range.c | 302 loff_t isize = i_size_read(inode_in); local 304 if ((remap_flags & REMAP_FILE_DEDUP) || pos_in == isize) 306 if (pos_in > isize) 308 *len = isize - pos_in;
|