Searched refs:punch_hole (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/fs/ |
| H A D | file.c | 349 static unsigned int sane_fdtable_size(struct fdtable *fdt, struct fd_range *punch_hole) in sane_fdtable_size() argument 355 if (punch_hole && punch_hole->to >= last && punch_hole->from <= last) { in sane_fdtable_size() 356 last = find_last_bit(fdt->open_fds, punch_hole->from); in sane_fdtable_size() 357 if (last == punch_hole->from) in sane_fdtable_size() 368 struct files_struct *dup_fd(struct files_struct *oldf, struct fd_range *punch_hole) in dup_fd() argument 394 open_files = sane_fdtable_size(old_fdt, punch_hole); in dup_fd() 418 open_files = sane_fdtable_size(old_fdt, punch_hole); in dup_fd() 788 struct fd_range range = {fd, max_fd}, *punch_hole = ⦥ in SYSCALL_DEFINE3() local 796 punch_hole = NULL; in SYSCALL_DEFINE3() 798 fds = dup_fd(cur_fds, punch_hole); in SYSCALL_DEFINE3()
|
| /linux-6.15/fs/gfs2/ |
| H A D | bmap.c | 43 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() 1714 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length) in punch_hole() function 2035 error = punch_hole(ip, newsize, 0); in do_shrink() 2161 error = punch_hole(ip, i_size_read(&ip->i_inode), 0); in gfs2_truncatei_resume() 2169 return punch_hole(ip, 0, 0); in gfs2_file_dealloc() 2461 error = punch_hole(ip, offset, length); in __gfs2_punch_hole()
|
| /linux-6.15/tools/testing/selftests/kvm/lib/ |
| H A D | kvm_util.c | 1262 bool punch_hole) in vm_guest_mem_fallocate() argument 1264 const int mode = FALLOC_FL_KEEP_SIZE | (punch_hole ? FALLOC_FL_PUNCH_HOLE : 0); in vm_guest_mem_fallocate() 1284 punch_hole ? "punch hole" : "allocate", gpa, len, in vm_guest_mem_fallocate()
|
| /linux-6.15/tools/testing/selftests/kvm/include/ |
| H A D | kvm_util.h | 415 bool punch_hole);
|