Searched refs:msrp (Results 1 – 1 of 1) sorted by relevance
6258 struct msr_counter *msrp; in add_counter() local6260 msrp = calloc(1, sizeof(struct msr_counter)); in add_counter()6261 if (msrp == NULL) { in add_counter()6266 msrp->msr_num = msr_num; in add_counter()6267 strncpy(msrp->name, name, NAME_BYTES - 1); in add_counter()6269 strncpy(msrp->path, path, PATH_BYTES - 1); in add_counter()6270 msrp->width = width; in add_counter()6271 msrp->type = type; in add_counter()6272 msrp->format = format; in add_counter()6273 msrp->flags = flags; in add_counter()[all …]