Lines Matching refs:entries
84 * can set this by using ioctl(fd, KIOSETBUFSIZE, entries);. When
129 size_t entries; /* (o) */
141 static int kcov_alloc(struct kcov_info *info, size_t entries);
160 "Maximum number of entries in the kcov buffer");
217 if (index + 2 > info->entries)
251 if (index * 4 + 4 + 1 > info->entries)
279 * Move to KCOV_STATE_DYING to stop adding new entries.
353 if (info->kvaddr == 0 || size / KCOV_ELEMENT_SIZE != info->entries)
363 kcov_alloc(struct kcov_info *info, size_t entries)
372 if (entries < 2 || entries > kcov_max_entries)
376 info->bufsize = roundup2(entries * KCOV_ELEMENT_SIZE, PAGE_SIZE);
395 info->entries = entries;