HomeSort by: relevance | last modified time | path
    Searched refs:clp (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/sys/kern/
tty_subr.c 71 clalloc(struct clist *clp, int size, int quot)
74 clp->c_cs = kmem_zalloc(size, KM_SLEEP);
76 clp->c_cq = kmem_zalloc(QMEM(size), KM_SLEEP);
78 clp->c_cq = NULL;
80 clp->c_cf = clp->c_cl = NULL;
81 clp->c_ce = clp->c_cs + size;
82 clp->c_cn = size;
83 clp->c_cc = 0
    [all...]
  /src/sys/arch/mvme68k/mvme68k/
disksubr.c 51 static void bsdtocpulabel(struct disklabel *lp, struct cpu_disklabel *clp);
52 static void cputobsdlabel(struct disklabel *lp, struct cpu_disklabel *clp);
56 static void printclp(struct cpu_disklabel *clp, const char *str);
70 struct cpu_disklabel *clp)
89 memcpy(clp, bp->b_data, sizeof (struct cpu_disklabel));
94 if (msg || clp->magic1 != DISKMAGIC || clp->magic2 != DISKMAGIC) {
98 cputobsdlabel(lp, clp);
102 printclp(clp, "readdisklabel: cpu label");
113 struct cpu_disklabel *clp)
    [all...]
  /src/sys/arch/mvme68k/stand/libsa/
bugdev.c 39 void cputobsdlabel(struct disklabel *lp, struct cpu_disklabel *clp);
187 cputobsdlabel(struct disklabel *lp, struct cpu_disklabel *clp)
191 lp->d_magic = (uint32_t)clp->magic1;
192 lp->d_type = (uint16_t)clp->type;
193 lp->d_subtype = (uint16_t)clp->subtype;
195 memcpy(lp->d_typename, clp->vid_vd, 16);
196 memcpy(lp->d_packname, clp->packname, 16);
198 lp->d_secsize = (uint32_t)clp->cfg_psm;
199 lp->d_nsectors = (uint32_t)clp->cfg_spt;
200 lp->d_ncylinders = (uint32_t)clp->cfg_trk; /* trk is num of cyl! *
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/nspire/
Makefile 5 nspire-clp.dtb
  /src/lib/libc/rpc/
clnt_raw.c 103 struct clntraw_private *clp; local
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
262 struct clntraw_private *clp = clntraw_private; local
    [all...]
  /src/sys/fs/nfs/client/
nfs_clstate.c 203 #define NETFAMILY(clp) \
204 (((clp)->nfsc_flags & NFSCLFLAGS_AFINET6) ? AF_INET6 : AF_INET)
215 struct nfsclclient *clp; local
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
703 struct nfsclclient *clp; local
734 struct nfsclclient *clp; local
886 struct nfsclclient *clp; local
933 struct nfsclclient *clp; local
1279 struct nfsclclient *clp; local
1381 struct nfsclclient *clp; local
1796 struct nfsclclient *clp; local
2785 struct nfsclclient *clp; local
2880 struct nfsclclient *clp; local
2989 struct nfsclclient *clp; local
3063 struct nfsclclient *clp; local
3148 struct nfsclclient *clp; local
3569 struct nfsclclient *clp; local
3605 struct nfsclclient *clp; local
3640 struct nfsclclient *clp; local
3654 struct nfsclclient *clp; local
4207 struct nfsclclient *clp; local
4241 struct nfsclclient *clp; local
4274 struct nfsclclient *clp; local
4371 struct nfsclclient *clp; local
4506 struct nfsclclient *clp; local
4525 struct nfsclclient *clp; local
4544 struct nfsclclient *clp; local
4571 struct nfsclclient *clp; local
4598 struct nfsclclient *clp; local
4627 struct nfsclclient *clp; local
4691 struct nfsclclient *clp; local
4978 struct nfsclclient *clp; local
5184 struct nfsclclient *clp; local
    [all...]
nfs_clrpcops.c 624 struct nfsclclient *clp; local
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
5242 struct nfsclclient *clp; local
    [all...]
nfs_clport.c 703 struct nfsclclient *clp; local
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
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...]
  /src/sys/fs/nfs/server/
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
487 struct nfsclient *clp; local
692 struct nfsclient *clp; local
761 struct nfsclient *clp = NULL; local
829 struct nfsclient *clp; local
1066 struct nfsclient *clp, *nclp; local
1535 struct nfsclient *clp = NULL; local
2248 struct nfsclient *clp; local
2503 struct nfsclient *clp; local
3235 struct nfsclient *clp; local
3392 struct nfsclient *clp; local
3474 struct nfsclient *clp; local
4813 struct nfsclient *clp = stp->ls_clp; local
5260 struct nfsclient *clp; local
5361 struct nfsclient *clp, *nclp; local
5740 struct nfsclient *clp, *nclp; local
5974 struct nfsclient *clp; local
6083 struct nfsclient *clp; local
    [all...]
nfs_nfsdserv.c 3449 struct nfsclient *clp = NULL; local
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
    [all...]
nfs_nfsdsocket.c 625 struct nfsclient *clp, *nclp; local
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...]
  /src/sys/arch/luna68k/luna68k/
disksubr.c 177 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
213 memcpy(clp->cd_block, bp->b_data, sizeof(clp->cd_block));
220 dlp = (struct disklabel *)(clp->cd_block + LABELOFFSET);
230 slp = (struct sun_disklabel *)clp->cd_block;
232 return (disklabel_om_to_bsd(clp->cd_block, lp));
235 memset(clp->cd_block, 0, sizeof(clp->cd_block));
241 * Current label is already in clp->cd_block[]
244 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
    [all...]
  /src/sys/dev/sun/
disksubr.c 91 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
125 memcpy(clp->cd_block, bp->b_data, sizeof(clp->cd_block));
132 dlp = (struct disklabel *) (clp->cd_block + LABELOFFSET);
141 slp = (struct sun_disklabel *) clp->cd_block;
143 return (disklabel_sun_to_bsd(clp->cd_block, lp));
149 for (dlp = (struct disklabel *)clp->cd_block;
150 dlp <= (struct disklabel *)((char *)clp->cd_block +
164 memset(clp->cd_block, 0, sizeof(clp->cd_block))
    [all...]
  /src/sbin/mount_nfs/
getnfsargs.c 104 CLIENT *clp; local
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/arch/atari/atari/
disksubr.c 73 struct cpu_disklabel *clp)
77 if (clp != NULL)
78 memset(clp, 0, sizeof *clp);
80 printf("Warning: clp == NULL\n");
109 e = bsd_label(dev, strat, lp, 0, clp != NULL ? &clp->cd_label : NULL);
118 if (e > 0 && (clp != NULL))
119 e = ahdi_label(dev, strat, lp, clp);
142 struct cpu_disklabel *clp)
    [all...]
  /src/sys/arch/alpha/alpha/
disksubr.c 56 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
103 if (clp && (bdp = &clp->bad) != NULL && (lp->d_flags & D_BADSECT)) {
149 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
  /src/sys/arch/amiga/amiga/
disksubr.c 130 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
143 clp->rdblock = RDBNULL;
230 clp->rdblock = nextb;
234 clp->pbindex[i] = -1;
235 clp->pblist[i] = RDBNULL;
358 clp->rdblock = RDBNULL; /* invalidate cpulab */
366 clp->rdblock = RDBNULL; /* invalidate cpulab */
484 clp->pblist[clp->pbindex[i] = cindex++] = nextb;
492 if (clp->rdblock != RDBNULL
    [all...]
  /src/sys/arch/evbmips/evbmips/
disksubr.c 51 struct cpu_disklabel *clp)
108 if (clp && (bdp = &clp->bad) != NULL && (lp->d_flags & D_BADSECT)) {
155 struct cpu_disklabel *clp)
  /src/sbin/umount/
umount.c 197 CLIENT *clp; local
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/fs/nfs/common/
nfs_commonkrpc.c 312 * - upcalls to nfsuserd and gssd (clp == NULL)
481 struct nfsclient *clp, struct nfssockreq *nrp, vnode_t vp,
533 * For a client side mount, nmp is != NULL and clp == NULL. For
536 if (clp != NULL) {
538 if ((clp->lc_flags & LCL_GSS) && nfsrv_gsscallbackson) {
541 if (clp->lc_flags & LCL_GSSINTEGRITY)
543 else if (clp->lc_flags & LCL_GSSPRIVACY)
706 if (clp == NULL)
749 if (clp != NULL && sep != NULL)
843 (clp != NULL && i == NFSV4OP_CBSEQUENCE && j != 0)
    [all...]
nfsrvstate.h 57 #define NFSSTATEHASH(clp, id) \
58 (&((clp)->lc_stateid[(id).other[2] % nfsrv_statehashsize]))
  /src/sys/arch/mipsco/mipsco/
disksubr.c 67 readdisklabel(dev_t dev, void (*strat)(struct buf *bp), register struct disklabel *lp, struct cpu_disklabel *clp)
149 writedisklabel(dev_t dev, void (*strat)(struct buf *bp), register struct disklabel *lp, struct cpu_disklabel *clp)
  /src/sys/arch/sgimips/sgimips/
disksubr.c 74 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
135 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp)
  /src/sys/arch/amiga/dev/
fd.c 773 struct cpu_disklabel *clp; local
785 clp = sc->dkdev.dk_cpulabel;
787 memset(clp, 0, sizeof(struct cpu_disklabel));
836 struct disklabel *clp; local
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...]

Completed in 45 milliseconds

1 2