Lines Matching defs:data
58 * memory for the node data stored in the cache when
61 * to provide a copy of the node data stored in the
63 * function that is used to access nodes data.
64 * This can typically be 'bcopy' if data is fixed size.
65 * datasz Size of data stored in the cache if it's fixed size.
147 * data. If ADD flag is specified and the item is already in
151 smb_cache_add(smb_cache_t *chandle, const void *data, int flags)
158 assert(data);
168 newnode->cn_data = (void *)data;
191 * Uses the given 'data' as key to find a cache entry
193 * and its data is freed.
196 smb_cache_remove(smb_cache_t *chandle, const void *data)
201 assert(data);
206 keynode.cn_data = (void *)data;
232 * Data is copied to the given buffer ('data') using the copy function
240 smb_cache_iterate(smb_cache_t *chandle, smb_cache_cursor_t *cursor, void *data)
244 assert(data);
260 chandle->ch_copy(node->cn_data, data, chandle->ch_datasz);