Searched refs:fiemap_buf (Results 1 – 8 of 8) sorted by relevance
/dports/misc/gnuls/coreutils-8.30/src/ |
H A D | extent-scan.c | 94 union { struct fiemap f; char c[4096]; } fiemap_buf; in extent_scan_read() local 95 struct fiemap *fiemap = &fiemap_buf.f; in extent_scan_read() 97 enum { count = (sizeof fiemap_buf - sizeof *fiemap)/sizeof *fm_extents }; in extent_scan_read() 103 memset (&fiemap_buf, 0, sizeof fiemap_buf); in extent_scan_read()
|
/dports/sysutils/coreutils/coreutils-8.32/src/ |
H A D | extent-scan.c | 94 union { struct fiemap f; char c[4096]; } fiemap_buf; in extent_scan_read() local 95 struct fiemap *fiemap = &fiemap_buf.f; in extent_scan_read() 98 enum { count = (sizeof fiemap_buf - headersize) / sizeof *fm_extents }; in extent_scan_read() 104 memset (&fiemap_buf, 0, sizeof fiemap_buf); in extent_scan_read()
|
/dports/misc/e2fsprogs-libblkid/e2fsprogs-1.46.5/misc/ |
H A D | e4defrag.c | 498 struct fiemap fiemap_buf; in file_frag_count() local 504 fiemap_buf.fm_start = 0; in file_frag_count() 512 return fiemap_buf.fm_mapped_extents; in file_frag_count() 795 struct fiemap *fiemap_buf = NULL; in get_file_extents() local 809 fiemap_buf = malloc(fie_buf_size); in get_file_extents() 810 if (fiemap_buf == NULL) in get_file_extents() 813 ext_buf = fiemap_buf->fm_extents; in get_file_extents() 814 memset(fiemap_buf, 0, fie_buf_size); in get_file_extents() 820 fiemap_buf->fm_start = pos; in get_file_extents() 857 FREE(fiemap_buf); in get_file_extents() [all …]
|
H A D | create_inode.c | 512 struct fiemap *fiemap_buf; in try_fiemap_copy() local 522 err = ext2fs_get_memzero(fie_buf_size, &fiemap_buf); in try_fiemap_copy() 526 ext_buf = fiemap_buf->fm_extents; in try_fiemap_copy() 527 memset(fiemap_buf, 0, fie_buf_size); in try_fiemap_copy() 528 fiemap_buf->fm_length = FIEMAP_MAX_OFFSET; in try_fiemap_copy() 529 fiemap_buf->fm_flags |= FIEMAP_FLAG_SYNC; in try_fiemap_copy() 530 fiemap_buf->fm_extent_count = EXTENT_MAX_COUNT; in try_fiemap_copy() 533 fiemap_buf->fm_start = pos; in try_fiemap_copy() 535 err = ioctl(fd, FS_IOC_FIEMAP, fiemap_buf); in try_fiemap_copy() 542 } else if (fiemap_buf->fm_mapped_extents == 0) in try_fiemap_copy() [all …]
|
/dports/misc/e2fsprogs-libuuid/e2fsprogs-1.46.5/misc/ |
H A D | e4defrag.c | 498 struct fiemap fiemap_buf; in file_frag_count() local 504 fiemap_buf.fm_start = 0; in file_frag_count() 512 return fiemap_buf.fm_mapped_extents; in file_frag_count() 795 struct fiemap *fiemap_buf = NULL; in get_file_extents() local 809 fiemap_buf = malloc(fie_buf_size); in get_file_extents() 810 if (fiemap_buf == NULL) in get_file_extents() 813 ext_buf = fiemap_buf->fm_extents; in get_file_extents() 814 memset(fiemap_buf, 0, fie_buf_size); in get_file_extents() 820 fiemap_buf->fm_start = pos; in get_file_extents() 857 FREE(fiemap_buf); in get_file_extents() [all …]
|
H A D | create_inode.c | 512 struct fiemap *fiemap_buf; in try_fiemap_copy() local 522 err = ext2fs_get_memzero(fie_buf_size, &fiemap_buf); in try_fiemap_copy() 526 ext_buf = fiemap_buf->fm_extents; in try_fiemap_copy() 527 memset(fiemap_buf, 0, fie_buf_size); in try_fiemap_copy() 528 fiemap_buf->fm_length = FIEMAP_MAX_OFFSET; in try_fiemap_copy() 529 fiemap_buf->fm_flags |= FIEMAP_FLAG_SYNC; in try_fiemap_copy() 530 fiemap_buf->fm_extent_count = EXTENT_MAX_COUNT; in try_fiemap_copy() 533 fiemap_buf->fm_start = pos; in try_fiemap_copy() 535 err = ioctl(fd, FS_IOC_FIEMAP, fiemap_buf); in try_fiemap_copy() 542 } else if (fiemap_buf->fm_mapped_extents == 0) in try_fiemap_copy() [all …]
|
/dports/sysutils/e2fsprogs/e2fsprogs-1.46.5/misc/ |
H A D | e4defrag.c | 498 struct fiemap fiemap_buf; in file_frag_count() local 504 fiemap_buf.fm_start = 0; in file_frag_count() 512 return fiemap_buf.fm_mapped_extents; in file_frag_count() 795 struct fiemap *fiemap_buf = NULL; in get_file_extents() local 809 fiemap_buf = malloc(fie_buf_size); in get_file_extents() 810 if (fiemap_buf == NULL) in get_file_extents() 813 ext_buf = fiemap_buf->fm_extents; in get_file_extents() 814 memset(fiemap_buf, 0, fie_buf_size); in get_file_extents() 820 fiemap_buf->fm_start = pos; in get_file_extents() 857 FREE(fiemap_buf); in get_file_extents() [all …]
|
H A D | create_inode.c | 512 struct fiemap *fiemap_buf; in try_fiemap_copy() local 522 err = ext2fs_get_memzero(fie_buf_size, &fiemap_buf); in try_fiemap_copy() 526 ext_buf = fiemap_buf->fm_extents; in try_fiemap_copy() 527 memset(fiemap_buf, 0, fie_buf_size); in try_fiemap_copy() 528 fiemap_buf->fm_length = FIEMAP_MAX_OFFSET; in try_fiemap_copy() 529 fiemap_buf->fm_flags |= FIEMAP_FLAG_SYNC; in try_fiemap_copy() 530 fiemap_buf->fm_extent_count = EXTENT_MAX_COUNT; in try_fiemap_copy() 533 fiemap_buf->fm_start = pos; in try_fiemap_copy() 535 err = ioctl(fd, FS_IOC_FIEMAP, fiemap_buf); in try_fiemap_copy() 542 } else if (fiemap_buf->fm_mapped_extents == 0) in try_fiemap_copy() [all …]
|