/netbsd-current/sys/external/bsd/libnv/dist/ |
H A D | cnv.h | 55 * Functions which returns information about the given cookie. 57 const char *cnvlist_name(const void *cookie); 58 int cnvlist_type(const void *cookie); 61 * The cnvlist_get functions returns value associated with the given cookie. 66 bool cnvlist_get_bool(const void *cookie); 67 uint64_t cnvlist_get_number(const void *cookie); 68 const char *cnvlist_get_string(const void *cookie); 69 const nvlist_t *cnvlist_get_nvlist(const void *cookie); 70 const void *cnvlist_get_binary(const void *cookie, size_t *sizep); 71 const bool *cnvlist_get_bool_array(const void *cookie, size_ [all...] |
H A D | cnvlist.c | 72 cnvlist_name(const void *cookie) argument 75 return (nvpair_name(cookie)); 79 cnvlist_type(const void *cookie) argument 82 return (nvpair_type(cookie)); 87 cnvlist_get_##type(const void *cookie) \ 90 if (nvpair_type(cookie) != NV_TYPE_##NVTYPE) { \ 92 nvpair_name(cookie)); \ 94 return (nvpair_get_##type(cookie)); \ 109 cnvlist_get_##type(const void *cookie, size_t *nitemsp) \ 112 if (nvpair_type(cookie) ! [all...] |
/netbsd-current/sys/arch/sparc/include/ |
H A D | intr.h | 75 sparc_softintr_disestablish(void *cookie); 78 * NB that sparc_softintr_schedule() casts the cookie to an int *. 87 #define sparc_softintr_schedule(cookie) raise(0, *((int *) (cookie))) 89 #define sparc_softintr_schedule(cookie) do { \ 91 raise(0, *((int *)(cookie))); \ 93 ienab_bis(*((int *)(cookie))); \ 97 #define sparc_softintr_schedule(cookie) ienab_bis(*((int *) (cookie))) 101 void sparc_softintr_schedule(void *cookie); [all...] |
/netbsd-current/external/bsd/kyua-cli/dist/integration/helpers/ |
H A D | bad_test_program.cpp | 40 const char* cookie = std::getenv("CREATE_COOKIE"); local 41 if (cookie != NULL && std::strlen(cookie) > 0) { 42 std::ofstream file(cookie);
|
H A D | interrupts.cpp | 41 set_md_var("require.config", "X-body-cookie X-cleanup-cookie"); 45 const std::string cookie(get_config_var("X-body-cookie")); 46 std::ofstream output(cookie.c_str()); 53 const std::string cookie(get_config_var("X-cleanup-cookie")); 54 std::ofstream output(cookie.c_str());
|
/netbsd-current/external/bsd/kyua-cli/ |
H A D | Makefile.inc | 23 cookie-tarname: cookie-tarname-2 24 @cmp -s cookie-tarname cookie-tarname-2 \ 25 || cp cookie-tarname-2 cookie-tarname 26 cookie-tarname-2: .PHONY 27 @echo "${KYUA_TARNAME}" >cookie-tarname-2 28 CLEANFILES+= cookie-tarname cookie [all...] |
/netbsd-current/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-current/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 | 73 radeonfb_i2cbb_set_bits(void *cookie, uint32_t bits) argument 75 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 83 radeonfb_i2cbb_set_dir(void *cookie, uint32_t bits) argument 85 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 92 radeonfb_i2cbb_read(void *cookie) argument 94 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 117 radeonfb_i2c_acquire_bus(void *cookie, int flags) argument 119 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 150 radeonfb_i2c_release_bus(void *cookie, int flags) argument 152 struct radeonfb_i2c *ric = (struct radeonfb_i2c *)cookie; 163 radeonfb_i2c_send_start(void *cookie, int flags) argument 170 radeonfb_i2c_send_stop(void *cookie, int flags) argument 177 radeonfb_i2c_initiate_xfer(void *cookie, i2c_addr_t addr, int flags) argument 185 radeonfb_i2c_read_byte(void *cookie, uint8_t *valp, int flags) argument 192 radeonfb_i2c_write_byte(void *cookie, uint8_t val, int flags) argument [all...] |
/netbsd-current/lib/libc/stdio/ |
H A D | stdio.c | 60 __sread(void *cookie, void *buf, size_t n) argument 62 FILE *fp = cookie; 65 _DIAGASSERT(cookie != NULL); 66 _DIAGASSERT(cookie == fp->_cookie); 80 __swrite(void *cookie, const void *buf, size_t n) argument 82 FILE *fp = cookie; 84 _DIAGASSERT(cookie != NULL); 85 _DIAGASSERT(cookie == fp->_cookie); 100 __sseek(void *cookie, off_t offset, int whence) argument 102 FILE *fp = cookie; 119 __sclose(void *cookie) argument [all...] |
H A D | fmemopen.c | 50 fmemopen_read(void *cookie, void *buf, size_t nbytes) argument 55 _DIAGASSERT(cookie != NULL); 58 p = (struct fmemopen_cookie *)cookie; 70 fmemopen_write(void *cookie, const void *buf, size_t nbytes) argument 76 _DIAGASSERT(cookie != NULL); 79 p = (struct fmemopen_cookie *)cookie; 103 fmemopen_flush(void *cookie) argument 107 _DIAGASSERT(cookie != NULL); 109 p = (struct fmemopen_cookie *)cookie; 118 fmemopen_seek(void *cookie, off_ argument 147 fmemopen_close0(void *cookie) argument 157 fmemopen_close1(void *cookie) argument 176 struct fmemopen_cookie *cookie; local [all...] |
/netbsd-current/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 228 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 320 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 346 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 519 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local 547 struct mips_bus_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-current/external/bsd/openldap/dist/servers/slapd/ |
H A D | ldapsync.c | 41 struct berval *cookie, 65 ber_str2bv_x( cookiestr, len, 1, cookie, 81 cookie->bv_val = slap_sl_malloc( len, op ? op->o_tmpmemctx : NULL ); 83 len = sprintf( cookie->bv_val, "rid=%03d,", rid ); 84 ptr = cookie->bv_val + len; 99 cookie->bv_len = ptr - cookie->bv_val; 105 struct sync_cookie *cookie, 109 if ( cookie == NULL ) 112 if ( cookie 39 slap_compose_sync_cookie( Operation *op, struct berval *cookie, BerVarray csn, int rid, int sid, struct berval *delcsn ) argument 104 slap_sync_cookie_free( struct sync_cookie *cookie, int free_cookie ) argument 271 slap_parse_sync_cookie( struct sync_cookie *cookie, void *memctx ) argument 436 slap_reparse_sync_cookie( struct sync_cookie *cookie, void *memctx ) argument [all...] |
/netbsd-current/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-current/lib/libpthread/ |
H A D | thrd.c | 51 struct __thrd_tramp_data *cookie; local 56 cookie = (struct __thrd_tramp_data *)arg; 58 ret = (cookie->func)(cookie->arg); 60 free(cookie); 68 struct __thrd_tramp_data *cookie; local 74 cookie = malloc(sizeof(*cookie)); 75 if (cookie == NULL) 78 cookie [all...] |
/netbsd-current/sys/arch/arc/isa/ |
H A D | isadma_bounce.c | 168 struct isadma_bounce_cookie *cookie; local 171 if ((cookie = kmem_zalloc(isadma_bounce_cookiesize(map, cookieflags), 176 cookie->id_flags = cookieflags; 177 map->_dm_cookie = cookie; 185 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 187 if (cookie != NULL) { 189 isadma_bounce_cookiesize(map, cookie->id_flags)); 221 struct isadma_bounce_cookie *cookie; local 235 * Allocate our cookie. 240 cookie 267 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 286 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 347 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 439 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 465 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 632 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 660 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-current/sys/arch/atari/isa/ |
H A D | isa_dma.c | 208 struct atari_isa_dma_cookie *cookie; local 211 if ((cookie = kmem_zalloc(isadma_bounce_cookiesize(map, cookieflags), 216 cookie->id_flags = cookieflags; 217 map->_dm_cookie = cookie; 225 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 227 if (cookie != NULL) { 229 isadma_bounce_cookiesize(map, cookie->id_flags)); 240 struct atari_isa_dma_cookie *cookie; local 254 * Allocate our cookie. 259 cookie 285 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 304 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 369 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 461 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 486 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 632 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local 662 struct atari_isa_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-current/sys/arch/alpha/isa/ |
H A D | isadma_bounce.c | 150 struct isadma_bounce_cookie *cookie; local 153 if ((cookie = kmem_zalloc(isadma_bounce_cookiesize(map, cookieflags), 158 cookie->id_flags = cookieflags; 159 map->_dm_cookie = cookie; 167 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 169 if (cookie != NULL) { 171 isadma_bounce_cookiesize(map, cookie->id_flags)); 183 struct isadma_bounce_cookie *cookie; local 197 * Allocate our cookie. 202 cookie 229 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 248 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 310 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 403 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 429 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 584 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local 612 struct isadma_bounce_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-current/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-current/sys/external/bsd/drm2/include/linux/ |
H A D | async.h | 40 * Schedule the kernel to run fn(arg, cookie) at some point to 42 * short. Returns a cookie that can be used to wait for the 65 * async_synchronize_cookie(cookie) 68 * returned cookie has completed. 71 async_synchronize_cookie(unsigned long cookie) argument
|
H A D | smp.h | 60 void *cookie = b; local 62 (**fp)(cookie); 66 on_each_cpu(void (*f)(void *), void *cookie, int wait) argument 70 ticket = xc_broadcast(0, &on_each_cpu_xc, &f, cookie);
|
/netbsd-current/external/gpl3/binutils.old/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-current/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-current/sys/arch/powerpc/isa/ |
H A D | isadma_machdep.c | 164 struct powerpc_isa_dma_cookie *cookie; local 187 cookiesize = sizeof(*cookie); 224 * Allocate our cookie. 232 cookie = (struct powerpc_isa_dma_cookie *)cookiestore; 233 cookie->id_flags = cookieflags; 234 map->_dm_cookie = cookie; 262 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 267 if (cookie->id_flags & ID_HAS_BOUNCE) 270 size_t cookiesize = sizeof(*cookie); 271 if (cookie 285 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 350 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 626 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local 656 struct powerpc_isa_dma_cookie *cookie = map->_dm_cookie; local [all...] |
/netbsd-current/tests/compat/linux/ |
H A D | h_inotify_directory.c | 50 bool cookie; member in struct:__anon15 53 { .mask = LINUX_IN_CREATE, .cookie = 0, .name = "test", }, 54 { .mask = LINUX_IN_MOVED_FROM, .cookie = 1, .name = "test", }, 55 { .mask = LINUX_IN_MOVED_TO, .cookie = 1, .name = "test2", }, 56 { .mask = LINUX_IN_DELETE, .cookie = 0, .name = "test2", }, 57 { .mask = LINUX_IN_MOVE_SELF, .cookie = 0, .name = "", }, 58 { .mask = LINUX_IN_DELETE_SELF, .cookie = 0, .name = "", }, 59 { .mask = LINUX_IN_IGNORED, .cookie = 0, .name = "", }, 93 if (target_events[i].cookie) 94 REQUIRE(cur_ie->cookie ! [all...] |