Lines Matching refs:volume

191 	struct cachefiles_cache *cache = object->volume->cache;  in cachefiles_prepare_to_write()
205 bool cachefiles_set_volume_xattr(struct cachefiles_volume *volume) in cachefiles_set_volume_xattr() argument
208 unsigned int len = volume->vcookie->coherency_len; in cachefiles_set_volume_xattr()
209 const void *p = volume->vcookie->coherency; in cachefiles_set_volume_xattr()
210 struct dentry *dentry = volume->dentry; in cachefiles_set_volume_xattr()
213 _enter("%x,#%d", volume->vcookie->debug_id, len); in cachefiles_set_volume_xattr()
220 memcpy(buf->data, p, volume->vcookie->coherency_len); in cachefiles_set_volume_xattr()
224 ret = mnt_want_write(volume->cache->mnt); in cachefiles_set_volume_xattr()
229 mnt_drop_write(volume->cache->mnt); in cachefiles_set_volume_xattr()
235 trace_cachefiles_vol_coherency(volume, d_inode(dentry)->i_ino, in cachefiles_set_volume_xattr()
239 volume->cache, "Failed to set xattr with error %d", ret); in cachefiles_set_volume_xattr()
241 trace_cachefiles_vol_coherency(volume, d_inode(dentry)->i_ino, in cachefiles_set_volume_xattr()
253 int cachefiles_check_volume_xattr(struct cachefiles_volume *volume) in cachefiles_check_volume_xattr() argument
256 struct dentry *dentry = volume->dentry; in cachefiles_check_volume_xattr()
257 unsigned int len = volume->vcookie->coherency_len; in cachefiles_check_volume_xattr()
258 const void *p = volume->vcookie->coherency; in cachefiles_check_volume_xattr()
280 volume->cache, in cachefiles_check_volume_xattr()
293 trace_cachefiles_vol_coherency(volume, d_inode(dentry)->i_ino, why); in cachefiles_check_volume_xattr()