Lines Matching defs:file
21 struct file *file;
25 * Collect physical extents for this swap file. Physical extents reported to
27 * offset within the file is irrelevant since the swapfile code maps logical
86 p = file_path(isi->file, buf, PATH_MAX);
87 pr_err("swapon: file %s %s\n", IS_ERR(p) ? "<unknown>" : p, str);
93 * Accumulate iomaps for this swap file. We have to accumulate iomaps because
118 /* Only one bdev per swap file. */
139 * Iterate a swap file's iomaps to construct physical extents that can be
143 struct file *swap_file, sector_t *pagespan,
156 .file = swap_file,
161 * Persist all file mapping metadata so that we won't have any
185 pr_warn("swapon: Cannot find a single usable page in file.\n");