Searched refs:cookie (Results 1 - 25 of 1355) sorted by relevance

1234567891011>>

/netbsd-current/sys/external/bsd/libnv/dist/
H A Dcnv.h55 * 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 Dcnvlist.c72 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 Dintr.h75 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 Dbad_test_program.cpp40 const char* cookie = std::getenv("CREATE_COOKIE"); local
41 if (cookie != NULL && std::strlen(cookie) > 0) {
42 std::ofstream file(cookie);
H A Dinterrupts.cpp41 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 DMakefile.inc23 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 Ddm9k.h34 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 Dvoyagervar.h51 #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)
/netbsd-current/lib/libc/stdio/
H A Dstdio.c60 __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 Dfmemopen.c50 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 Disadma_bounce.c65 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 Dldapsync.c41 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 Dflush.c50 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 Dthrd.c51 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 Disadma_bounce.c168 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 Disa_dma.c208 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 Disadma_bounce.c150 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 Dzopen.c19 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 Dasync.h40 * 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 Dsmp.h60 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/dist/gprof/
H A Dgmon_out.h29 #define GMON_MAGIC "gmon" /* magic cookie */
35 char cookie[4];
34 char cookie[4]; member in struct:gmon_hdr
/netbsd-current/external/gpl3/gdb.old/dist/gprof/
H A Dgmon_out.h29 #define GMON_MAGIC "gmon" /* magic cookie */
35 char cookie[4];
34 char cookie[4]; member in struct:gmon_hdr
/netbsd-current/external/gpl3/binutils.old/dist/gprof/
H A Dgmon_out.h29 #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 Disadma_machdep.c164 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 Dh_inotify_directory.c50 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...]

Completed in 398 milliseconds

1234567891011>>