Home
last modified time | relevance | path

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

/xnu-11215/osfmk/kern/
H A Dledger.c213 uint16_t lt_table_size; member
220 ledger_template_entries_lut_size(uint16_t lt_table_size) in ledger_template_entries_lut_size() argument
226 …if (os_mul_overflow(lt_table_size, (sizeof(struct ledger_entry) / sizeof(struct ledger_entry_small… in ledger_template_entries_lut_size()
233 return lt_table_size; in ledger_template_entries_lut_size()
324 template->lt_table_size = 1; in ledger_template_create()
328 template->lt_table_size, Z_WAITOK | Z_ZERO); in ledger_template_create()
359 new_entries = kalloc_type(struct entry_template, template->lt_table_size, in ledger_template_copy()
387 new_template->lt_table_size = template->lt_table_size; in ledger_template_copy()
452 if (template->lt_cnt == template->lt_table_size) { in ledger_entry_add_with_flags()
458 old_cnt = template->lt_table_size; in ledger_entry_add_with_flags()
[all …]