Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/freebsd-13.1/sys/sys/
H A Dcnv.h55 const char *cnvlist_name(const void *cookie);
56 int cnvlist_type(const void *cookie);
84 bool cnvlist_take_bool(void *cookie);
86 char *cnvlist_take_string(void *cookie);
103 void cnvlist_free_bool(void *cookie);
104 void cnvlist_free_number(void *cookie);
105 void cnvlist_free_string(void *cookie);
106 void cnvlist_free_nvlist(void *cookie);
107 void cnvlist_free_binary(void *cookie);
108 void cnvlist_free_bool_array(void *cookie);
[all …]
H A Drangelock.h72 void rangelock_unlock(struct rangelock *lock, void *cookie,
74 void *rangelock_unlock_range(struct rangelock *lock, void *cookie,
86 void _rangelock_cookie_assert(void *cookie, int what, const char *file,
91 #define rangelock_cookie_assert_(cookie, what, file, line) \ argument
92 _rangelock_cookie_assert((cookie), (what), (file), (line))
94 #define rangelock_cookie_assert_(cookie, what, file, line) (void)0 argument
97 #define rangelock_cookie_assert(cookie, what) \ argument
98 rangelock_cookie_assert_((cookie), (what), __FILE__, __LINE__)
/freebsd-13.1/sys/contrib/libnv/
H A Dcnvlist.c59 cnvlist_name(const void *cookie) in cnvlist_name() argument
62 return (nvpair_name(cookie)); in cnvlist_name()
66 cnvlist_type(const void *cookie) in cnvlist_type() argument
69 return (nvpair_type(cookie)); in cnvlist_type()
79 nvpair_name(cookie)); \
101 nvpair_name(cookie)); \ in CNVLIST_GET()
134 nvpair_name(cookie)); \
162 nvpair_name(cookie)); \
189 nvl = nvpair_nvlist(cookie); in cnvlist_take_binary()
192 nvpair_free_structure(cookie); in cnvlist_take_binary()
[all …]
/freebsd-13.1/lib/libnv/tests/
H A Dcnv_tests.cc50 void *cookie; in ATF_TEST_CASE_BODY() local
58 cookie = NULL; in ATF_TEST_CASE_BODY()
84 void *cookie; in ATF_TEST_CASE_BODY() local
92 cookie = NULL; in ATF_TEST_CASE_BODY()
119 void *cookie; in ATF_TEST_CASE_BODY() local
127 cookie = NULL; in ATF_TEST_CASE_BODY()
153 void *cookie; in ATF_TEST_CASE_BODY() local
168 cookie = NULL; in ATF_TEST_CASE_BODY()
221 void *cookie; in ATF_TEST_CASE_BODY() local
255 void *cookie; in ATF_TEST_CASE_BODY() local
[all …]
/freebsd-13.1/sys/contrib/ngatm/netnatm/sig/
H A Dsig_coord.c216 if (cookie) in coord_link_establish_request()
226 cookie, NULL); in coord_link_establish_request()
231 if (cookie == 0) in coord_link_establish_request()
721 coord_link_release_request(uni, cookie); in uni_sig_coord()
821 cookie, msg, NULL); in uni_sig_coord()
903 cookie); in uni_sig_coord()
924 cookie); in uni_sig_coord()
945 cookie); in uni_sig_coord()
966 cookie); in uni_sig_coord()
987 cookie); in uni_sig_coord()
[all …]
H A Dsig_party.c107 UNIAPI_PARTY_CREATED, cookie, api); in uni_create_partyx()
257 uniapi_party_error(p, UNIAPI_OK, cookie); in pun0_add_party_request()
288 uniapi_party_error(p, UNIAPI_OK, cookie); in punx_add_party_ack_request()
318 uniapi_party_error(p, UNIAPI_OK, cookie); in pun2_add_party_rej_request()
355 uint32_t cookie) in pun2_party_alerting_request() argument
375 uniapi_party_error(p, UNIAPI_OK, cookie); in pun2_party_alerting_request()
777 uniapi_party_error(p, UNIAPI_OK, cookie); in punx_drop_party_request()
805 uniapi_party_error(p, UNIAPI_OK, cookie); in pun6_drop_party_ack_request()
830 uniapi_party_error(p, UNIAPI_OK, cookie); in punx_status_enquiry_request()
931 cookie); in uni_sig_party()
[all …]
/freebsd-13.1/usr.sbin/rpc.lockd/
H A Dlock_proc.c445 res.cookie = arg->cookie; in nlm_test_1_svc()
477 res.cookie = arg->cookie; in nlm_test_msg_1_svc()
529 res.cookie = arg->cookie; in nlm_lock_1_svc()
551 res.cookie = arg->cookie; in nlm_lock_msg_1_svc()
576 res.cookie = arg->cookie; in nlm_cancel_1_svc()
597 res.cookie = arg->cookie; in nlm_cancel_msg_1_svc()
627 res.cookie = arg->cookie; in nlm_unlock_1_svc()
644 res.cookie = arg->cookie; in nlm_unlock_msg_1_svc()
681 res.cookie = arg->cookie; in nlm_granted_1_svc()
694 res.cookie = arg->cookie; in nlm_granted_msg_1_svc()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_super.c60 fstrans_cookie_t cookie; in zpl_dirty_inode() local
62 cookie = spl_fstrans_mark(); in zpl_dirty_inode()
64 spl_fstrans_unmark(cookie); in zpl_dirty_inode()
70 fstrans_cookie_t cookie; in zpl_dirty_inode() local
74 spl_fstrans_unmark(cookie); in zpl_dirty_inode()
96 fstrans_cookie_t cookie; in zpl_evict_inode() local
108 fstrans_cookie_t cookie; in zpl_put_super() local
120 fstrans_cookie_t cookie; in zpl_sync_fs() local
137 fstrans_cookie_t cookie; in zpl_statfs() local
174 fstrans_cookie_t cookie; in zpl_remount_fs() local
[all …]
H A Dzpl_inode.c44 fstrans_cookie_t cookie; in zpl_lookup() local
65 spl_fstrans_unmark(cookie); in zpl_lookup()
142 fstrans_cookie_t cookie; in zpl_create() local
186 fstrans_cookie_t cookie; in zpl_mknod() local
238 fstrans_cookie_t cookie; in zpl_tmpfile() local
280 fstrans_cookie_t cookie; in zpl_unlink() local
313 fstrans_cookie_t cookie; in zpl_mkdir() local
348 fstrans_cookie_t cookie; in zpl_rmdir() local
380 fstrans_cookie_t cookie; in zpl_getattr_impl() local
440 fstrans_cookie_t cookie; in zpl_setattr() local
[all …]
H A Dzpl_export.c43 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 Dzpl_file.c51 fstrans_cookie_t cookie; in zpl_open() local
60 spl_fstrans_unmark(cookie); in zpl_open()
72 fstrans_cookie_t cookie; in zpl_release() local
80 spl_fstrans_unmark(cookie); in zpl_release()
92 fstrans_cookie_t cookie; in zpl_iterate() local
132 fstrans_cookie_t cookie; in zpl_fsync() local
166 fstrans_cookie_t cookie; in zpl_fsync() local
270 fstrans_cookie_t cookie; in zpl_iter_read() local
326 fstrans_cookie_t cookie; in zpl_iter_write() local
364 fstrans_cookie_t cookie; in zpl_aio_read() local
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_CTX_set_stateless_cookie_generate_cb.pod18 unsigned char *cookie,
23 const unsigned char *cookie,
29 *cookie,
46 of bytes written to B<cookie_len>. If a cookie cannot be generated, a zero
51 ClientHello cookie is valid. The cookie data is pointed to by B<cookie> and is of
53 communicates that the cookie is valid. The integrity of the entire cookie,
59 as a response to a ClientHello with a missing or invalid cookie.
62 cookie cannot be generated, a zero return value can be used to abort the
66 determine whether the cookie in a ClientHello is valid. The cookie data is
68 from app_verify_cookie_cb() communicates that the cookie is valid. The
[all …]
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_syncookies.c93 uint8_t cookie; member
302 union pf_syncookie cookie; in pf_syncookie_validate() local
309 cookie.cookie = (ack & 0xff) ^ (ack >> 24); in pf_syncookie_validate()
427 SipHash_Update(&ctx, &cookie, sizeof(cookie)); in pf_syncookie_mac()
439 union pf_syncookie cookie; in pf_syncookie_generate() local
443 cookie.cookie = 0; in pf_syncookie_generate()
449 cookie.flags.mss_idx = i; in pf_syncookie_generate()
456 cookie.flags.wscale_idx = i; in pf_syncookie_generate()
469 iss |= cookie.cookie ^ (hash >> 24); in pf_syncookie_generate()
480 union pf_syncookie cookie; in pf_syncookie_recreate_syn() local
[all …]
/freebsd-13.1/include/rpcsvc/
H A Dnlm_prot.x53 netobj cookie; member
58 netobj cookie; member
72 netobj cookie; member
81 netobj cookie; member
88 netobj cookie; member
94 netobj cookie; member
128 netobj cookie; member
134 netobj cookie; member
197 netobj cookie; member
202 netobj cookie; member
[all …]
/freebsd-13.1/sys/x86/iommu/
H A Dintel_intrmap.c137 ((cookie & 0x8000) << 2) | 0x18; in iommu_map_msi_intr()
148 if (cookie == -1) in iommu_unmap_msi_intr()
151 return (dmar_ir_free_irte(unit, cookie)); in iommu_unmap_msi_intr()
167 *cookie = -1; in iommu_map_ioapic_intr()
213 *cookie = idx; in iommu_map_ioapic_intr()
223 idx = *cookie; in iommu_unmap_ioapic_intr()
226 *cookie = -1; in iommu_unmap_ioapic_intr()
308 KASSERT(cookie < unit->irte_cnt, in dmar_ir_free_irte()
310 irte = &(unit->irt[cookie]); in dmar_ir_free_irte()
314 dmar_qi_invalidate_iec(unit, cookie, 1); in dmar_ir_free_irte()
[all …]
/freebsd-13.1/sys/nlm/
H A Dnlm_prot_server.c107 dst->cookie = src->cookie; in nlm_convert_to_nlm_res()
114 dst->cookie = src->cookie; in nlm_convert_to_nlm4_res()
139 args4.cookie = argp->cookie; in nlm_test_1_svc()
163 args4.cookie = argp->cookie; in nlm_lock_1_svc()
184 args4.cookie = argp->cookie; in nlm_cancel_1_svc()
203 args4.cookie = argp->cookie; in nlm_unlock_1_svc()
220 args4.cookie = argp->cookie; in nlm_granted_1_svc()
240 args4.cookie = argp->cookie; in nlm_test_msg_1_svc()
247 res.cookie = res4.cookie; in nlm_test_msg_1_svc()
272 args4.cookie = argp->cookie; in nlm_lock_msg_1_svc()
[all …]
/freebsd-13.1/lib/libc/stdio/
H A Dfopencookie.c49 fopencookie(void *cookie, const char *mode, cookie_io_functions_t io_funcs) in fopencookie() argument
64 thunk->foc_cookie = cookie; in fopencookie()
88 _fopencookie_read(void *cookie, char *buf, int size) in _fopencookie_read() argument
92 thunk = cookie; in _fopencookie_read()
102 _fopencookie_write(void *cookie, const char *buf, int size) in _fopencookie_write() argument
106 thunk = cookie; in _fopencookie_write()
117 _fopencookie_seek(void *cookie, fpos_t offset, int whence) in _fopencookie_seek() argument
134 thunk = cookie; in _fopencookie_seek()
154 _fopencookie_close(void *cookie) in _fopencookie_close() argument
160 thunk = cookie; in _fopencookie_close()
H A Dfmemopen.c49 static int fmemopen_read(void *cookie, char *buf, int nbytes);
50 static int fmemopen_write(void *cookie, const char *buf, int nbytes);
52 static int fmemopen_close(void *cookie);
167 fmemopen_read(void *cookie, char *buf, int nbytes) in fmemopen_read() argument
169 struct fmemopen_cookie *ck = cookie; in fmemopen_read()
185 fmemopen_write(void *cookie, const char *buf, int nbytes) in fmemopen_write() argument
187 struct fmemopen_cookie *ck = cookie; in fmemopen_write()
215 fmemopen_seek(void *cookie, fpos_t offset, int whence) in fmemopen_seek() argument
217 struct fmemopen_cookie *ck = cookie; in fmemopen_seek()
254 fmemopen_close(void *cookie) in fmemopen_close() argument
[all …]
H A Dstdio.c55 __sread(void *cookie, char *buf, int n) in __sread() argument
57 FILE *fp = cookie; in __sread()
63 __swrite(void *cookie, char const *buf, int n) in __swrite() argument
65 FILE *fp = cookie; in __swrite()
71 __sseek(void *cookie, fpos_t offset, int whence) in __sseek() argument
73 FILE *fp = cookie; in __sseek()
79 __sclose(void *cookie) in __sclose() argument
82 return (_close(((FILE *)cookie)->_file)); in __sclose()
/freebsd-13.1/lib/libz/
H A Dzopen.c16 xgzread(void *cookie, char *data, int size) in xgzread() argument
18 return gzread(cookie, data, size); in xgzread()
22 xgzwrite(void *cookie, const char *data, int size) in xgzwrite() argument
24 return gzwrite(cookie, (void*)data, size); in xgzwrite()
28 xgzclose(void *cookie) in xgzclose() argument
30 return gzclose(cookie); in xgzclose()
34 xgzseek(void *cookie, fpos_t offset, int whence) in xgzseek() argument
36 return gzseek(cookie, (z_off_t)offset, whence); in xgzseek()
/freebsd-13.1/sys/arm/arm/
H A Dmachdep_ptrace.c60 ptrace_get_usr_reg(void *cookie, int reg) in ptrace_get_usr_reg() argument
63 struct thread *td = cookie; in ptrace_get_usr_reg()
89 struct thread *td = cookie; in ptrace_get_usr_int()
233 addr = fetch_reg(cookie, (insn >> 16) & 0xf); in arm_predict_branch()
241 offset = fetch_reg(cookie, insn & 0x0f); in arm_predict_branch()
244 nregs = fetch_reg(cookie, in arm_predict_branch()
273 addr = fetch_reg(cookie, insn & 0xf); in arm_predict_branch()
275 error = read_int(cookie, addr, &addr); in arm_predict_branch()
279 *new_pc = fetch_reg(cookie, insn & 0xf); in arm_predict_branch()
291 error = read_int(cookie, addr, &addr); in arm_predict_branch()
[all …]
/freebsd-13.1/lib/libcasper/services/cap_net/
H A Dcap_net.c549 void *cookie; in net_add_sockaddr_to_cache() local
641 void *cookie; in net_allowed_bsaddr_impl() local
645 cookie = NULL; in net_allowed_bsaddr_impl()
711 void *cookie; in net_allowed_hosts() local
724 cookie = NULL; in net_allowed_hosts()
1104 void *cookie; in verify_only_sa_newlimts() local
1106 cookie = NULL; in verify_only_sa_newlimts()
1169 void *cookie; in verify_addr2name_newlimits() local
1178 cookie = NULL; in verify_addr2name_newlimits()
1227 void *cookie; in verify_name2addr_newlimits() local
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.h45 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-13.1/sys/dev/virtio/
H A Dvirtqueue.c94 void *cookie; member
555 dxp->cookie = cookie; in virtqueue_enqueue()
577 void *cookie; in virtqueue_dequeue() local
593 cookie = vq->vq_descx[desc_idx].cookie; in virtqueue_dequeue()
597 return (cookie); in virtqueue_dequeue()
603 void *cookie; in virtqueue_poll() local
611 return (cookie); in virtqueue_poll()
617 void *cookie; in virtqueue_drain() local
620 cookie = NULL; in virtqueue_drain()
624 if ((cookie = vq->vq_descx[idx].cookie) != NULL) { in virtqueue_drain()
[all …]
/freebsd-13.1/tests/sys/netinet/
H A Dtcp_user_cookie.c59 int sock, accepted, port, cookie; in main() local
69 cookie = atoi(argv[2]); in main()
87 ret = setsockopt(sock, SOL_SOCKET, SO_USER_COOKIE, &cookie, sizeof(cookie)); in main()
99 &cookie, sizeof(cookie)); in main()

12345678910>>...19