Searched refs:old_cnt (Results 1 – 3 of 3) sorted by relevance
317 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local326 old_cnt++; in rtc_add_groups()331 new_cnt = old_cnt + add_cnt + 1; in rtc_add_groups()335 memcpy(groups, rtc->dev.groups, old_cnt * sizeof(*groups)); in rtc_add_groups()336 memcpy(groups + old_cnt, grps, add_cnt * sizeof(*groups)); in rtc_add_groups()337 groups[old_cnt + add_cnt] = NULL; in rtc_add_groups()
443 local old_cnt="${2}"449 [ "$cnt" = "${old_cnt}" ] || break457 local cnt old_cnt459 old_cnt=$(ip netns exec ${ns} nstat -as | grep MPJoinAckRx | awk '{print $2}')464 [ "$cnt" = "${old_cnt}" ] || break
1153 u16 *cnt, old_cnt; in __rvu_npc_exact_cmd_rules_cnt_update() local1160 old_cnt = *cnt; in __rvu_npc_exact_cmd_rules_cnt_update()1179 if (!old_cnt && val > 0) { in __rvu_npc_exact_cmd_rules_cnt_update()