/freebsd-11-stable/sys/sys/ |
H A D | cnv.h | 51 * Functions which returns information about the given cookie. 53 const char *cnvlist_name(const void *cookie); 54 int cnvlist_type(const void *cookie); 57 * The cnvlist_get functions returns value associated with the given cookie. 62 bool cnvlist_get_bool(const void *cookie); 63 uint64_t cnvlist_get_number(const void *cookie); 64 const char *cnvlist_get_string(const void *cookie); 65 const nvlist_t *cnvlist_get_nvlist(const void *cookie); 66 const void *cnvlist_get_binary(const void *cookie, size_t *sizep); 67 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, 80 void _rangelock_cookie_assert(void *cookie, int what, const char *file, 85 #define rangelock_cookie_assert_(cookie, what, file, line) \ 86 _rangelock_cookie_assert((cookie), (what), (file), (line)) 88 #define rangelock_cookie_assert_(cookie, what, file, line) (void)0 91 #define rangelock_cookie_assert(cookie, what) \ 92 rangelock_cookie_assert_((cookie), (what), __FILE__, __LINE__)
|
/freebsd-11-stable/sys/contrib/libnv/ |
H A D | cnvlist.c | 57 cnvlist_name(const void *cookie) argument 60 return (nvpair_name(cookie)); 64 cnvlist_type(const void *cookie) argument 67 return (nvpair_type(cookie)); 72 cnvlist_get_##type(const void *cookie) \ 75 if (nvpair_type(cookie) != NV_TYPE_##NVTYPE) { \ 77 nvpair_name(cookie)); \ 79 return (nvpair_get_##type(cookie)); \ 94 cnvlist_get_##type(const void *cookie, size_t *nitemsp) \ 97 if (nvpair_type(cookie) ! [all...] |
/freebsd-11-stable/lib/libz/ |
H A D | zopen.c | 15 xgzread(void *cookie, char *data, int size) argument 17 return gzread(cookie, data, size); 21 xgzwrite(void *cookie, const char *data, int size) argument 23 return gzwrite(cookie, (void*)data, size); 27 xgzclose(void *cookie) argument 29 return gzclose(cookie); 33 xgzseek(void *cookie, fpos_t offset, int whence) argument 35 return gzseek(cookie, (z_off_t)offset, whence);
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | bus_dma.h | 35 int bus_dma_tag_set_iommu(bus_dma_tag_t, struct device *iommu, void *cookie);
|
/freebsd-11-stable/sys/x86/iommu/ |
H A D | iommu_intrmap.h | 36 int iommu_map_msi_intr(device_t src, u_int cpu, u_int vector, u_int cookie, 38 int iommu_unmap_msi_intr(device_t src, u_int cookie); 40 bool activehi, int irq, u_int *cookie, uint32_t *hi, uint32_t *lo); 41 int iommu_unmap_ioapic_intr(u_int ioapic_id, u_int *cookie);
|
H A D | intel_intrmap.c | 65 static int dmar_ir_free_irte(struct dmar_unit *unit, u_int cookie); 96 iommu_map_msi_intr(device_t src, u_int cpu, u_int vector, u_int cookie, argument 120 if (unit == NULL || !unit->ir_enabled || cookie == -1) 127 dmar_ir_program_irte(unit, cookie, low, rid); 134 *addr = MSI_INTEL_ADDR_BASE | ((cookie & 0x7fff) << 5) | 135 ((cookie & 0x8000) << 2) | 0x18; 142 iommu_unmap_msi_intr(device_t src, u_int cookie) argument 146 if (cookie == -1) 149 return (dmar_ir_free_irte(unit, cookie)); 154 bool activehi, int irq, u_int *cookie, uint32_ 153 iommu_map_ioapic_intr(u_int ioapic_id, u_int cpu, u_int vector, bool edge, bool activehi, int irq, u_int *cookie, uint32_t *hi, uint32_t *lo) argument 216 iommu_unmap_ioapic_intr(u_int ioapic_id, u_int *cookie) argument 298 dmar_ir_free_irte(struct dmar_unit *unit, u_int cookie) argument [all...] |
/freebsd-11-stable/lib/libnv/tests/ |
H A D | cnv_tests.cc | 50 void *cookie; local 58 cookie = NULL; 63 ATF_REQUIRE_EQ(strcmp(key, nvlist_next(nvl, &type, &cookie)), 0); 70 ATF_REQUIRE_EQ(cnvlist_get_bool(cookie), value); 72 ATF_REQUIRE_EQ(nvlist_next(nvl, &type, &cookie), 84 void *cookie; local 92 cookie = NULL; 97 ATF_REQUIRE_EQ(strcmp(key, nvlist_next(nvl, &type, &cookie)), 0); 104 ATF_REQUIRE_EQ(cnvlist_get_number(cookie), value); 106 ATF_REQUIRE_EQ(nvlist_next(nvl, &type, &cookie), 119 void *cookie; local 153 void *cookie; local 221 void *cookie; local 255 void *cookie; local 299 void *cookie; local 341 void *cookie; local 383 void *cookie; local 424 void *cookie; local 508 void *cookie; local 554 void *cookie; local 597 void *cookie; local 641 void *cookie; local 686 void *cookie; local 760 void *cookie; local 812 void *cookie; local 864 void *cookie; local 914 void *cookie; local 997 void *cookie; local 1048 void *cookie; local 1091 void *cookie; local 1134 void *cookie; local 1176 void *cookie; local 1237 void *cookie; local 1286 void *cookie; local 1331 void *cookie; local 1376 void *cookie; local 1417 void *cookie; local [all...] |
/freebsd-11-stable/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-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | diskeditor.h | 43 void *cookie; member in struct:partedit_item
|
/freebsd-11-stable/sys/powerpc/pseries/ |
H A D | plpar_iommu.h | 38 void *cookie); 40 void *cookie);
|
/freebsd-11-stable/tests/sys/netinet/ |
H A D | tcp_user_cookie.c | 53 * which subseuqently have their user cookie set. 59 int sock, accepted, port, cookie; local 64 fprintf(stderr, "Usage: %s port cookie\n", argv[0]); 69 cookie = atoi(argv[2]); 87 ret = setsockopt(sock, SOL_SOCKET, SO_USER_COOKIE, &cookie, sizeof(cookie)); 99 &cookie, sizeof(cookie));
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fopencookie.c | 49 fopencookie(void *cookie, const char *mode, cookie_io_functions_t io_funcs) argument 64 thunk->foc_cookie = cookie; 88 _fopencookie_read(void *cookie, char *buf, int size) argument 92 thunk = cookie; 102 _fopencookie_write(void *cookie, const char *buf, int size) argument 106 thunk = cookie; 117 _fopencookie_seek(void *cookie, fpos_t offset, int whence) argument 134 thunk = cookie; 154 _fopencookie_close(void *cookie) argument 160 thunk = cookie; [all...] |
H A D | fmemopen.c | 47 static int fmemopen_read(void *cookie, char *buf, int nbytes); 48 static int fmemopen_write(void *cookie, const char *buf, int nbytes); 49 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence); 50 static int fmemopen_close(void *cookie); 165 fmemopen_read(void *cookie, char *buf, int nbytes) argument 167 struct fmemopen_cookie *ck = cookie; 183 fmemopen_write(void *cookie, const char *buf, int nbytes) argument 185 struct fmemopen_cookie *ck = cookie; 213 fmemopen_seek(void *cookie, fpos_t offset, int whence) argument 215 struct fmemopen_cookie *ck = cookie; 252 fmemopen_close(void *cookie) argument [all...] |
H A D | stdio.c | 53 __sread(void *cookie, char *buf, int n) argument 55 FILE *fp = cookie; 61 __swrite(void *cookie, char const *buf, int n) argument 63 FILE *fp = cookie; 69 __sseek(void *cookie, fpos_t offset, int whence) argument 71 FILE *fp = cookie; 77 __sclose(void *cookie) argument 80 return (_close(((FILE *)cookie)->_file));
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.h | 45 void *ng_register_cookie(const struct lmodule *, u_int32_t cookie, 55 int ng_output(const char *path, u_int cookie, u_int opcode, 57 int ng_output_node(const char *node, u_int cookie, u_int opcode, 59 int ng_output_id(ng_ID_t node, u_int cookie, u_int opcode, 62 struct ng_mesg *ng_dialog(const char *path, u_int cookie, u_int opcode, 64 struct ng_mesg *ng_dialog_node(const char *node, u_int cookie, u_int opcode, 66 struct ng_mesg *ng_dialog_id(ng_ID_t id, u_int cookie, u_int opcode,
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | tlb.c | 65 void *cookie; local 80 cookie = ipi_tlb_context_demap(pm); 90 ipi_wait(cookie); 97 void *cookie; local 101 cookie = ipi_tlb_page_demap(pm, va); 116 ipi_wait(cookie); 123 void *cookie; local 128 cookie = ipi_tlb_range_demap(pm, start, end); 145 ipi_wait(cookie);
|
/freebsd-11-stable/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-11-stable/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-11-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_vtime.c | 86 dtrace_icookie_t cookie; local 89 cookie = dtrace_interrupt_disable(); 100 dtrace_interrupt_enable(cookie);
|
/freebsd-11-stable/sys/contrib/ngatm/netnatm/sig/ |
H A D | sig_coord.c | 200 * a call instance. In this case 'cookie' is zero. 203 coord_link_establish_request(struct uni *uni, uint32_t cookie) argument 216 if (cookie) 217 uniapi_uni_error(uni, UNIAPI_OK, cookie, 0); 226 cookie, NULL); 230 uniapi_uni_error(uni, UNIAPI_ERROR_BAD_CALLSTATE, cookie, 0); 231 if (cookie == 0) 243 uniapi_uni_error(uni, UNIAPI_OK, cookie, 0); 255 coord_link_release_request(struct uni *uni, u_int cookie) argument 262 uniapi_uni_error(uni, UNIAPI_ERROR_BAD_CALLSTATE, cookie, 653 uni_sig_coord(struct uni *uni, enum coord_sig sig, uint32_t cookie, struct uni_msg *msg) argument [all...] |
/freebsd-11-stable/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-11-stable/include/rpcsvc/ |
H A D | nlm_prot.x | 53 netobj cookie; 58 netobj cookie; 72 netobj cookie; 81 netobj cookie; 88 netobj cookie; 94 netobj cookie; 128 netobj cookie; 134 netobj cookie; 197 netobj cookie; 202 netobj cookie; [all...] |
/freebsd-11-stable/usr.sbin/rpc.lockd/ |
H A D | lock_proc.c | 437 * Copy the cookie from the argument into the result. Note that this 443 res.cookie = arg->cookie; 475 res.cookie = arg->cookie; 517 arg4.cookie = arg->cookie; 526 /* copy cookie from arg to result. See comment in nlm_test_1() */ 527 res.cookie = arg->cookie; [all...] |