History log of /netbsd-current/sys/external/bsd/common/include/linux/list.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.32 19-Dec-2021 riastradh

i915: more work


# 1.31 19-Dec-2021 riastradh

i915: another whack at it


# 1.30 19-Dec-2021 riastradh

i915: More progress.


# 1.29 19-Dec-2021 riastradh

linux/list.h: Add list_safe_reset_next.


# 1.28 19-Dec-2021 riastradh

Provide list_for_each_entry_safe_reverse and reorder for consistency


Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>


# 1.27 19-Dec-2021 riastradh

list_for_each_entry_from_reverse


# 1.26 19-Dec-2021 riastradh

list_bulk_move_tail


# 1.25 19-Dec-2021 riastradh

Omit outdated comment.


# 1.24 19-Dec-2021 riastradh

provide list_for_each_entry_from (XXX needs review)


Author: Maya Rashish <maya@NetBSD.org>


# 1.23 19-Dec-2021 riastradh

provide list_is_first


Author: Maya Rashish <maya@NetBSD.org>


# 1.22 19-Dec-2021 riastradh

list_is_last


# 1.21 19-Dec-2021 riastradh

__list_del_entry, and poison list_del.


# 1.20 19-Dec-2021 riastradh

Move struct list_head to <linux/types.h>.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.19 14-Feb-2020 riastradh

Add LIST_HEAD to <linux/nbsd-namespace.h> too.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.18 27-Aug-2018 riastradh

branches: 1.18.6;
Define list_splice_init.


# 1.17 27-Aug-2018 riastradh

Make sure to call pslist_entry_init.


# 1.16 27-Aug-2018 riastradh

Give hlist iteration half a chance of working, oops.


# 1.15 27-Aug-2018 riastradh

Implement list_splice_tail_init.


# 1.14 27-Aug-2018 riastradh

Add list_replace_init.


# 1.13 27-Aug-2018 riastradh

Fix hlist_for_each_entry_safe: temp is hlist_node, not element.


# 1.12 27-Aug-2018 riastradh

Fix order of arguments of hlist_add_head_rcu.


# 1.11 27-Aug-2018 riastradh

Fix hlist_for_each_entry_rcu like hlist_for_each_entry.


# 1.10 27-Aug-2018 riastradh

Define list_entry_first_or_null.


# 1.9 27-Aug-2018 riastradh

Fix hlist iteration again with more fields and null checks.


# 1.8 27-Aug-2018 riastradh

Fix hlist_for_each_entry to use the specified field.


# 1.7 27-Aug-2018 riastradh

Rewrite linux hlist with our pslist.

Upstream uses RCU for this now, so we need it.


# 1.6 27-Aug-2018 riastradh

Rewrite hashtable.h locally so it might work here.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.5 20-Aug-2014 riastradh

branches: 1.5.18; 1.5.20;
Add some Linux list routines.


Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.4 16-Jul-2014 riastradh

branches: 1.4.2; 1.4.4;
First whack at radeon driver.

No hardware to test yet, but it builds.


# 1.3 16-Jul-2014 riastradh

Make it build and boot on my test machines.

Screen blanks on boot on the Ivy Bridge system with

DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun

But after that everything is OK. Appears to be an upstream problem.
To investigate...

I think there's a cache flushing issue somewhere -- there are little
display artefacts on my T60.


# 1.2 03-Jul-2014 riastradh

Add some notes on using these shims to port Linux kernel code.


Revision tags: rmind-smpnet-base rmind-smpnet-nbase yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.1 05-Sep-2013 skrll

branches: 1.1.2; 1.1.4; 1.1.6;
Pull across some linux header files from riastradh-drm2, but put them
in a shared location.

Riastradh: nick, OK.


# 1.19 14-Feb-2020 riastradh

Add LIST_HEAD to <linux/nbsd-namespace.h> too.


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.18 27-Aug-2018 riastradh

Define list_splice_init.


# 1.17 27-Aug-2018 riastradh

Make sure to call pslist_entry_init.


# 1.16 27-Aug-2018 riastradh

Give hlist iteration half a chance of working, oops.


# 1.15 27-Aug-2018 riastradh

Implement list_splice_tail_init.


# 1.14 27-Aug-2018 riastradh

Add list_replace_init.


# 1.13 27-Aug-2018 riastradh

Fix hlist_for_each_entry_safe: temp is hlist_node, not element.


# 1.12 27-Aug-2018 riastradh

Fix order of arguments of hlist_add_head_rcu.


# 1.11 27-Aug-2018 riastradh

Fix hlist_for_each_entry_rcu like hlist_for_each_entry.


# 1.10 27-Aug-2018 riastradh

Define list_entry_first_or_null.


# 1.9 27-Aug-2018 riastradh

Fix hlist iteration again with more fields and null checks.


# 1.8 27-Aug-2018 riastradh

Fix hlist_for_each_entry to use the specified field.


# 1.7 27-Aug-2018 riastradh

Rewrite linux hlist with our pslist.

Upstream uses RCU for this now, so we need it.


# 1.6 27-Aug-2018 riastradh

Rewrite hashtable.h locally so it might work here.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.5 20-Aug-2014 riastradh

branches: 1.5.18; 1.5.20;
Add some Linux list routines.


Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.4 16-Jul-2014 riastradh

branches: 1.4.2; 1.4.4;
First whack at radeon driver.

No hardware to test yet, but it builds.


# 1.3 16-Jul-2014 riastradh

Make it build and boot on my test machines.

Screen blanks on boot on the Ivy Bridge system with

DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun

But after that everything is OK. Appears to be an upstream problem.
To investigate...

I think there's a cache flushing issue somewhere -- there are little
display artefacts on my T60.


# 1.2 03-Jul-2014 riastradh

Add some notes on using these shims to port Linux kernel code.


Revision tags: rmind-smpnet-base rmind-smpnet-nbase yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.1 05-Sep-2013 skrll

branches: 1.1.2; 1.1.4; 1.1.6;
Pull across some linux header files from riastradh-drm2, but put them
in a shared location.

Riastradh: nick, OK.


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.18 27-Aug-2018 riastradh

Define list_splice_init.


# 1.17 27-Aug-2018 riastradh

Make sure to call pslist_entry_init.


# 1.16 27-Aug-2018 riastradh

Give hlist iteration half a chance of working, oops.


# 1.15 27-Aug-2018 riastradh

Implement list_splice_tail_init.


# 1.14 27-Aug-2018 riastradh

Add list_replace_init.


# 1.13 27-Aug-2018 riastradh

Fix hlist_for_each_entry_safe: temp is hlist_node, not element.


# 1.12 27-Aug-2018 riastradh

Fix order of arguments of hlist_add_head_rcu.


# 1.11 27-Aug-2018 riastradh

Fix hlist_for_each_entry_rcu like hlist_for_each_entry.


# 1.10 27-Aug-2018 riastradh

Define list_entry_first_or_null.


# 1.9 27-Aug-2018 riastradh

Fix hlist iteration again with more fields and null checks.


# 1.8 27-Aug-2018 riastradh

Fix hlist_for_each_entry to use the specified field.


# 1.7 27-Aug-2018 riastradh

Rewrite linux hlist with our pslist.

Upstream uses RCU for this now, so we need it.


# 1.6 27-Aug-2018 riastradh

Rewrite hashtable.h locally so it might work here.


Revision tags: pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base
# 1.5 20-Aug-2014 riastradh

branches: 1.5.18;
Add some Linux list routines.


Revision tags: tls-maxphys-base netbsd-7-base tls-earlyentropy-base
# 1.4 16-Jul-2014 riastradh

branches: 1.4.2; 1.4.4;
First whack at radeon driver.

No hardware to test yet, but it builds.


# 1.3 16-Jul-2014 riastradh

Make it build and boot on my test machines.

Screen blanks on boot on the Ivy Bridge system with

DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun

But after that everything is OK. Appears to be an upstream problem.
To investigate...

I think there's a cache flushing issue somewhere -- there are little
display artefacts on my T60.


# 1.2 03-Jul-2014 riastradh

Add some notes on using these shims to port Linux kernel code.


Revision tags: rmind-smpnet-base rmind-smpnet-nbase yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.1 05-Sep-2013 skrll

branches: 1.1.2; 1.1.4; 1.1.6;
Pull across some linux header files from riastradh-drm2, but put them
in a shared location.

Riastradh: nick, OK.