OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fiemap_buf
(Results
1 - 2
of
2
) sorted by null
/external/e2fsprogs/misc/
e4defrag.c
495
struct fiemap
fiemap_buf
;
local
500
memset(&
fiemap_buf
, 0, sizeof(struct fiemap));
501
fiemap_buf
.fm_start = 0;
502
fiemap_buf
.fm_length = FIEMAP_MAX_OFFSET;
503
fiemap_buf
.fm_flags |= FIEMAP_FLAG_SYNC;
505
ret = ioctl(fd, FS_IOC_FIEMAP, &
fiemap_buf
);
509
return
fiemap_buf
.fm_mapped_extents;
792
struct fiemap *
fiemap_buf
= NULL;
local
806
fiemap_buf
= malloc(fie_buf_size);
807
if (
fiemap_buf
== NULL
[
all
...]
create_inode.c
497
struct fiemap *
fiemap_buf
;
local
507
err = ext2fs_get_memzero(fie_buf_size, &
fiemap_buf
);
511
ext_buf =
fiemap_buf
->fm_extents;
512
memset(
fiemap_buf
, 0, fie_buf_size);
513
fiemap_buf
->fm_length = FIEMAP_MAX_OFFSET;
514
fiemap_buf
->fm_flags |= FIEMAP_FLAG_SYNC;
515
fiemap_buf
->fm_extent_count = EXTENT_MAX_COUNT;
518
fiemap_buf
->fm_start = pos;
520
err = ioctl(fd, FS_IOC_FIEMAP,
fiemap_buf
);
524
} else if (err < 0 ||
fiemap_buf
->fm_mapped_extents == 0)
[
all
...]
Completed in 81 milliseconds