/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | scache.h | 1 /* $NetBSD: scache.h,v 1.3 2020/03/18 19:05:16 christos Exp $ */ 8 /* scache 3h 12 /* #include <scache.h> 118 #define scache_save_endp(scache, ttl, endp_label, endp_prop, fd) \ 119 (scache)->save_endp((scache), (ttl), (endp_label), (endp_prop), (fd)) 120 #define scache_find_endp(scache, endp_label, endp_prop) \ 121 (scache)->find_endp((scache), (endp_label), (endp_prop)) 122 #define scache_save_dest(scache, tt [all...] |
H A D | scache_single.c | 9 /* #include <scache.h> 21 /* scache(3), generic session cache API 50 #include <scache.h> 80 SCACHE scache[1]; /* super-class */ member in struct:__anon15641 123 static void scache_single_save_endp(SCACHE *scache, int endp_ttl, argument 127 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; 147 static int scache_single_find_endp(SCACHE *scache, const char *endp_label, argument 150 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; 203 static void scache_single_save_dest(SCACHE *scache, int dest_ttl, argument 208 SCACHE_SINGLE *sp = (SCACHE_SINGLE *) scache; 238 scache_single_find_dest(SCACHE *scache, const char *dest_label, VSTRING *dest_prop, VSTRING *endp_prop) argument 265 scache_single_size(SCACHE *scache, SCACHE_SIZE *size) argument 276 scache_single_free(SCACHE *scache) argument [all...] |
H A D | scache.c | 1 /* $NetBSD: scache.c,v 1.2 2017/02/14 01:16:45 christos Exp $ */ 5 /* scache 3 9 /* #include <scache.h> 19 /* unsigned scache_size(scache, size) 20 /* SCACHE *scache; 23 /* void scache_free(scache) 24 /* SCACHE *scache; 26 /* void scache_save_endp(scache, endp_ttl, endp_label, endp_prop, fd) 27 /* SCACHE *scache; 33 /* int scache_find_endp(scache, endp_labe 177 static SCACHE *scache; variable [all...] |
H A D | scache_multi.c | 9 /* #include <scache.h> 21 /* scache(3), generic session cache API 53 #include <scache.h> 78 SCACHE scache[1]; /* super-class */ member in struct:__anon15635 203 static void scache_multi_save_endp(SCACHE *scache, int ttl, argument 208 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; 250 static int scache_multi_find_endp(SCACHE *scache, const char *endp_label, argument 254 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; 356 static void scache_multi_save_dest(SCACHE *scache, int ttl, argument 362 SCACHE_MULTI *sp = (SCACHE_MULTI *) scache; 416 scache_multi_find_dest(SCACHE *scache, const char *dest_label, VSTRING *dest_prop, VSTRING *endp_prop) argument 456 scache_multi_size(SCACHE *scache, SCACHE_SIZE *size) argument 467 scache_multi_free(SCACHE *scache) argument [all...] |
H A D | scache_clnt.c | 9 /* #include <scache.h> 36 /* scache(3), generic session cache API 71 #include <scache.h> 79 SCACHE scache[1]; /* super-class */ member in struct:__anon29 101 static void scache_clnt_save_endp(SCACHE *scache, int endp_ttl, argument 105 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; 175 static int scache_clnt_find_endp(SCACHE *scache, const char *endp_label, argument 178 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; 252 static void scache_clnt_save_dest(SCACHE *scache, int dest_ttl, argument 257 SCACHE_CLNT *sp = (SCACHE_CLNT *) scache; 317 scache_clnt_find_dest(SCACHE *scache, const char *dest_label, VSTRING *dest_prop, VSTRING *endp_prop) argument 406 scache_clnt_free(SCACHE *scache) argument [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/scache/ |
H A D | Makefile.in | 2 SRCS = scache.c 3 OBJS = scache.o 9 PROG = scache 62 scache.o: ../../include/attr.h 63 scache.o: ../../include/check_arg.h 64 scache.o: ../../include/events.h 65 scache.o: ../../include/htable.h 66 scache.o: ../../include/iostuff.h 67 scache.o: ../../include/mail_conf.h 68 scache [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/common/ |
H A D | cgen-scache.h | 1 /* Simulator header for cgen scache support. 39 #define CPU_SCACHE_SIZE(cpu) ((cpu) -> cgen_cpu.scache.size) 42 #define CPU_SCACHE_CACHE(cpu) ((cpu) -> cgen_cpu.scache.cache) 47 #define CPU_SCACHE_NUM_HASH_CHAINS(cpu) ((cpu) -> cgen_cpu.scache.num_hash_chains) 53 #define CPU_SCACHE_NUM_HASH_CHAIN_ENTRIES(cpu) ((cpu) -> cgen_cpu.scache.num_hash_chain_entries) 60 #define CPU_SCACHE_MAX_CHAIN_LENGTH(cpu) ((cpu) -> cgen_cpu.scache.max_chain_length) 61 /* Special scache entry for (re)starting bb extraction. */ 63 #define CPU_SCACHE_PBB_BEGIN(cpu) ((cpu) -> cgen_cpu.scache.pbb_begin) 66 #define CPU_SCACHE_HASH_TABLE(cpu) ((cpu) -> cgen_cpu.scache.hash_table) 69 #define CPU_SCACHE_NEXT_FREE(cpu) ((cpu) -> cgen_cpu.scache [all...] |
/netbsd-current/external/gpl3/gdb/dist/sim/common/ |
H A D | cgen-scache.h | 1 /* Simulator header for cgen scache support. 35 #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) 57 /* Special scache entry for (re)starting bb extraction. */ 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 [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/bpf/ |
H A D | cpuall.h | 60 struct scache { struct
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/iq2000/ |
H A D | cpuall.h | 65 struct scache { struct
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/lm32/ |
H A D | cpuall.h | 59 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/bpf/ |
H A D | cpuall.h | 60 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/iq2000/ |
H A D | cpuall.h | 65 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/lm32/ |
H A D | cpuall.h | 59 struct scache { struct
|
/netbsd-current/sys/net/ |
H A D | toeplitz.h | 39 stoeplitz_cache_entry(const struct stoeplitz_cache *scache, uint8_t byte) argument 41 return (scache->bytes[byte]); 62 stoeplitz_hash_n16(const struct stoeplitz_cache *scache, uint16_t n16) argument 66 hi = stoeplitz_cache_entry(scache, n16 >> 8); 67 lo = stoeplitz_cache_entry(scache, n16); 74 stoeplitz_hash_n32(const struct stoeplitz_cache *scache, uint32_t n32) argument 76 return (stoeplitz_hash_n16(scache, n32 ^ (n32 >> 16))); 81 stoeplitz_hash_h16(const struct stoeplitz_cache *scache, uint16_t h16) argument 85 lo = stoeplitz_cache_entry(scache, h16); 86 hi = stoeplitz_cache_entry(scache, h1 [all...] |
H A D | toeplitz.c | 145 * Therefore the results H * val for all values of a byte are cached in scache. 148 stoeplitz_cache_init(struct stoeplitz_cache *scache, stoeplitz_key skey) argument 168 scache->bytes[val] = res; 173 stoeplitz_hash_ip4(const struct stoeplitz_cache *scache, argument 176 return (stoeplitz_hash_n32(scache, faddr ^ laddr)); 180 stoeplitz_hash_ip4port(const struct stoeplitz_cache *scache, argument 183 return (stoeplitz_hash_n32(scache, faddr ^ laddr ^ fport ^ lport)); 188 stoeplitz_hash_ip6(const struct stoeplitz_cache *scache, argument 197 return (stoeplitz_hash_n32(scache, n32)); 201 stoeplitz_hash_ip6port(const struct stoeplitz_cache *scache, argument [all...] |
/netbsd-current/external/ibm-public/postfix/libexec/scache/ |
H A D | Makefile | 7 PROG= scache
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/m32r/ |
H A D | cpuall.h | 73 struct scache { struct
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/cris/ |
H A D | cpuall.h | 84 struct scache { struct
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/frv/ |
H A D | cpuall.h | 65 struct scache { struct
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/or1k/ |
H A D | cpuall.h | 61 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/cris/ |
H A D | cpuall.h | 84 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/m32r/ |
H A D | cpuall.h | 73 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/or1k/ |
H A D | cpuall.h | 61 struct scache { struct
|
/netbsd-current/external/gpl3/gdb/dist/sim/frv/ |
H A D | cpuall.h | 65 struct scache { struct
|