[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240812235210.28458-1-o-takashi@sakamocchi.jp>
Date: Tue, 13 Aug 2024 08:52:05 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] firewire: core: use XArray to maintain client resources
Hi,
In core function, the instances of several types of client resources
are maintained by IDR, and the index value of each resource is passed to
user space application as handle. As of kernel v6.0, IDR has been
superseded by XArray and deprecated.
This series of changes is to obsolete the usage of IDR with XArray.
Takashi Sakamoto (5):
firewire: core: minor code refactoring to release client resource
firewire: core: add helper functions to convert to parent resource
structure
firewire: core: add helper function to detect data of iso resource
structure
firewire: core: code refactoring to use idr_for_each_entry() macro
instead of idr_for_each() function
firewire: core: use xarray instead of idr to maintain client resource
drivers/firewire/core-cdev.c | 170 +++++++++++++++++++----------------
drivers/firewire/core.h | 1 -
2 files changed, 94 insertions(+), 77 deletions(-)
--
2.43.0
Powered by blists - more mailing lists