Lines Matching refs:name_len_target
2188 int name_len_target; in CIFSUnixCreateSymLink() local
2225 name_len_target = in CIFSUnixCreateSymLink()
2229 name_len_target++; /* trailing null */ in CIFSUnixCreateSymLink()
2230 name_len_target *= 2; in CIFSUnixCreateSymLink()
2232 name_len_target = strnlen(toName, PATH_MAX); in CIFSUnixCreateSymLink()
2233 name_len_target++; /* trailing null */ in CIFSUnixCreateSymLink()
2234 strncpy(data_offset, toName, name_len_target); in CIFSUnixCreateSymLink()
2243 byte_count = 3 /* pad */ + params + name_len_target; in CIFSUnixCreateSymLink()
2244 pSMB->DataCount = cpu_to_le16(name_len_target); in CIFSUnixCreateSymLink()
2277 int name_len_target; in CIFSUnixCreateHardLink() local
2312 name_len_target = in CIFSUnixCreateHardLink()
2315 name_len_target++; /* trailing null */ in CIFSUnixCreateHardLink()
2316 name_len_target *= 2; in CIFSUnixCreateHardLink()
2318 name_len_target = strnlen(fromName, PATH_MAX); in CIFSUnixCreateHardLink()
2319 name_len_target++; /* trailing null */ in CIFSUnixCreateHardLink()
2320 strncpy(data_offset, fromName, name_len_target); in CIFSUnixCreateHardLink()
2329 byte_count = 3 /* pad */ + params + name_len_target; in CIFSUnixCreateHardLink()
2332 pSMB->DataCount = cpu_to_le16(name_len_target); in CIFSUnixCreateHardLink()