Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/coda/
Ddir.c548 struct venus_dirent *vdir; in coda_venus_readdir() local
556 vdir = (struct venus_dirent *)kmalloc(sizeof(*vdir), GFP_KERNEL); in coda_venus_readdir()
557 if (!vdir) return -ENOMEM; in coda_venus_readdir()
576 ret = kernel_read(filp, filp->f_pos - 2, (char *)vdir, in coda_venus_readdir()
577 sizeof(*vdir)); in coda_venus_readdir()
585 if (ret < vdir_size || ret < vdir_size + vdir->d_namlen) { in coda_venus_readdir()
592 if (vdir->d_reclen < vdir_size + vdir->d_namlen || in coda_venus_readdir()
593 vdir->d_namlen > CODA_MAXNAMLEN) { in coda_venus_readdir()
600 name.len = vdir->d_namlen; in coda_venus_readdir()
601 name.name = vdir->d_name; in coda_venus_readdir()
[all …]