Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A Dfdt.c35 int len, i, old_cnt, new_cnt; in ft_hs_fixup_crossbar() local
61 old_cnt = len / sizeof(u32); in ft_hs_fixup_crossbar()
63 old_cnt = 0; in ft_hs_fixup_crossbar()
69 temp = malloc(sizeof(u32) * (old_cnt + new_cnt)); in ft_hs_fixup_crossbar()
72 for (i = 0; i < old_cnt; i++) in ft_hs_fixup_crossbar()
79 (old_cnt + new_cnt) * sizeof(u32)); in ft_hs_fixup_crossbar()
/openbmc/linux/drivers/rtc/
H A Dsysfs.c318 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local
327 old_cnt++; in rtc_add_groups()
332 new_cnt = old_cnt + add_cnt + 1; in rtc_add_groups()
336 memcpy(groups, rtc->dev.groups, old_cnt * sizeof(*groups)); in rtc_add_groups()
337 memcpy(groups + old_cnt, grps, add_cnt * sizeof(*groups)); in rtc_add_groups()
338 groups[old_cnt + add_cnt] = NULL; in rtc_add_groups()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh628 local old_cnt="${2}"
634 [ "$cnt" = "${old_cnt}" ] || break
648 local old_cnt="${2}"
654 [ "$cnt" = "${old_cnt}" ] || break
662 local cnt old_cnt
664 old_cnt=$(mptcp_lib_get_counter ${ns} "MPTcpExtMPJoinAckRx")
669 [ "$cnt" = "${old_cnt}" ] || break
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c1191 u16 *cnt, old_cnt; in __rvu_npc_exact_cmd_rules_cnt_update() local
1198 old_cnt = *cnt; in __rvu_npc_exact_cmd_rules_cnt_update()
1219 if (!old_cnt && val > 0) { in __rvu_npc_exact_cmd_rules_cnt_update()