Home
last modified time | relevance | path

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

12345678910>>...25

/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c824 cookie->resultMsg, cookie->i_flags, in __s_api_getEntry()
1496 cookie->filter = strdup(cookie->i_filter); in setup_next_search()
2344 cookie->sdpos = cookie->sdlist; in search_state_machine()
2352 cookie->sdpos = cookie->sdlist; in search_state_machine()
2551 cookie->new_state = cookie->next_state; in search_state_machine()
2709 cookie->new_state = multi_result(cookie); in search_state_machine()
2845 cookie->new_state = cookie->next_state; in search_state_machine()
2848 cookie->new_state = cookie->next_state; in search_state_machine()
2860 if (cookie->followRef && cookie->reflist) in search_state_machine()
2966 cookie->err_rc = cookie->conn_user->ns_rc; in search_state_machine()
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.pm111 my $cookie = shift;
138 my $cookie = shift;
143 lgrp_isleaf($cookie, $_)
144 } lgrp_lgrps($cookie, $root);
157 sub cookie subroutine
183 lgrp_fini(cookie(shift));
192 return (lgrp_cookie_stale(cookie(shift)));
198 return (lgrp_view(cookie(shift)));
204 return (lgrp_root(cookie(shift)));
210 return (lgrp_nlgrps(cookie(shift)));
[all …]
H A DLgrp.xs205 lgrp_view(cookie)
230 lgrp_cookie_t cookie;
235 lgrp_fini(cookie)
236 lgrp_cookie_t cookie;
255 lgrp_cookie_t cookie
263 lgrp_nlgrps(cookie)
264 lgrp_cookie_t cookie;
269 lgrp_root(cookie)
270 lgrp_cookie_t cookie
307 lgrp_cookie_t cookie;
[all …]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_discovery.c376 cookie->cache_cfg = cookie->get_cfghandle(unesc_domain); in update_config()
387 cookie->h = persrv_h; in update_config()
412 err = SLPFindSrvs(h, cookie->type, cookie->scopes, in update_config()
423 cookie->set_cfghandle(cookie->cache_cfg); in update_config()
459 update_config(val, cookie); in foreach_context()
483 struct config_cookie cookie[1]; in find_all_contexts() local
500 memset(cookie, 0, sizeof (*cookie)); in find_all_contexts()
501 cookie->type = fulltype; in find_all_contexts()
502 cookie->scopes = scope; in find_all_contexts()
510 cookie->aggregate = aggregate; in find_all_contexts()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cookie.c101 DAPL_COOKIE *cookie);
325 IN DAPL_COOKIE *cookie) in dapls_cb_put() argument
357 DAPL_COOKIE *cookie; in dapls_rmr_cookie_alloc() local
369 cookie->val.rmr.rmr = rmr; in dapls_rmr_cookie_alloc()
370 cookie->val.rmr.cookie = user_cookie; in dapls_rmr_cookie_alloc()
371 *cookie_ptr = cookie; in dapls_rmr_cookie_alloc()
403 DAPL_COOKIE *cookie; in dapls_dto_cookie_alloc() local
412 cookie->val.dto.cookie = user_cookie; in dapls_dto_cookie_alloc()
413 cookie->val.dto.size = 0; in dapls_dto_cookie_alloc()
415 *cookie_ptr = cookie; in dapls_dto_cookie_alloc()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_callbacks.c79 ndmpd_api_done_v2(void *cookie, int err) in ndmpd_api_done_v2() argument
81 ndmpd_session_t *session = (ndmpd_session_t *)cookie; in ndmpd_api_done_v2()
168 ndmpd_api_log_v2(void *cookie, char *format, ...) in ndmpd_api_log_v2() argument
170 ndmpd_session_t *session = (ndmpd_session_t *)cookie; in ndmpd_api_log_v2()
405 ndmpd_api_done_v3(void *cookie, int err) in ndmpd_api_done_v3() argument
851 ndmpd_api_find_env(void *cookie, char *name) in ndmpd_api_find_env() argument
884 ndmpd_api_get_env(void *cookie, char *name) in ndmpd_api_get_env() argument
888 envp = ndmpd_api_find_env(cookie, name); in ndmpd_api_get_env()
971 envp = ndmpd_api_find_env(cookie, name); in ndmpd_api_set_env()
973 rv = ndmpd_api_add_env(cookie, name, value); in ndmpd_api_set_env()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_dto.c53 IN DAPL_COOKIE *cookie, in dapls_ib_post_recv() argument
97 if (cookie != NULL) { in dapls_ib_post_recv()
152 IN DAPL_COOKIE *cookie, in dapls_ib_post_recv_one() argument
176 if (cookie != NULL) { in dapls_ib_post_recv_one()
221 IN DAPL_COOKIE *cookie, in dapls_ib_post_srq() argument
263 if (cookie != NULL) { in dapls_ib_post_srq()
303 IN DAPL_COOKIE *cookie, in dapls_ib_post_send() argument
349 if (cookie != NULL) { in dapls_ib_post_send()
354 cookie, num_segments, cookie->val.dto.size, in dapls_ib_post_send()
456 IN DAPL_COOKIE *cookie, in dapls_ib_post_send_one() argument
[all …]
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c516 lgrp_cookie_stale(lgrp_cookie_t cookie) in lgrp_cookie_stale() argument
524 snap = (lgrp_snapshot_header_t *)cookie; in lgrp_cookie_stale()
555 lgrp_view(lgrp_cookie_t cookie) in lgrp_view() argument
559 snap = (lgrp_snapshot_header_t *)cookie; in lgrp_view()
573 lgrp_nlgrps(lgrp_cookie_t cookie) in lgrp_nlgrps() argument
577 snap = (lgrp_snapshot_header_t *)cookie; in lgrp_nlgrps()
592 lgrp_root(lgrp_cookie_t cookie) in lgrp_root() argument
1079 lgrp_fini(lgrp_cookie_t cookie) in lgrp_fini() argument
1110 lgrp_cookie_t cookie; in lgrp_latency() local
1113 cookie = lgrp_init(LGRP_VIEW_OS); in lgrp_latency()
[all …]
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dnlm_prot.x92 netobj cookie; member
97 netobj cookie; member
111 netobj cookie; member
120 netobj cookie; member
127 netobj cookie; member
133 netobj cookie; member
169 netobj cookie; member
175 netobj cookie; member
243 netobj cookie; member
248 netobj cookie; member
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_rpc_svc.c84 dst->cookie = src->cookie; in nlm_convert_to_nlm4_res()
148 dst->cookie = src->cookie; in nlm_convert_to_nlm_res()
168 args4.cookie = argp->cookie; in nlm_test_1_svc()
174 resp->cookie = res4.cookie; in nlm_test_1_svc()
199 args4.cookie = argp->cookie; in nlm_lock_1_svc()
236 args1.cookie = argp->cookie; in nlm_granted_1_cb()
256 args4.cookie = argp->cookie; in nlm_cancel_1_svc()
277 args4.cookie = argp->cookie; in nlm_unlock_1_svc()
296 args4.cookie = argp->cookie; in nlm_granted_1_svc()
332 args4.cookie = argp->cookie; in nlm_test_msg_1_svc()
[all …]
H A Dnlm_rpc_clnt.c85 dst->cookie = src->cookie; in nlm_convert_to_nlm4_res()
100 args1.cookie = args->cookie; in nlm_test_rpc()
108 res->cookie = res1.cookie; in nlm_test_rpc()
131 args1.cookie = args->cookie; in nlm_lock_rpc()
160 args1.cookie = args->cookie; in nlm_cancel_rpc()
187 args1.cookie = args->cookie; in nlm_unlock_rpc()
229 dst->cookie = src->cookie; in nlm_convert_to_nlm4_shres()
246 args3.cookie = args->cookie; in nlm_share_rpc()
272 args3.cookie = args->cookie; in nlm_unshare_rpc()
/illumos-gate/usr/src/lib/libidmap/common/
H A Dsized_array.c49 char cookie[8]; member
73 (void) memcpy(sa->cookie, COOKIE, sizeof (sa->cookie)); in sized_array()
90 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0); in sized_array_free()
104 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0); in sized_array_n()
118 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0); in sized_array_sz()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dspagectrl.c24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritica… in ldap_create_page_control() argument
37 (cookie && cookie->bv_val) ? cookie->bv_val : "", in ldap_create_page_control()
38 (cookie && cookie->bv_val) ? cookie->bv_len : 0) in ldap_create_page_control()
51 …se_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) in ldap_parse_page_control() argument
63 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){ in ldap_parse_page_control()
/illumos-gate/usr/src/lib/libkvm/common/
H A Dtest.c51 kvm_t *cookie; variable
133 if (cookie == NULL) in main()
175 if ((cookie = kvm_open(namelist, corefile, in tst_open()
177 printf("ERROR: kvm_open returned %p\n", cookie); in tst_open()
186 if ((i = kvm_close(cookie)) != 0) in tst_close()
197 if ((i = kvm_nlist(cookie, nl)) != 0) in tst_nlist()
306 if ((proc = kvm_getproc(cookie, pid)) == NULL) { in tst_getproc()
328 if ((proc = kvm_nextproc(cookie)) == NULL) { in tst_nextproc()
352 if ((i = kvm_setproc(cookie)) != 0) in tst_setproc()
370 if ((u = kvm_getu(cookie, proc)) == NULL) in tst_getu()
[all …]
/illumos-gate/usr/src/cmd/bhyve/test/tst/mevent/
H A Dread.pause.c44 static char cookie[] = "Chocolate chip with fudge stripes"; variable
56 char buf[sizeof (cookie)] = { 0 }; in munch()
61 ASSERT_PTR_EQ(("bad cookie"), arg, cookie); in munch()
68 expected = strlen(cookie) - pauseat - 1; in munch()
81 ASSERT_CHAR_EQ(("bad byte %d of cookie", i), buf[0], cookie[i]); in munch()
83 ASSERT_STR_EQ(("bad last half of cookie"), buf, &cookie[i]); in munch()
120 evp = mevent_add(pipefds[0], EVF_READ, munch, cookie); in main()
123 for (int i = 0; cookie[i] != 0; i++) { in main()
125 written = write(pipefds[1], cookie + i, 1); in main()
137 &cookie[pauseat]); in main()
/illumos-gate/usr/src/uts/common/os/
H A Dftrace.c361 ftrace_icookie_t cookie; in ftrace_0() local
372 ftrace_interrupt_enable(cookie); in ftrace_0()
386 ftrace_interrupt_enable(cookie); in ftrace_0()
395 ftrace_icookie_t cookie; in ftrace_1() local
421 ftrace_interrupt_enable(cookie); in ftrace_1()
430 ftrace_icookie_t cookie; in ftrace_2() local
457 ftrace_interrupt_enable(cookie); in ftrace_2()
466 ftrace_icookie_t cookie; in ftrace_3() local
494 ftrace_interrupt_enable(cookie); in ftrace_3()
504 ftrace_icookie_t cookie; in ftrace_3_notick() local
[all …]
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm_event.c253 door_cookie_t *cook = (door_cookie_t *)cookie; in door_service()
333 door_cookie_t *cookie; in create_event_service() local
343 if ((cookie = calloc(1, sizeof (*cookie))) == NULL) { in create_event_service()
347 cookie->door_func = func; in create_event_service()
351 free(cookie); in create_event_service()
370 free(cookie); in create_event_service()
382 door_cookie_t *cookie; in revoke_event_service() local
396 struct door_result *tmp = cookie->results; in revoke_event_service()
398 cookie->results = tmp->next; in revoke_event_service()
401 tmp = cookie->results; in revoke_event_service()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dlgrp_user.h253 int lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp,
256 int lgrp_cookie_stale(lgrp_cookie_t cookie);
258 int lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp,
261 int lgrp_fini(lgrp_cookie_t cookie);
265 int lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from,
272 lgrp_mem_size_t lgrp_mem_size(lgrp_cookie_t cookie, lgrp_id_t lgrp,
275 int lgrp_nlgrps(lgrp_cookie_t cookie);
277 int lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp,
280 int lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp,
283 lgrp_id_t lgrp_root(lgrp_cookie_t cookie);
[all …]
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslfilter.c122 ksslf_t *kssl = (ksslf_t *)cookie; in kssl_detach_cb()
152 if (cookie != NULL) in kssl_bind_cb()
179 if (sof_cas_cookie(handle, cookie, kssl) != cookie) { in kssl_bind_cb()
202 ksslf_t *kssl = (ksslf_t *)cookie; in kssl_listen_cb()
227 _NOTE(ARGUNUSED(cookie, name, namelen, cr)); in kssl_connect_cb()
237 ksslf_t *kssl = (ksslf_t *)cookie; in kssl_mblk_prop_cb()
266 ksslf_t *kssl = (ksslf_t *)cookie; in kssl_getsockname_cb()
290 ksslf_t *kssl = (ksslf_t *)cookie; in kssl_data_out_cb()
314 ksslf_t *kssl = (ksslf_t *)cookie; in kssl_shutdown_cb()
352 ksslf_t *kssl = cookie; in kssl_data_in_cb()
[all …]
/illumos-gate/usr/src/uts/common/sys/fc4/
H A Dfc_transport.h218 void *cookie,
225 void *cookie,
237 void *cookie,
245 void *cookie,
257 void *cookie);
276 void *cookie,
285 void *cookie,
301 void *cookie,
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetservent.c77 _nss_services_cookie_t *cookie; in _nss_services_cookie_new() local
79 if ((cookie = calloc(1, sizeof (*cookie))) == NULL) in _nss_services_cookie_new()
86 cookie->result = result; in _nss_services_cookie_new()
88 cookie->index = index; in _nss_services_cookie_new()
89 cookie->cname = cname; in _nss_services_cookie_new()
91 return (cookie); in _nss_services_cookie_new()
122 if (cookie) { in _nss_ldap_services2str()
127 result = cookie->result; in _nss_ldap_services2str()
128 cname = cookie->cname; in _nss_ldap_services2str()
188 if (cookie) { in _nss_ldap_services2str()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dndievents.c108 ndi_callback_print(struct ndi_event_cookie *cookie, uint_t flags) in ndi_callback_print() argument
116 if (!cookie) { in ndi_callback_print()
120 callback_list = cookie->callback_list; in ndi_callback_print()
162 struct ndi_event_cookie cookie; in ndi_event_print() local
176 if (mdb_vread(&cookie, sizeof (struct ndi_event_cookie), in ndi_event_print()
183 (uintptr_t)cookie.definition) == -1) { in ndi_event_print()
185 cookie.definition); in ndi_event_print()
198 cookie.ddip, def.ndi_event_attributes); in ndi_event_print()
200 ndi_callback_print(&cookie, flags); in ndi_event_print()
201 cookie_list = cookie.next_cookie; in ndi_event_print()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_dds.c77 uint64_t cookie; member
544 smsg->cookie = vdds->hio_cookie; in vdds_send_dds_rel_msg()
595 cba.cookie = cookie; in vdds_create_niu_node()
612 cba.cookie = cookie; in vdds_create_niu_node()
717 if (hdl == NIUCFGHDL(warg->cookie)) { in vdds_match_niu_nexus()
934 cba->cookie); in vdds_new_niu_node()
937 reg.addr_hi = HVCOOKIE(cba->cookie); in vdds_new_niu_node()
988 prp->child_hi = HVCOOKIE(cba->cookie); in vdds_new_niu_node()
1019 cba->cookie); in vdds_new_niu_node()
1060 arg.cookie = cookie; in vdds_find_node()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c60 int level, void *cookie) { in slp_twalk() argument
63 (*action)(root, leaf, level, cookie); in slp_twalk()
65 (*action)(root, preorder, level, cookie); in slp_twalk()
67 slp_twalk(root->llink, action, level + 1, cookie); in slp_twalk()
68 (*action)(root, postorder, level, cookie); in slp_twalk()
70 slp_twalk(root->rlink, action, level + 1, cookie); in slp_twalk()
71 (*action)(root, endorder, level, cookie); in slp_twalk()
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_conv.c31 __bam_pgin(pg, pp, cookie) in __bam_pgin() argument
34 DBT *cookie;
38 pginfo = (DB_PGINFO *)cookie->data;
53 __bam_pgout(pg, pp, cookie) in __bam_pgout() argument
56 DBT *cookie;
60 pginfo = (DB_PGINFO *)cookie->data;

12345678910>>...25