Lines Matching refs:auxdata
175 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()
203 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_super_check_aux()
257 struct cifs_fscache_inode_auxdata auxdata; in cifs_fscache_inode_get_aux() local
260 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_inode_get_aux()
261 auxdata.eof = cifsi->server_eof; in cifs_fscache_inode_get_aux()
262 auxdata.last_write_time = cifsi->vfs_inode.i_mtime; in cifs_fscache_inode_get_aux()
263 auxdata.last_change_time = cifsi->vfs_inode.i_ctime; in cifs_fscache_inode_get_aux()
265 if (maxbuf > sizeof(auxdata)) in cifs_fscache_inode_get_aux()
266 maxbuf = sizeof(auxdata); in cifs_fscache_inode_get_aux()
268 memcpy(buffer, &auxdata, maxbuf); in cifs_fscache_inode_get_aux()
278 struct cifs_fscache_inode_auxdata auxdata; in cifs_fscache_inode_check_aux() local
281 if (datalen != sizeof(auxdata)) in cifs_fscache_inode_check_aux()
284 memset(&auxdata, 0, sizeof(auxdata)); in cifs_fscache_inode_check_aux()
285 auxdata.eof = cifsi->server_eof; in cifs_fscache_inode_check_aux()
286 auxdata.last_write_time = cifsi->vfs_inode.i_mtime; in cifs_fscache_inode_check_aux()
287 auxdata.last_change_time = cifsi->vfs_inode.i_ctime; in cifs_fscache_inode_check_aux()
289 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_inode_check_aux()