/freebsd-current/sys/sys/ |
H A D | cnv.h | 52 * Functions which returns information about the given cookie. 54 const char *cnvlist_name(const void *cookie); 55 int cnvlist_type(const void *cookie); 58 * The cnvlist_get functions returns value associated with the given cookie. 63 bool cnvlist_get_bool(const void *cookie); 64 uint64_t cnvlist_get_number(const void *cookie); 65 const char *cnvlist_get_string(const void *cookie); 66 const nvlist_t *cnvlist_get_nvlist(const void *cookie); 67 const void *cnvlist_get_binary(const void *cookie, size_t *sizep); 68 const bool *cnvlist_get_bool_array(const void *cookie, size_ [all...] |
H A D | rangelock.h | 70 void rangelock_unlock(struct rangelock *lock, void *cookie, 72 void *rangelock_unlock_range(struct rangelock *lock, void *cookie, 84 void _rangelock_cookie_assert(void *cookie, int what, const char *file, 89 #define rangelock_cookie_assert_(cookie, what, file, line) \ 90 _rangelock_cookie_assert((cookie), (what), (file), (line)) 92 #define rangelock_cookie_assert_(cookie, what, file, line) (void)0 95 #define rangelock_cookie_assert(cookie, what) \ 96 rangelock_cookie_assert_((cookie), (what), __FILE__, __LINE__)
|
/freebsd-current/contrib/kyua/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", "body-cookie cleanup-cookie"); 45 const std::string cookie(get_config_var("body-cookie")); 46 std::ofstream output(cookie.c_str()); 53 const std::string cookie(get_config_var("cleanup-cookie")); 54 std::ofstream output(cookie.c_str());
|
/freebsd-current/sys/contrib/libnv/ |
H A D | cnvlist.c | 59 cnvlist_name(const void *cookie) argument 62 return (nvpair_name(cookie)); 66 cnvlist_type(const void *cookie) argument 69 return (nvpair_type(cookie)); 74 cnvlist_get_##type(const void *cookie) \ 77 if (nvpair_type(cookie) != NV_TYPE_##NVTYPE) { \ 79 nvpair_name(cookie)); \ 81 return (nvpair_get_##type(cookie)); \ 96 cnvlist_get_##type(const void *cookie, size_t *nitemsp) \ 99 if (nvpair_type(cookie) ! [all...] |
/freebsd-current/sys/powerpc/include/ |
H A D | bus_dma.h | 35 int bus_dma_tag_set_iommu(bus_dma_tag_t, device_t iommu, void *cookie);
|
/freebsd-current/sys/x86/iommu/ |
H A D | iommu_intrmap.h | 33 int iommu_map_msi_intr(device_t src, u_int cpu, u_int vector, u_int cookie, 35 int iommu_unmap_msi_intr(device_t src, u_int cookie); 37 bool activehi, int irq, u_int *cookie, uint32_t *hi, uint32_t *lo); 38 int iommu_unmap_ioapic_intr(u_int ioapic_id, u_int *cookie);
|
/freebsd-current/lib/libnv/tests/ |
H A D | cnv_tests.cc | 46 void *cookie; local 54 cookie = NULL; 59 ATF_REQUIRE_EQ(strcmp(key, nvlist_next(nvl, &type, &cookie)), 0); 66 ATF_REQUIRE_EQ(cnvlist_get_bool(cookie), value); 68 ATF_REQUIRE_EQ(nvlist_next(nvl, &type, &cookie), 80 void *cookie; local 88 cookie = NULL; 93 ATF_REQUIRE_EQ(strcmp(key, nvlist_next(nvl, &type, &cookie)), 0); 100 ATF_REQUIRE_EQ(cnvlist_get_number(cookie), value); 102 ATF_REQUIRE_EQ(nvlist_next(nvl, &type, &cookie), 115 void *cookie; local 149 void *cookie; local 217 void *cookie; local 251 void *cookie; local 295 void *cookie; local 337 void *cookie; local 379 void *cookie; local 420 void *cookie; local 504 void *cookie; local 550 void *cookie; local 593 void *cookie; local 637 void *cookie; local 682 void *cookie; local 756 void *cookie; local 808 void *cookie; local 860 void *cookie; local 910 void *cookie; local 993 void *cookie; local 1044 void *cookie; local 1087 void *cookie; local 1130 void *cookie; local 1172 void *cookie; local 1233 void *cookie; local 1282 void *cookie; local 1327 void *cookie; local 1372 void *cookie; local 1413 void *cookie; local [all...] |
/freebsd-current/lib/libz/ |
H A D | zopen.c | 14 xgzread(void *cookie, char *data, int size) argument 16 return gzread(cookie, data, size); 20 xgzwrite(void *cookie, const char *data, int size) argument 22 return gzwrite(cookie, (void*)data, size); 26 xgzclose(void *cookie) argument 28 return gzclose(cookie); 32 xgzseek(void *cookie, fpos_t offset, int whence) argument 34 return gzseek(cookie, (z_off_t)offset, whence);
|
/freebsd-current/sys/dev/sound/midi/ |
H A D | midi.h | 47 midi_init(kobj_class_t _mpu_cls, int _unit, int _channel, void *cookie); 52 kobj_t midimapper_addseq(void *arg1, int *unit, void **cookie); 53 int midimapper_open(void *arg1, void **cookie); 54 int midimapper_close(void *arg1, void *cookie); 55 kobj_t midimapper_fetch_synth(void *arg, void *cookie, int unit);
|
H A D | mpu401.h | 37 mpu401_init(kobj_class_t _cls, void *cookie, driver_intr_t *_softintr,
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_export.c | 43 fstrans_cookie_t cookie; local 57 cookie = spl_fstrans_mark(); 64 spl_fstrans_unmark(cookie); 76 fstrans_cookie_t cookie; local 87 cookie = spl_fstrans_mark(); 89 spl_fstrans_unmark(cookie); 116 fstrans_cookie_t cookie; local 121 cookie = spl_fstrans_mark(); 123 spl_fstrans_unmark(cookie); 137 fstrans_cookie_t cookie; local [all...] |
H A D | zpl_super.c | 61 fstrans_cookie_t cookie; local 63 cookie = spl_fstrans_mark(); 65 spl_fstrans_unmark(cookie); 71 fstrans_cookie_t cookie; local 73 cookie = spl_fstrans_mark(); 75 spl_fstrans_unmark(cookie); 97 fstrans_cookie_t cookie; local 99 cookie = spl_fstrans_mark(); 103 spl_fstrans_unmark(cookie); 109 fstrans_cookie_t cookie; local 121 fstrans_cookie_t cookie; local 138 fstrans_cookie_t cookie; local 175 fstrans_cookie_t cookie; local 264 fstrans_cookie_t cookie; local [all...] |
/freebsd-current/sys/powerpc/pseries/ |
H A D | plpar_iommu.h | 38 void *cookie); 40 void *cookie);
|
/freebsd-current/tests/sys/netinet/ |
H A D | tcp_user_cookie.c | 51 * which subseuqently have their user cookie set. 57 int sock, accepted, port, cookie; local 62 fprintf(stderr, "Usage: %s port cookie\n", argv[0]); 67 cookie = atoi(argv[2]); 85 ret = setsockopt(sock, SOL_SOCKET, SO_USER_COOKIE, &cookie, sizeof(cookie)); 97 &cookie, sizeof(cookie));
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | vgaarb.h | 217 * @cookie: client cookie to be used in callbacks 246 int vga_client_register(struct pci_dev *pdev, void *cookie, 247 unsigned int (*set_vga_decode)(void *cookie, bool state)); 249 int vga_client_register(struct pci_dev *pdev, void *cookie, 250 void (*irq_set_state)(void *cookie, bool state), 251 unsigned int (*set_vga_decode)(void *cookie, bool state)); 258 static inline int vga_client_register(struct pci_dev *pdev, void *cookie, 259 unsigned int (*set_vga_decode)(void *cookie, bool state)) 261 static inline int vga_client_register(struct pci_dev *pdev, void *cookie, [all...] |
/freebsd-current/lib/libc/stdio/ |
H A D | fopencookie.c | 46 fopencookie(void *cookie, const char *mode, cookie_io_functions_t io_funcs) argument 61 thunk->foc_cookie = cookie; 85 _fopencookie_read(void *cookie, char *buf, int size) argument 89 thunk = cookie; 99 _fopencookie_write(void *cookie, const char *buf, int size) argument 103 thunk = cookie; 114 _fopencookie_seek(void *cookie, fpos_t offset, int whence) argument 131 thunk = cookie; 151 _fopencookie_close(void *cookie) argument 157 thunk = cookie; [all...] |
H A D | fmemopen.c | 46 static int fmemopen_read(void *cookie, char *buf, int nbytes); 47 static int fmemopen_write(void *cookie, const char *buf, int nbytes); 48 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence); 49 static int fmemopen_close(void *cookie); 164 fmemopen_read(void *cookie, char *buf, int nbytes) argument 166 struct fmemopen_cookie *ck = cookie; 182 fmemopen_write(void *cookie, const char *buf, int nbytes) argument 184 struct fmemopen_cookie *ck = cookie; 212 fmemopen_seek(void *cookie, fpos_t offset, int whence) argument 214 struct fmemopen_cookie *ck = cookie; 251 fmemopen_close(void *cookie) argument [all...] |
H A D | stdio.c | 49 __sread(void *cookie, char *buf, int n) argument 51 FILE *fp = cookie; 57 __swrite(void *cookie, char const *buf, int n) argument 59 FILE *fp = cookie; 65 __sseek(void *cookie, fpos_t offset, int whence) argument 67 FILE *fp = cookie; 73 __sclose(void *cookie) argument 76 return (_close(((FILE *)cookie)->_file));
|
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.h | 43 void *ng_register_cookie(const struct lmodule *, u_int32_t cookie, 53 int ng_output(const char *path, u_int cookie, u_int opcode, 55 int ng_output_node(const char *node, u_int cookie, u_int opcode, 57 int ng_output_id(ng_ID_t node, u_int cookie, u_int opcode, 60 struct ng_mesg *ng_dialog(const char *path, u_int cookie, u_int opcode, 62 struct ng_mesg *ng_dialog_node(const char *node, u_int cookie, u_int opcode, 64 struct ng_mesg *ng_dialog_id(ng_ID_t id, u_int cookie, u_int opcode,
|
/freebsd-current/sys/dev/isci/ |
H A D | isci_timer.c | 52 timer->callback(timer->cookie); 117 * @param[in] cookie This parameter specifies a piece of information that 118 * the user must retain. This cookie is to be supplied by the 127 SCI_TIMER_CALLBACK_T timer_callback, void *cookie) 138 timer->cookie = cookie; 141 isci_log_message(3, "TIMER", "create %p %p %p\n", timer, timer_callback, cookie); 126 scif_cb_timer_create(SCI_CONTROLLER_HANDLE_T scif_controller, SCI_TIMER_CALLBACK_T timer_callback, void *cookie) argument
|
/freebsd-current/contrib/sendmail/src/ |
H A D | shmticklib.c | 41 static unsigned int cookie = 0; local 71 if (sp->ul[STATUSD_COOKIE] != cookie) 73 cookie = sp->ul[STATUSD_COOKIE];
|
/freebsd-current/sys/cddl/dev/dtrace/ |
H A D | dtrace_vtime.c | 84 dtrace_icookie_t cookie; local 87 cookie = dtrace_interrupt_disable(); 98 dtrace_interrupt_enable(cookie);
|
/freebsd-current/contrib/openbsm/bsm/ |
H A D | audit_filter.h | 57 void audit_filter_getcookie(void *instance, void **cookie); 58 void audit_filter_setcookie(void *instance, void *cookie);
|
/freebsd-current/include/rpcsvc/ |
H A D | nlm_prot.x | 46 netobj cookie; 51 netobj cookie; 65 netobj cookie; 74 netobj cookie; 81 netobj cookie; 87 netobj cookie; 121 netobj cookie; 127 netobj cookie; 190 netobj cookie; 195 netobj cookie; [all...] |