Home
last modified time | relevance | path

Searched refs:name_len2 (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/cifs/
Dcifssmb.c2685 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()
[all …]