Searched refs:old_cnt (Results 1 – 3 of 3) sorted by relevance
310 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local326 old_cnt++; in rtc_add_groups()328 new_cnt = old_cnt + add_cnt + 1; in rtc_add_groups()332 memcpy(groups, rtc->dev.groups, old_cnt * sizeof(*groups)); in rtc_add_groups()333 memcpy(groups + old_cnt, grps, add_cnt * sizeof(*groups)); in rtc_add_groups()334 groups[old_cnt + add_cnt] = NULL; in rtc_add_groups()
305 u32 old_cnt = jt ? jt->cnt : 0; in jt_from_subprog() local306 jt = bpf_iarray_realloc(jt, old_cnt + jt_cur->cnt); in jt_from_subprog()311 memcpy(jt->items + old_cnt, jt_cur->items, jt_cur->cnt << 2); in jt_from_subprog()
639 local old_cnt="${2}"644 [ "$cnt" = "${old_cnt}" ] || break658 local old_cnt="${2}"663 [ "$cnt" = "${old_cnt}" ] || break