Lines Matching refs:attrs
275 uint64_t preset, uint_t flags, uint_t nattrs, const cpc_attr_t *attrs)
313 if (attrs[i].ca_name[0] == '\0' ||
314 cpc_valid_attr(cpc, attrs[i].ca_name) == 0) {
323 if (strncmp("picnum", attrs[i].ca_name, 8) == 0) {
324 if (attrs[i].ca_val >= npics) {
329 if (cpc_valid_event(cpc, attrs[i].ca_val,
344 req->cr_attr[i].ka_val = attrs[i].ca_val;
346 attrs[i].ca_name, CPC_MAX_ATTR_LEN);
843 uint_t flags, int nattrs, const cpc_attr_t *attrs))
846 cpc_attr_t *attrs = NULL;
854 if ((attrs = malloc(rp->cr_nattrs *
858 attrs[i].ca_name = rp->cr_attr[i].ka_name;
859 attrs[i].ca_val = rp->cr_attr[i].ka_val;
863 rp->cr_flags, rp->cr_nattrs, attrs);
866 free(attrs);