Lines Matching refs:probebuf
351 tnf_probevals_t probebuf;
353 probebuf.probenum = p->probe_id;
354 probebuf.enabled = (p->wrkprbctl.test_func != NULL);
355 probebuf.traced = (p->wrkprbctl.commit_func == PRBK_DUMMY_COMMIT);
356 if (ioctl(hndl->kfd, TIFIOCSPROBEVALS, &probebuf) < 0)
370 tnf_probevals_t probebuf;
414 probebuf.probenum = i;
415 if (ioctl(hndl->kfd, TIFIOCGPROBEVALS, &probebuf) < 0) {
433 p->wrkprbctl.test_func = (probebuf.enabled) ?
435 p->wrkprbctl.commit_func = (probebuf.traced) ?
438 if (probebuf.attrsize < sizeof (probebuf))
439 probebuf.attrsize = sizeof (probebuf);
440 p->attr_string = malloc(probebuf.attrsize);
448 *(tnf_probevals_t *) p->attr_string = probebuf;