/src/lib/libc/rpc/ |
clnt_raw.c | 103 struct clntraw_private *clp; local in function:clnt_raw_create 109 if ((clp = clntraw_private) == NULL) { 110 clp = calloc((size_t)1, sizeof (*clp)); 111 if (clp == NULL) 118 clp->_raw_buf = __rpc_rawcombuf; 119 clntraw_private = clp; 122 xdrs = &clp->xdr_stream; 123 client = &clp->client_object; 133 xdrmem_create(xdrs, clp->u.mashl_callmsg, MCALL_MSG_SIZE, XDR_ENCODE); 164 struct clntraw_private *clp = clntraw_private; local in function:clnt_raw_call 262 struct clntraw_private *clp = clntraw_private; local in function:clnt_raw_freeres [all...] |
/src/sbin/mount_nfs/ |
getnfsargs.c | 104 CLIENT *clp; local in function:getnfsargs 204 clp = clnt_tp_create(hostp, RPCPROG_MNT, mntvers, 206 if (clp == NULL) { 212 CLNT_CONTROL(clp, CLSET_RETRY_TIMEOUT, 214 clp->cl_auth = authsys_create_default(); 219 clnt_stat = clnt_call(clp, RPCMNT_MOUNT, 230 errx(1, "%s", clnt_sperror(clp, 234 auth_destroy(clp->cl_auth); 235 clnt_destroy(clp); 241 warnx("%s", clnt_sperror(clp, [all...] |
/src/sys/fs/nfs/server/ |
nfs_nfsdsocket.c | 625 struct nfsclient *clp, *nclp; local in function:nfsrvd_compound 692 LIST_FOREACH_SAFE(clp, &nfsclienthash[i], lc_hash, 694 if (clp->lc_flags & LCL_EXPIREIT) { 695 if (!LIST_EMPTY(&clp->lc_open) || 696 !LIST_EMPTY(&clp->lc_deleg)) 697 nfsrv_writestable(clp->lc_id, 698 clp->lc_idlen, NFSNST_REVOKE, p); 699 nfsrv_cleanclient(clp, p); 700 nfsrv_freedeleglist(&clp->lc_deleg); 701 nfsrv_freedeleglist(&clp->lc_olddeleg) [all...] |
nfs_nfsdserv.c | 3449 struct nfsclient *clp = NULL; local in function:nfsrvd_setclientid 3473 clp = malloc(sizeof(struct nfsclient) + i, M_NFSDCLIENT, M_WAITOK | 3475 clp->lc_stateid = malloc(sizeof(struct nfsstatehead) * 3477 NFSINITSOCKMUTEX(&clp->lc_req.nr_mtx); 3478 NFSSOCKADDRALLOC(clp->lc_req.nr_nam); 3479 NFSSOCKADDRSIZE(clp->lc_req.nr_nam, sizeof (struct sockaddr_in)); 3480 clp->lc_req.nr_cred = NULL; 3481 NFSBCOPY(verf, clp->lc_verf, NFSX_VERF); 3482 clp->lc_idlen = idlen; 3483 error = nfsrv_mtostr(nd, clp->lc_id, idlen) 3724 struct nfsclient *clp = NULL; local in function:nfsrvd_exchangeid [all...] |
nfs_nfsdstate.c | 95 static void nfsrv_dumpaclient(struct nfsclient *clp, 108 static int nfsrv_getstate(struct nfsclient *clp, nfsv4stateid_t *stateidp, 123 static int nfsrv_checkgrace(struct nfsrv_descript *nd, struct nfsclient *clp, 125 static int nfsrv_docallback(struct nfsclient *clp, int procnum, 128 static int nfsrv_cbcallargs(struct nfsrv_descript *nd, struct nfsclient *clp, 131 static u_int32_t nfsrv_nextstateindex(struct nfsclient *clp); 132 static void nfsrv_markstable(struct nfsclient *clp); 133 static int nfsrv_checkstable(struct nfsclient *clp); 134 static int nfsrv_clientconflict(struct nfsclient *clp, int *haslockp, struct 139 struct nfsclient *clp, int *haslockp, NFSPROC_T *p) 176 struct nfsclient *clp = NULL, *new_clp = *new_clpp; local in function:nfsrv_setclient 487 struct nfsclient *clp; local in function:nfsrv_getclient 692 struct nfsclient *clp; local in function:nfsrv_destroyclient 761 struct nfsclient *clp = NULL; local in function:nfsrv_adminrevoke 829 struct nfsclient *clp; local in function:nfsrv_dumpclients 1066 struct nfsclient *clp, *nclp; local in function:nfsrv_servertimer 1535 struct nfsclient *clp = NULL; local in function:nfsrv_lockctrl 2248 struct nfsclient *clp; local in function:nfsrv_opencheck 2503 struct nfsclient *clp; local in function:nfsrv_openctrl 3235 struct nfsclient *clp; local in function:nfsrv_openupdate 3392 struct nfsclient *clp; local in function:nfsrv_delegupdate 3474 struct nfsclient *clp; local in function:nfsrv_releaselckown 4813 struct nfsclient *clp = stp->ls_clp; local in function:nfsrv_delegconflict 5260 struct nfsclient *clp; local in function:nfsrv_checkgetattr 5361 struct nfsclient *clp, *nclp; local in function:nfsrv_throwawayopens 5740 struct nfsclient *clp, *nclp; local in function:nfsrv_throwawayallstate 5974 struct nfsclient *clp; local in function:nfsrv_freestateid 6083 struct nfsclient *clp; local in function:nfsrv_freeallbackchannel_xprts [all...] |
/src/sbin/umount/ |
umount.c | 197 CLIENT *clp; local in function:umountfs 343 clp = clnt_create(hostp, RPCPROG_MNT, RPCMNT_VER1, proto); 344 if (clp == NULL) { 348 clp->cl_auth = authsys_create_default(); 351 clnt_stat = clnt_call(clp, RPCMNT_UMOUNT, xdr_dir, 354 clnt_perror(clp, "Bad MNT RPC"); 357 auth_destroy(clp->cl_auth); 358 clnt_destroy(clp);
|
/src/sys/dev/ |
dksubr.c | 922 struct cpu_disklabel *clp = dksc->sc_dkdev.dk_cpulabel; local in function:dk_getdisklabel 928 memset(clp, 0x0, sizeof(*clp));
|
ccd.c | 1588 struct cpu_disklabel *clp; local in function:ccdgetdisklabel 1593 clp = cs->sc_dkdev.dk_cpulabel; 1596 memset(clp, 0, sizeof(*clp));
|
vnd.c | 1913 struct cpu_disklabel *clp = sc->sc_dkdev.dk_cpulabel; local in function:vndgetdisklabel 1916 memset(clp, 0, sizeof(*clp)); 1923 errstring = readdisklabel(VNDLABELDEV(dev), vndstrategy, lp, clp);
|
/src/sys/fs/nfs/client/ |
nfs_clport.c | 703 struct nfsclclient *clp; local in function:start_nfscl 706 clp = (struct nfsclclient *)arg; 707 td = TAILQ_FIRST(&clp->nfsc_renewthread->p_threads); 708 nfscl_renewthread(clp, td); 713 nfscl_start_renewthread(struct nfsclclient *clp) 716 kproc_create(start_nfscl, (void *)clp, &clp->nfsc_renewthread, 0, 0,
|
nfs_clvfsops.c | 1372 struct nfsclclient *clp; local in function:mountnfs 1378 clp = NULL; 1511 error = nfscl_getcl(mp, cred, td, 0, &clp); 1586 clp->nfsc_renew = NFSCL_RENEW(lease); 1587 clp->nfsc_expire = NFSD_MONOSEC + clp->nfsc_renew; 1588 clp->nfsc_clientidrev++; 1589 if (clp->nfsc_clientidrev == 0) 1590 clp->nfsc_clientidrev++; 1596 nfscl_start_renewthread(clp); [all...] |
nfs_clstate.c | 203 #define NETFAMILY(clp) \ 204 (((clp)->nfsc_flags & NFSCLFLAGS_AFINET6) ? AF_INET6 : AF_INET) 215 struct nfsclclient *clp; local in function:nfscl_open 239 ret = nfscl_getcl(vnode_mount(vp), cred, p, 1, &clp); 257 LIST_FOREACH(dp, NFSCLDELEGHASH(clp, nfhp, fhlen), nfsdl_hash) { 272 ohp = &clp->nfsc_owner; 282 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen, 324 nfscl_newopen(struct nfsclclient *clp, struct nfscldeleg *dp, 343 nowp->nfsow_clp = clp; 352 LIST_INSERT_HEAD(&clp->nfsc_owner, nowp, nfsow_list) 479 struct nfsclclient *clp; local in function:nfscl_getstateid 703 struct nfsclclient *clp; local in function:nfscl_openrelease 734 struct nfsclclient *clp; local in function:nfscl_getcl 886 struct nfsclclient *clp; local in function:nfscl_findcl 933 struct nfsclclient *clp; local in function:nfscl_getbytelock 1279 struct nfsclclient *clp; local in function:nfscl_checkwritelocked 1381 struct nfsclclient *clp; local in function:nfscl_lockrelease 1796 struct nfsclclient *clp; local in function:nfscl_umount 2785 struct nfsclclient *clp; local in function:nfscl_dumpstate 2880 struct nfsclclient *clp; local in function:nfscl_dupopen 2989 struct nfsclclient *clp; local in function:nfscl_getclose 3063 struct nfsclclient *clp; local in function:nfscl_doclose 3148 struct nfsclclient *clp; local in function:nfscl_docb 3569 struct nfsclclient *clp; local in function:nfscl_nextcbident 3605 struct nfsclclient *clp; local in function:nfscl_getmnt 3640 struct nfsclclient *clp; local in function:nfscl_getclnt 3654 struct nfsclclient *clp; local in function:nfscl_getclntsess 4207 struct nfsclclient *clp; local in function:nfscl_mustflush 4241 struct nfsclclient *clp; local in function:nfscl_nodeleg 4274 struct nfsclclient *clp; local in function:nfscl_removedeleg 4371 struct nfsclclient *clp; local in function:nfscl_renamedeleg 4506 struct nfsclclient *clp; local in function:nfscl_getref 4525 struct nfsclclient *clp; local in function:nfscl_relref 4544 struct nfsclclient *clp; local in function:nfscl_reclaimnode 4571 struct nfsclclient *clp; local in function:nfscl_newnode 4598 struct nfsclclient *clp; local in function:nfscl_delegmodtime 4627 struct nfsclclient *clp; local in function:nfscl_deleggetmodtime 4691 struct nfsclclient *clp; local in function:nfscl_layout 4978 struct nfsclclient *clp; local in function:nfscl_adddevinfo 5184 struct nfsclclient *clp; local in function:nfscl_layoutcommit [all...] |
nfs_clrpcops.c | 624 struct nfsclclient *clp; local in function:nfsrpc_close 630 error = nfscl_doclose(vp, &clp, p); 632 error = nfscl_getclose(vp, &clp); 636 nfscl_clientrelease(clp); 822 nfsrpc_setclient(struct nfsmount *nmp, struct nfsclclient *clp, int reclaim, 840 clp->nfsc_rev = rev++; 842 error = nfsrpc_exchangeid(nmp, clp, &nmp->nm_sockreq, 887 *tl = txdr_unsigned(clp->nfsc_rev); 888 (void) nfsm_strtom(nd, clp->nfsc_id, clp->nfsc_idlen) 3671 struct nfsclclient *clp; local in function:nfsrpc_advlock 5242 struct nfsclclient *clp; local in function:nfsrpc_fillsa [all...] |
/src/lib/libcurses/ |
refresh.c | 1555 __LINE *clp, *tmp1, *tmp2; local in function:quickch 1786 clp = curscr->alines[target]; 1799 if (clp->hash != blank_hash || 1800 !lineeq(clp->line, clp->line + 1, 1802 !_cursesi_celleq(clp->line, buf)) 1807 (void) memcpy(clp->line + i - 1810 (void)memcpy(clp->line, buf, 1814 clp->hash = blank_hash;
|
/src/sys/arch/mac68k/obio/ |
iwm_fd.c | 1564 struct cpu_disklabel *clp; local in function:fdGetDiskLabel 1571 clp = fd->diskInfo.dk_cpulabel; 1573 memset(clp, 0, sizeof(struct cpu_disklabel)); 1610 msg = readdisklabel(dev, fdstrategy, lp, clp);
|
/src/sys/arch/sparc64/dev/ |
fdc.c | 2430 struct cpu_disklabel *clp = fd->sc_dk.dk_cpulabel; local in function:fdgetdisklabel 2433 memset(clp, 0, sizeof(struct cpu_disklabel)); 2462 if (readdisklabel(dev, fdstrategy, lp, clp) != NULL) {
|
/src/sys/arch/amiga/dev/ |
fd.c | 773 struct cpu_disklabel *clp; local in function:fdgetdisklabel 785 clp = sc->dkdev.dk_cpulabel; 787 memset(clp, 0, sizeof(struct cpu_disklabel)); 836 struct disklabel *clp; local in function:fdsetdisklabel 845 clp = sc->dkdev.dk_label; 854 lp->d_nsectors != clp->d_nsectors || 856 lp->d_ncylinders != clp->d_ncylinders || 857 lp->d_secpercyl != clp->d_secpercyl || 858 lp->d_secperunit != clp->d_secperunit || 887 memcpy(clp, lp, sizeof(struct disklabel)) [all...] |
/src/sys/arch/sparc/dev/ |
fd.c | 2247 struct cpu_disklabel *clp = fd->sc_dk.dk_cpulabel; local in function:fdgetdisklabel 2250 memset(clp, 0, sizeof(struct cpu_disklabel)); 2278 if (readdisklabel(dev, fdstrategy, lp, clp) != NULL) {
|
/src/sys/arch/sun3/dev/ |
fd.c | 1873 struct cpu_disklabel *clp = fd->sc_dk.dk_cpulabel; local in function:fdgetdisklabel 1876 memset(clp, 0, sizeof(struct cpu_disklabel)); 1903 if (readdisklabel(dev, fdstrategy, lp, clp) != NULL) {
|