summaryrefslogtreecommitdiffstats
path: root/include/linux/stat.h
Commit message (Collapse)AuthorAgeFilesLines
* fs: dentry cache implementationSascha Hauer2018-07-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | This adds the Linux dentry cache implementation to barebox. Until now every filesystem driver resolves the full path to a file for itself. This leads to code duplication and is error prone since resolving paths is a complicated task. Also it can narrow down the lookup performance since barebox only knows ASCII paths and has no way of caching lookups. With this patch we get the Linux dcache implementation. The path resolving code from fs/namei.c is nearly taken as-is, minus the RCU and locking code. Dcaching is made simple as of now: We simply cache everything and never release any dentries. Although we do reference counting for inodes and dentries it is effectively not used yet. We never free anything until a fs is unmounted in which case we free everything no matter if references are taken or not. This patch also contains a wrapper in fs/legacy.c to support filesystems with the old API. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make st_size in struct stat 64 bitSascha Hauer2012-06-301-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include/linux/stat.h: make struct stat unifiedAntony Pavlov2011-06-281-58/+0
| | | | | | | | | | | | | The current version of struct stat has been taken from an ancient Linux Kernel. It looks different on different architectures to support different userspace formats of struct stat. As we do not have a userspace on barebox there is no need to keep different versions. Also, this unification make MIPS arch possible. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* svn_rev_322Sascha Hauer2007-07-051-3/+1
| | | | simplify ifdef
* Add ADI Blackfin supportWolfgang Denk2006-03-121-1/+1
| | | | | | | - add support for Analog Devices Blackfin BF533 CPU - add support for the ADI BF533 Stamp uClinux board - add support for the ADI BF533 EZKit board Patches by Richard Klingler, June 11th 2005:
* Add cramfs support for m68kWolfgang Denk2005-09-251-1/+1
| | | | Patch by Zachary Landau, 21 Feb 2005
* Add JFFS2 support for INCA-IP boardwdenk2003-12-121-0/+31
|
* * Patch by Daniel Engström, 13 Nov 2002:wdenk2002-11-181-1/+1
| | | | | | | Add support for i386 architecture and AMD SC520 board * Patch by Pierre Aubert, 12 Nov 2002: Add support for DOS filesystem and booting from DOS floppy disk
* Initial revisionwdenk2002-07-141-0/+101