Searched refs:media_bytes (Results 1 – 4 of 4) sorted by relevance
/dragonfly/sbin/fsck_hammer2/ |
H A D | destroy.c | 112 size_t *media_bytes) in read_media() argument 122 if (media_bytes) in read_media() 123 *media_bytes = bytes; in read_media() 162 size_t media_bytes) in write_media() argument 174 assert(bytes == media_bytes); in write_media() 199 memcpy(buf + boff, media, media_bytes); in write_media() 285 hammer2_media_data_t *media, size_t media_bytes) in modify_inode() argument 291 if (write_media(bref, media, media_bytes) == -1) in modify_inode() 352 size_t media_bytes) in modify_dirent() argument 396 if (write_media(bref, media, media_bytes) == -1) in modify_dirent() [all …]
|
H A D | reconstruct.c | 229 size_t *media_bytes) in read_media() argument 239 if (media_bytes) in read_media() 240 *media_bytes = bytes; in read_media() 279 size_t media_bytes) in write_media() argument 291 assert(bytes == media_bytes); in write_media() 316 memcpy(buf + boff, media, media_bytes); in write_media() 403 size_t media_bytes, int depth) in modify_check() argument 457 cv = hammer2_icrc32(media, media_bytes); in modify_check() 465 cv64 = XXH64(media, media_bytes, XXH_HAMMER2_SEED); in modify_check() 490 cv = hammer2_icrc32(media, media_bytes); in modify_check()
|
H A D | test.c | 699 size_t *media_bytes) in read_media() argument 708 if (media_bytes) in read_media() 709 *media_bytes = bytes; in read_media() 1146 const hammer2_media_data_t *media, size_t media_bytes) in print_media() argument 1236 bcount = media_bytes / sizeof(hammer2_blockref_t); in print_media() 1266 bcount = media_bytes / sizeof(hammer2_blockref_t); in print_media()
|
/dragonfly/usr.sbin/fstyp/ |
H A D | hammer2.c | 126 read_media(FILE *fp, const hammer2_blockref_t *bref, size_t *media_bytes) in read_media() argument 135 *media_bytes = bytes; in read_media()
|