Lines Matching defs:selector
83 /* Return zero if a selector did match */
115 * Create the selector list and a dummy default selector to match
289 * Check if we founded a named selector on the cmdline.
454 * Inserts an instance in the per selector list.
481 * Allocates a new all-matching selector.
486 ks_selector_t *selector;
488 selector = (ks_selector_t *)malloc(sizeof (ks_selector_t));
489 if (selector == NULL) {
494 list_link_init(&selector->ks_next);
496 selector->ks_module.pstr = "*";
497 selector->ks_instance.pstr = "*";
498 selector->ks_name.pstr = "*";
499 selector->ks_statistic.pstr = "*";
501 return (selector);
589 ks_selector_t *selector;
623 selector = list_head(&selector_list);
624 while (selector != NULL) {
625 if (ks_match(kp->ks_module, &selector->ks_module) &&
626 ks_match(kp->ks_name, &selector->ks_name)) {
630 selector = list_next(&selector_list, selector);
817 ks_selector_t *selector;
833 /* Iterate over each selector */
834 selector = list_head(&selector_list);
835 while (selector != NULL) {
842 if (!(ks_match(ksi->ks_module, &selector->ks_module) &&
843 ks_match(ksi->ks_name, &selector->ks_name) &&
844 ks_match(ks_number, &selector->ks_instance) &&
858 &selector->ks_statistic))
877 selector = list_next(&selector_list, selector);