Home
last modified time | relevance | path

Searched refs:auxdata (Results 1 – 6 of 6) sorted by relevance

/fs/cifs/
Dcache.c175 struct cifs_fscache_super_auxdata auxdata; in cifs_fscache_super_get_aux() local
178 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_super_get_aux()
179 auxdata.resource_id = tcon->resource_id; in cifs_fscache_super_get_aux()
181 if (maxbuf > sizeof(auxdata)) in cifs_fscache_super_get_aux()
182 maxbuf = sizeof(auxdata); in cifs_fscache_super_get_aux()
184 memcpy(buffer, &auxdata, maxbuf); in cifs_fscache_super_get_aux()
194 struct cifs_fscache_super_auxdata auxdata; in cifs_fscache_super_check_aux() local
197 if (datalen != sizeof(auxdata)) in cifs_fscache_super_check_aux()
200 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_super_check_aux()
201 auxdata.resource_id = tcon->resource_id; in cifs_fscache_super_check_aux()
[all …]
/fs/nfs/
Dfscache-index.c205 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_get_aux() local
208 memset(&auxdata, 0, sizeof(auxdata)); in nfs_fscache_inode_get_aux()
209 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_aux()
210 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
211 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_get_aux()
214 auxdata.change_attr = nfsi->vfs_inode.i_version; in nfs_fscache_inode_get_aux()
216 if (bufmax > sizeof(auxdata)) in nfs_fscache_inode_get_aux()
217 bufmax = sizeof(auxdata); in nfs_fscache_inode_get_aux()
219 memcpy(buffer, &auxdata, bufmax); in nfs_fscache_inode_get_aux()
234 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_check_aux() local
[all …]
/fs/cachefiles/
Dxattr.c104 struct cachefiles_xattr *auxdata) in cachefiles_set_object_xattr() argument
111 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
114 _debug("SET #%u", auxdata->len); in cachefiles_set_object_xattr()
117 &auxdata->type, auxdata->len, in cachefiles_set_object_xattr()
132 struct cachefiles_xattr *auxdata) in cachefiles_update_object_xattr() argument
139 _enter("%p,#%d", object, auxdata->len); in cachefiles_update_object_xattr()
142 _debug("SET #%u", auxdata->len); in cachefiles_update_object_xattr()
145 &auxdata->type, auxdata->len, in cachefiles_update_object_xattr()
198 struct cachefiles_xattr *auxdata) in cachefiles_check_object_xattr() argument
204 _enter("%p,#%d", object, auxdata->len); in cachefiles_check_object_xattr()
[all …]
Dinterface.c17 struct cachefiles_xattr *auxdata; /* auxiliary data */ member
33 struct cachefiles_xattr *auxdata; in cachefiles_alloc_object() local
82 auxdata = buffer; in cachefiles_alloc_object()
86 auxdata->data, 511); in cachefiles_alloc_object()
90 auxdata->len = auxlen + 1; in cachefiles_alloc_object()
91 auxdata->type = cookie->def->type; in cachefiles_alloc_object()
93 lookup_data->auxdata = auxdata; in cachefiles_alloc_object()
139 lookup_data->auxdata); in cachefiles_lookup_object()
170 kfree(object->lookup_data->auxdata); in cachefiles_lookup_complete()
201 struct cachefiles_xattr *auxdata; in cachefiles_update_object() local
[all …]
Dinternal.h170 struct cachefiles_xattr *auxdata);
246 struct cachefiles_xattr *auxdata);
248 struct cachefiles_xattr *auxdata);
251 struct cachefiles_xattr *auxdata);
Dnamei.c485 struct cachefiles_xattr *auxdata) in cachefiles_walk_to_object() argument
626 ret = cachefiles_check_object_xattr(object, auxdata); in cachefiles_walk_to_object()
660 ret = cachefiles_set_object_xattr(object, auxdata); in cachefiles_walk_to_object()