Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 25 of 166) sorted by path

1234567

/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c477 return (cl); in update_cmdline()
487 return (cl); in update_cmdline()
499 return (cl); in update_cmdline()
505 return (cl); in update_cmdline()
511 return (cl); in update_cmdline()
532 return (cl); in update_cmdline()
550 free(cl); in update_cmdline()
551 cl = tmp; in update_cmdline()
564 free(cl); in update_cmdline()
565 cl = tmp; in update_cmdline()
[all …]
H A Dtem.c2533 struct vis_consclear cl; in tem_cls() local
2552 tem_set_color(&bg_color, &cl.bg_color); in tem_cls()
2553 (void) tems_cls(&cl); in tem_cls()
/illumos-gate/usr/src/boot/i386/btx/btx/
H A Dbtx.S202 movb $SEL_SDATA,%cl # To 32-bit
207 movb $SEL_TSS,%cl # Set task
214 movb $SEL_UDATA,%cl # User data selector
225 movb $0x7,%cl # Set remaining
259 exit.1: mov $SEL_RDATA,%cl # 16-bit selector
629 movb $SEL_SDATA,%cl # Setup
636 movb $SEL_TSS,%cl # Set task
/illumos-gate/usr/src/cmd/acct/
H A Dprdaily.sh37 while getopts cl i
/illumos-gate/usr/src/cmd/bnu/
H A Dgetprm.c191 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/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c677 dladm_secobj_class_t cl; in wpa_config_read_network() local
703 (void) dladm_get_secobj(wpa_s->handle, (const char *)wpa_s->kname, &cl, in wpa_config_read_network()
/illumos-gate/usr/src/cmd/ed/
H A Ded.c2001 wchar_t cl; in compsub() local
2002 if ((n = _mbftowc(multic, &cl, getchr, &peekc)) <= 0) in compsub()
2004 if (cl == '\\') { in compsub()
2008 if ((n = _mbftowc(multic, &cl, getchr, &peekc)) <= 0) in compsub()
2010 } else if (cl == '\n') { in compsub()
2020 } else if (cl == seof) in compsub()
2566 wchar_t cl; in globaln() local
2580 if ((n = _mbftowc(multic, &cl, getchr, &peekc)) <= 0) in globaln()
2582 if (cl == '\n') in globaln()
2585 comple(cl); in globaln()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c86 vcont(log_class_t cl, const char *fmt, va_list ap) in vcont() argument
90 if ((g_verbose & cl) != cl) in vcont()
103 log_msg(log_class_t cl, const char *fmt, ...) in log_msg() argument
107 if ((g_verbose & cl) != cl) in log_msg()
H A Dutil.h107 extern void log_msg(log_class_t cl, const char *fmt, ...);
111 extern void vcont(log_class_t cl, const char *fmt, va_list val);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Ditree.c2126 struct constraintlist *cl, *ncl; in itree_free_constraints() local
2128 cl = ap->constraints; in itree_free_constraints()
2129 while (cl != NULL) { in itree_free_constraints()
2130 ncl = cl->next; in itree_free_constraints()
2131 ASSERT(cl->cnode != NULL); in itree_free_constraints()
2132 if (!iexpr_cached(cl->cnode)) in itree_free_constraints()
2133 tree_free(cl->cnode); in itree_free_constraints()
2135 iexpr_free(cl->cnode); in itree_free_constraints()
2136 alloc_xfree(cl, sizeof (*cl)); in itree_free_constraints()
2137 cl = ncl; in itree_free_constraints()
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c145 cpu_tbl_t *cl, ci; in get_cap_conf() local
150 for (cl = fma_cap_list; cl->propname != NULL; cl++) { in get_cap_conf()
151 if (strncmp(ci.vendor, cl->vendor, in get_cap_conf()
153 ci.family == cl->family && in get_cap_conf()
154 ci.model == cl->model) { in get_cap_conf()
164 fma_cap = fmd_prop_get_int32(hdl, cl->propname); in get_cap_conf()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c637 CLIENT *cl; in nfsmount() local
1273 if (cl == NULL) { in nfsmount()
1359 cl = NULL; in nfsmount()
2946 CLIENT *cl = NULL; in get_server_fh() local
2970 if (cl == NULL) in get_server_fh()
2980 cl->cl_auth = ah; in get_server_fh()
3165 CLIENT *cl = NULL; in pingnfs() local
3558 CLIENT *cl; in nfsunmount() local
3622 if (cl == NULL) in nfsunmount()
3866 if (cl) { in destroy_auth_client_handle()
[all …]
H A Dautod_parse.c1780 CLIENT *cl; in do_mapent_hosts() local
1876 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, "circuit_v"); in do_mapent_hosts()
1877 if (cl == NULL) { in do_mapent_hosts()
1879 if (cl == NULL) { in do_mapent_hosts()
1887 add_alloc("CLNT_HANDLE", cl, 0, __FILE__, __LINE__); in do_mapent_hosts()
1897 clnt_destroy(cl); in do_mapent_hosts()
1906 drop_alloc("CLNT_HANDLE", cl, __FILE__, __LINE__); in do_mapent_hosts()
1909 clnt_destroy(cl); in do_mapent_hosts()
1914 drop_alloc("CLNT_HANDLE", cl, __FILE__, __LINE__); in do_mapent_hosts()
1915 drop_alloc("AUTH_HANDLE", cl->cl_auth, __FILE__, __LINE__); in do_mapent_hosts()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/dfmounts/
H A Ddfmounts.c117 CLIENT *cl; in pr_mounts() local
129 cl = mountprog_client_create(host, &rpc_totout_old); in pr_mounts()
130 if (cl == NULL) { in pr_mounts()
138 err = clnt_call(cl, MOUNTPROC_DUMP, xdr_void, 0, xdr_mountlist, in pr_mounts()
142 clnt_destroy(cl); in pr_mounts()
196 clnt_destroy(cl); in pr_mounts()
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/
H A Ddfshares.c99 CLIENT *cl; in pr_exports() local
107 cl = mountprog_client_create(host, &rpc_totout_old); in pr_exports()
108 if (cl == NULL) { in pr_exports()
116 err = clnt_call(cl, MOUNTPROC_EXPORT, xdr_void, 0, xdr_exports, in pr_exports()
120 clnt_destroy(cl); in pr_exports()
125 clnt_destroy(cl); in pr_exports()
141 clnt_destroy(cl); in pr_exports()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dclnt_subr.c38 CLIENT *cl; in mountprog_client_create() local
46 cl = clnt_create_vers(host, MOUNTPROG, &versnum, in mountprog_client_create()
48 if (cl == NULL) { in mountprog_client_create()
50 cl = clnt_create_vers(host, MOUNTPROG, &versnum, in mountprog_client_create()
52 if (cl == NULL) { in mountprog_client_create()
58 return (cl); in mountprog_client_create()
H A Dnfs_sec.c404 nfs_create_ah(CLIENT *cl, char *hostname, seconfig_t *nfs_sec) in nfs_create_ah() argument
427 if (cl == NULL) in nfs_create_ah()
445 return (rpc_gss_seccreate(cl, svc_name, in nfs_create_ah()
H A Dnfs_subr.c55 CLIENT *cl; in remote_lock() local
75 cl = clnt_create(fshost, NLM_PROG, NLM_VERS, "datagram_v"); in remote_lock()
76 if (cl == NULL) in remote_lock()
79 rpc_stat = clnt_call(cl, NLM_GRANTED, in remote_lock()
82 clnt_destroy(cl); in remote_lock()
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c1399 CLIENT *cl = NULL; in get_the_addr() local
1477 if (cl == NULL) { in get_the_addr()
1496 cl->cl_auth = ah; in get_the_addr()
1680 if (cl) { in get_the_addr()
1687 clnt_destroy(cl); in get_the_addr()
1688 cl = NULL; in get_the_addr()
2016 CLIENT *cl; in get_fh() local
2157 clnt_destroy(cl); in get_fh()
2163 clnt_destroy(cl); in get_fh()
2386 clnt_destroy(cl); in get_fh()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c83 CLIENT *cl; in main() local
131 cl = mountprog_client_create(host, &rpc_totout_old); in main()
132 if (cl == NULL) { in main()
139 printex(cl, host); in main()
148 err = clnt_call(cl, MOUNTPROC_DUMP, xdr_void, 0, xdr_mountlist, in main()
248 printex(CLIENT *cl, char *host) in printex() argument
260 err = clnt_call(cl, MOUNTPROC_EXPORT, xdr_void, 0, xdr_exports, in printex()
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c240 CLIENT *cl; in inform_server() local
297 cl = clnt_create_timed(list[i].host, MOUNTPROG, vers, in inform_server()
303 if (cl == NULL) { in inform_server()
317 if (__clnt_bindresvport(cl) < 0) { in inform_server()
321 clnt_destroy(cl); in inform_server()
324 if ((cl->cl_auth = authsys_create_default()) == NULL) { in inform_server()
328 clnt_destroy(cl); in inform_server()
335 rpc_stat = clnt_call(cl, MOUNTPROC_UMNT, xdr_dirpath, in inform_server()
338 AUTH_DESTROY(cl->cl_auth); in inform_server()
339 clnt_destroy(cl); in inform_server()
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dclusters.c434 if (cl->refcnt > 1) { in cloneClusterInfo()
436 cl->refcnt--; in cloneClusterInfo()
437 *newCl = *cl; in cloneClusterInfo()
451 if (cl->flags != newflags && cl->refcnt > 1) in updateFlags()
454 cl->flags = newflags; in updateFlags()
1396 ClusterInfo *cl; in markInUse() local
1414 if (cl->refcnt <= 1 || cl->dirent != referencer || in markInUse()
1417 if (cl->refcnt > 1) in markInUse()
1419 cl->dirent = referencer; in markInUse()
1420 cl->longent = longRef; in markInUse()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c831 static CLIENT *cl = NULL; in callaurpc() local
841 if (cl == NULL || oldprognum != prognum || oldversnum != versnum || in callaurpc()
843 if (cl) { in callaurpc()
844 clnt_destroy(cl); in callaurpc()
845 cl = NULL; in callaurpc()
847 cl = clnt_create_timed(host, prognum, versnum, "udp", in callaurpc()
849 if (cl == NULL) in callaurpc()
851 if ((cl->cl_auth = authunix_create_default()) == NULL) { in callaurpc()
852 clnt_destroy(cl); in callaurpc()
864 clnt_stat = clnt_call(cl, procnum, inproc, in, in callaurpc()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c936 free(cl); in copy_cl_item()
947 free(cl); in copy_cl_item()
952 free(cl); in copy_cl_item()
958 cl->public = MOVE_ADDR(cl, sizeof (struct cachekey3_list)); in copy_cl_item()
960 cl->secret = MOVE_ADDR(cl->public->keybuf3_val, in copy_cl_item()
978 cl->refcnt = 0; in copy_cl_item()
979 cl->next = 0; in copy_cl_item()
983 return (cl); in copy_cl_item()
993 struct cachekey3_list *cl = 0, **cltmp = &cl; in cache_retrieve_ch() local
1030 return (cl); in cache_retrieve_ch()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dipropd_svc.c211 getclhoststr(char *clprinc, char *cl, int len) in getclhoststr() argument
215 if (!++s || strlcpy(cl, s, len) >= len) { in getclhoststr()
218 if (s = strchr(cl, '@')) { in getclhoststr()
220 return (cl); /* success */ in getclhoststr()

1234567