Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ialloc.c479 struct xfs_inobt_rec_incore *trec, /* tgt record */ in __xfs_inobt_can_merge() argument
486 if (trec->ir_startino != srec->ir_startino) in __xfs_inobt_can_merge()
490 if (!xfs_inobt_issparse(trec->ir_holemask) || in __xfs_inobt_can_merge()
495 if (!trec->ir_count || !srec->ir_count) in __xfs_inobt_can_merge()
499 if (trec->ir_count + srec->ir_count > XFS_INODES_PER_CHUNK) in __xfs_inobt_can_merge()
503 talloc = xfs_inobt_irec_to_allocmask(trec); in __xfs_inobt_can_merge()
517 struct xfs_inobt_rec_incore *trec, /* target */ in __xfs_inobt_rec_merge() argument
520 ASSERT(trec->ir_startino == srec->ir_startino); in __xfs_inobt_rec_merge()
523 trec->ir_count += srec->ir_count; in __xfs_inobt_rec_merge()
524 trec->ir_freecount += srec->ir_freecount; in __xfs_inobt_rec_merge()
[all …]
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c835 u32 trec; in __mcp251xfd_get_berr_counter() local
838 err = regmap_read(priv->map_reg, MCP251XFD_REG_TREC, &trec); in __mcp251xfd_get_berr_counter()
842 if (trec & MCP251XFD_REG_TREC_TXBO) in __mcp251xfd_get_berr_counter()
845 bec->txerr = FIELD_GET(MCP251XFD_REG_TREC_TEC_MASK, trec); in __mcp251xfd_get_berr_counter()
846 bec->rxerr = FIELD_GET(MCP251XFD_REG_TREC_REC_MASK, trec); in __mcp251xfd_get_berr_counter()
1055 u32 trec, ts_raw; in mcp251xfd_handle_cerrif() local
1058 err = regmap_read(priv->map_reg, MCP251XFD_REG_TREC, &trec); in mcp251xfd_handle_cerrif()
1062 if (trec & MCP251XFD_REG_TREC_TXBO) in mcp251xfd_handle_cerrif()
1064 else if (trec & MCP251XFD_REG_TREC_TXBP) in mcp251xfd_handle_cerrif()
1066 else if (trec & MCP251XFD_REG_TREC_TXWARN) in mcp251xfd_handle_cerrif()
[all …]
/linux-6.12.1/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()