Lines Matching refs:bref

427 	if (focus->bref.type == HAMMER2_BREF_TYPE_INODE) {  in hammer2_strategy_read_completion()
439 } else if (focus->bref.type == HAMMER2_BREF_TYPE_DATA) { in hammer2_strategy_read_completion()
455 switch (HAMMER2_DEC_COMP(focus->bref.methods)) { in hammer2_strategy_read_completion()
733 chain->bref.type != HAMMER2_BREF_TYPE_INODE) { in hammer2_assign_physical()
736 lbase, chain->bref.data_off, chain->bref.type, in hammer2_assign_physical()
761 switch (chain->bref.type) { in hammer2_assign_physical()
839 } else if (chain->bref.type == HAMMER2_BREF_TYPE_INODE) { in hammer2_write_file_core()
851 chain->bref.methods = in hammer2_write_file_core()
1053 if (chain->bref.type == HAMMER2_BREF_TYPE_INODE) { in hammer2_compress_and_write()
1070 chain->bref.methods = in hammer2_compress_and_write()
1074 chain->bref.methods = in hammer2_compress_and_write()
1087 switch(chain->bref.type) { in hammer2_compress_and_write()
1097 chain->bref.type, in hammer2_compress_and_write()
1098 chain->bref.data_off, in hammer2_compress_and_write()
1107 bdata = hammer2_io_data(dio, chain->bref.data_off); in hammer2_compress_and_write()
1114 chain->bref.methods = in hammer2_compress_and_write()
1119 chain->bref.methods = in hammer2_compress_and_write()
1161 chain->bref.type); in hammer2_compress_and_write()
1217 chain->bref.methods = in hammer2_zero_check_and_write()
1268 if (chain->bref.type == HAMMER2_BREF_TYPE_INODE) { in zero_write()
1318 switch(chain->bref.type) { in hammer2_write_bp()
1328 chain->bref.type, in hammer2_write_bp()
1329 chain->bref.data_off, in hammer2_write_bp()
1337 bdata = hammer2_io_data(dio, chain->bref.data_off); in hammer2_write_bp()
1339 chain->bref.methods = HAMMER2_ENC_COMP(HAMMER2_COMP_NONE) + in hammer2_write_bp()
1377 chain->bref.type); in hammer2_write_bp()
1429 switch(HAMMER2_DEC_CHECK(chain->bref.methods)) { in hammer2_dedup_record()
1437 crc = (uint64_t)(uint32_t)chain->bref.check.iscsi32.value; in hammer2_dedup_record()
1442 crc = chain->bref.check.xxhash64.value; in hammer2_dedup_record()
1451 crc = ((uint64_t *)chain->bref.check.sha192.data)[0] ^ in hammer2_dedup_record()
1452 ((uint64_t *)chain->bref.check.sha192.data)[1] ^ in hammer2_dedup_record()
1453 ((uint64_t *)chain->bref.check.sha192.data)[2]; in hammer2_dedup_record()
1486 chain->bref.data_off); in hammer2_dedup_record()
1489 dedup->data_off = chain->bref.data_off; in hammer2_dedup_record()
1501 mask = hammer2_dedup_mask(dio, chain->bref.data_off, chain->bytes); in hammer2_dedup_record()