Lines Matching refs:name_len2
2685 int name_len, name_len2; in CIFSSMBRename() local
2710 name_len2 = in CIFSSMBRename()
2714 name_len2 += 1 /* trailing null */ + 1 /* Signature word */ ; in CIFSSMBRename()
2715 name_len2 *= 2; /* convert to bytes */ in CIFSSMBRename()
2720 name_len2 = strnlen(to_name, PATH_MAX); in CIFSSMBRename()
2721 name_len2++; /* trailing null */ in CIFSSMBRename()
2723 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSSMBRename()
2724 name_len2++; /* trailing null */ in CIFSSMBRename()
2725 name_len2++; /* signature byte */ in CIFSSMBRename()
2728 count = 1 /* 1st signature byte */ + name_len + name_len2; in CIFSSMBRename()
2837 int name_len, name_len2; in CIFSSMBCopy() local
2861 name_len2 = in CIFSSMBCopy()
2864 name_len2 += 1 /* trailing null */ + 1 /* Signature word */ ; in CIFSSMBCopy()
2865 name_len2 *= 2; /* convert to bytes */ in CIFSSMBCopy()
2870 name_len2 = strnlen(toName, PATH_MAX); in CIFSSMBCopy()
2871 name_len2++; /* trailing null */ in CIFSSMBCopy()
2873 strncpy(&pSMB->OldFileName[name_len + 1], toName, name_len2); in CIFSSMBCopy()
2874 name_len2++; /* trailing null */ in CIFSSMBCopy()
2875 name_len2++; /* signature byte */ in CIFSSMBCopy()
2878 count = 1 /* 1st signature byte */ + name_len + name_len2; in CIFSSMBCopy()
3081 int name_len, name_len2; in CIFSCreateHardLink() local
3111 name_len2 = in CIFSCreateHardLink()
3115 name_len2 += 1 /* trailing null */ + 1 /* Signature word */ ; in CIFSCreateHardLink()
3116 name_len2 *= 2; /* convert to bytes */ in CIFSCreateHardLink()
3121 name_len2 = strnlen(to_name, PATH_MAX); in CIFSCreateHardLink()
3122 name_len2++; /* trailing null */ in CIFSCreateHardLink()
3124 strncpy(&pSMB->OldFileName[name_len + 1], to_name, name_len2); in CIFSCreateHardLink()
3125 name_len2++; /* trailing null */ in CIFSCreateHardLink()
3126 name_len2++; /* signature byte */ in CIFSCreateHardLink()
3129 count = 1 /* string type byte */ + name_len + name_len2; in CIFSCreateHardLink()