| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_opp.c | 100 * 1) set truncation depth: 0 for 18 bpp or 1 for 24 bpp 101 * 2) enable truncation 108 /*Disable truncation*/ in set_truncation() 133 /*Set truncation depth and Enable truncation*/ in set_truncation() 145 * 1) set truncation depth: 0 for 18 bpp or 1 for 24 bpp 146 * 2) enable truncation 155 /*Disable truncation*/ in dce60_set_truncation() 176 /*Set truncation depth and Enable truncation*/ in dce60_set_truncation()
|
| /linux/lib/ |
| H A D | Kconfig.ubsan | 127 depends on $(cc-option,-fsanitize=implicit-signed-integer-truncation) 128 depends on $(cc-option,-fsanitize=implicit-unsigned-integer-truncation) 133 implicit-signed-integer-truncation, and implicit-unsigned-integer-truncation.
|
| /linux/scripts/ |
| H A D | Makefile.ubsan | 25 -fsanitize=implicit-signed-integer-truncation \ 26 -fsanitize=implicit-unsigned-integer-truncation \
|
| H A D | Makefile.extrawarn | 34 # Clang checks for overflow/truncation with '%p', while GCC does not: 37 KBUILD_CFLAGS += $(call cc-option, -Wno-format-truncation-non-kprintf) 131 KBUILD_CFLAGS += $(call cc-option, -Wno-format-truncation) 133 KBUILD_CFLAGS += $(call cc-option, -Wno-stringop-truncation)
|
| /linux/fs/ubifs/ |
| H A D | replay.c | 38 * @old_size: truncation old size 39 * @new_size: truncation new size 177 * trun_remove_range - apply a replay entry for a truncation to the TNC. 179 * @r: replay entry of truncation 374 * @old_size: truncation old size 375 * @new_size: truncation new size 718 * nodes, truncation nodes and nodes which are obsoleted by subsequent in replay_bud() 786 /* Validate truncation node */ in replay_bud() 790 ubifs_err(c, "bad truncation node"); in replay_bud() 795 * Create a fake truncation key just to use the same in replay_bud()
|
| H A D | ubifs-media.h | 361 * UBIFS_TRUN_NODE: truncation node 587 * struct ubifs_trun_node - truncation node. 591 * @old_size: size before truncation 592 * @new_size: size after truncation
|
| H A D | file.c | 958 * same time. And the problematic one is truncation to smaller size, from where 975 * Q: why we do not worry that if we race with truncation, we may end up with a 978 * A: If we are in the middle of 'do_writepage()', truncation would be locked 1113 * If this is truncation to a smaller size, and we do not truncate on a in do_truncation() 1121 /* A funny way to budget for truncation node */ in do_truncation() 1179 /* Truncation changes inode [mc]time */ in do_truncation() 1228 /* Truncation changes inode [mc]time */ in do_setattr() 1276 /* Truncation to a smaller size */ in ubifs_setattr()
|
| /linux/arch/parisc/math-emu/ |
| H A D | fcnvfut.c | 15 * Floating-point to Unsigned Fixed-point Converts with Truncation 38 * Floating-point to Unsigned Fixed-point Converts with Truncation *
|
| /linux/mm/ |
| H A D | truncate.c | 131 * is underway against any of the blocks which are outside the truncation 456 * truncation of the whole mapping. 486 * As truncation uses a lockless tree lookup, cycle in truncate_inode_pages_final() 779 * truncate_setsize updates i_size and performs pagecache truncation (if 785 * specific block truncation has been performed.
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | verifier_log.c | 118 * length to force various truncation scenarios in verif_log_subtest() 313 /* validate BPF_LOG_FIXED truncation works as verifier log used to work */ in verif_btf_log_subtest() 323 * length to force various truncation scenarios in verif_btf_log_subtest()
|
| /linux/Documentation/filesystems/caching/ |
| H A D | netfs-api.rst | 33 (5) Resizing a data file (truncation) 222 Resizing A Data File (Truncation) 225 If a network filesystem file is resized locally by truncation, the following
|
| /linux/drivers/gpu/drm/amd/display/dc/opp/dcn10/ |
| H A D | dcn10_opp.c | 43 * 1) set truncation depth: 0 for 18 bpp or 1 for 24 bpp 44 * 2) enable truncation
|
| /linux/lib/tests/ |
| H A D | Makefile | 16 CFLAGS_fortify_kunit.o += $(call cc-disable-warning, stringop-truncation)
|
| /linux/arch/x86/math-emu/ |
| H A D | reg_round.S | 6 | Rounding/truncation/etc for FPU basic arithmetic functions. | 242 jz L_Re_normalise /* No truncation needed */ 457 * truncation.
|
| /linux/samples/bpf/ |
| H A D | xdp_sample_user.h | 49 #pragma GCC diagnostic ignored "-Wstringop-truncation"
|
| /linux/fs/btrfs/ |
| H A D | Makefile | 14 $(call cc-option, -Wstringop-truncation) \
|
| /linux/Documentation/userspace-api/ |
| H A D | landlock.rst | 372 file descriptor and will be used for subsequent truncation and ioctl attempts 555 File truncation (ABI < 3) 558 File truncation could not be denied before the third Landlock ABI, so it is 562 truncation thanks to the new ``LANDLOCK_ACCESS_FS_TRUNCATE`` access right.
|
| /linux/drivers/acpi/acpica/ |
| H A D | Makefile | 8 CFLAGS_tbfind.o += $(call cc-disable-warning, stringop-truncation)
|
| /linux/tools/testing/selftests/x86/ |
| H A D | test_FISTTP.c | 98 /* Test truncation to zero (round-to-nearest would give 1 here) */ in test()
|
| /linux/arch/arc/include/asm/ |
| H A D | page.h | 118 * If used in pte or paddr related macros, it could cause truncation
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_bounds.c | 263 __description("bounds check after truncation of non-boundary-crossing range") 302 __description("bounds check after truncation of boundary-crossing range (1)") 344 __description("bounds check after truncation of boundary-crossing range (2)") 364 * difference to previous test: truncation via MOV32\ in of_boundary_crossing_range_2() 990 __description("bounds checks after 32-bit truncation. test 1") 1016 __description("bounds checks after 32-bit truncation. test 2")
|
| /linux/fs/zonefs/ |
| H A D | file.c | 206 * Only sequential zone files can be truncated and truncation is allowed in zonefs_file_truncate() 243 * closing the zone. For a truncation to 0, we need to in zonefs_file_truncate() 245 * For a truncation to the maximum file size, the zone is in zonefs_file_truncate()
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.ips | 65 - Fix truncation of /proc files with cat
|
| /linux/include/linux/ |
| H A D | fortify-string.h | 191 * Note strscpy*()'s differing return values for detecting truncation, 354 * regardless of truncation, similar to snprintf(). If return 374 /* Cannot append any more: report truncation. */ in strlcat() 778 * return values for detecting truncation.
|
| /linux/fs/jfs/ |
| H A D | jfs_txnmgr.c | 1114 * to zero length. the truncation is committed but the 1770 * page deletion: file deletion/truncation (ref. xtTruncate()) in xtLog() 1784 * if page free from deletion and truncation, LOG_UPDATEMAP in xtLog() 1788 /* if page free from file truncation, log LOG_NOREDOPAGE in xtLog() 1877 * page/entry truncation: file truncation (ref. xtTruncate()) in xtLog() 1881 * | | hwm - hwm before truncation in xtLog() 1882 * | next - truncation point in xtLog() 1883 * lwm - lwm before truncation in xtLog() 1891 * For truncation the entire linelock may be used, so it would in xtLog()
|