Lines Matching refs:ls
37 struct lookup_struct *ls = (struct lookup_struct *) priv_data;
39 if (ls->len != (dirent->name_len & 0xFF))
41 if (strncmp(ls->name, dirent->name, (dirent->name_len & 0xFF)))
43 *ls->inode = dirent->inode;
44 ls->found++;
53 struct lookup_struct ls;
57 ls.name = name;
58 ls.len = namelen;
59 ls.inode = inode;
60 ls.found = 0;
62 retval = ext2fs_dir_iterate(fs, dir, 0, buf, lookup_proc, &ls);
66 return (ls.found) ? 0 : EXT2_ET_FILE_NOT_FOUND;