Lines Matching refs:vlocation
137 const struct afs_vlocation *vlocation = cookie_netfs_data; in afs_vlocation_cache_get_key() local
140 _enter("{%s},%p,%u", vlocation->vldb.name, buffer, bufmax); in afs_vlocation_cache_get_key()
142 klen = strnlen(vlocation->vldb.name, sizeof(vlocation->vldb.name)); in afs_vlocation_cache_get_key()
146 memcpy(buffer, vlocation->vldb.name, klen); in afs_vlocation_cache_get_key()
158 const struct afs_vlocation *vlocation = cookie_netfs_data; in afs_vlocation_cache_get_aux() local
161 _enter("{%s},%p,%u", vlocation->vldb.name, buffer, bufmax); in afs_vlocation_cache_get_aux()
168 memcpy(buffer, (uint8_t *)&vlocation->vldb.nservers, dlen); in afs_vlocation_cache_get_aux()
183 struct afs_vlocation *vlocation = cookie_netfs_data; in afs_vlocation_cache_check_aux() local
186 _enter("{%s},%p,%u", vlocation->vldb.name, buffer, buflen); in afs_vlocation_cache_check_aux()
198 if (!vlocation->valid || vlocation->vldb.rtime == cvldb->rtime) { in afs_vlocation_cache_check_aux()
199 memcpy((uint8_t *)&vlocation->vldb.nservers, buffer, dlen); in afs_vlocation_cache_check_aux()
200 vlocation->valid = 1; in afs_vlocation_cache_check_aux()
206 if (memcmp(&vlocation->vldb, buffer, dlen) != 0) { in afs_vlocation_cache_check_aux()
208 if (memcmp(&vlocation->vldb.vid, &cvldb->vid, in afs_vlocation_cache_check_aux()