Lines Matching refs:lifetime

161  * byte lifetime counters. Returns pointer to the user supplied buffer.
233 * the lifetime counters. Returns pointer to the user supplied buffer.
1869 * Print the SA lifetime information. (An SADB_EXT_LIFETIME_* extension.)
1881 char byte_str[BYTE_STR_SIZE]; /* byte lifetime string representation */
1887 "WARNING: CURRENT lifetime extension length (%u) is bad."),
1894 "WARNING: HARD lifetime extension length (%u) is bad."),
1901 "WARNING: SOFT lifetime extension length (%u) is bad."),
1908 "WARNING: IDLE lifetime extension length (%u) is bad."),
1916 "%sCurrent lifetime information:\n"),
1941 "%sSoft lifetime information:\n"),
1944 "%s%" PRIu64 " bytes %sof lifetime, %u allocations.\n"),
1951 "%s%" PRIu64 " seconds %sof post-add lifetime.\n"),
1956 "%s%" PRIu64 " seconds %sof post-use lifetime.\n"),
2022 "%sHard lifetime information:\n"), hard_prefix);
2024 "%s%" PRIu64 " bytes %sof lifetime, %u allocations.\n"),
2031 "%s%" PRIu64 " seconds %sof post-add lifetime.\n"),
2036 "%s%" PRIu64 " seconds %sof post-use lifetime.\n"),
2101 "%sIdle lifetime information:\n"), idle_prefix);
2103 "%s%" PRIu64 " seconds %sof post-add lifetime.\n"),
2108 "%s%" PRIu64 " seconds %sof post-use lifetime.\n"),
2797 * Print save information for a lifetime extension.
2799 * NOTE : It saves the lifetime in absolute terms. For example, if you
2804 save_lifetime(struct sadb_lifetime *lifetime, FILE *ofile)
2808 switch (lifetime->sadb_lifetime_exttype) {
2823 if (lifetime->sadb_lifetime_allocations != 0 && fprintf(ofile,
2824 "%s_alloc %u ", prefix, lifetime->sadb_lifetime_allocations) < 0)
2827 if (lifetime->sadb_lifetime_bytes != 0 && fprintf(ofile,
2828 "%s_bytes %" PRIu64 " ", prefix, lifetime->sadb_lifetime_bytes) < 0)
2831 if (lifetime->sadb_lifetime_addtime != 0 && fprintf(ofile,
2833 lifetime->sadb_lifetime_addtime) < 0)
2836 if (lifetime->sadb_lifetime_usetime != 0 && fprintf(ofile,
2838 lifetime->sadb_lifetime_usetime) < 0)