/kernel/linux/linux-6.6/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() 187 int zonefs_file_truncate(struct inode *inode, loff_t isize) in zonefs_file_truncate() argument 203 if (!isize) in zonefs_file_truncate() 334 loff_t isize = i_size_read(file_inode(file)); zonefs_file_llseek() local 623 loff_t isize; zonefs_file_read_iter() local 680 loff_t isize; zonefs_file_splice_read() local [all...] |
/kernel/linux/linux-5.10/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, 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 || t in slhc_compress() 493 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) slhc_uncompress() argument 644 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) slhc_remember() argument 713 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) slhc_uncompress() argument 719 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) slhc_compress() argument 727 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) slhc_remember() argument [all...] |
/kernel/linux/linux-6.6/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, 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 || t in slhc_compress() 493 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) slhc_uncompress() argument 644 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) slhc_remember() argument 713 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) slhc_uncompress() argument 719 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) slhc_compress() argument 727 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) slhc_remember() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | ppp_mppe.c | 338 int isize, int osize) in mppe_compress() 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 in mppe_decompress() 337 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, int isize, int osize) mppe_compress() 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) in z_compress() 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() 185 z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, int isize, int osize) z_compress() argument 411 z_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) 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, 564 int isize, int osize) in bsd_compress() 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() 563 bsd_compress(void *state, unsigned char *rptr, unsigned char *obuf, int isize, int osize) bsd_compress() argument 827 bsd_decompress(void *state, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) bsd_decompress() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | ppp_mppe.c | 338 int isize, int osize) in mppe_compress() 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 in mppe_decompress() 337 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, int isize, int osize) mppe_compress() 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) in z_compress() 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() 185 z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, int isize, int osize) z_compress() argument 410 z_decompress(void *arg, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) 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, 564 int isize, int osize) in bsd_compress() 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() 563 bsd_compress(void *state, unsigned char *rptr, unsigned char *obuf, int isize, int osize) bsd_compress() argument 827 bsd_decompress(void *state, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) bsd_decompress() argument [all...] |
/kernel/linux/linux-5.10/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) in LZ4_compressBound() argument 172 return LZ4_COMPRESSBOUND(isize); in LZ4_compressBound()
|
H A D | ppp-comp.h | 51 unsigned char *obuf, int isize, int osize); 71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
|
/kernel/linux/linux-6.6/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,
|
/kernel/linux/linux-6.6/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) in LZ4_compressBound() argument 172 return LZ4_COMPRESSBOUND(isize); in LZ4_compressBound()
|
H A D | ppp-comp.h | 51 unsigned char *obuf, int isize, int osize); 71 int (*decompress) (void *state, unsigned char *ibuf, int isize,
|
/kernel/linux/linux-5.10/fs/zonefs/ |
H A D | super.c | 58 static inline void zonefs_i_size_write(struct inode *inode, loff_t isize) in zonefs_i_size_write() argument 62 i_size_write(inode, isize); in zonefs_i_size_write() 67 if (isize >= zi->i_max_size) in zonefs_i_size_write() 77 loff_t isize; in zonefs_read_iomap_begin() local 86 isize = i_size_read(inode); in zonefs_read_iomap_begin() 87 if (iomap->offset >= isize) { in zonefs_read_iomap_begin() 94 iomap->length = isize - iomap->offset; in zonefs_read_iomap_begin() 111 loff_t isize; in zonefs_write_iomap_begin() local 135 isize = i_size_read(inode); in zonefs_write_iomap_begin() 136 if (iomap->offset >= isize) { in zonefs_write_iomap_begin() 335 loff_t isize, data_size; zonefs_io_error_cb() local 489 zonefs_file_truncate(struct inode *inode, loff_t isize) zonefs_file_truncate() argument 692 loff_t isize = i_size_read(file_inode(file)); zonefs_file_llseek() local 1033 loff_t isize; zonefs_file_read_iter() local [all...] |
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | inode.c | 225 unsigned long long isize; in xchk_dinode() local 323 isize = be64_to_cpu(dip->di_size); in xchk_dinode() 324 if (isize & (1ULL << 63)) in xchk_dinode() 328 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode() 332 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode() 336 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode() 345 if (isize >= mp->m_super->s_maxbytes) in xchk_dinode()
|
/kernel/linux/linux-5.10/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) 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()
|
/kernel/linux/linux-6.6/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) 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()
|
/kernel/linux/linux-6.6/fs/iomap/ |
H A D | trace.h | 199 __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,
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | inode.c | 368 unsigned long long isize; in xchk_dinode() local 481 isize = be64_to_cpu(dip->di_size); in xchk_dinode() 482 if (isize & (1ULL << 63)) in xchk_dinode() 486 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode() 490 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode() 494 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode() 503 if (isize > mp->m_super->s_maxbytes) in xchk_dinode()
|
/kernel/linux/linux-5.10/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()
|