Searched refs:old_cnt (Results 1 – 3 of 3) sorted by relevance
314 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local325 old_cnt++; in rtc_add_groups()330 new_cnt = old_cnt + add_cnt + 1; in rtc_add_groups()334 memcpy(groups, rtc->dev.groups, old_cnt * sizeof(*groups)); in rtc_add_groups()335 memcpy(groups + old_cnt, grps, add_cnt * sizeof(*groups)); in rtc_add_groups()336 groups[old_cnt + add_cnt] = NULL; in rtc_add_groups()
276 int cnt, old_cnt; in qeth_dev_bufcnt_store() local288 old_cnt = card->qdio.in_buf_pool.buf_count; in qeth_dev_bufcnt_store()292 if (old_cnt != cnt) { in qeth_dev_bufcnt_store()
294 int new_cnt = -1, old_cnt = -1; in dpu_encoder_phys_vid_vblank_irq() local309 old_cnt = atomic_read(&phys_enc->pending_kickoff_cnt); in dpu_encoder_phys_vid_vblank_irq()