|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
| #define | FSCACHE_DEBUG_LEVEL COOKIE |
Variables | |
| const char * | fscache_object_states [FSCACHE_OBJECT__NSTATES] |
| const char | fscache_object_states_short [FSCACHE_OBJECT__NSTATES][5] |
| EXPORT_SYMBOL | ( | fscache_object_states | ) |
| EXPORT_SYMBOL | ( | fscache_object_work_func | ) |
| EXPORT_SYMBOL | ( | fscache_object_lookup_negative | ) |
| EXPORT_SYMBOL | ( | fscache_obtained_object | ) |
| EXPORT_SYMBOL | ( | fscache_check_aux | ) |
| EXPORT_SYMBOL_GPL | ( | fscache_object_sleep_till_congested | ) |
| enum fscache_checkaux fscache_check_aux | ( | struct fscache_object * | object, |
| const void * | data, | ||
| uint16_t | datalen | ||
| ) |
| void fscache_enqueue_object | ( | struct fscache_object * | object | ) |
| void fscache_object_lookup_negative | ( | struct fscache_object * | object | ) |
fscache_object_sleep_till_congested - Sleep until object wq is congested : Scheduler sleep timeout
Allow an object handler to sleep until the object workqueue is congested.
The caller must set up a wake up event before calling this and must have set the appropriate sleep mode (such as TASK_UNINTERRUPTIBLE) and tested its own condition before calling this function as no test is made here.
true is returned if the object wq is congested, false otherwise.
| void fscache_object_work_func | ( | struct work_struct * | work | ) |
| void fscache_obtained_object | ( | struct fscache_object * | object | ) |
fscache_obtained_object - Note successful object lookup or creation : Object pointing to cookie to mark
Note successful lookup and/or creation, permitting those waiting to write data to a backing object to continue.
Note that after calling this, an object's cookie may be relinquished by the netfs, and so must be accessed with object lock held.
| void fscache_withdrawing_object | ( | struct fscache_cache * | cache, |
| struct fscache_object * | object | ||
| ) |
1.8.2