Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:ls

38 	struct lookup_struct *ls = (struct lookup_struct *) priv_data;
40 if (ls->len != ext2fs_dirent_name_len(dirent))
42 if (strncmp(ls->name, dirent->name, ext2fs_dirent_name_len(dirent)))
44 *ls->inode = dirent->inode;
45 ls->found++;
54 struct lookup_struct ls;
58 ls.name = name;
59 ls.len = namelen;
60 ls.inode = inode;
61 ls.found = 0;
63 retval = ext2fs_dir_iterate(fs, dir, 0, buf, lookup_proc, &ls);
67 return (ls.found) ? 0 : EXT2_ET_FILE_NOT_FOUND;