Home
last modified time | relevance | path

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

/linux-2.6.39/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 …]
/linux-2.6.39/fs/nfs/
Dfscache-index.c206 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_get_aux() local
209 memset(&auxdata, 0, sizeof(auxdata)); in nfs_fscache_inode_get_aux()
210 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_aux()
211 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
212 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_get_aux()
215 auxdata.change_attr = nfsi->change_attr; in nfs_fscache_inode_get_aux()
217 if (bufmax > sizeof(auxdata)) in nfs_fscache_inode_get_aux()
218 bufmax = sizeof(auxdata); in nfs_fscache_inode_get_aux()
220 memcpy(buffer, &auxdata, bufmax); in nfs_fscache_inode_get_aux()
235 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_check_aux() local
[all …]
/linux-2.6.39/fs/cachefiles/
Dxattr.c107 struct cachefiles_xattr *auxdata) in cachefiles_set_object_xattr() argument
115 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
118 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_set_object_xattr()
121 &auxdata->type, auxdata->len, in cachefiles_set_object_xattr()
136 struct cachefiles_xattr *auxdata) in cachefiles_update_object_xattr() argument
144 _enter("%p,#%d", object, auxdata->len); in cachefiles_update_object_xattr()
147 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_update_object_xattr()
150 &auxdata->type, auxdata->len, in cachefiles_update_object_xattr()
166 struct cachefiles_xattr *auxdata) in cachefiles_check_object_xattr() argument
172 _enter("%p,#%d", object, auxdata->len); in cachefiles_check_object_xattr()
[all …]
Dinterface.c20 struct cachefiles_xattr *auxdata; /* auxiliary data */ member
36 struct cachefiles_xattr *auxdata; in cachefiles_alloc_object() local
85 auxdata = buffer; in cachefiles_alloc_object()
89 auxdata->data, 511); in cachefiles_alloc_object()
93 auxdata->len = auxlen + 1; in cachefiles_alloc_object()
94 auxdata->type = cookie->def->type; in cachefiles_alloc_object()
96 lookup_data->auxdata = auxdata; in cachefiles_alloc_object()
142 lookup_data->auxdata); in cachefiles_lookup_object()
174 kfree(object->lookup_data->auxdata); in cachefiles_lookup_complete()
205 struct cachefiles_xattr *auxdata; in cachefiles_update_object() local
[all …]
Dinternal.h157 struct cachefiles_xattr *auxdata);
233 struct cachefiles_xattr *auxdata);
235 struct cachefiles_xattr *auxdata);
237 struct cachefiles_xattr *auxdata);
Dnamei.c467 struct cachefiles_xattr *auxdata) in cachefiles_walk_to_object() argument
609 ret = cachefiles_check_object_xattr(object, auxdata); in cachefiles_walk_to_object()
641 ret = cachefiles_set_object_xattr(object, auxdata); in cachefiles_walk_to_object()
/linux-2.6.39/net/packet/
Daf_packet.c200 auxdata:1, member
1718 if (pkt_sk(sk)->auxdata) { in packet_recvmsg()
2051 po->auxdata = !!val; in packet_setsockopt()
2133 val = po->auxdata; in packet_getsockopt()