Home
last modified time | relevance | path

Searched refs:punch_hole (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/
Dfile.c284 static unsigned int sane_fdtable_size(struct fdtable *fdt, struct fd_range *punch_hole) in sane_fdtable_size() argument
290 if (punch_hole && punch_hole->to >= last && punch_hole->from <= last) { in sane_fdtable_size()
291 last = find_last_bit(fdt->open_fds, punch_hole->from); in sane_fdtable_size()
292 if (last == punch_hole->from) in sane_fdtable_size()
303 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() argument
330 open_files = sane_fdtable_size(old_fdt, punch_hole); in dup_fd()
361 open_files = sane_fdtable_size(old_fdt, punch_hole); in dup_fd()
737 struct fd_range range = {fd, max_fd}, *punch_hole = &range; in __close_range() local
745 punch_hole = NULL; in __close_range()
747 fds = dup_fd(cur_fds, punch_hole); in __close_range()
/linux-6.12.1/fs/gfs2/
Dbmap.c43 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length);
1068 punch_hole(ip, iomap->offset, iomap->length); in gfs2_iomap_begin_write()
1174 punch_hole(ip, hstart, hend - hstart); in gfs2_iomap_end()
1713 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length) in punch_hole() function
2034 error = punch_hole(ip, newsize, 0); in do_shrink()
2160 error = punch_hole(ip, i_size_read(&ip->i_inode), 0); in gfs2_truncatei_resume()
2168 return punch_hole(ip, 0, 0); in gfs2_file_dealloc()
2460 error = punch_hole(ip, offset, length); in __gfs2_punch_hole()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c1204 bool punch_hole) in vm_guest_mem_fallocate() argument
1206 const int mode = FALLOC_FL_KEEP_SIZE | (punch_hole ? FALLOC_FL_PUNCH_HOLE : 0); in vm_guest_mem_fallocate()
1226 punch_hole ? "punch hole" : "allocate", gpa, len, in vm_guest_mem_fallocate()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h411 bool punch_hole);