Lines Matching refs:strlen
85 if (!path || strlen(path) < 3 || (*path != '\\' && *path != '/')) in get_normalized_path()
91 *npath = kstrndup(path, strlen(path), GFP_KERNEL); in get_normalized_path()
333 return !strncasecmp(s, "sysvol", strlen("sysvol")) || in is_sysvol_or_netlogon()
334 !strncasecmp(s, "netlogon", strlen("netlogon")); in is_sysvol_or_netlogon()
366 t->name = kstrndup(name, strlen(name), GFP_KERNEL); in alloc_tgt()
425 ce->path = kstrndup(path, strlen(path), GFP_KERNEL); in alloc_cache_entry()
504 h = cache_entry_hash(path, strlen(path)); in lookup_cache_entry()
588 th = kstrndup(s, strlen(s), GFP_KERNEL); in __update_cache_entry()
745 ref->path_name = kstrndup(path, strlen(path), GFP_KERNEL); in setup_ref()
751 ref->node_name = kstrndup(tgt, strlen(tgt), GFP_KERNEL); in setup_ref()
788 it->it_name = kstrndup(t->name, strlen(t->name), in get_tgt_list()
1086 new->username = kstrndup(vol->username, strlen(vol->username), in dup_vol()
1092 new->password = kstrndup(vol->password, strlen(vol->password), in dup_vol()
1099 new->UNC = kstrndup(vol->UNC, strlen(vol->UNC), GFP_KERNEL); in dup_vol()
1105 strlen(vol->domainname), GFP_KERNEL); in dup_vol()
1111 strlen(vol->iocharset), GFP_KERNEL); in dup_vol()
1117 new->prepath = kstrndup(vol->prepath, strlen(vol->prepath), in dup_vol()
1163 vi->fullpath = kstrndup(fullpath, strlen(fullpath), GFP_KERNEL); in dfs_cache_add_vol()