Alin Jerpelea
f9fb182809
Author: Gregory Nutt: update licenses to Apache
...
Update files from Gregory Nutt to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-05 12:15:56 -03:00
YAMAMOTO Takashi
0a99d1396e
fs/nxffs/nxffs_open.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
99407f4ab9
fs/nxffs/nxffs_open.c: Fix a syslog format
2020-11-21 19:38:32 -08:00
YAMAMOTO Takashi
e1a8f8a736
fs/nxffs/nxffs_open.c: Appease nxstyle
2020-11-21 19:38:32 -08:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Gregory Nutt
bd3cc792ff
fs/: Run all .c files under fs/ through tools/nxstyle.
2019-10-27 11:48:14 -06:00
Gregory Nutt
be3dd0bac6
fs/: Fix various coding standard issues found while testing tools/nxstyle.c
2019-03-01 15:01:04 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Gregory Nutt
9568600ab1
Squashed commit of the following:
...
This commit backs out most of commit b4747286b1
. That change was added because sem_wait() would sometimes cause cancellation points inappropriated. But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.
In the OS, all calls to sem_wait() changed to nxsem_wait(). nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.
In all OS functions (not libraries), change sem_wait() to nxsem_wait(). This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.
sched/semaphore: Add the function nxsem_wait(). This is a new internal OS interface. It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
Gregory Nutt
42a0796615
Squashed commit of the following:
...
sched/semaphore: Add nxsem_post() which is identical to sem_post() except that it never modifies the errno variable. Changed all references to sem_post in the OS to nxsem_post().
sched/semaphore: Add nxsem_destroy() which is identical to sem_destroy() except that it never modifies the errno variable. Changed all references to sem_destroy() in the OS to nxsem_destroy().
libc/semaphore and sched/semaphore: Add nxsem_getprotocol() and nxsem_setprotocola which are identical to sem_getprotocol() and set_setprotocol() except that they never modifies the errno variable. Changed all references to sem_setprotocol in the OS to nxsem_setprotocol(). sem_getprotocol() was not used in the OS
2017-10-03 15:35:24 -06:00
Gregory Nutt
d5275e48d0
Eliminate some warnings
2016-06-13 13:16:03 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
9008308b64
Remove some block comments before empty code sections
2016-04-11 18:16:04 -06:00
Gregory Nutt
c70987e551
nuttx/fs: Fix some spacing and alignment issues
2015-10-11 11:39:29 -06:00
Gregory Nutt
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
54fa3b0b59
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
220216cc38
nuttx/fs: Remove explicity references to errno. That is a problem from within the kernel for certain configurations
2014-08-28 16:58:43 -06:00
Gregory Nutt
d1257082f3
NXFFS: Missing call to nxffs_freeentry() caused a memory leak
2014-03-06 08:01:56 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
7fad495e1d
Cosmetic changes to debug output
2013-12-02 19:00:59 -06:00
Gregory Nutt
5c1f0946c2
NXFFS: First of many changes for NAND. NAND reports read errors on ECC failures. NXFFS can't just give up in these cases and must treat read failures like bad blocks
2013-12-01 18:22:33 -06:00
Gregory Nutt
897572a552
Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h
2013-11-15 11:22:23 -06:00
Gregory Nutt
f9be47ead2
Add configuration and example to test MTD partitions
2013-04-30 15:54:02 -06:00
patacongo
5eafdabc5f
BINFS now supports open, close, and FIOC_FILENAME ioctl
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5522 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 14:14:14 +00:00
patacongo
5a2eda210b
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 19:22:32 +00:00
patacongo
7a9457bb07
Email address change in nuttx/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
2fe4ad52f8
Move file-system header files to include/nuttx/fs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
9c80d94163
Fix check for open files when overwriting an existing file
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4019 42af7a65-404d-4744-a932-0658087f49c3
2011-10-04 22:07:45 +00:00
patacongo
0f1bdb6ab2
Fix NXFFS positioning bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3569 42af7a65-404d-4744-a932-0658087f49c3
2011-05-06 15:19:07 +00:00
patacongo
71bd9ca54e
All open file must be adjusted when the filesystem is packed
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3567 42af7a65-404d-4744-a932-0658087f49c3
2011-05-05 21:45:08 +00:00
patacongo
9bf97a2cd3
More NXFFS bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3561 42af7a65-404d-4744-a932-0658087f49c3
2011-05-04 21:59:23 +00:00
patacongo
4e23151cdd
Misc NXFFS bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3559 42af7a65-404d-4744-a932-0658087f49c3
2011-05-04 14:20:52 +00:00
patacongo
a830269532
Most of packing logic is in place
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3556 42af7a65-404d-4744-a932-0658087f49c3
2011-05-03 22:10:52 +00:00
patacongo
c2a87f3193
Swap size of cache and pack buffers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3554 42af7a65-404d-4744-a932-0658087f49c3
2011-05-03 13:46:14 +00:00
patacongo
2e16ee3714
More NXFFS bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3551 42af7a65-404d-4744-a932-0658087f49c3
2011-05-02 16:14:20 +00:00
patacongo
f24821c3fa
More NXFFS bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3550 42af7a65-404d-4744-a932-0658087f49c3
2011-05-02 01:30:30 +00:00
patacongo
4ec4f5b258
More NXFFS bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3548 42af7a65-404d-4744-a932-0658087f49c3
2011-05-01 18:16:03 +00:00
patacongo
291fbf588f
Extend NXFFS tests; bugfixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3547 42af7a65-404d-4744-a932-0658087f49c3
2011-05-01 14:48:27 +00:00
patacongo
e4e2f34200
Add basic NXFFS read logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3546 42af7a65-404d-4744-a932-0658087f49c3
2011-05-01 00:26:38 +00:00
patacongo
478aaafea4
Misc NXFFS bug fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3545 42af7a65-404d-4744-a932-0658087f49c3
2011-04-30 23:24:48 +00:00
patacongo
e0f72ff94e
Add basic write logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3544 42af7a65-404d-4744-a932-0658087f49c3
2011-04-30 20:06:23 +00:00
patacongo
866f0f889b
Add file creation logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3542 42af7a65-404d-4744-a932-0658087f49c3
2011-04-30 17:29:40 +00:00
patacongo
f15aca728c
Add beginning of a test for NXFFS
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3540 42af7a65-404d-4744-a932-0658087f49c3
2011-04-29 20:59:40 +00:00
patacongo
90aaaebeae
More NXFFS logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3538 42af7a65-404d-4744-a932-0658087f49c3
2011-04-28 22:24:10 +00:00
patacongo
73308cef13
More NXFFS logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3537 42af7a65-404d-4744-a932-0658087f49c3
2011-04-28 21:05:39 +00:00