Displaying 1 result from an estimated 1 matches for "kcov_remote_reset".
2019 Oct 21
0
[PATCH RFC 1/3] kcov: remote coverage support
...handle;
> +}
> +
> +static void kcov_reset(struct kcov *kcov)
> +{
> + kcov->t = NULL;
> + kcov->mode = KCOV_MODE_INIT;
> + kcov->remote = false;
> + kcov->remote_size = 0;
> + kcov->sequence++;
> +}
> +
> +static void kcov_remote_reset(struct kcov *kcov)
> +{
> + int bkt;
> + struct kcov_remote *remote;
> + struct hlist_node *tmp;
> +
> + spin_lock(&kcov_remote_lock);
> + hash_for_each_safe(kcov_remote_map, bkt, tmp, remote, hnode) {
> + if (remote->kcov !...