Lines Matching defs:volume
33 __u8 data[]; /* netfs volume coherency data */
177 struct cachefiles_cache *cache = object->volume->cache;
189 * Set the state xattr on a volume directory.
191 bool cachefiles_set_volume_xattr(struct cachefiles_volume *volume)
194 unsigned int len = volume->vcookie->coherency_len;
195 const void *p = volume->vcookie->coherency;
196 struct dentry *dentry = volume->dentry;
199 _enter("%x,#%d", volume->vcookie->debug_id, len);
206 memcpy(buf->data, p, volume->vcookie->coherency_len);
215 trace_cachefiles_vol_coherency(volume, d_inode(dentry)->i_ino,
219 volume->cache, "Failed to set xattr with error %d", ret);
221 trace_cachefiles_vol_coherency(volume, d_inode(dentry)->i_ino,
231 * Check the consistency between the backing cache and the volume cookie.
233 int cachefiles_check_volume_xattr(struct cachefiles_volume *volume)
236 struct dentry *dentry = volume->dentry;
237 unsigned int len = volume->vcookie->coherency_len;
238 const void *p = volume->vcookie->coherency;
259 volume->cache,
272 trace_cachefiles_vol_coherency(volume, d_inode(dentry)->i_ino, why);