/netbsd-6-1-5-RELEASE/sys/arch/sparc/include/ |
H A D | intr.h | 69 sparc_softintr_disestablish(void *cookie); 72 * NB that sparc_softintr_schedule() casts the cookie to an int *. 79 #define sparc_softintr_schedule(cookie) raise(0, *((int *) (cookie))) 81 #define sparc_softintr_schedule(cookie) do { \ 83 raise(0, *((int *)(cookie))); \ 85 ienab_bis(*((int *)(cookie))); \ 89 #define sparc_softintr_schedule(cookie) ienab_bis(*((int *) (cookie))) 93 void sparc_softintr_schedule(void *cookie); [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | temps1.C | 12 struct cookie struct 15 cookie ( foo * x) { v=x; } function in struct:cookie 18 cookie cat(&foo("apabepa"));// { dg-warning "deprecated conversion" "dep" }
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | temps1.C | 12 struct cookie struct 15 cookie ( foo * x) { v=x; } function in struct:cookie 18 cookie cat(&foo("apabepa"));// { dg-error "" } .*
|
/netbsd-6-1-5-RELEASE/lib/libc/stdio/ |
H A D | stdio.c | 60 __sread(cookie, buf, n) 61 void *cookie; 65 FILE *fp = cookie; 81 __swrite(cookie, buf, n) 82 void *cookie; 86 FILE *fp = cookie; 88 _DIAGASSERT(cookie != NULL); 98 __sseek(cookie, offset, whence) 99 void *cookie; 103 FILE *fp = cookie; [all...] |
H A D | fmemopen.c | 50 fmemopen_read(void *cookie, char *buf, int nbytes) argument 55 _DIAGASSERT(cookie != NULL); 58 p = (struct fmemopen_cookie *)cookie; 70 fmemopen_write(void *cookie, const char *buf, int nbytes) argument 75 _DIAGASSERT(cookie != NULL); 78 p = (struct fmemopen_cookie *)cookie; 101 fmemopen_seek(void *cookie, off_t offset, int whence) argument 105 _DIAGASSERT(cookie != NULL); 107 p = (struct fmemopen_cookie *)cookie; 130 fmemopen_close0(void *cookie) argument 140 fmemopen_close1(void *cookie) argument 159 struct fmemopen_cookie *cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/boot2440/ |
H A D | dm9k.h | 34 int dm9k_send(void *cookie, char *data, unsigned int len); 35 int dm9k_recv(void *cookie, char *data, unsigned int len, unsigned int to);
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | voyagervar.h | 51 #define voyager_write_gpio(cookie, m_and, m_or) \ 52 voyager_twiddle_bits(cookie, SM502_GPIO_DATA0, m_and, m_or) 54 #define voyager_control_gpio(cookie, m_and, m_or) \ 55 voyager_twiddle_bits(cookie, SM502_GPIO0_CONTROL, m_and, m_or) 57 #define voyager_gpio_dir(cookie, m_and, m_or) \ 58 voyager_twiddle_bits(cookie, SM502_GPIO_DIR0, m_and, m_or) 59 #define voyager_control_power_0(cookie, m_and, m_or) \ 60 voyager_twiddle_bits(cookie, SM502_POWER_MODE0_GATE, m_and, m_or)
|
H A D | radeonfb_i2c.c | 74 radeonfb_i2cbb_set_bits(void *cookie, uint32_t bits) argument 76 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 84 radeonfb_i2cbb_set_dir(void *cookie, uint32_t bits) argument 86 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 93 radeonfb_i2cbb_read(void *cookie) argument 95 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 118 radeonfb_i2c_acquire_bus(void *cookie, int flags) argument 120 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 151 radeonfb_i2c_release_bus(void *cookie, int flags) argument 153 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 164 radeonfb_i2c_send_start(void *cookie, int flags) argument 171 radeonfb_i2c_send_stop(void *cookie, int flags) argument 178 radeonfb_i2c_initiate_xfer(void *cookie, i2c_addr_t addr, int flags) argument 186 radeonfb_i2c_read_byte(void *cookie, uint8_t *valp, int flags) argument 193 radeonfb_i2c_write_byte(void *cookie, uint8_t val, int flags) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/isa/ |
H A D | isadma_bounce.c | 65 struct mips_bus_dma_cookie *cookie; local 80 cookiesize = sizeof(*cookie); 110 * Allocate our cookie. 118 cookie = (struct mips_bus_dma_cookie *)cookiestore; 119 cookie->id_flags = cookieflags; 120 map->_dm_cookie = cookie; 148 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 153 if (cookie->id_flags & _BUS_DMA_HAS_BOUNCE) 156 free(cookie, M_DMAMAP); 167 struct mips_bus_dma_cookie *cookie local 229 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 322 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 348 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 521 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 549 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/alpha/isa/ |
H A D | isadma_bounce.c | 100 struct isadma_bounce_cookie *cookie; local 115 cookiesize = sizeof(*cookie); 145 * Allocate our cookie. 153 cookie = (struct isadma_bounce_cookie *)cookiestore; 154 cookie->id_flags = cookieflags; 155 map->_dm_cookie = cookie; 183 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 188 if (cookie->id_flags & ID_HAS_BOUNCE) 191 free(cookie, M_DMAMAP); 202 struct isadma_bounce_cookie *cookie local 265 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 359 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 385 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 540 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 568 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/lib/libpuffs/ |
H A D | flush.c | 50 puffs_inval_namecache_node(struct puffs_usermount *pu, puffs_cookie_t cookie, 59 doflush(struct puffs_usermount *pu, puffs_cookie_t cookie, int op, argument 81 pf->pf_cookie = cookie; 94 puffs_inval_namecache_dir(struct puffs_usermount *pu, puffs_cookie_t cookie) argument 97 return doflush(pu, cookie, PUFFS_INVAL_NAMECACHE_DIR, 0, 0); 108 puffs_inval_pagecache_node(struct puffs_usermount *pu, puffs_cookie_t cookie) argument 111 return doflush(pu, cookie, PUFFS_INVAL_PAGECACHE_NODE_RANGE, 0, 0); 116 puffs_cookie_t cookie, off_t start, off_t end) 119 return doflush(pu, cookie, PUFFS_INVAL_PAGECACHE_NODE_RANGE, start,end); 123 puffs_flush_pagecache_node(struct puffs_usermount *pu, puffs_cookie_t cookie) argument 115 puffs_inval_pagecache_node_range(struct puffs_usermount *pu, puffs_cookie_t cookie, off_t start, off_t end) argument 130 puffs_flush_pagecache_node_range(struct puffs_usermount *pu, puffs_cookie_t cookie, off_t start, off_t end) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/ |
H A D | ldapsync.c | 38 struct berval *cookie, 61 ber_str2bv_x( cookiestr, len, 1, cookie, 75 cookie->bv_val = slap_sl_malloc( len, op ? op->o_tmpmemctx : NULL ); 77 len = sprintf( cookie->bv_val, "rid=%03d,", rid ); 78 ptr = cookie->bv_val + len; 89 cookie->bv_len = ptr - cookie->bv_val; 95 struct sync_cookie *cookie, 99 if ( cookie == NULL ) 102 if ( cookie 36 slap_compose_sync_cookie( Operation *op, struct berval *cookie, BerVarray csn, int rid, int sid ) argument 94 slap_sync_cookie_free( struct sync_cookie *cookie, int free_cookie ) argument 172 slap_parse_sync_cookie( struct sync_cookie *cookie, void *memctx ) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/integrator/ |
H A D | int_bus_dma.c | 125 struct integrator_dma_cookie *cookie; local 171 * Allocate our cookie. 179 cookie = (struct integrator_dma_cookie *)cookiestore; 180 cookie->id_flags = cookieflags; 181 map->_dm_cookie = cookie; 211 struct integrator_dma_cookie *cookie = map->_dm_cookie; local 218 if (cookie->id_flags & ID_HAS_BOUNCE) { 223 free(cookie, M_DMAMAP); 234 struct integrator_dma_cookie *cookie = map->_dm_cookie; local 252 (error != 0 && (cookie 300 struct integrator_dma_cookie *cookie = map->_dm_cookie; local 391 struct integrator_dma_cookie *cookie = map->_dm_cookie; local 417 struct integrator_dma_cookie *cookie = map->_dm_cookie; local 580 struct integrator_dma_cookie *cookie = map->_dm_cookie; local 619 struct integrator_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gprof/ |
H A D | gmon_out.h | 29 #define GMON_MAGIC "gmon" /* magic cookie */ 35 char cookie[4]; 34 char cookie[4]; member in struct:gmon_hdr
|
/netbsd-6-1-5-RELEASE/sbin/savecore/ |
H A D | zopen.c | 19 xgzread(void *cookie, char *data, int size) argument 21 return gzread(cookie, data, size); 25 xgzwrite(void *cookie, const char *data, int size) argument 27 return gzwrite(cookie, __UNCONST(data), size);
|
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/isa/ |
H A D | isadma_machdep.c | 164 struct powerpc_isa_dma_cookie *cookie; local 185 cookiesize = sizeof(*cookie); 222 * Allocate our cookie. 230 cookie = (struct powerpc_isa_dma_cookie *)cookiestore; 231 cookie->id_flags = cookieflags; 232 map->_dm_cookie = cookie; 260 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 265 if (cookie->id_flags & ID_HAS_BOUNCE) 268 size_t cookiesize = sizeof(*cookie); 269 if (cookie 283 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 349 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 444 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 470 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 624 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 654 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arc/isa/ |
H A D | isadma_bounce.c | 138 struct isadma_bounce_cookie *cookie; local 153 cookiesize = sizeof(*cookie); 183 * Allocate our cookie. 191 cookie = (struct isadma_bounce_cookie *)cookiestore; 192 cookie->id_flags = cookieflags; 193 map->_dm_cookie = cookie; 221 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 226 if (cookie->id_flags & ID_HAS_BOUNCE) 229 free(cookie, M_DMAMAP); 240 struct isadma_bounce_cookie *cookie local 302 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 395 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 421 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 588 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 616 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/shark/isa/ |
H A D | isadma_machdep.c | 150 struct arm32_isa_dma_cookie *cookie; local 197 * Allocate our cookie. 205 cookie = (struct arm32_isa_dma_cookie *)cookiestore; 206 cookie->id_flags = cookieflags; 207 map->_dm_cookie = cookie; 235 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 240 if (cookie->id_flags & ID_HAS_BOUNCE) 243 free(cookie, M_DMAMAP); 254 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 271 (error != 0 && (cookie 320 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 413 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 438 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 582 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 612 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/atari/isa/ |
H A D | isa_dma.c | 159 struct atari_isa_dma_cookie *cookie; local 211 * Allocate our cookie. 219 cookie = (struct atari_isa_dma_cookie *)cookiestore; 220 cookie->id_flags = cookieflags; 221 map->_dm_cookie = cookie; 249 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 254 if (cookie->id_flags & ID_HAS_BOUNCE) 257 free(cookie, M_DMAMAP); 268 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 285 (error != 0 && (cookie 334 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 427 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 452 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 598 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 628 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/footbridge/isa/ |
H A D | isadma_machdep.c | 152 struct arm32_isa_dma_cookie *cookie; local 199 * Allocate our cookie. 207 cookie = (struct arm32_isa_dma_cookie *)cookiestore; 208 cookie->id_flags = cookieflags; 209 map->_dm_cookie = cookie; 237 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 242 if (cookie->id_flags & ID_HAS_BOUNCE) 245 free(cookie, M_DMAMAP); 261 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 278 (error != 0 && (cookie 330 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 423 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 448 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 592 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local 622 struct arm32_isa_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/ioc/ |
H A D | iociic.c | 82 iociic_bb_set_bits(void *cookie, uint32_t bits) argument 84 struct iociic_softc *sc = cookie; 91 iociic_bb_set_dir(void *cookie, uint32_t bits) argument 93 struct iociic_softc *sc = cookie; 99 iociic_bb_read_bits(void *cookie) argument 101 struct iociic_softc *sc = cookie; 165 iociic_acquire_bus(void *cookie, int flags) argument 167 struct iociic_softc *sc = cookie; 178 iociic_release_bus(void *cookie, int flags) argument 180 struct iociic_softc *sc = cookie; 190 iociic_send_start(void *cookie, int flags) argument 197 iociic_send_stop(void *cookie, int flags) argument 204 iociic_initiate_xfer(void *cookie, i2c_addr_t addr, int flags) argument 211 iociic_read_byte(void *cookie, uint8_t *bytep, int flags) argument 218 iociic_write_byte(void *cookie, uint8_t byte, int flags) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/lib/ |
H A D | iterate.c | 76 pkg_dir_iter(void *cookie) argument 78 struct pkg_dir_iter_arg *arg = cookie; 105 int (*matchiter)(const char *, void *), void *cookie) 115 retval = iterate_pkg_generic_src(matchiter, cookie, pkg_dir_iter, &arg); 123 pkg_db_iter(void *cookie) argument 125 DIR *dirp = cookie; 135 if (strcmp(dp->d_name, ".cookie") == 0) 152 iterate_pkg_db(int (*matchiter)(const char *, void *), void *cookie) argument 163 retval = iterate_pkg_generic_src(matchiter, cookie, pkg_db_iter, dirp); 171 match_by_basename(const char *pkg, void *cookie) argument 104 iterate_local_pkg_dir(const char *dir, int filter_suffix, int allow_nonfiles, int (*matchiter)(const char *, void *), void *cookie) argument 188 match_by_pattern(const char *pkg, void *cookie) argument 199 void *cookie; member in struct:add_matching_arg 203 match_and_add(const char *pkg, void *cookie) argument 266 match_best_installed(const char *pkg, void *cookie) argument 310 void *cookie; member in struct:call_matching_arg 314 match_and_call(const char *pkg, void *cookie) argument 331 match_installed_pkgs(const char *pattern, int (*cb)(const char *, void *), void *cookie) argument 351 match_best_file(const char *filename, void *cookie) argument 427 void *cookie; member in struct:call_matching_file_arg 432 match_file_and_call(const char *filename, void *cookie) argument 474 match_local_files(const char *dir, int filter_suffix, int allow_nonfiles, const char *pattern, int (*cb)(const char *, void *), void *cookie) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/fetch/dist/libfetch/ |
H A D | file.c | 56 fetchFile_read(void *cookie, void *buf, size_t len) argument 58 return read(*(int *)cookie, buf, len); 62 fetchFile_write(void *cookie, const void *buf, size_t len) argument 64 return write(*(int *)cookie, buf, len); 68 fetchFile_close(void *cookie) argument 70 int fd = *(int *)cookie; 72 free(cookie); 83 int if_modified_since, fd, *cookie; local 121 cookie = malloc(sizeof(int)); 122 if (cookie 148 int fd, *cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/iomd/ |
H A D | iomdiic.c | 85 iomdiic_bb_set_bits(void *cookie, uint32_t bits) argument 87 struct iomdiic_softc *sc = cookie; 94 iomdiic_bb_set_dir(void *cookie, uint32_t bits) argument 96 struct iomdiic_softc *sc = cookie; 102 iomdiic_bb_read_bits(void *cookie) argument 176 iomdiic_acquire_bus(void *cookie, int flags) argument 178 struct iomdiic_softc *sc = cookie; 189 iomdiic_release_bus(void *cookie, int flags) argument 191 struct iomdiic_softc *sc = cookie; 201 iomdiic_send_start(void *cookie, in argument 208 iomdiic_send_stop(void *cookie, int flags) argument 215 iomdiic_initiate_xfer(void *cookie, i2c_addr_t addr, int flags) argument 222 iomdiic_read_byte(void *cookie, uint8_t *bytep, int flags) argument 229 iomdiic_write_byte(void *cookie, uint8_t byte, int flags) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/acorn32/eb7500atx/ |
H A D | rsbus_io.c | 54 /* cookie */ 134 rsbus_bs_rr_1(void *cookie, bus_space_handle_t bsh, argument 140 datap[i] = rsbus_bs_r_1(cookie, bsh, offset + i); 144 rsbus_bs_rr_2(void *cookie, bus_space_handle_t bsh, argument 150 datap[i] = rsbus_bs_r_2(cookie, bsh, offset + i); 154 rsbus_bs_wr_1(void *cookie, bus_space_handle_t bsh, argument 161 rsbus_bs_w_1(cookie, bsh, offset + i, datap[i]); 165 rsbus_bs_wr_2(void *cookie, bus_space_handle_t bsh, argument 172 rsbus_bs_w_2(cookie, bsh, offset + i, datap[i]); 176 rsbus_bs_sr_1(void *cookie, bus_space_handle_ argument 186 rsbus_bs_sr_2(void *cookie, bus_space_handle_t bsh, bus_size_t offset, u_int16_t value, bus_size_t count) argument [all...] |