Lines Matching refs:numrefs
250 static inline void dump_refs(const struct dfs_info3_param *refs, int numrefs) in dump_refs() argument
255 for (i = 0; i < numrefs; i++) { in dump_refs()
382 static int copy_ref_data(const struct dfs_info3_param *refs, int numrefs, in copy_ref_data() argument
395 for (i = 0; i < numrefs; i++) { in copy_ref_data()
420 static struct cache_entry *alloc_cache_entry(struct dfs_info3_param *refs, int numrefs) in alloc_cache_entry() argument
435 rc = copy_ref_data(refs, numrefs, ce, NULL); in alloc_cache_entry()
476 int numrefs) in add_cache_entry_locked() argument
494 ce = alloc_cache_entry(refs, numrefs); in add_cache_entry_locked()
621 int numrefs) in update_cache_entry_locked() argument
639 rc = copy_ref_data(refs, numrefs, ce, th); in update_cache_entry_locked()
647 struct dfs_info3_param **refs, int *numrefs) in get_dfs_referral() argument
653 *numrefs = 0; in get_dfs_referral()
661 rc = ses->server->ops->get_dfs_refer(xid, ses, path, refs, numrefs, cache_cp, in get_dfs_referral()
666 for (i = 0; i < *numrefs; i++) in get_dfs_referral()
690 int numrefs = 0; in cache_refresh_path() local
719 rc = get_dfs_referral(xid, ses, path, &refs, &numrefs); in cache_refresh_path()
725 dump_refs(refs, numrefs); in cache_refresh_path()
732 rc = update_cache_entry_locked(ce, refs, numrefs); in cache_refresh_path()
737 ce = add_cache_entry_locked(refs, numrefs); in cache_refresh_path()
747 free_dfs_info_array(refs, numrefs); in cache_refresh_path()