]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Add linux kernel memory allocation implementations
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 08:36:44 +0000 (16:36 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commit146888d3da3cd1ba39b7805a7686fde6adf7549a
treead813b6e093f4c30ca03356cc7624e2ae9f34d7d
parentee8ab98a736c742308b4941f1f897095db77cacc
ubifs-utils: Add linux kernel memory allocation implementations

Add linux kernel memory allocation implementations, because there are many
memory allocations(eg. kmalloc, kzalloc) used in UBIFS linux kernel libs.

This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/Makemodule.am
ubifs-utils/common/kmem.c [new file with mode: 0644]
ubifs-utils/common/kmem.h [new file with mode: 0644]