Lines Matching +defs:val +defs:list
226 * Remove this set from the cpc handle's list of sets.
422 * Remove this buf from the cpc handle's list of bufs.
769 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val)
771 *val = buf->cb_data[index];
778 cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t val)
780 buf->cb_data[index] = val;
818 char *list;
828 if ((list = malloc(size)) == NULL)
831 if (syscall(SYS_cpc, which, -1, list, arg, 0) != 0) {
832 free(list);
836 return (list);
875 char **list;
882 if ((list = malloc(ncounters * sizeof (char *))) == NULL)
886 free(list);
891 if ((list[i] = strdup(cpc->cpc_evlist[i])) == NULL)
893 p = list[i];
926 free(list[i]);
927 free(list);
954 char *list;
962 if ((list = strdup(cpc->cpc_evlist[picno])) == NULL)
966 * List now points to a comma-separated list of events supported by
969 p = list;
991 free(list);
1017 char *list;
1019 if ((list = strdup(cpc->cpc_attrlist)) == NULL)
1025 if (*list == '\0')
1029 * List now points to a comma-separated list of attributes supported by
1032 p = list;
1040 free(list);
1166 * list of sets. The lock protects the list of sets, but not the set