Searched refs:add_cnt (Results 1 – 3 of 3) sorted by relevance
2391 int add_cnt, del_cnt; in sctp_is_addr_pending() local2394 add_cnt = del_cnt = 0; in sctp_is_addr_pending()2445 add_cnt++; in sctp_is_addr_pending()2467 if (add_cnt > del_cnt || in sctp_is_addr_pending()2468 (add_cnt == del_cnt && last_param_type == SCTP_ADD_IP_ADDRESS)) { in sctp_is_addr_pending()
157 size_t cur_cnt, size_t max_cnt, size_t add_cnt) in libbpf_add_mem() argument162 if (cur_cnt + add_cnt <= *cap_cnt) in libbpf_add_mem()166 if (cur_cnt + add_cnt > max_cnt) in libbpf_add_mem()175 if (new_cnt < cur_cnt + add_cnt) /* also ensure we have enough memory */ in libbpf_add_mem()176 new_cnt = cur_cnt + add_cnt; in libbpf_add_mem()207 static void *btf_add_type_offs_mem(struct btf *btf, size_t add_cnt) in btf_add_type_offs_mem() argument210 btf->nr_types, BTF_MAX_NR_TYPES, add_cnt); in btf_add_type_offs_mem()
267 size_t cur_cnt, size_t max_cnt, size_t add_cnt);