Home
last modified time | relevance | path

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

/drivers/rtc/
Dsysfs.c317 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local
329 add_cnt++; in rtc_add_groups()
331 new_cnt = old_cnt + add_cnt + 1; 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()