Lines Matching refs:fentry
1635 hdntry_t fentry;
1653 fentry.type = HD_hashntry;
1654 fentry.count = ntry->count;
1659 fentry.sz_key = i;
1660 fentry.sz_lib = j;
1661 if (i + sizeof (fentry) > bufsz) {
1662 buf = my_realloc(buf, i + j + sizeof (fentry),
1664 bufsz = i + j + sizeof (fentry);
1666 (void) memcpy(buf, &fentry, sizeof (fentry));
1667 (void) strlcpy((char *)(buf + sizeof (fentry)), t, j);
1668 (void) strlcpy((char *)(buf + sizeof (fentry) + j),
1670 if (write(sfd, buf, sizeof (fentry) + i + j) == -1)
1678 bufsz = sizeof (fentry) + (sizeof (struct counts) + maxsyscalls() *
1681 fentry.type = HD_cts_syscts;
1682 fentry.count = 0; /* undefined, really */
1683 fentry.sz_key = bufsz - sizeof (fentry);
1684 fentry.sz_lib = 0; /* also undefined */
1685 (void) memcpy(buf, &fentry, sizeof (fentry));
1686 (void) memcpy((char *)(buf + sizeof (fentry)), Cp,
1687 bufsz - sizeof (fentry));