Lines Matching defs:target

181 					   READ_ONCE(ce->tgthint) == t ? " (target hint)" : "");
230 cifs_dbg(FYI, "target list:\n");
233 READ_ONCE(ce->tgthint) == t ? " (target hint)" : "");
339 /* Return target hint of a DFS cache entry */
360 /* Allocate a new DFS target */
380 * target hint.
385 struct cache_dfs_tgt *target;
412 target = list_first_entry_or_null(&ce->tlist, struct cache_dfs_tgt,
414 WRITE_ONCE(ce->tgthint, target);
623 struct cache_dfs_tgt *target;
629 target = READ_ONCE(ce->tgthint);
630 if (target) {
631 th = kstrdup(target->name, GFP_ATOMIC);
757 struct dfs_info3_param *ref, const char *target)
769 ref->node_name = kstrdup(target, GFP_ATOMIC);
789 /* Return target list of a DFS cache entry */
852 * @tgt_list: when non-NULL, store complete DFS target list in it.
854 * Return zero if the target was found, otherwise non-zero.
898 * @tgt_list: when non-NULL, store complete DFS target list in it.
933 * dfs_cache_noreq_update_tgthint - update target hint of a DFS cache entry
941 * @it: target iterator which contains the target hint to update the cache
944 * Return zero if the target hint was updated successfully, otherwise non-zero.
970 cifs_dbg(FYI, "%s: new target hint: %s\n", __func__,
982 * target iterator (@it).
985 * @it: DFS target iterator.
1009 cifs_dbg(FYI, "%s: target name: %s\n", __func__, it->it_name);
1018 /* Extract share from DFS target and return a pointer to prefix path or NULL */
1019 static const char *parse_target_share(const char *target, char **share)
1024 s = strpbrk(target + 1, seps);
1033 len = s - target + 1;
1034 *share = kstrndup(target, len, GFP_KERNEL);
1038 s = target + len;
1043 * dfs_cache_get_tgt_share - parse a DFS target
1046 * @it: DFS target iterator.
1050 * Return zero if target was parsed correctly, otherwise non-zero.
1080 /* merge prefix paths from DFS referral path and target node */
1133 * target shares in @refs.