History log of /src/sys/compat/linuxkpi/common/include/linux/idr.h (Results 1 – 25 of 38)
Revision Date Author Comments
# c903f375 20-Jun-2025 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

linuxkpi: Add `ida_alloc_range()`

The amdgpu DRM driver from Linux 6.9 started to use this function.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.fr

linuxkpi: Add `ida_alloc_range()`

The amdgpu DRM driver from Linux 6.9 started to use this function.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50988

show more ...


# 2cd53241 21-Dec-2024 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

linuxkpi: Add idr.h -> radix-tree.h -> rcupdate.h includes

[Why]
Some files in DRM rely on namespace pollution: they use the
<linux/rcupdate.h> API without including it explicitly.

[How]
Reproduce

linuxkpi: Add idr.h -> radix-tree.h -> rcupdate.h includes

[Why]
Some files in DRM rely on namespace pollution: they use the
<linux/rcupdate.h> API without including it explicitly.

[How]
Reproduce the Linux chain of includes even if it means nothing on
FreeBSD. This allows consumers of <linux/idr.h> to "inherit"
<linux/rcupdate.h> API.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48741

show more ...


# 256eb8d5 26-Jun-2024 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Remove linux/sched.h include from linux/kernel.h header

This include prevents usage of any kernel.h helpers in sched.h and
all of dependencies. Linux does not have it too.
Fix building of

LinuxKPI: Remove linux/sched.h include from linux/kernel.h header

This include prevents usage of any kernel.h helpers in sched.h and
all of dependencies. Linux does not have it too.
Fix building of kernel and drm-kmod after than.

Sponsored by: Serenity CyberSecurity, LLC
MFC after: 1 week
Reviewed by: manu, bz
Differential Revision: https://reviews.freebsd.org/D45692

show more ...


# c7312643 24-Dec-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Add ida_alloc_min()

ida_alloc_min() allocates an unused ID. between min and INT_MAX.

While here allow end parameter of ida_simple_get() be larger than
INT_MAX. Linux caps the value to INT

LinuxKPI: Add ida_alloc_min()

ida_alloc_min() allocates an unused ID. between min and INT_MAX.

While here allow end parameter of ida_simple_get() be larger than
INT_MAX. Linux caps the value to INT_MAX.

Sponsored by: Serenity Cyber Security, LLC
Reviewers: manu, bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42806

show more ...


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


# d98f2712 08-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

linuxkpi: implement ida_alloc()

Needed for the virtio-gpu driver.

Reviewed By: #linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366


# 2aaf9152 18-Mar-2019 Alan Somers <asomers@FreeBSD.org>

MFHead@r345275


# 7d595f6b 13-Mar-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Resolve duplicate symbol name conflict after r345095, when building LINT.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# 839b4bf2 13-Mar-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement ida_free() and ida_alloc_max() in the LinuxKPI.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technolog

Implement ida_free() and ida_alloc_max() in the LinuxKPI.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technologies

show more ...


# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# 52da5889 05-Dec-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Remove redundant declaration after r341517.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# be34cfc5 05-Dec-2018 Slava Shwartsman <slavash@FreeBSD.org>

linuxkpi: implement idr_is_empty() and ida_is_empty().

Submitted by: kib@
Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies


# c903f375 20-Jun-2025 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

linuxkpi: Add `ida_alloc_range()`

The amdgpu DRM driver from Linux 6.9 started to use this function.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.fr

linuxkpi: Add `ida_alloc_range()`

The amdgpu DRM driver from Linux 6.9 started to use this function.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50988

show more ...


# 2cd53241 21-Dec-2024 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>

linuxkpi: Add idr.h -> radix-tree.h -> rcupdate.h includes

[Why]
Some files in DRM rely on namespace pollution: they use the
<linux/rcupdate.h> API without including it explicitly.

[How]
Reproduce

linuxkpi: Add idr.h -> radix-tree.h -> rcupdate.h includes

[Why]
Some files in DRM rely on namespace pollution: they use the
<linux/rcupdate.h> API without including it explicitly.

[How]
Reproduce the Linux chain of includes even if it means nothing on
FreeBSD. This allows consumers of <linux/idr.h> to "inherit"
<linux/rcupdate.h> API.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48741

show more ...


# 256eb8d5 26-Jun-2024 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Remove linux/sched.h include from linux/kernel.h header

This include prevents usage of any kernel.h helpers in sched.h and
all of dependencies. Linux does not have it too.
Fix building of

LinuxKPI: Remove linux/sched.h include from linux/kernel.h header

This include prevents usage of any kernel.h helpers in sched.h and
all of dependencies. Linux does not have it too.
Fix building of kernel and drm-kmod after than.

Sponsored by: Serenity CyberSecurity, LLC
MFC after: 1 week
Reviewed by: manu, bz
Differential Revision: https://reviews.freebsd.org/D45692

show more ...


# c7312643 24-Dec-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Add ida_alloc_min()

ida_alloc_min() allocates an unused ID. between min and INT_MAX.

While here allow end parameter of ida_simple_get() be larger than
INT_MAX. Linux caps the value to INT

LinuxKPI: Add ida_alloc_min()

ida_alloc_min() allocates an unused ID. between min and INT_MAX.

While here allow end parameter of ida_simple_get() be larger than
INT_MAX. Linux caps the value to INT_MAX.

Sponsored by: Serenity Cyber Security, LLC
Reviewers: manu, bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42806

show more ...


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


# d98f2712 08-Oct-2021 Alex Richardson <arichardson@FreeBSD.org>

linuxkpi: implement ida_alloc()

Needed for the virtio-gpu driver.

Reviewed By: #linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366


# 2aaf9152 18-Mar-2019 Alan Somers <asomers@FreeBSD.org>

MFHead@r345275


# 7d595f6b 13-Mar-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Resolve duplicate symbol name conflict after r345095, when building LINT.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# 839b4bf2 13-Mar-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement ida_free() and ida_alloc_max() in the LinuxKPI.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technolog

Implement ida_free() and ida_alloc_max() in the LinuxKPI.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technologies

show more ...


# 67350cb5 09-Dec-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r340918 through r341763.


# 52da5889 05-Dec-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Remove redundant declaration after r341517.

MFC after: 1 week
Sponsored by: Mellanox Technologies


12