Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
50 * Transfers the cache to READY state.
54 * chandle pointer to a smb_cache_t structure
57 * freefn if set, it will be used to free any allocated
60 * copyfn this function has to be set and it is used
61 * to provide a copy of the node data stored in the
62 * cache to the caller of smb_cache_iterate or any other
63 * function that is used to access nodes data.
66 * This size will be passed to the copy function.
100 * Transfers the cache to DESTROYING state while it's waiting for
101 * in-flight operation to finish, this will prevent any new operation
102 * to start. When all entries are removed the cache is transferred to
191 * Uses the given 'data' as key to find a cache entry
232 * Data is copied to the given buffer ('data') using the copy function
236 * the iteration to finish prematurely. This is to avoid the need to lock
286 * to be called when the whole cache is being populated or refereshed
289 * Calling this function will ensure any read access to the cache will
290 * be stalled until the update is finished, which is to avoid providing
295 * If it is okay for the cache to be accessed while it's being populated
296 * or refreshed, then there is no need to call this function.
343 * Transfers the cache from REFRESHING to READY state.
413 * Lock has to be taken outside the mutex otherwise
460 * Upon wake up returns true if cache is ready to be used,
466 timestruc_t to;
472 to.tv_sec = chandle->ch_wait;
473 to.tv_nsec = 0;
476 &chandle->ch_mtx, &to);