Searched refs:lifespan (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c770 if (time_is_after_eq_jiffies(stats->timestamp + stats->lifespan))
822 msecs = jiffies_to_msecs(dev->hw_stats->lifespan);
825 msecs = jiffies_to_msecs(p->hw_stats->lifespan);
849 dev->hw_stats->lifespan = jiffies;
852 p->hw_stats->lifespan = jiffies;
920 * Two extra attribue elements here, one for the lifespan entry and
947 hsag->attrs[i] = alloc_hsa_lifespan("lifespan", port_num);
/freebsd-12-stable/sys/ofed/include/rdma/
H A Dib_verbs.h432 * @lifespan - Used by the core code to determine how old the counters
447 unsigned long lifespan; member in struct:rdma_hw_stats
459 * @lifespan - How many milliseconds between updates
463 unsigned long lifespan)
473 stats->lifespan = msecs_to_jiffies(lifespan);
1860 * core when the device is removed. A lifespan of -1 in the return
1861 * struct tells the core to set a default lifespan.
1873 * and prevent further calls for lifespan milliseconds)
461 rdma_alloc_hw_stats_struct( const char * const *names, int num_counters, unsigned long lifespan) argument

Completed in 137 milliseconds