Home
last modified time | relevance | path

Searched refs:filt (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/cmd/lp/lib/filters/
H A Dloadfilters.c60 char *filt[FL_MAX], in loadfilters() local
87 getfields(fd, filt, buf, sizeof(buf), FL_MAX, FL_SEP) != -1; in loadfilters()
110 #define DFLT(X) (filt[X] && *filt[X]? filt[X] : NAME_ANY) in loadfilters()
112 pf->name = Strdup(filt[FL_NAME]); in loadfilters()
113 pf->type = s_to_filtertype(filt[FL_TYPE]); in loadfilters()
114 pf->command = Strdup(filt[FL_CMD]); in loadfilters()
138 list = getlist(filt[FL_TMPS], "", LP_SEP); in loadfilters()
/titanic_44/usr/src/lib/print/libipp-listener/common/
H A Dcups-get-classes.c44 papi_filter_t filt; in cups_get_classes() local
68 filt.type = PAPI_FILTER_BITMASK; in cups_get_classes()
69 filt.filter.bitmask.mask = ~PAPI_PRINTER_CLASS; in cups_get_classes()
70 filt.filter.bitmask.value = PAPI_PRINTER_CLASS; in cups_get_classes()
72 status = papiPrintersList(svc, req_attrs, &filt, &p); in cups_get_classes()
H A Dcups-get-printers.c44 papi_filter_t filt; in cups_get_printers() local
68 filt.type = PAPI_FILTER_BITMASK; in cups_get_printers()
69 filt.filter.bitmask.mask = ~PAPI_PRINTER_CLASS; in cups_get_printers()
70 filt.filter.bitmask.value = PAPI_PRINTER_LOCAL | PAPI_PRINTER_REMOTE; in cups_get_printers()
73 status = papiPrintersList(svc, req_attrs, &filt, &p); in cups_get_printers()
/titanic_44/usr/src/uts/common/io/i40e/
H A Di40e_gld.c44 struct i40e_aqc_remove_macvlan_element_data filt; in i40e_group_remove_mac() local
73 bzero(&filt, sizeof (filt)); in i40e_group_remove_mac()
74 bcopy(mac_addr, filt.mac_addr, ETHERADDRL); in i40e_group_remove_mac()
75 filt.flags = I40E_AQC_MACVLAN_DEL_PERFECT_MATCH | in i40e_group_remove_mac()
78 if (i40e_aq_remove_macvlan(hw, iua->iua_vsi, &filt, 1, NULL) != in i40e_group_remove_mac()
83 mac_addr[4], mac_addr[5], filt.error_code); in i40e_group_remove_mac()
116 struct i40e_aqc_add_macvlan_element_data filt; in i40e_group_add_mac() local
141 bzero(&filt, sizeof (filt)); in i40e_group_add_mac()
142 bcopy(mac_addr, filt.mac_addr, ETHERADDRL); in i40e_group_add_mac()
143 filt.flags = I40E_AQC_MACVLAN_ADD_PERFECT_MATCH | in i40e_group_add_mac()
[all …]
H A Di40e_main.c2156 struct i40e_aqc_remove_macvlan_element_data filt; in i40e_config_def_vsi() local
2211 bzero(&filt, sizeof (filt)); in i40e_config_def_vsi()
2212 bcopy(hw->mac.port_addr, filt.mac_addr, ETHERADDRL); in i40e_config_def_vsi()
2213 filt.flags = I40E_AQC_MACVLAN_DEL_PERFECT_MATCH; in i40e_config_def_vsi()
2214 filt.vlan_tag = 0; in i40e_config_def_vsi()
2220 err = i40e_aq_remove_macvlan(hw, I40E_DEF_VSI_SEID(i40e), &filt, 1, in i40e_config_def_vsi()
/titanic_44/usr/src/cmd/lockstat/
H A Dlockstat.c563 filter_add(char **filt, char *what, uintptr_t base, uintptr_t size) in filter_add() argument
568 if (*filt == NULL) { in filter_add()
569 *filt = malloc(1); in filter_add()
570 *filt[0] = '\0'; in filter_add()
573 (void) sprintf(c, "%s(%s >= 0x%p && %s < 0x%p)", *filt[0] != '\0' ? in filter_add()
576 newlen = (len = strlen(*filt) + 1) + strlen(c); in filter_add()
578 bcopy(*filt, new, len); in filter_add()
580 free(*filt); in filter_add()
581 *filt = new; in filter_add()
585 filter_destroy(char **filt) in filter_destroy() argument
[all …]
/titanic_44/usr/src/lib/libpkg/common/
H A Dpkgserv.c651 pkgopenfilter(PKGserver server, const char *filt) in pkgopenfilter() argument
655 int clen = filt == NULL ? 0 : strlen(filt); in pkgopenfilter()
667 if (filt != NULL) in pkgopenfilter()
668 (void) strcpy(pfcmd->buf, filt); in pkgopenfilter()
/titanic_44/usr/src/lib/brand/shared/zone/
H A Dcommon.ksh711 filt=$(for i in $(cat $fspaxfile)
722 list=$(cd "$source_dir" && ls -d * | egrep -v "$filt")
/titanic_44/usr/src/lib/libdladm/common/
H A Dlinkprop.c4903 boolean_t filt; in get_promisc_filtered() local
4906 perm_flags, &filt, sizeof (filt)); in get_promisc_filtered()
4910 if (filt != 0) in get_promisc_filtered()