History log of /openbsd-current/sys/ntfs/ntfs_ihash.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.21 11-Mar-2021 jsg

spelling


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.20 24-Sep-2016 tedu

use hashfree in fs code. from Mathieu -
ok guenther


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.19 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.18 09-Jan-2015 tedu

rename desiredvnodes to initialvnodes. less of a lie. ok beck deraadt


# 1.17 18-Nov-2014 dlg

use siphash for key lookups in all the filesystem hashes.

ok deraadt@ tedu@


# 1.16 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.15 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


Revision tags: OPENBSD_5_5_BASE
# 1.14 19-Jan-2014 tedu

lazy init nthash to save some memory when it's not used. ok jsing


Revision tags: OPENBSD_5_4_BASE
# 1.13 30-May-2013 guenther

More of the same: ntfs doesn't do inode numbers >2^32, so use a smaller type
internally, only using ino_t in the VFS layer APIs: vget, readdir, getattr


Revision tags: OPENBSD_5_3_BASE
# 1.12 14-Jan-2013 jsing

Ansify and apply style(9) to function definitions.

ok krw@


# 1.11 02-Jan-2013 jsing

Remove code that is not used on OpenBSD.

ok miod@ krw@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.10 04-Sep-2010 tedu

revert previous "simplification". kcornies at gmail says it doesn't work.


# 1.9 22-Aug-2010 tedu

the upper case table code was a lot more complicated than it needed to be.


# 1.8 12-Aug-2010 tedu

clean up some macro obfuscation and assorted styling problems.
fix a bonus off by one bug. ok matthew


Revision tags: OPENBSD_4_8_BASE
# 1.7 23-Apr-2010 oga

It is about time that we stopped pretending simple_locks are locks.

replace ntfs_nthash_slock usage with comments prefixed XXXLOCKING (for
grepability).

This lock looks to be correct, but it could well be the bad way to do it
(having a rwlock for inserts to avoid races inserting the same inode but
then simple locking on list accesses).

approach discussed with deraadt@


Revision tags: OPENBSD_4_7_BASE
# 1.6 13-Aug-2009 jasper

- remove super-obvious comments from vnodeop_entries[]
- remove #ifdef someos blocks, makes this a tad easier to read

agreed by art@ and thib@


Revision tags: OPENBSD_4_6_BASE
# 1.5 25-Mar-2009 oga

convert lockmgr over to rwlock in ntfs, mostly trivial.

Tested by a couple of people, no regressions.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.4 13-May-2008 brad

Remove commented out NetBSD __KERNEL_RCSID macro usage.

ok dlg@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B
# 1.3 02-Jun-2003 millert

branches: 1.3.2;
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.2 20-May-2003 mickey

fix the tags


# 1.1 20-May-2003 tedu

by popular request, NTFS support. read only.
The code comes from NetBSD and was ported by Julian Bordet.
ok deraadt@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.20 24-Sep-2016 tedu

use hashfree in fs code. from Mathieu -
ok guenther


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.19 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_7_BASE
# 1.18 09-Jan-2015 tedu

rename desiredvnodes to initialvnodes. less of a lie. ok beck deraadt


# 1.17 18-Nov-2014 dlg

use siphash for key lookups in all the filesystem hashes.

ok deraadt@ tedu@


# 1.16 14-Sep-2014 jsg

remove uneeded proc.h includes
ok mpi@ kspillner@


Revision tags: OPENBSD_5_6_BASE
# 1.15 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


Revision tags: OPENBSD_5_5_BASE
# 1.14 19-Jan-2014 tedu

lazy init nthash to save some memory when it's not used. ok jsing


Revision tags: OPENBSD_5_4_BASE
# 1.13 30-May-2013 guenther

More of the same: ntfs doesn't do inode numbers >2^32, so use a smaller type
internally, only using ino_t in the VFS layer APIs: vget, readdir, getattr


Revision tags: OPENBSD_5_3_BASE
# 1.12 14-Jan-2013 jsing

Ansify and apply style(9) to function definitions.

ok krw@


# 1.11 02-Jan-2013 jsing

Remove code that is not used on OpenBSD.

ok miod@ krw@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.10 04-Sep-2010 tedu

revert previous "simplification". kcornies at gmail says it doesn't work.


# 1.9 22-Aug-2010 tedu

the upper case table code was a lot more complicated than it needed to be.


# 1.8 12-Aug-2010 tedu

clean up some macro obfuscation and assorted styling problems.
fix a bonus off by one bug. ok matthew


Revision tags: OPENBSD_4_8_BASE
# 1.7 23-Apr-2010 oga

It is about time that we stopped pretending simple_locks are locks.

replace ntfs_nthash_slock usage with comments prefixed XXXLOCKING (for
grepability).

This lock looks to be correct, but it could well be the bad way to do it
(having a rwlock for inserts to avoid races inserting the same inode but
then simple locking on list accesses).

approach discussed with deraadt@


Revision tags: OPENBSD_4_7_BASE
# 1.6 13-Aug-2009 jasper

- remove super-obvious comments from vnodeop_entries[]
- remove #ifdef someos blocks, makes this a tad easier to read

agreed by art@ and thib@


Revision tags: OPENBSD_4_6_BASE
# 1.5 25-Mar-2009 oga

convert lockmgr over to rwlock in ntfs, mostly trivial.

Tested by a couple of people, no regressions.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE
# 1.4 13-May-2008 brad

Remove commented out NetBSD __KERNEL_RCSID macro usage.

ok dlg@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE SMP_SYNC_A SMP_SYNC_B
# 1.3 02-Jun-2003 millert

branches: 1.3.2;
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.2 20-May-2003 mickey

fix the tags


# 1.1 20-May-2003 tedu

by popular request, NTFS support. read only.
The code comes from NetBSD and was ported by Julian Bordet.
ok deraadt@