incubator-nuttx/fs/driver
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
..
Make.defs FS: Don't build block driver proxy if PSEUDOFS_OPERATIONS are disabled. 2017-03-04 08:25:20 -06:00
driver.h Fix open() a block device with CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y 2017-03-01 13:43:12 +09:00
fs_blockproxy.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
fs_closeblockdriver.c fs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 17:14:02 -06:00
fs_findblockdriver.c Add macros support that will eventually allow dynamic allocation of strings need to support soft links. 2017-02-05 14:25:45 -06:00
fs_openblockdriver.c fs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 17:14:02 -06:00
fs_registerblockdriver.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
fs_registerdriver.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
fs_unregisterblockdriver.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
fs_unregisterdriver.c Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00