linux/fs/ntfs
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
2026-09-04 21:37:00 -07:00
..
lib ntfs: implement codec ops for LZX and XPRESS 2026-08-21 19:06:45 +09:00
aops.c ntfs: add non-resident WOF decompression 2026-08-21 19:08:57 +09:00
attrib.c ntfs: handle signal interruption in fallocate 2026-08-31 19:43:59 +09:00
attrib.h ntfs: validate resident attribute lists and harden the validator 2026-06-08 22:57:55 +09:00
attrlist.c ntfs: fail attrlist updates when the superblock is inactive 2026-07-06 20:27:18 +09:00
attrlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
bdev-io.c ntfs: compute bi_sector in 512-byte units 2026-08-27 21:47:38 +09:00
bitmap.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
bitmap.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
collate.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
collate.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
compress.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
debug.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
debug.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
dir.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
dir.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
ea.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
ea.h ntfs: respect per-file chmod mode over mount masks 2026-08-19 18:16:45 +09:00
file.c ntfs: take invalidate_lock in ntfs_filemap_page_mkwrite() 2026-08-31 19:47:53 +09:00
index.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
index.h ntfs: validate index entries on reading 2026-06-06 00:19:56 +09:00
inode.c ntfs: compute bi_sector in 512-byte units 2026-08-27 21:47:38 +09:00
inode.h ntfs: parse REPARSE_TAG_WOF 2026-08-21 19:06:38 +09:00
iomap.c ntfs: serialize resident iomap reads with mrec_lock 2026-08-19 18:16:47 +09:00
iomap.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
Kconfig ntfs: add WOF compression config option 2026-08-21 19:06:34 +09:00
layout.h ntfs: support following Windows native symlink with absolute paths 2026-06-15 19:39:37 +09:00
lcnalloc.c ntfs: skip free cluster decrement when rollback fails 2026-08-26 20:16:02 +09:00
lcnalloc.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
logfile.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
logfile.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
Makefile ntfs: add non-resident WOF decompression 2026-08-21 19:08:57 +09:00
malloc.h Revert "fs: Remove NTFS classic" 2026-02-19 21:48:05 +09:00
mft.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
mft.h ntfs: change mft_no type to u64 2026-03-06 22:08:39 +09:00
mst.c ntfs: update mft operations 2026-02-19 21:48:07 +09:00
namei.c ntfs: respect per-file chmod mode over mount masks 2026-08-19 18:16:45 +09:00
ntfs_codec.h ntfs: implement codec ops for LZX and XPRESS 2026-08-21 19:06:45 +09:00
ntfs.h ntfs: compute bi_sector in 512-byte units 2026-08-27 21:47:38 +09:00
object_id.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
object_id.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
reparse.c ntfs: propagate reparse index insertion failure 2026-08-26 20:15:34 +09:00
reparse.h ntfs: parse REPARSE_TAG_WOF 2026-08-21 19:06:38 +09:00
runlist.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
runlist.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
super.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
sysctl.c ntfs: fix sysctl table registration and path 2026-03-01 14:53:37 +09:00
sysctl.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
time.h ntfs: update in-memory, on-disk structures and headers 2026-02-19 21:48:06 +09:00
unistr.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
upcase.c ntfs: update misc operations 2026-02-19 21:50:56 +09:00
volume.h ntfs: support creating Windows native symlinks 2026-06-15 19:39:43 +09:00
wof.c ntfs: read WOF chunks outside the decompression lock 2026-08-30 11:04:29 +09:00