/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ep_post_recv.c | 81 DAPL_COOKIE *cookie; local 113 &cookie); 123 dat_status = dapls_ib_post_recv(ep_ptr, cookie, num_segments, 126 dat_status = dapls_ib_post_recv_one(ep_ptr, cookie, local_iov); 129 dapls_cookie_dealloc(&ep_ptr->recv_buffer, cookie);
|
H A D | dapl_rmr_bind.c | 90 DAPL_COOKIE *cookie; local 147 rmr, user_cookie, &cookie); 155 cookie, 161 dapls_cookie_dealloc(&ep_ptr->req_buffer, cookie); 193 DAPL_COOKIE *cookie; local 231 user_cookie, &cookie); 238 ep_ptr, cookie, completion_flags); 241 dapls_cookie_dealloc(&ep_ptr->req_buffer, cookie);
|
H A D | dapl_cookie.c | 35 * PURPOSE: Manage CQE cookie structures 46 * enough to hold cookie data for the maximum number of operations possible 49 * Two pieces of information are maintained to manage cookie allocation: 51 * head index : index of next unallocated cookie 52 * tail index : index of last unallocated cookie 54 * Each cookie store its index in this memory pool. 56 * When an event is received, the index stored in the event's cookie will be 101 DAPL_COOKIE *cookie); 183 * new_buffer pointer to the newly allocated cookie buffer 211 * create a new cookie buffe 323 dapls_cb_put( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_COOKIE *cookie) argument 357 DAPL_COOKIE *cookie; local 403 DAPL_COOKIE *cookie; local 420 dapls_cookie_dealloc( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_COOKIE *cookie) argument [all...] |
H A D | dapl_srq.c | 261 DAPL_COOKIE *cookie; local 286 &cookie); 294 dat_status = dapls_ib_post_srq(srq_ptr, cookie, num_segments, 298 dapls_cookie_dealloc(&srq_ptr->recv_buffer, cookie);
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SLPGetRefreshInterval.c | 51 unsigned short max = 0; /* max interval result cookie */ 96 SLPError err, void *cookie) { 98 unsigned short *max = (unsigned short *)cookie; 95 refresh_interval_cb(SLPHandle h, const char *attrs, SLPError err, void *cookie) argument
|
H A D | slp_search.c | 60 int level, void *cookie) { 63 (*action)(root, leaf, level, cookie); 65 (*action)(root, preorder, level, cookie); 67 slp_twalk(root->llink, action, level + 1, cookie); 68 (*action)(root, postorder, level, cookie); 70 slp_twalk(root->rlink, action, level + 1, cookie); 71 (*action)(root, endorder, level, cookie); 58 slp_twalk(void *r, void (*action)(void *, VISIT, int, void *), int level, void *cookie) argument
|
H A D | SLPFindSrvTypes.c | 73 SLPSrvTypeCallback cb, void *cookie, 90 cb(hp, pcSrvTypes, SLP_OK, cookie); 93 cb(hp, NULL, SLP_LAST_CALL, cookie); 105 return (cb(hp, NULL, errCode, cookie)); 120 cont = cb((SLPHandle) hp, pcSrvTypes, errCode, cookie); 260 static void collect_types(void *node, VISIT order, int level, void *cookie) { argument 261 char **types = (char **)cookie; 72 UnpackSrvTypesReply(slp_handle_impl_t *hp, char *reply, SLPSrvTypeCallback cb, void *cookie, void **collator, int *numResults) argument
|
H A D | slp_ua_common.c | 41 void *cookie; member in struct:thr_call_args 51 SLPGenericAppCB cb, void *cookie, 80 args->cookie = cookie; 140 cont = args->msg_cb(hp, reply, args->cb, args->cookie, 151 args->msg_cb(hp, NULL, args->cb, args->cookie, 50 slp_ua_common(SLPHandle hSLP, const char *scopes, SLPGenericAppCB cb, void *cookie, SLPMsgReplyCB msg_cb) argument
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | extensions.c | 30 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument 43 (cookie && cookie->bv_val) ? cookie->bv_val : "", 44 (cookie && cookie->bv_val) ? cookie->bv_len : 0) 57 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) argument 69 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
|
H A D | cldap.c | 76 * cldap_open - initialize and connect to an ldap server. A magic cookie to 482 char *dn, *p, *cookie; local 491 for ( tag = ber_first_element( ber, &len, &cookie ); 493 tag = ber_next_element( ber, &len, cookie )) {
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | spagectrl.c | 24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument 37 (cookie && cookie->bv_val) ? cookie->bv_val : "", 38 (cookie && cookie->bv_val) ? cookie->bv_len : 0) 51 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) argument 63 if ((rc = ber_scanf(theBer, "{iO}", totalcount, cookie)) == LBER_ERROR){
|
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | avltree.c | 205 void *cookie; local 210 cookie = NULL; 211 while ((tnode = avl_destroy_nodes(stree, &cookie)) != NULL) {
|
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | sized_array.c | 49 char cookie[8]; member in struct:sized_array 73 (void) memcpy(sa->cookie, COOKIE, sizeof (sa->cookie)); 90 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0); 104 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0); 118 assert(memcmp(sa->cookie, COOKIE, sizeof (sa->cookie)) == 0);
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | dir.c | 48 ino64_t ino, off64_t off, void **cookie) 58 if (*cookie == NULL) { 60 *cookie = (void *)dp; 62 dp = (dirent64_t *)*cookie; 66 if (((char *)*cookie + reclen) > ((char *)data_buf + buflen)) 68 *cookie = (void **)((uintptr_t)*cookie + reclen); 71 dp->d_off = (off == -1) ? (uintptr_t)*cookie - (uintptr_t)data_buf : 47 libuvfs_add_direntry(void *data_buf, size_t buflen, const char *name, ino64_t ino, off64_t off, void **cookie) argument
|
H A D | stash.c | 189 void *cookie; local 191 cookie = NULL; 192 while ((node = avl_destroy_nodes(&fs->fs_stash, &cookie)) != NULL)
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/ |
H A D | parted_io.c | 41 static int do_close (void *cookie); 42 static int do_sync (void *cookie); 43 static blk_t do_get_size (void *cookie); 44 static int do_read (void *cookie, void *ptr, blk_t block, blk_t numblocks); 45 static int do_set_blocksize(void *cookie, int logsize); 46 static int do_write (void *cookie, void *ptr, blk_t block, blk_t numblocks); 60 static int do_close(void *cookie) argument 62 struct my_cookie *monster = cookie; 67 static int do_sync(void *cookie) argument 69 struct my_cookie *monster = cookie; 74 do_get_size(void *cookie) argument 81 do_read(void *cookie, void *ptr, blk_t block, blk_t num) argument 90 do_set_blocksize(void *cookie, int logsize) argument 98 do_write(void *cookie, void *ptr, blk_t block, blk_t num) argument [all...] |
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.pm | 92 # lgrp_isleaf($cookie, $lgrp) 97 scalar @_ == 2 or _usage "lgrp_isleaf(cookie, lgrp)"; 102 # lgrp_lgrps($cookie, [$lgrp]) 108 scalar @_ > 0 or _usage("lgrp_lgrps(cookie, [lgrp])"); 109 my $cookie = shift; 111 $root = lgrp_root($cookie) unless defined $root; 113 my @children = lgrp_children($cookie, $root); 122 ($root, map {lgrp_lgrps($cookie, $_)} @children) : 128 # lgrp_leaves($cookie, [$lgrp]) 135 scalar @_ > 0 or _usage("lgrp_leaves(cookie, [lgr 155 sub cookie subroutine [all...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_ibtf_dto.c | 53 IN DAPL_COOKIE *cookie, 97 if (cookie != NULL) { 98 cookie->val.dto.size = total_len; 101 "size(%d) hkey(%016llx)\n", cookie, num_segments, 102 cookie->val.dto.size, ep_ptr->qp_handle->ep_hkey); 105 pr_wr.wr_id = (ibt_wrid_t)(uintptr_t)cookie; 152 IN DAPL_COOKIE *cookie, 176 if (cookie != NULL) { 177 cookie->val.dto.size = total_len; 180 "size(%d) hkey(%016llx)\n", cookie, 51 dapls_ib_post_recv( IN DAPL_EP *ep_ptr, IN DAPL_COOKIE *cookie, IN DAT_COUNT num_segments, IN DAT_LMR_TRIPLET *local_iov, IN DAT_COMPLETION_FLAGS completion_flags) argument 150 dapls_ib_post_recv_one( IN DAPL_EP *ep_ptr, IN DAPL_COOKIE *cookie, IN DAT_LMR_TRIPLET *local_iov) argument 219 dapls_ib_post_srq( IN DAPL_SRQ *srq_ptr, IN DAPL_COOKIE *cookie, IN DAT_COUNT num_segments, IN DAT_LMR_TRIPLET *local_iov) argument 301 dapls_ib_post_send(IN DAPL_EP *ep_ptr, IN ib_send_op_type_t op_type, IN DAPL_COOKIE *cookie, IN DAT_COUNT num_segments, IN DAT_LMR_TRIPLET *local_iov, IN const DAT_RMR_TRIPLET *remote_iov, IN DAT_COMPLETION_FLAGS completion_flags) argument 454 dapls_ib_post_send_one(IN DAPL_EP *ep_ptr, IN ib_send_op_type_t op_type, IN DAPL_COOKIE *cookie, IN DAT_LMR_TRIPLET *local_iov, IN const DAT_RMR_TRIPLET *remote_iov) argument [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_config.c | 70 void *cookie = NULL; local 73 &cookie)) != NULL) { 99 void *cookie; local 161 cookie = NULL; 162 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, &cookie)) != NULL) {
|
H A D | libzfs_cache.c | 75 void *cookie = NULL; local 78 &cookie)) != NULL)
|
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 91 getzoneent(FILE *cookie) argument 96 if ((ze = getzoneent_private(cookie)) == NULL) 104 getzoneent_private(FILE *cookie) argument 109 if (cookie == NULL) 116 if (fgets(buf, sizeof (buf), cookie) == NULL) { 184 endzoneent(FILE *cookie) argument 186 if (cookie != NULL) 187 (void) fclose(cookie);
|
/osnet-11/usr/src/lib/librcm/ |
H A D | librcm_event.c | 177 * add result to cookie, this is only invoked if result size > BUF_THRESHOLD 197 * Attach current door result to the door cookie 247 door_service(void *cookie, char *args, size_t alen, argument 253 door_cookie_t *cook = (door_cookie_t *)cookie; 260 free_door_result(cookie, *(uint64_t *)(void *)args); 333 door_cookie_t *cookie; local 342 /* allocate space for door cookie */ 343 if ((cookie = calloc(1, sizeof (*cookie))) == NULL) { 347 cookie 382 door_cookie_t *cookie; local [all...] |
/osnet-11/usr/src/lib/libkvm/common/ |
H A D | test.c | 51 kvm_t *cookie; variable 133 if (cookie == NULL) 143 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pid, 175 if ((cookie = kvm_open(namelist, corefile, 177 printf("ERROR: kvm_open returned %p\n", cookie); 186 if ((i = kvm_close(cookie)) != 0) 197 if ((i = kvm_nlist(cookie, nl)) != 0) 266 if ((e = kvm_read(cookie, addr, buf, nbytes)) != nbytes) 284 if ((e = kvm_write(cookie, addr, buf, nbytes)) != nbytes) 290 if ((i = kvm_read(cookie, add [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rpcsec_gss_if.c | 245 rpc_gss_ucred_t **ucred, void **cookie) 249 return ((*calls.rpc_gss_getcred)(req, rcred, ucred, cookie)); 244 rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred, rpc_gss_ucred_t **ucred, void **cookie) argument
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getservent.c | 77 _nss_services_cookie_t *cookie; local 79 if ((cookie = calloc(1, sizeof (*cookie))) == NULL) 86 cookie->result = result; 88 cookie->index = index; 89 cookie->cname = cname; 91 return (cookie); 119 _nss_services_cookie_t *cookie = (_nss_services_cookie_t *) local 122 if (cookie) { 127 result = cookie [all...] |