Searched refs:add_cnt (Results 1 – 1 of 1) sorted by relevance
7558 int register_btf_id_dtor_kfuncs(const struct btf_id_dtor_kfunc *dtors, u32 add_cnt, in register_btf_id_dtor_kfuncs() argument7581 if (add_cnt >= BTF_DTOR_KFUNC_MAX_CNT) { in register_btf_id_dtor_kfuncs()7588 ret = btf_check_dtor_kfuncs(btf, dtors, add_cnt); in register_btf_id_dtor_kfuncs()7600 if (tab_cnt > U32_MAX - add_cnt) { in register_btf_id_dtor_kfuncs()7604 if (tab_cnt + add_cnt >= BTF_DTOR_KFUNC_MAX_CNT) { in register_btf_id_dtor_kfuncs()7611 offsetof(struct btf_id_dtor_kfunc_tab, dtors[tab_cnt + add_cnt]), in register_btf_id_dtor_kfuncs()7622 memcpy(tab->dtors + tab->cnt, dtors, add_cnt * sizeof(tab->dtors[0])); in register_btf_id_dtor_kfuncs()7623 tab->cnt += add_cnt; in register_btf_id_dtor_kfuncs()