Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dfilters.c637 filter->proto = 0; in ipgpc_parse_filter()
669 filter->sport = 0; in ipgpc_parse_filter()
952 ipgpc_fid_list[filter_id].filter = *filter; in insertfid()
963 fid->filter.sport, fid->filter.sport_mask) == NORMAL_VALUE) { in common_addfilter()
968 fid->filter.dport, fid->filter.dport_mask) == NORMAL_VALUE) { in common_addfilter()
1039 fid->filter.saddr, fid->filter.saddr_mask) == NORMAL_VALUE) { in v6_addfilter()
1045 fid->filter.daddr, fid->filter.daddr_mask) == NORMAL_VALUE) { in v6_addfilter()
1381 fid->filter.sport, fid->filter.sport_mask); in common_removefilter()
1384 fid->filter.dport, fid->filter.dport_mask); in common_removefilter()
1441 fid->filter.saddr, fid->filter.saddr_mask); in v6_removefilter()
[all …]
H A Dclassifierddi.c216 ipgpc_filter_t *filter; in ipgpc_modify_action() local
242 filter = kmem_zalloc(sizeof (ipgpc_filter_t), KM_SLEEP); in ipgpc_modify_action()
243 if ((rc = ipgpc_parse_filter(filter, nvlp)) != 0) { in ipgpc_modify_action()
245 ipgpc_filter_destructor(filter); in ipgpc_modify_action()
246 kmem_free(filter, sizeof (ipgpc_filter_t)); in ipgpc_modify_action()
253 ipgpc_filter_destructor(filter); in ipgpc_modify_action()
254 kmem_free(filter, sizeof (ipgpc_filter_t)); in ipgpc_modify_action()
257 rc = ipgpc_addfilter(filter, name, flags); in ipgpc_modify_action()
259 ipgpc_filter_destructor(filter); in ipgpc_modify_action()
261 kmem_free(filter, sizeof (ipgpc_filter_t)); in ipgpc_modify_action()
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c295 char *filter = NULL; in set_filter_publickey() local
316 (void) snprintf(filter, filterlen, in set_filter_publickey()
331 (void) snprintf(filter, filterlen, in set_filter_publickey()
345 (void) snprintf(filter, filterlen, in set_filter_publickey()
371 return (filter); in set_filter_publickey()
379 char *filter = NULL; in set_filter() local
513 (void) strlcpy(filter, in set_filter()
538 (void) strlcpy(filter, in set_filter()
570 (void) strlcpy(filter, in set_filter()
597 (void) strlcpy(filter, in set_filter()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcfilter.c63 sfset(fi->filter,SF_READ,0);
64 close(sffileno(fi->filter));
65 sfset(fi->filter,SF_READ,1);
72 sfset(fi->filter, SF_READ, 0);
73 r = sfpoll(&fi->filter, 1, 1);
74 sfset(fi->filter, SF_READ, 1);
86 sfset(fi->filter, SF_WRITE, 0);
158 reg Sfio_t* filter; local
168 { sfclose(filter);
176 fi->filter = filter;
[all …]
/illumos-gate/usr/src/test/util-tests/tests/pcieadm/
H A Dpcieadm-priv.ksh43 typeset filter="$1"
45 if ! $pcieadm_prog show-devs $filter >/dev/null; then
46 warn "failed to show-devs with filter $filter"
48 printf "TEST PASSED: show-devs $filter\n"
51 if $pcieadm_prog show-devs $filter 9000/9000/9000; then
52 warn "show-devs $filter 9000/9000/9000, should have failed"
54 printf "TEST PASSED: show-devs $filter 9000/9000/9000\n"
58 warn "failed to show-cfgspace with filter $filter"
60 printf "TEST PASSED: show-cfgspace -d $filter\n"
64 warn "failed to use save-cfgspace -d $filter"
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipgpc.types30 filter name string
31 filter user user
32 filter projid int32
33 filter if_name ifname
35 filter protocol protocol
36 filter dsfield uint8
38 filter saddr address
39 filter daddr address
40 filter sport port
41 filter dport port
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpfilter.c143 char *filter, local
161 filter = 0;
168 if (filter)
170 filter = optarg;
180 } else if (!*filter)
181 filter = NAME_ALL;
239 if (!filter) {
260 char *filter; in add_filter()
584 char *filter; in reload_filter()
692 char *filter; in delete_filter()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.c197 char *str, *filter, *tmp; in makeFilter() local
211 if (filter == 0) { in makeFilter()
224 sfree(filter); in makeFilter()
228 filter = scat(myself, T, filter, tmp); in makeFilter()
237 sfree(filter); in makeFilter()
242 tmp = filter; in makeFilter()
248 return (filter); in makeFilter()
261 if ((len = slen(filter)) <= 0) in makeFilterComp()
279 if (filter != 0 && (len = strlen(filter)) != 0 && len > 2 && in makeFilterComp()
280 filter[0] == '(' && filter[1] == '&' && in makeFilterComp()
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dnldaputils.c110 char *filter; member
392 if (q->filter == NULL) { in idmap_nldap_bywinname_batch_add()
403 (void) snprintf(q->filter, flen, filter, in idmap_nldap_bywinname_batch_add()
408 (void) snprintf(q->filter, flen, filter, in idmap_nldap_bywinname_batch_add()
465 filter = _F_GETPWUID; in idmap_nldap_bypid_batch_add()
471 filter = _F_GETGRGID; in idmap_nldap_bypid_batch_add()
483 (void) snprintf(q->filter, len, filter, pid); in idmap_nldap_bypid_batch_add()
532 filter = _F_GETPWNAM; in idmap_nldap_byunixname_batch_add()
538 filter = _F_GETGRNAM; in idmap_nldap_byunixname_batch_add()
558 (void) snprintf(q->filter, len, filter, s_unixname); in idmap_nldap_byunixname_batch_add()
[all …]
H A Dadutils.c705 char *filter, *s_name; in idmap_name2sid_batch_add1() local
754 if (filter == NULL) { in idmap_name2sid_batch_add1()
764 free(filter); in idmap_name2sid_batch_add1()
778 char *filter; in idmap_sid2name_batch_add1() local
798 if (filter == NULL) in idmap_sid2name_batch_add1()
805 free(filter); in idmap_sid2name_batch_add1()
836 if (filter == NULL) { in idmap_unixname2sid_batch_add1()
854 free(filter); in idmap_unixname2sid_batch_add1()
867 char *filter; in idmap_pid2sid_batch_add1() local
878 if (filter == NULL) in idmap_pid2sid_batch_add1()
[all …]
/illumos-gate/usr/src/cmd/pcidb/
H A Dpcidb.c466 filter->pft_vend = filter->pft_dev = PCIDB_NOFILTER; in pcidb_parse_class_filter()
467 filter->pft_subven = filter->pft_subdev = PCIDB_NOFILTER; in pcidb_parse_class_filter()
506 filter->pft_vend = filter->pft_dev = PCIDB_NOFILTER; in pcidb_parse_device_filter()
507 filter->pft_subven = filter->pft_subdev = PCIDB_NOFILTER; in pcidb_parse_device_filter()
508 filter->pft_class = filter->pft_subclass = PCIDB_NOFILTER; in pcidb_parse_device_filter()
524 filter->pft_vend = primary; in pcidb_parse_device_filter()
547 filter->pft_vend = primary; in pcidb_parse_device_filter()
548 filter->pft_dev = secondary; in pcidb_parse_device_filter()
557 filter->pft_vend = primary; in pcidb_parse_device_filter()
571 filter->pft_vend = primary; in pcidb_parse_device_filter()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A DREADME10 filter meta-information and content.
12 This README file describes the steps needed to compile and run a filter,
42 process limits in your filter. For example, you might look at using
70 R Reject connection if filter unavailable
71 T Temporary fail connection if filter unavailable
72 4 Shut down connection if filter unavailable
83 C Timeout for connecting to a filter (if 0, use system timeout)
84 S Timeout for sending information from the MTA to a filter
85 R Timeout for reading reply from the filter
86 E Overall timeout between sending end-of-message to filter
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c40 char *filter; member
175 if (filter != NULL && strstr(filter, rsrc) != filter) { in fp_rcm_suspend()
185 if (filter == NULL) { in fp_rcm_suspend()
195 (void) fp_rcm_resume(rsrc, filter, errstring, in fp_rcm_suspend()
210 if ((filter_fixed = chop_minor(filter)) == NULL) in fp_rcm_suspend()
227 walkargs.filter = filter_fixed; in fp_rcm_suspend()
246 (void) fp_rcm_resume(rsrc, filter, errstring, in fp_rcm_suspend()
274 if (filter != NULL && strstr(filter, rsrc) != filter) { in fp_rcm_resume()
283 if (filter == NULL) { in fp_rcm_resume()
320 walkargs.filter = filter_fixed; in fp_rcm_resume()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c91 const char *filter, in ldap_search() argument
119 const char *filter, in ldap_search_ext() argument
155 const char *filter, in nsldapi_search() argument
179 if ( filter == NULL ) { in nsldapi_search()
180 filter = "(objectclass=*)"; in nsldapi_search()
273 const char *filter, in nsldapi_build_search_req() argument
350 fdup = nsldapi_strdup( filter ); in nsldapi_build_search_req()
922 const char *filter, in ldap_search_st() argument
939 const char *filter, in ldap_search_s() argument
954 const char *filter, in ldap_search_ext_s() argument
[all …]
/illumos-gate/usr/src/cmd/connstat/
H A Dconnstat_main.c168 connstat_conn_attr_t filter = {0}; in main() local
200 filter.ca_state = TCPS_ESTABLISHED; in main()
295 process_filter(filterstr, &filter, &flags); in main()
355 addrp = &filter->ca_laddr; in process_filter()
359 addrp = &filter->ca_raddr; in process_filter()
363 portp = &filter->ca_lport; in process_filter()
367 portp = &filter->ca_rport; in process_filter()
416 filter->ca_state = tcp_str2state(val); in process_filter()
417 if (filter->ca_state < TCPS_CLOSED) { in process_filter()
428 if (filter->ca_laddr.ss_family != filter->ca_raddr.ss_family) { in process_filter()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsvc-sockfilter28 filter_name=`svcprop -p socket-filter/name $SMF_FMRI 2>/dev/null`
36 mod_name=`svcprop -p socket-filter/module_name $SMF_FMRI 2>/dev/null`
37 type=`svcprop -p socket-filter/attach_semantics $SMF_FMRI 2>/dev/null`
38 order=`svcprop -p socket-filter/order_hint $SMF_FMRI 2>/dev/null`
39 socktups=`svcprop -p socket-filter/socket_tuples $SMF_FMRI 2>/dev/null`
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymprof.pl392 $filter_map{$filtee} = $filter;
395 $filter = basename($filter);
397 $filter_map{$filtee} = $filter;
466 if ($filter =~ /\blibdl\.so\.\d+/) {
467 $filter_map{$filtee} = $filter;
470 $filter = basename($filter);
472 $filter_map{$filtee} = $filter;
1246 my ($filter, $filtee);
1261 $filter = wclean($t2);
1266 $filter = wclean($t2, 1);
[all …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c110 search_entry = create_vfstab_filter(filter, errp); in fs_get_filtered_mount_defaults()
605 if (filter->resource != NULL) { in create_vfstab_filter()
618 if (filter->fsckdevice != NULL) { in create_vfstab_filter()
630 if (filter->mountp != NULL) { in create_vfstab_filter()
631 search_entry->vfs_mountp = strdup(filter->mountp); in create_vfstab_filter()
642 if (filter->fstype != NULL) { in create_vfstab_filter()
643 search_entry->vfs_fstype = strdup(filter->fstype); in create_vfstab_filter()
654 if (filter->fsckpass != NULL) { in create_vfstab_filter()
666 if (filter->mountatboot != NULL) { in create_vfstab_filter()
678 if (filter->mntopts != NULL) { in create_vfstab_filter()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_getalias.c81 if (desc == NULL || desc->filter == NULL || userdata == NULL) in __s_api_merge_SSD_filter()
98 len = strlen(userdata) + strlen(desc->filter) + 1; in __s_api_merge_SSD_filter()
104 (void) sprintf(*realfilter, (char *)userdata, desc->filter); in __s_api_merge_SSD_filter()
112 char filter[BUFSIZE]; in __getldapaliasbyname() local
138 if (snprintf(filter, sizeof (filter), ALIAS_FILTER, alias, alias) < 0) { in __getldapaliasbyname()
156 rc = __ns_ldap_list(service, (const char *)filter, in __getldapaliasbyname()
H A Dns_wrapper.c316 char *base, int scope, char *filter, in _ns_ldap_search_ext() argument
323 return (ldap_search_ext(ld, base, scope, filter, in _ns_ldap_search_ext()
330 char *base, int scope, char *filter, in _ns_ldap_search_ext_s() argument
337 return (ldap_search_ext_s(ld, base, scope, filter, in _ns_ldap_search_ext_s()
344 char *base, int scope, char *filter, in _ns_ldap_search() argument
349 return (ldap_search(ld, base, scope, filter, attrs, attrsonly)); in _ns_ldap_search()
354 char *base, int scope, char *filter, in _ns_ldap_search_s() argument
359 return (ldap_search_s(ld, base, scope, filter, in _ns_ldap_search_s()
365 char *base, int scope, char *filter, in _ns_ldap_search_st() argument
371 return (ldap_search_st(ld, base, scope, filter, in _ns_ldap_search_st()
/illumos-gate/usr/src/common/mapfiles/common/
H A Dmap.filter23 # A default mapfile for optimizing the creation of a filter shared object.
28 # ld(1) so that no .init/.fini sections are created. Although the filter can
35 # If a filter is required to execute .init code that references global data
36 # then the filter will require relocation (i.e., it will have to be written to
39 # This compaction of a filter into a single segment allows ld.so.1 to optimize
40 # its processing of a filter. If the filter is small enough this segment may
52 LOAD_SEGMENT filter {
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_grc3.c103 filter = (1024 << 15) - filter; \ in DEFINE_FILTER()
105 while (filter < ((uint32_t)(SZ << 15))) { \ in DEFINE_FILTER()
106 accum += _filt31_##T(*history, filter); \ in DEFINE_FILTER()
107 filter += incv; \ in DEFINE_FILTER()
122 _conv31_L(int32_t *history, uint32_t filter)
127 accum += _filt31_##p(*history, filter); \
128 filter += (1024 << 15); \
137 _conv31_M(int32_t *history, uint32_t filter) in _conv31_M() argument
147 _conv31_H(int32_t *history, uint32_t filter) in _conv31_H() argument
159 _conv31_HX(int32_t *history, uint32_t filter) in _conv31_HX() argument
[all …]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetprinter.c71 _nss_files_XY_printer(be, args, filter, check) in _nss_files_XY_printer() argument
74 const char *filter; /* advisory, to speed up */
82 if (filter != NULL && *filter == '\0')
124 if (filter != 0 && strstr(instr, filter) == 0) {
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcRegisterForTargetEvents.cc65 bool filter = true; in Sun_fcRegisterForTargetEvents() local
69 if (allTargets) filter = false; in Sun_fcRegisterForTargetEvents()
75 wwnConversion(discoveredPortWWN.wwn), filter); in Sun_fcRegisterForTargetEvents()
79 wwnConversion(discoveredPortWWN.wwn), filter); in Sun_fcRegisterForTargetEvents()
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dprinter.c61 papi_filter_t *filter, papi_printer_t **printers) in papiPrintersList() argument
78 if ((filter == NULL) || in papiPrintersList()
79 ((filter->filter.bitmask.mask & PAPI_PRINTER_LOCAL) == in papiPrintersList()
80 (filter->filter.bitmask.value & PAPI_PRINTER_LOCAL))) { in papiPrintersList()
109 if ((filter == NULL) || in papiPrintersList()
110 ((filter->filter.bitmask.mask & PAPI_PRINTER_CLASS) == in papiPrintersList()
111 (filter->filter.bitmask.value & PAPI_PRINTER_CLASS))) { in papiPrintersList()

12345678910>>...15