Home
last modified time | relevance | path

Searched refs:trec (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_ialloc.c448 struct xfs_inobt_rec_incore *trec, /* tgt record */ in __xfs_inobt_can_merge() argument
455 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge()
459 if (!xfs_inobt_issparse(trec->ir_holemask) || in __xfs_inobt_can_merge()
464 if (!trec->ir_count || !srec->ir_count) in __xfs_inobt_can_merge()
468 if (trec->ir_count + srec->ir_count > XFS_INODES_PER_CHUNK) in __xfs_inobt_can_merge()
472 talloc = xfs_inobt_irec_to_allocmask(trec); in __xfs_inobt_can_merge()
486 struct xfs_inobt_rec_incore *trec, /* target */ in __xfs_inobt_rec_merge() argument
489 ASSERT(trec->ir_startino == srec->ir_startino); in __xfs_inobt_rec_merge()
492 trec->ir_count += srec->ir_count; in __xfs_inobt_rec_merge()
493 trec->ir_freecount += srec->ir_freecount; in __xfs_inobt_rec_merge()
[all …]
/kernel/linux/linux-5.10/tools/thermal/tmon/
Dsysfs.c54 struct thermal_data_record trec[NR_THERMAL_RECORDS]; variable
494 gettimeofday(&trec[next_thermal_record].tv, NULL); in update_thermal_data()
504 &trec[next_thermal_record].temp[i]); in update_thermal_data()
507 trec[next_thermal_record].temp[i] / 1000); in update_thermal_data()
Dtmon.c325 controller_handler(trec[0].temp[target_tz_index] / 1000, &yk); in main()
326 trec[0].pid_out_pct = yk; in main()
Dtmon.h144 extern struct thermal_data_record trec[];
Dtui.c583 int temp = trec[cur_thermal_record].temp[i] / 1000; in show_data_w()
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1101 u32 trec; in __mcp251xfd_get_berr_counter() local
1104 err = regmap_read(priv->map_reg, MCP251XFD_REG_TREC, &trec); in __mcp251xfd_get_berr_counter()
1108 if (trec & MCP251XFD_REG_TREC_TXBO) in __mcp251xfd_get_berr_counter()
1111 bec->txerr = FIELD_GET(MCP251XFD_REG_TREC_TEC_MASK, trec); in __mcp251xfd_get_berr_counter()
1112 bec->rxerr = FIELD_GET(MCP251XFD_REG_TREC_REC_MASK, trec); in __mcp251xfd_get_berr_counter()
1697 u32 trec, timestamp; in mcp251xfd_handle_cerrif() local
1700 err = regmap_read(priv->map_reg, MCP251XFD_REG_TREC, &trec); in mcp251xfd_handle_cerrif()
1704 if (trec & MCP251XFD_REG_TREC_TXBO) in mcp251xfd_handle_cerrif()
1706 else if (trec & MCP251XFD_REG_TREC_TXBP) in mcp251xfd_handle_cerrif()
1708 else if (trec & MCP251XFD_REG_TREC_TXWARN) in mcp251xfd_handle_cerrif()
[all …]