NetBSD/sys/fs/tmpfs
dholland 1617a81dd1 Disentangle the namecache from the internals of namei.
- Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.
2012-11-05 17:24:09 +00:00
..
files.tmpfs Adapt tmpfs_rename to use genfs_rename. 2012-05-09 00:16:07 +00:00
Makefile
tmpfs_args.h
tmpfs_fifoops.c - Describe some locking. 2011-05-24 20:17:49 +00:00
tmpfs_fifoops.h - Describe some locking. 2011-05-24 20:17:49 +00:00
tmpfs_mem.c - tmpfs_alloc_node/tmpfs_free_node: move inode limiting into tmpfs_node_get() 2011-05-24 01:09:47 +00:00
tmpfs_rename.c Uncomment call to genfs_rename_cache_purge. 2012-09-27 17:40:51 +00:00
tmpfs_specops.c - Describe some locking. 2011-05-24 20:17:49 +00:00
tmpfs_specops.h - Describe some locking. 2011-05-24 20:17:49 +00:00
tmpfs_subr.c Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with 2012-03-13 18:40:26 +00:00
tmpfs_vfsops.c define and use TMPFS_MAXNAMLEN instead of MAXNAMLEN 2011-09-27 01:10:43 +00:00
tmpfs_vnops.c Disentangle the namecache from the internals of namei. 2012-11-05 17:24:09 +00:00
tmpfs_vnops.h - Describe some locking. 2011-05-24 20:17:49 +00:00
tmpfs.h define and use TMPFS_MAXNAMLEN instead of MAXNAMLEN 2011-09-27 01:10:43 +00:00
TODO Replace tmpfs_pool custom allocator code with a simpler layer for memory 2010-06-22 18:32:07 +00:00