/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 3249 cl->cl_blockcount, cl->cl_g.dkg_intrlv, cl->cl_g.dkg_rpm); 3314 cl->cl_solaris_size = cl->cl_blockcount; 3350 cl->cl_g.dkg_nsect = cl->cl_blockcount; 3356 cl->cl_g.dkg_ncyl = cl->cl_blockcount; 3377 cl->cl_g.dkg_ncyl = cl->cl_blockcount / 3391 cl->cl_g.dkg_pcyl = cl->cl_g.dkg_ncyl; 3445 cl->cl_g.dkg_ncyl = cl->cl_g.dkg_pcyl; 3553 cl->cl_g.dkg_ncyl, cl->cl_g.dkg_acyl, cl->cl_g.dkg_nhead, 5295 cl->cl_g.dkg_nsect = cl->cl_blockcount; 5299 cl->cl_g.dkg_ncyl = cl->cl_blockcount; [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | callout.c | 182 cl->cl_prev->cl_next = cl; \ 206 (cl->cl_callouts.ch_head == cl->cl_callouts.ch_tail)) { \ 300 callout_list_t *cl; in callout_list_alloc() local 306 if (cl == NULL) { in callout_list_alloc() 322 callout_list_t *cl; in callout_list_get() local 336 for (cl = ct->ct_clhash[hash].ch_head; (cl != NULL); cl = cl->cl_next) { in callout_list_get() 347 return (cl); in callout_list_get() 505 if (cl == NULL) in callout_queue_process() 1109 if (cl == NULL) { in timeout_generic() 1177 cp->c_list = cl; in timeout_generic() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rdma_subr.c | 213 while (cl) { in clist_len() 215 cl = cl->c_next; in clist_len() 226 cl->c_len = 0; in clist_zero_len() 227 cl = cl->c_next; in clist_zero_len() 249 cl->c_len = len; in clist_add() 258 *clp = cl; in clist_add() 344 c = cl; in clist_syncmem() 388 cl = cl->c_next; in clist_free() 390 c = cl; in clist_free() 409 clist_free(cl); in rdma_clnt_postrecv() [all …]
|
H A D | xdr_rdma.c | 509 cl = *cle; in xdrrdma_getbytes() 548 cl = *cls; in xdrrdma_getbytes() 562 cl = *cle; in xdrrdma_getbytes() 993 for (cl = w; cl != NULL; cl = cl->c_next) { in xdr_encode_wlist() 1300 cl = *rlist; in xdrrdma_read_from_client() 1355 cl = (*rlist); in xdrrdma_read_from_client() 1435 cl = wcl; in xdrrdma_send_read_data() 1447 cl = cl->c_next; in xdrrdma_send_read_data() 1596 cl = xdr_rcl; in xdrrdma_free_xdr_chunks() 1597 while (cl) { in xdrrdma_free_xdr_chunks() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_door.c | 155 if (cl->cl_tp) in clnt_door_create() 156 free(cl->cl_tp); in clnt_door_create() 161 return (cl); in clnt_door_create() 164 if (cl) { in clnt_door_create() 165 free(cl); in clnt_door_create() 331 cl = cl; in clnt_door_abort() 431 if (cl->cl_netid && cl->cl_netid[0]) in clnt_door_destroy() 433 if (cl->cl_tp && cl->cl_tp[0]) in clnt_door_destroy() 434 free(cl->cl_tp); in clnt_door_destroy() 435 free(cl); in clnt_door_destroy() [all …]
|
H A D | svid_funcs.c | 69 clnt_call(CLIENT *cl, uint32_t proc, xdrproc_t xargs, caddr_t argsp, in clnt_call() argument 72 return ((*(cl)->cl_ops->cl_call)(cl, proc, xargs, argsp, xres, resp, in clnt_call() 79 return ((*(cl)->cl_ops->cl_send)(cl, proc, xargs, argsp)); in clnt_send() 83 clnt_control(CLIENT *cl, uint_t rq, char *in) in clnt_control() argument 85 return ((*(cl)->cl_ops->cl_control)(cl, rq, in)); in clnt_control() 89 clnt_destroy(CLIENT *cl) in clnt_destroy() argument 91 ((*(cl)->cl_ops->cl_destroy)(cl)); in clnt_destroy() 95 clnt_freeres(CLIENT *cl, xdrproc_t xres, caddr_t resp) in clnt_freeres() argument 97 return ((*(cl)->cl_ops->cl_freeres)(cl, xres, resp)); in clnt_freeres() 101 clnt_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_geterr() argument [all …]
|
H A D | clnt_generic.c | 529 if (cl == NULL) { in clnt_tp_create_timed() 550 if (cl->cl_netid) in clnt_tp_create_timed() 562 CLNT_DESTROY(cl); in clnt_tp_create_timed() 568 return (cl); in clnt_tp_create_timed() 675 if (cl == NULL) in _clnt_tli_create_timed() 689 if (cl->cl_netid) in _clnt_tli_create_timed() 690 free(cl->cl_netid); in _clnt_tli_create_timed() 717 if (cl->cl_netid) in _clnt_tli_create_timed() 731 cl->cl_netid = ""; in _clnt_tli_create_timed() 733 cl->cl_tp = ""; in _clnt_tli_create_timed() [all …]
|
H A D | clnt_dg.c | 237 cl->cl_ops = clnt_dg_ops(); in clnt_dg_create() 240 cl->cl_tp = NULL; in clnt_dg_create() 241 cl->cl_netid = NULL; in clnt_dg_create() 244 return (cl); in clnt_dg_create() 251 if (cl) { in clnt_dg_create() 252 free(cl); in clnt_dg_create() 872 if (cl->cl_netid && cl->cl_netid[0]) in clnt_dg_destroy() 873 free(cl->cl_netid); in clnt_dg_destroy() 874 if (cl->cl_tp && cl->cl_tp[0]) in clnt_dg_destroy() 875 free(cl->cl_tp); in clnt_dg_destroy() [all …]
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | reg_step.c | 163 wchar_t cl; in step() local 235 wchar_t cl; in _advance() local 251 c = cl; in _advance() 252 if ((n = Popwchar(lp, cl)) <= 0 || c != cl) in _advance() 309 c = cl; in _advance() 312 if ((n = Popwchar(lp, cl)) <= 0 || cl != c) in _advance() 318 if ((n = Popwchar(lp, cl)) <= 0 || cl != c) in _advance() 473 c = cl; in _advance() 474 while ((n = Popwchar(lp, cl)) > 0 && cl == c) in _advance() 618 c = cl; in cclass() [all …]
|
H A D | gmatch.c | 38 n = mbtowc(&cl, p, MB_LEN_MAX); \ 39 c = cl; \ 50 wchar_t cl; in gmatch() local 53 n = mbtowc(&cl, s, MB_LEN_MAX); in gmatch() 58 scc = cl; in gmatch() 61 n = mbtowc(&cl, p, MB_LEN_MAX); in gmatch() 67 c = cl; in gmatch() 150 n = mbtowc(&cl, s, MB_LEN_MAX); in gmatch()
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 222 if (--cl->ref_cnt == 0 && cl->stale) { in ctx_cleanup() 318 shift_bits(cl->seq_bits, SEQ_ARR_SIZE, seq_num - cl->seq_num); in check_seq() 1131 if (gss_sign(&minor, cl->context, cl->qop, &in_buf, in set_response_verf() 1259 cl->lru_prev->lru_next = cl->lru_next; in get_client() 1261 cl->lru_next->lru_prev = cl->lru_prev; in get_client() 1271 return (cl); in get_client() 1284 for (cl = clients[index]; cl != NULL; cl = cl->next) { in find_client() 1288 return (cl); in find_client() 1356 while (cl) { in sweep_clients() 1360 cl->expiration <= time(0)) || cl->stale) { in sweep_clients() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_state.c | 51 gmem_case_closer_t *cl; in gmem_case_create() local 55 cl->cl_func = gmem_case_closers[ptrsubtype]; in gmem_case_create() 56 cl->cl_arg = hdr; in gmem_case_create() 58 cp = fmd_case_open(hdl, cl); in gmem_case_create() 87 gmem_case_closer_t *cl = fmd_case_getspecific(hdl, cp); in gmem_case_fini() local 102 if (cl != NULL) in gmem_case_fini() 103 fmd_hdl_free(hdl, cl, sizeof (gmem_case_closer_t)); in gmem_case_fini() 120 gmem_case_closer_t *cl; in gmem_state_restore() local 145 cl->cl_func = gmem_case_closers[ptr.ptr_subtype]; in gmem_state_restore() 146 cl->cl_arg = thing; in gmem_state_restore() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 358 if (--cl->ref_cnt == 0 && cl->stale) { in rpc_gss_cleanup() 1618 cl->lru_prev->lru_next = cl->lru_next; in get_client() 1620 cl->lru_next->lru_prev = cl->lru_prev; in get_client() 1630 return (cl); in get_client() 1645 for (cl = clients[index]; cl != NULL; cl = cl->next) { in find_client() 1649 return (cl); in find_client() 1727 cl = lru_last; in sweep_clients() 1728 while (cl) { in sweep_clients() 1739 cl->expiration <= now) || cl->stale || in sweep_clients() 1743 cl->expiration <= now) || cl->stale || in sweep_clients() [all …]
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | clnt_udp.c | 123 CLIENT *cl; local 129 if (cl == NULL) { 155 cl->cl_ops = clntudp_ops(); 194 return (cl); 198 if (cl) 435 clntudp_geterr(cl, errp) in clntudp_geterr() argument 436 CLIENT *cl; in clntudp_geterr() 447 CLIENT *cl; in clntudp_freeres() 466 CLIENT *cl; in clntudp_control() 504 clntudp_destroy(cl) in clntudp_destroy() argument [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | getprm.c | 191 wchar_t *cl, *cr, *n; local 214 for (n=wcbuf ;; n=cl+1) { 215 cl = wcschr(n, (wchar_t)'!'); 216 if (cl == NULL) { 223 if (cl == n) /* leading ! */ 225 if (WEQUALSN(myname, n, cl - n) && myname[cl - n] == NULLCHAR) 228 (void) wcsncpy(tmpbuf, n, cl-n); 229 tmpbuf[cl-n] = NULLCHAR; 235 wcsncpy(tmpbuf, cl+1, cr-cl-1); 236 tmpbuf[cr-cl-1] = '\0'; [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | clnt_btcp.c | 121 CLIENT *cl; in clntbtcp_create() local 130 if (cl == NULL) { in clntbtcp_create() 263 cl->cl_ops = clntbtcp_ops(); in clntbtcp_create() 264 cl->cl_private = (caddr_t)ct; in clntbtcp_create() 266 return (cl); in clntbtcp_create() 271 if (cl) in clntbtcp_create() 278 CLIENT *cl, in clntbtcp_call() argument 466 CLIENT *cl, in clntbtcp_geterr() argument 477 CLIENT *cl, in clntbtcp_freeres() argument 497 CLIENT *cl, in clntbtcp_control() argument [all …]
|
H A D | clnt_budp.c | 113 CLIENT *cl; in clntbudp_bufcreate() local 118 if (cl == NULL) { in clntbudp_bufcreate() 143 cl->cl_ops = clntbudp_ops(); in clntbudp_bufcreate() 144 cl->cl_private = (caddr_t)cu; in clntbudp_bufcreate() 196 cl->cl_auth = authnone_create(); in clntbudp_bufcreate() 197 return (cl); in clntbudp_bufcreate() 201 if (cl) in clntbudp_bufcreate() 202 bkmem_free((caddr_t)cl, sizeof (CLIENT)); in clntbudp_bufcreate() 235 cu = (struct cu_data *)cl->cl_private; in clntbudp_call() 369 if (! AUTH_VALIDATE(cl->cl_auth, in clntbudp_call() [all …]
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | memchr.s | 61 movl 12(%esp), %ecx / %cl = byte that is sought 70 cmpb %dl, %cl / if the first byte is %cl 72 cmpb %dh, %cl / if the second byte is %cl 75 cmpb %dl, %cl / if the third byte is %cl 77 cmpb %dh, %cl / if the fourth is %cl 86 cmpb (%eax), %cl / if a byte in (%eax) is %cl 100 cmpb (%eax), %cl / if a byte in (%eax) is %cl
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_state.c | 120 cmd_case_closer_t *cl; in cmd_case_create() local 124 cl->cl_func = cmd_case_closers[ptrsubtype]; in cmd_case_create() 125 cl->cl_arg = hdr; in cmd_case_create() 127 cp = fmd_case_open(hdl, cl); in cmd_case_create() 156 cmd_case_closer_t *cl = fmd_case_getspecific(hdl, cp); in cmd_case_fini() local 171 if (cl != NULL) in cmd_case_fini() 172 fmd_hdl_free(hdl, cl, sizeof (cmd_case_closer_t)); in cmd_case_fini() 198 cmd_case_closer_t *cl; in cmd_state_restore() local 223 cl->cl_func = cmd_case_closers[ptr.ptr_subtype]; in cmd_state_restore() 224 cl->cl_arg = thing; in cmd_state_restore() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cmlb_impl.h | 80 #define CMLB_MUTEX(cl) (&((cl)->cl_mutex)) argument 81 #define CMLB_DEVINFO(cl) ((cl)->cl_devi) argument 82 #define CMLB_LABEL(cl) (ddi_driver_name((cl->cl_devi))) argument 85 #define ISREMOVABLE(cl) (cl->cl_is_removable) argument 86 #define ISCD(cl) (cl->cl_device_type == DTYPE_RODIRECT) argument 87 #define ISHOTPLUGGABLE(cl) (cl->cl_is_hotpluggable) argument
|
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/ |
H A D | dfshares.c | 101 CLIENT *cl; local 115 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, "circuit_n"); 116 if (cl == NULL) { 118 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, 120 if (cl == NULL) { 133 if (err = clnt_call(cl, MOUNTPROC_EXPORT, xdr_void, 136 clnt_destroy(cl); 141 clnt_destroy(cl); 157 clnt_destroy(cl);
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tu.c | 41 int cr, cl; in fullwide() local 47 cl=cr; in fullwide() 48 while (i>0 && vspand(prev(i),cl,1)) in fullwide() 49 cl++; in fullwide() 50 for(cr=cl; cr<ncol; cr++) in fullwide() 53 if (cl<ncol) in fullwide() 54 drawline(i,cl,(cr<ncol?cr-1:cr),lintype,1,0); in fullwide() 75 nodata = cr-cl>=ncol || noheight || allh(i); in drawline() 86 tohcol(cl); in drawline() 89 switch(interv(i,cl)) in drawline() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 126 if (cl == NULL) { in splpkgmap() 352 if (cl[i].first == 0) in splpkgmap() 353 cl[i].last = cl[i].first = (i ? cl[i-1].last : 1); in splpkgmap() 393 free(cl[i].name); in splpkgmap() 394 free(cl); in splpkgmap() 594 if (!cl[i].first || (vol < cl[i].first)) in addclass() 595 cl[i].first = vol; in addclass() 597 cl[i].last = vol; in addclass() 603 cl[nclass].last = vol; in addclass() 605 cl = (struct class_type *)realloc((char *)cl, in addclass() [all …]
|
/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | pow.s | 105 movb %dl,%cl 106 andb $0x45,%cl 109 movb %dh,%cl 110 andb $0x45,%cl 147 movb %dl,%cl 156 movb %dh,%cl 178 movb %dl,%cl 190 movb %dh,%cl 200 movb %dh,%cl 368 movb %dh,%cl [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 242 CLIENT *cl; in inform_server() local 299 cl = clnt_create_timed(list[i].host, MOUNTPROG, vers, in inform_server() 305 if (cl == NULL) { in inform_server() 319 if (__clnt_bindresvport(cl) < 0) { in inform_server() 323 clnt_destroy(cl); in inform_server() 326 if ((cl->cl_auth = authsys_create_default()) == NULL) { in inform_server() 330 clnt_destroy(cl); in inform_server() 337 rpc_stat = clnt_call(cl, MOUNTPROC_UMNT, xdr_dirpath, in inform_server() 340 AUTH_DESTROY(cl->cl_auth); in inform_server() 341 clnt_destroy(cl); in inform_server() [all …]
|