OpenBSD CVS

CVS log for src/sys/ntfs/ntfs_ihash.c


[BACK] Up to [local] / src / sys / ntfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 11 13:31:35 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

spelling

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 24 18:38:23 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

use hashfree in fs code. from Mathieu -
ok guenther

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:52 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

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 1.18 / (download) - annotate - [select for diffs], Fri Jan 9 05:01:57 2015 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 18 10:42:15 2014 UTC (9 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.16: +20 -2 lines
Diff to previous 1.16 (colored)

use siphash for key lookups in all the filesystem hashes.

ok deraadt@ tedu@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 14 14:17:26 2014 UTC (9 years, 8 months ago) by jsg
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

remove uneeded proc.h includes
ok mpi@ kspillner@

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jul 12 18:43:52 2014 UTC (9 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 19 18:35:45 2014 UTC (10 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.13: +14 -3 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 30 20:11:06 2013 UTC (11 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

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 1.12 / (download) - annotate - [select for diffs], Mon Jan 14 02:41:03 2013 UTC (11 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.11: +5 -9 lines
Diff to previous 1.11 (colored)

Ansify and apply style(9) to function definitions.

ok krw@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 2 08:12:13 2013 UTC (11 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.10: +1 -5 lines
Diff to previous 1.10 (colored)

Remove code that is not used on OpenBSD.

ok miod@ krw@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Sep 4 21:35:58 2010 UTC (13 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.9: +6 -1 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 22 21:23:07 2010 UTC (13 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.8: +1 -6 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 12 04:05:03 2010 UTC (13 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 23 19:32:57 2010 UTC (14 years, 1 month ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.6: +7 -12 lines
Diff to previous 1.6 (colored)

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 1.6 / (download) - annotate - [select for diffs], Thu Aug 13 16:00:53 2009 UTC (14 years, 10 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.5: +1 -49 lines
Diff to previous 1.5 (colored)

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

agreed by art@ and thib@

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 25 20:39:47 2009 UTC (15 years, 2 months ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

convert lockmgr over to rwlock in ntfs, mostly trivial.

Tested by a couple of people, no regressions.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 13 02:24:08 2008 UTC (16 years, 1 month ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.3: +1 -6 lines
Diff to previous 1.3 (colored)

Remove commented out NetBSD __KERNEL_RCSID macro usage.

ok dlg@

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sat Jun 7 10:47:03 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

add file to SMP branch

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:20 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Branch point for: SMP
Changes since 1.2: +2 -6 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 20 03:23:11 2003 UTC (21 years ago) by mickey
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

fix the tags

Revision 1.1 / (download) - annotate - [select for diffs], Tue May 20 03:03:27 2003 UTC (21 years ago) by tedu
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.