Searched refs:msrp (Results 1 – 1 of 1) sorted by relevance
5107 struct msr_counter *msrp; in add_counter() local5109 msrp = calloc(1, sizeof(struct msr_counter)); in add_counter()5110 if (msrp == NULL) { in add_counter()5115 msrp->msr_num = msr_num; in add_counter()5116 strncpy(msrp->name, name, NAME_BYTES); in add_counter()5118 strncpy(msrp->path, path, PATH_BYTES); in add_counter()5119 msrp->width = width; in add_counter()5120 msrp->type = type; in add_counter()5121 msrp->format = format; in add_counter()5122 msrp->flags = flags; in add_counter()[all …]