Home
last modified time | relevance | path

Searched refs:scache (Results 1 – 25 of 82) sorted by relevance

1234

/netbsd/src/external/ibm-public/postfix/dist/src/scache/
DMakefile.in2 SRCS = scache.c
3 OBJS = scache.o
9 PROG = scache
51 scache.o: ../../include/attr.h
52 scache.o: ../../include/check_arg.h
53 scache.o: ../../include/events.h
54 scache.o: ../../include/htable.h
55 scache.o: ../../include/iostuff.h
56 scache.o: ../../include/mail_conf.h
57 scache.o: ../../include/mail_params.h
[all …]
Dscache.c205 static SCACHE *scache; variable
263 scache_save_endp(scache, in scache_save_endp_service()
269 scache_size(scache, &size); in scache_save_endp_service()
295 } else if ((fd = scache_find_endp(scache, STR(scache_endp_label), in scache_find_endp_service()
351 scache_save_dest(scache, in scache_save_dest_service()
358 scache_size(scache, &size); in scache_save_dest_service()
385 } else if ((fd = scache_find_dest(scache, STR(scache_dest_label), in scache_find_dest_service()
522 scache = scache_multi_create(); in post_jail_init()
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Dscache.h118 #define scache_save_endp(scache, ttl, endp_label, endp_prop, fd) \ argument
119 (scache)->save_endp((scache), (ttl), (endp_label), (endp_prop), (fd))
120 #define scache_find_endp(scache, endp_label, endp_prop) \ argument
121 (scache)->find_endp((scache), (endp_label), (endp_prop))
122 #define scache_save_dest(scache, ttl, dest_label, dest_prop, endp_label) \ argument
123 (scache)->save_dest((scache), (ttl), (dest_label), (dest_prop), (endp_label))
124 #define scache_find_dest(scache, dest_label, dest_prop, endp_prop) \ argument
125 (scache)->find_dest((scache), (dest_label), (dest_prop), (endp_prop))
126 #define scache_size(scache, stats) (scache)->size((scache), (stats)) argument
127 #define scache_free(scache) (scache)->free(scache) argument
Dscache_single.c80 SCACHE scache[1]; /* super-class */ member
123 static void scache_single_save_endp(SCACHE *scache, int endp_ttl, in scache_single_save_endp() argument
127 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; in scache_single_save_endp()
147 static int scache_single_find_endp(SCACHE *scache, const char *endp_label, in scache_single_find_endp() argument
150 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; in scache_single_find_endp()
203 static void scache_single_save_dest(SCACHE *scache, int dest_ttl, in scache_single_save_dest() argument
208 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; in scache_single_save_dest()
238 static int scache_single_find_dest(SCACHE *scache, const char *dest_label, in scache_single_find_dest() argument
241 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; in scache_single_find_dest()
253 if ((fd = scache_single_find_endp(scache, STR(sp->dest.endp_label), endp_prop)) >= 0) { in scache_single_find_dest()
[all …]
Dscache_multi.c78 SCACHE scache[1]; /* super-class */ member
203 static void scache_multi_save_endp(SCACHE *scache, int ttl, in scache_multi_save_endp() argument
208 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; in scache_multi_save_endp()
250 static int scache_multi_find_endp(SCACHE *scache, const char *endp_label, in scache_multi_find_endp() argument
254 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; in scache_multi_find_endp()
356 static void scache_multi_save_dest(SCACHE *scache, int ttl, in scache_multi_save_dest() argument
362 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; in scache_multi_save_dest()
416 static int scache_multi_find_dest(SCACHE *scache, const char *dest_label, in scache_multi_find_dest() argument
421 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; in scache_multi_find_dest()
443 fd = scache_multi_find_endp(scache, dest->endp_label, endp_prop); in scache_multi_find_dest()
[all …]
Dscache_clnt.c79 SCACHE scache[1]; /* super-class */ member
101 static void scache_clnt_save_endp(SCACHE *scache, int endp_ttl, in scache_clnt_save_endp() argument
105 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; in scache_clnt_save_endp()
175 static int scache_clnt_find_endp(SCACHE *scache, const char *endp_label, in scache_clnt_find_endp() argument
178 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; in scache_clnt_find_endp()
252 static void scache_clnt_save_dest(SCACHE *scache, int dest_ttl, in scache_clnt_save_dest() argument
257 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; in scache_clnt_save_dest()
317 static int scache_clnt_find_dest(SCACHE *scache, const char *dest_label, in scache_clnt_find_dest() argument
321 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; in scache_clnt_find_dest()
406 static void scache_clnt_free(SCACHE *scache) in scache_clnt_free() argument
[all …]
Dscache.c177 static SCACHE *scache; variable
210 if (scache != 0) in cache_type()
211 scache_free(scache); in cache_type()
214 scache = cp->create(); in cache_type()
255 scache_save_endp(scache, ttl, argv->argv[2], argv->argv[3], fd); in save_endp()
268 if ((fd = scache_find_endp(scache, argv->argv[1], endp_prop)) >= 0) in find_endp()
282 scache_save_dest(scache, ttl, argv->argv[2], argv->argv[3], argv->argv[4]); in save_dest()
295 if ((fd = scache_find_dest(scache, argv->argv[1], dest_prop, endp_prop)) >= 0) in find_dest()
389 if ((ap->flags & FLAG_NEED_CACHE) != 0 && scache == 0) in main()
402 scache_free(scache); in main()
/netbsd/src/external/gpl3/gdb/dist/sim/common/
Dcgen-scache.h35 #define CPU_SCACHE_SIZE(cpu) ((cpu) -> cgen_cpu.scache.size)
38 #define CPU_SCACHE_CACHE(cpu) ((cpu) -> cgen_cpu.scache.cache)
43 #define CPU_SCACHE_NUM_HASH_CHAINS(cpu) ((cpu) -> cgen_cpu.scache.num_hash_chains)
49 #define CPU_SCACHE_NUM_HASH_CHAIN_ENTRIES(cpu) ((cpu) -> cgen_cpu.scache.num_hash_chain_entries)
56 #define CPU_SCACHE_MAX_CHAIN_LENGTH(cpu) ((cpu) -> cgen_cpu.scache.max_chain_length)
59 #define CPU_SCACHE_PBB_BEGIN(cpu) ((cpu) -> cgen_cpu.scache.pbb_begin)
62 #define CPU_SCACHE_HASH_TABLE(cpu) ((cpu) -> cgen_cpu.scache.hash_table)
65 #define CPU_SCACHE_NEXT_FREE(cpu) ((cpu) -> cgen_cpu.scache.next_free)
70 #define CPU_PBB_BR_TYPE(cpu) ((cpu) -> cgen_cpu.scache.pbb_br_type)
73 #define CPU_PBB_BR_NPC(cpu) ((cpu) -> cgen_cpu.scache.pbb_br_npc)
[all …]
Dgenmloop.sh156 -scache) scache=yes ;;
179 if [ x$scache = xyes -a x$pbb = xyes ] ; then
411 if [ x$scache != xyes -a x$pbb != xyes ] ; then
529 if [ x$scache = xyes -a x$parallel = xno ] ; then
535 @prefix@_scache_lookup (SIM_CPU *current_cpu, PCADDR vpc, SCACHE *scache,
539 SCACHE *sc = scache + SCACHE_HASH_PC (vpc, hash_mask);
574 SCACHE *scache = CPU_SCACHE_CACHE (current_cpu);
601 sc = @prefix@_scache_lookup (current_cpu, vpc, scache, hash_mask, FAST_P);
603 /* begin full-exec-scache */
606 load_infile_section full-exec-scache
[all …]
/netbsd/src/sys/net/
Dtoeplitz.h39 stoeplitz_cache_entry(const struct stoeplitz_cache *scache, uint8_t byte) in stoeplitz_cache_entry() argument
41 return (scache->bytes[byte]); in stoeplitz_cache_entry()
62 stoeplitz_hash_n16(const struct stoeplitz_cache *scache, uint16_t n16) in stoeplitz_hash_n16() argument
66 hi = stoeplitz_cache_entry(scache, n16 >> 8); in stoeplitz_hash_n16()
67 lo = stoeplitz_cache_entry(scache, n16); in stoeplitz_hash_n16()
74 stoeplitz_hash_n32(const struct stoeplitz_cache *scache, uint32_t n32) in stoeplitz_hash_n32() argument
76 return (stoeplitz_hash_n16(scache, n32 ^ (n32 >> 16))); in stoeplitz_hash_n32()
81 stoeplitz_hash_h16(const struct stoeplitz_cache *scache, uint16_t h16) in stoeplitz_hash_h16() argument
85 lo = stoeplitz_cache_entry(scache, h16); in stoeplitz_hash_h16()
86 hi = stoeplitz_cache_entry(scache, h16 >> 8); in stoeplitz_hash_h16()
Dtoeplitz.c148 stoeplitz_cache_init(struct stoeplitz_cache *scache, stoeplitz_key skey) in stoeplitz_cache_init() argument
168 scache->bytes[val] = res; in stoeplitz_cache_init()
173 stoeplitz_hash_ip4(const struct stoeplitz_cache *scache, in stoeplitz_hash_ip4() argument
176 return (stoeplitz_hash_n32(scache, faddr ^ laddr)); in stoeplitz_hash_ip4()
180 stoeplitz_hash_ip4port(const struct stoeplitz_cache *scache, in stoeplitz_hash_ip4port() argument
183 return (stoeplitz_hash_n32(scache, faddr ^ laddr ^ fport ^ lport)); in stoeplitz_hash_ip4port()
188 stoeplitz_hash_ip6(const struct stoeplitz_cache *scache, in stoeplitz_hash_ip6() argument
197 return (stoeplitz_hash_n32(scache, n32)); in stoeplitz_hash_ip6()
201 stoeplitz_hash_ip6port(const struct stoeplitz_cache *scache, in stoeplitz_hash_ip6port() argument
213 return (stoeplitz_hash_n32(scache, n32)); in stoeplitz_hash_ip6port()
/netbsd/src/crypto/external/bsd/heimdal/dist/po/heimdal_krb5/
Dheimdal_krb5.pot320 #: lib/krb5/scache.c:348
321 #: lib/krb5/scache.c:489
322 #: lib/krb5/scache.c:540
323 #: lib/krb5/scache.c:655
324 #: lib/krb5/scache.c:685
325 #: lib/krb5/scache.c:879
326 #: lib/krb5/scache.c:901
327 #: lib/krb5/scache.c:909
328 #: lib/krb5/scache.c:1151
329 #: lib/krb5/scache.c:1165
[all …]
Dsv_SE.po317 #: lib/krb5/scache.c:347
318 #: lib/krb5/scache.c:488
319 #: lib/krb5/scache.c:538
320 #: lib/krb5/scache.c:653
321 #: lib/krb5/scache.c:683
322 #: lib/krb5/scache.c:877
323 #: lib/krb5/scache.c:899
324 #: lib/krb5/scache.c:907
325 #: lib/krb5/scache.c:1149
326 #: lib/krb5/scache.c:1163
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Dscache.c57 sqlite3_stmt *scache; member
177 if (s->scache) in scc_free()
178 sqlite3_finalize(s->scache); in scc_free()
435 ret = prepare_stmt(context, s->db, &s->scache, SQL_SCACHE); in make_database()
827 sqlite3_bind_int(s->scache, 1, s->cid); in scc_get_principal()
829 if (sqlite3_step(s->scache) != SQLITE_ROW) { in scc_get_principal()
830 sqlite3_reset(s->scache); in scc_get_principal()
837 if (sqlite3_column_type(s->scache, 0) != SQLITE_TEXT) { in scc_get_principal()
838 sqlite3_reset(s->scache); in scc_get_principal()
846 str = (const char *)sqlite3_column_text(s->scache, 0); in scc_get_principal()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/smtp/
DMakefile.in115 smtp.o: ../../include/scache.h
160 smtp_addr.o: ../../include/scache.h
209 smtp_chat.o: ../../include/scache.h
261 smtp_connect.o: ../../include/scache.h
306 smtp_key.o: ../../include/scache.h
346 smtp_map11.o: ../../include/scache.h
386 smtp_misc.o: ../../include/scache.h
443 smtp_proto.o: ../../include/scache.h
493 smtp_rcpt.o: ../../include/scache.h
532 smtp_reuse.o: ../../include/scache.h
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/m32r/
Dmloop.in27 # extract-{simple,scache,pbb}
28 # {full,fast}-exec-{simple,scache,pbb}
30 # A target need only provide a "full" version of one of simple,scache,pbb.
33 # one of scache/pbb.
158 xextract-simple | xextract-scache)
Dcpuall.h74 struct scache { struct
/netbsd/src/external/gpl3/gdb/dist/sim/iq2000/
Dmloop.in27 # extract-{simple,scache,pbb}
28 # {full,fast}-exec-{simple,scache,pbb}
30 # A target need only provide a "full" version of one of simple,scache,pbb.
137 xextract-simple | xextract-scache)
Dcpuall.h66 struct scache { struct
/netbsd/src/external/gpl3/gdb/dist/sim/lm32/
Dmloop.in26 # extract-{simple,scache,pbb}
27 # {full,fast}-exec-{simple,scache,pbb}
131 xextract-simple | xextract-scache)
Dcpuall.h60 struct scache { struct
/netbsd/src/external/gpl3/gdb/dist/sim/cris/
Dmloop.in29 # extract-{simple,scache,pbb}
30 # {full,fast}-exec-{simple,scache,pbb}
32 # A target need only provide a "full" version of one of simple,scache,pbb.
159 xextract-simple | xextract-scache)
Dcpuall.h85 struct scache { struct
/netbsd/src/external/gpl3/gdb/dist/sim/frv/
Dmloop.in27 # extract-{simple,scache,pbb}
28 # {full,fast}-exec-{simple,scache,pbb}
30 # A target need only provide a "full" version of one of simple,scache,pbb.
426 xextract-simple | xextract-scache)
452 # scache lookup.
483 sc = @cpu@_scache_lookup (current_cpu, vpc, scache, hash_mask, FAST_P);
Dlocal.mk32 %D%/cgen-scache.o \
93 -mono -scache -parallel-generic-write -parallel-only \

1234