Lines Matching refs:pdata
20 struct walk_ext_priv_data *pdata = priv; in walk_block() local
21 struct fsmap_format *format = pdata->format; in walk_block()
27 struct walk_ext_priv_data *pdata) in ino_iter_blocks() argument
31 struct fsmap_format *format = pdata->format; in ino_iter_blocks()
41 retval = ext2fs_block_iterate3(fs, ino, 0, NULL, walk_block, pdata); in ino_iter_blocks()
68 struct walk_ext_priv_data *pdata = priv_data; in walk_ext_dir() local
69 struct fsmap_format *format = pdata->format; in walk_ext_dir()
76 if (asprintf(&filename, "%s/%.*s", pdata->path, name_len, name) < 0) in walk_ext_dir()
79 retval = ext2fs_read_inode(pdata->fs, de->inode, &inode); in walk_ext_dir()
85 retval = ino_iter_blocks(pdata->fs, de->inode, pdata); in walk_ext_dir()
91 if (is_dir(pdata->fs, de->inode)) { in walk_ext_dir()
92 cur_path = pdata->path; in walk_ext_dir()
93 pdata->path = filename; in walk_ext_dir()
94 retval = ext2fs_dir_iterate2(pdata->fs, de->inode, 0, NULL, in walk_ext_dir()
95 walk_ext_dir, pdata); in walk_ext_dir()
96 pdata->path = cur_path; in walk_ext_dir()
107 struct walk_ext_priv_data pdata; in fsmap_iter_filsys() local
111 pdata.fs = fs; in fsmap_iter_filsys()
112 pdata.path = ""; in fsmap_iter_filsys()
113 pdata.format = format; in fsmap_iter_filsys()
115 retval = ext2fs_dir_iterate2(fs, EXT2_ROOT_INO, 0, NULL, walk_ext_dir, &pdata); in fsmap_iter_filsys()