Lines Matching refs:namelen
52 int namelen;
72 namelen = pplen + dfsplen;
74 namelen += (1 + temp->d_name.len);
82 full_path = kmalloc(namelen+1, GFP_KERNEL);
85 full_path[namelen] = 0; /* trailing null */
87 namelen -= 1 + temp->d_name.len;
88 if (namelen < 0) {
91 full_path[namelen] = dirsep;
92 strncpy(full_path + namelen + 1, temp->d_name.name,
94 cFYI(0, "name: %s", full_path + namelen);
103 if (namelen != pplen + dfsplen) {
104 cERROR(1, "did not end path lookup where expected namelen is %d",
105 namelen);