Searched refs:tfc (Results 1 – 2 of 2) sorted by relevance
82 tfc = kmalloc(sizeof(*tfc), M_DMFLAKEY, M_WAITOK | M_ZERO); in dm_target_flakey_init()83 if (tfc == NULL) in dm_target_flakey_init()90 tfc->pdev = dmp; in dm_target_flakey_init()96 if ((tfc->up_int + tfc->down_int) == 0) { in dm_target_flakey_init()102 if (tfc->up_int + tfc->down_int < tfc->up_int) { in dm_target_flakey_init()214 if (tfc == NULL) in dm_target_flakey_destroy()233 if (elapsed % (tfc->up_int + tfc->down_int) >= tfc->up_int) { in dm_target_flakey_strategy()297 if (!tfc->corrupt_buf_byte && !tfc->drop_writes) { in _flakey_read()354 bp->b_data[tfc->corrupt_buf_byte - 1] = tfc->corrupt_buf_value; in _flakey_corrupt_buf()380 tfc->pdev->udev_name, tfc->offset_time, in dm_target_flakey_table()[all …]
1105 uint64_t csum_flags, tfc; in stge_encap() local1142 tfc = TFD_FrameId(si) | TFD_WordAlign(TFD_WordAlign_disable) | in stge_encap()1145 tfc |= TFD_TxDMAIndicate; in stge_encap()1152 tfc |= TFD_VLANTagInsert | TFD_VID(m->m_pkthdr.ether_vlantag); in stge_encap()1153 tfd->tfd_control = htole64(tfc); in stge_encap()