Home
last modified time | relevance | path

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

/arch/parisc/hpux/
Dfs.c75 static int filldir(void * __buf, const char * name, int namlen, loff_t offset, in filldir() argument
81 int reclen = ALIGN(NAME_OFFSET(dirent) + namlen + 1, sizeof(long)); in filldir()
98 put_user(namlen, &dirent->d_namlen) || in filldir()
99 copy_to_user(dirent->d_name, name, namlen) || in filldir()
100 put_user(0, dirent->d_name + namlen)) in filldir()
/arch/alpha/kernel/
Dosf_sys.c111 osf_filldir(void *__buf, const char *name, int namlen, loff_t offset, in osf_filldir() argument
116 unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); in osf_filldir()
134 put_user(namlen, &dirent->d_namlen) || in osf_filldir()
136 copy_to_user(dirent->d_name, name, namlen) || in osf_filldir()
137 put_user(0, dirent->d_name + namlen)) in osf_filldir()