Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/rtc/
Dsysfs.c314 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local
325 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()
/Linux-v5.4/drivers/s390/net/
Dqeth_core_sys.c276 int cnt, old_cnt; in qeth_dev_bufcnt_store() local
288 old_cnt = card->qdio.in_buf_pool.buf_count; in qeth_dev_bufcnt_store()
292 if (old_cnt != cnt) { in qeth_dev_bufcnt_store()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder_phys_vid.c294 int new_cnt = -1, old_cnt = -1; in dpu_encoder_phys_vid_vblank_irq() local
309 old_cnt = atomic_read(&phys_enc->pending_kickoff_cnt); in dpu_encoder_phys_vid_vblank_irq()