Lines Matching refs:fiemap
5 The fiemap ioctl is an efficient method for userspace to get file
6 extent mappings. Instead of block-by-block mapping (such as bmap), fiemap
13 A fiemap request is encoded within struct fiemap:
15 struct fiemap {
42 fiemap interface to grow in the future but without losing
66 which userspace must allocate along with the fiemap structure. The
100 the file so that the process making fiemap calls can determine when no
177 File systems wishing to support fiemap must implement a ->fiemap callback on
178 their inode_operations structure. The fs ->fiemap call is responsible for
179 defining its set of supported fiemap flags, and calling a helper function on
185 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start,
188 ->fiemap is passed struct fiemap_extent_info which describes the
189 fiemap request:
203 Flag checking should be done at the beginning of the ->fiemap callback via the
209 set of fiemap flags which the fs understands should be passed via fs_flags. If