Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 25 of 163) sorted by relevance

1234567

/titanic_44/usr/src/uts/common/io/
H A Dcmlb.c288 static dev_t cmlb_make_device(struct cmlb_lun *cl);
289 static int cmlb_validate_geometry(struct cmlb_lun *cl, boolean_t forcerevalid,
291 static void cmlb_resync_geom_caches(struct cmlb_lun *cl, diskaddr_t capacity,
293 static int cmlb_read_fdisk(struct cmlb_lun *cl, diskaddr_t capacity,
298 static int cmlb_use_efi(struct cmlb_lun *cl, diskaddr_t capacity, int flags,
300 static void cmlb_build_default_label(struct cmlb_lun *cl, void *tg_cookie);
301 static int cmlb_uselabel(struct cmlb_lun *cl, struct dk_label *l, int flags);
303 static void cmlb_build_user_vtoc(struct cmlb_lun *cl, struct vtoc *user_vtoc);
305 static int cmlb_build_label_vtoc(struct cmlb_lun *cl, struct vtoc *user_vtoc);
306 static int cmlb_write_label(struct cmlb_lun *cl, void *tg_cookie);
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dcallout.c166 #define CALLOUT_LIST_INSERT(hash, cl) \ argument
167 CALLOUT_HASH_INSERT(hash, cl, cl_next, cl_prev)
169 #define CALLOUT_LIST_APPEND(hash, cl) \ argument
170 CALLOUT_HASH_APPEND(hash, cl, cl_next, cl_prev)
172 #define CALLOUT_LIST_DELETE(hash, cl) \ argument
173 CALLOUT_HASH_DELETE(hash, cl, cl_next, cl_prev)
175 #define CALLOUT_LIST_BEFORE(cl, nextcl) \ argument
177 (cl)->cl_prev = (nextcl)->cl_prev; \
178 (cl)->cl_next = (nextcl); \
179 (nextcl)->cl_prev = (cl); \
[all …]
/titanic_44/usr/src/uts/common/rpc/
H A Drdma_subr.c210 clist_len(struct clist *cl) in clist_len() argument
213 while (cl) { in clist_len()
214 len += cl->c_len; in clist_len()
215 cl = cl->c_next; in clist_len()
221 clist_zero_len(struct clist *cl) in clist_zero_len() argument
223 while (cl != NULL) { in clist_zero_len()
224 if (cl->c_dmemhandle.mrc_rmr == 0) in clist_zero_len()
226 cl->c_len = 0; in clist_zero_len()
227 cl = cl->c_next; in clist_zero_len()
240 struct clist *cl; in clist_add() local
[all …]
H A Dxdr_rdma.c303 int min_chunk, struct clist *cl, enum xdr_op op, CONN *conn) in xdrrdma_create() argument
321 xdrp->xp_rcl = cl; in xdrrdma_create()
325 if (op == XDR_ENCODE && cl != NULL) { in xdrrdma_create()
327 for (cle = cl; cle->c_next != NULL; cle = cle->c_next) in xdrrdma_create()
435 struct clist cl; in xdrrdma_getbytes() local
509 cl = *cle; in xdrrdma_getbytes()
510 cl.c_next = NULL; in xdrrdma_getbytes()
511 status = clist_register(xdrp->xp_conn, &cl, in xdrrdma_getbytes()
522 cle->c_dmemhandle = cl.c_dmemhandle; in xdrrdma_getbytes()
523 cle->c_dsynchandle = cl.c_dsynchandle; in xdrrdma_getbytes()
[all …]
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dclnt_door.c82 CLIENT *cl = NULL; /* client handle */ in clnt_door_create() local
117 if ((cl = malloc(sizeof (CLIENT))) == NULL || in clnt_door_create()
142 cl->cl_ops = clnt_door_ops(); in clnt_door_create()
143 cl->cl_private = (caddr_t)cu; in clnt_door_create()
144 cl->cl_auth = authnone_create(); in clnt_door_create()
145 cl->cl_tp = strdup(rendezvous); in clnt_door_create()
146 if (cl->cl_tp == NULL) { in clnt_door_create()
152 cl->cl_netid = strdup("door"); in clnt_door_create()
153 if (cl->cl_netid == NULL) { in clnt_door_create()
155 if (cl->cl_tp) in clnt_door_create()
[all …]
H A Dsvid_funcs.c69 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()
77 clnt_send(CLIENT *cl, uint32_t proc, xdrproc_t xargs, caddr_t argsp) in clnt_send() argument
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()
[all …]
H A Dclnt_generic.c513 CLIENT *cl = NULL; /* client handle */ in clnt_tp_create_timed() local
527 &cl, (struct timeval *)tp)) == NULL) { in clnt_tp_create_timed()
531 if (cl == NULL) { in clnt_tp_create_timed()
532 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr, in clnt_tp_create_timed()
536 if (CLNT_CONTROL(cl, CLSET_SVC_ADDR, (void *)svcaddr) == TRUE) { in clnt_tp_create_timed()
537 if (cl->cl_netid == NULL) { in clnt_tp_create_timed()
538 cl->cl_netid = strdup(nconf->nc_netid); in clnt_tp_create_timed()
539 if (cl->cl_netid == NULL) { in clnt_tp_create_timed()
548 if (cl->cl_tp == NULL) { in clnt_tp_create_timed()
549 cl->cl_tp = strdup(nconf->nc_device); in clnt_tp_create_timed()
[all …]
H A Dclnt_dg.c137 CLIENT *cl = NULL; /* client handle */ in clnt_dg_create() local
184 if ((cl = malloc(sizeof (CLIENT))) == NULL) in clnt_dg_create()
236 cl->cl_ops = clnt_dg_ops(); in clnt_dg_create()
237 cl->cl_private = (caddr_t)cu; in clnt_dg_create()
238 cl->cl_auth = authnone_create(); in clnt_dg_create()
239 cl->cl_tp = NULL; in clnt_dg_create()
240 cl->cl_netid = NULL; in clnt_dg_create()
243 return (cl); in clnt_dg_create()
250 if (cl) { in clnt_dg_create()
251 free(cl); in clnt_dg_create()
[all …]
/titanic_44/usr/src/lib/libgen/common/
H A Dreg_step.c163 wchar_t cl; in step() local
195 n = Popwchar(p1, cl); in step()
235 wchar_t cl; in _advance() local
250 ep += Popwchar(ep, cl); in _advance()
251 c = cl; in _advance()
252 if ((n = Popwchar(lp, cl)) <= 0 || c != cl) in _advance()
261 if ((n = Popwchar(lp, cl)) > 0) { in _advance()
308 ep += Popwchar(ep, cl); in _advance()
309 c = cl; in _advance()
312 if ((n = Popwchar(lp, cl)) <= 0 || cl != c) in _advance()
[all …]
H A Dgmatch.c40 n = mbtowc(&cl, p, MB_LEN_MAX); \
41 c = cl; \
52 wchar_t cl; in gmatch() local
55 n = mbtowc(&cl, s, MB_LEN_MAX); in gmatch()
60 scc = cl; in gmatch()
63 n = mbtowc(&cl, p, MB_LEN_MAX); in gmatch()
69 c = cl; in gmatch()
151 n = mbtowc(&cl, s, MB_LEN_MAX); in gmatch()
/titanic_44/usr/src/stand/lib/fs/nfs/
H A Dclnt_budp.c120 CLIENT *cl; local
124 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT));
125 if (cl == NULL) {
150 cl->cl_ops = clntbudp_ops();
151 cl->cl_private = (caddr_t)cu;
203 cl->cl_auth = authnone_create();
204 return (cl);
208 if (cl)
209 bkmem_free((caddr_t)cl, sizeof (CLIENT));
227 clntbudp_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout) in clntbudp_call() argument
[all …]
H A Dclnt_btcp.c123 CLIENT *cl; in clntbtcp_create() local
131 cl = (CLIENT *)bkmem_alloc(sizeof (CLIENT)); in clntbtcp_create()
132 if (cl == NULL) { in clntbtcp_create()
265 cl->cl_ops = clntbtcp_ops(); in clntbtcp_create()
266 cl->cl_private = (caddr_t)ct; in clntbtcp_create()
267 cl->cl_auth = authnone_create(); in clntbtcp_create()
268 return (cl); in clntbtcp_create()
273 if (cl) in clntbtcp_create()
274 bkmem_free((caddr_t)cl, sizeof (CLIENT)); in clntbtcp_create()
280 CLIENT *cl, in clntbtcp_call() argument
[all …]
/titanic_44/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_state.c51 gmem_case_closer_t *cl; in gmem_case_create() local
54 cl = fmd_hdl_alloc(hdl, sizeof (gmem_case_closer_t), FMD_SLEEP); in gmem_case_create()
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
144 cl = fmd_hdl_alloc(hdl, sizeof (gmem_case_closer_t), FMD_SLEEP); in gmem_state_restore()
[all …]
/titanic_44/usr/src/uts/common/rpc/sec_gss/
H A Dsvc_rpcsec_gss.c341 svc_rpc_gss_data *cl; in rpc_gss_cleanup() local
351 if ((cl = (svc_rpc_gss_data *)svcauth->svc_ah_private) != NULL) { in rpc_gss_cleanup()
352 mutex_enter(&cl->clm); in rpc_gss_cleanup()
353 ASSERT(cl->ref_cnt > 0); in rpc_gss_cleanup()
354 if (--cl->ref_cnt == 0 && cl->stale) { in rpc_gss_cleanup()
355 mutex_exit(&cl->clm); in rpc_gss_cleanup()
356 destroy_client(cl); in rpc_gss_cleanup()
359 mutex_exit(&cl->clm); in rpc_gss_cleanup()
408 check_seq(cl, seq_num, kill_context) in check_seq() argument
409 svc_rpc_gss_data *cl; in check_seq()
[all …]
/titanic_44/usr/src/cmd/bnu/
H A Dgetprm.c193 wchar_t *cl, *cr, *n; local
216 for (n=wcbuf ;; n=cl+1) {
217 cl = wcschr(n, (wchar_t)'!');
218 if (cl == NULL) {
225 if (cl == n) /* leading ! */
227 if (WEQUALSN(myname, n, cl - n) && myname[cl - n] == NULLCHAR)
230 (void) wcsncpy(tmpbuf, n, cl-n);
231 tmpbuf[cl-n] = NULLCHAR;
235 if (cl != (cr = wcsrchr(n, (wchar_t)'!'))) {
237 wcsncpy(tmpbuf, cl+1, cr-cl-1);
[all …]
/titanic_44/usr/src/ucblib/librpcsoc/
H A Dclnt_udp.c123 CLIENT *cl; local
128 cl = (CLIENT *)mem_alloc(sizeof (CLIENT));
129 if (cl == NULL) {
155 cl->cl_ops = clntudp_ops();
156 cl->cl_private = (caddr_t)cu;
193 cl->cl_auth = authnone_create();
194 return (cl);
198 if (cl)
199 mem_free((caddr_t)cl, sizeof (CLIENT));
217 clntudp_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout) in clntudp_call() argument
[all …]
/titanic_44/usr/src/lib/rpcsec_gss/
H A Dsvc_rpcsec_gss.c212 svc_rpc_gss_data *cl; local
223 if ((cl = (svc_rpc_gss_data *)svcauth->svc_ah_private) != NULL) {
224 mutex_lock(&cl->clm);
225 if (--cl->ref_cnt == 0 && cl->stale) {
226 mutex_unlock(&cl->clm);
228 destroy_client(cl);
231 mutex_unlock(&cl->clm);
307 check_seq(cl, seq_num, kill_context) in check_seq() argument
308 svc_rpc_gss_data *cl; in check_seq()
328 if (seq_num > cl->seq_num) {
[all …]
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_state.c120 cmd_case_closer_t *cl; in cmd_case_create() local
123 cl = fmd_hdl_alloc(hdl, sizeof (cmd_case_closer_t), FMD_SLEEP); in cmd_case_create()
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
222 cl = fmd_hdl_alloc(hdl, sizeof (cmd_case_closer_t), FMD_SLEEP); in cmd_state_restore()
[all …]
/titanic_44/usr/src/lib/libc/i386/gen/
H A Dmemchr.s61 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
/titanic_44/usr/src/cmd/fs.d/nfs/dfshares/
H A Ddfshares.c101 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);
/titanic_44/usr/src/uts/common/sys/
H A Dcmlb_impl.h76 #define CMLB_MUTEX(cl) (&((cl)->cl_mutex)) argument
77 #define CMLB_DEVINFO(cl) ((cl)->cl_devi) argument
78 #define CMLB_LABEL(cl) (ddi_driver_name((cl->cl_devi))) argument
81 #define ISREMOVABLE(cl) (cl->cl_is_removable) argument
82 #define ISCD(cl) (cl->cl_device_type == DTYPE_RODIRECT) argument
83 #define ISHOTPLUGGABLE(cl) (cl->cl_is_hotpluggable) argument
/titanic_44/usr/src/cmd/tbl/
H A Dtu.c41 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()
62 drawline(int i, int cl, int cr, int lintype, int noheight, int shortl) in drawline() argument
75 nodata = cr-cl>=ncol || noheight || allh(i); in drawline()
86 tohcol(cl); in drawline()
[all …]
/titanic_44/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c86 static struct class_type *cl; variable
125 cl = (struct class_type *)calloc(MALSIZ, sizeof (struct class_type)); in splpkgmap()
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()
356 strcmp(f[j].ept->pkg_class, cl[i].name) == 0) { in splpkgmap()
358 f[j].ept->volno = cl[i].last; in splpkgmap()
360 f[j].ept->volno = cl[i].first; in splpkgmap()
393 free(cl[i].name); in splpkgmap()
394 free(cl); in splpkgmap()
[all …]
/titanic_44/usr/src/lib/libm/i386/src/
H A Dpow.s105 movb %dl,%cl
106 andb $0x45,%cl
107 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
109 movb %dh,%cl
110 andb $0x45,%cl
111 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
117 cmpb $0x01,%cl /// C3=0 C2=0 C1=? C0=1 when +-NaN
147 movb %dl,%cl
148 andb $0x45,%cl
149 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c242 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()
335 clnt_control(cl, CLSET_RETRY_TIMEOUT, (char *)&timeout); 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()
[all …]

1234567