/freebsd/contrib/nvi/cl/ |
H A D | cl_screen.c | 47 CL_PRIVATE *clp; in cl_screen() local 52 clp = CLP(sp); in cl_screen() 133 CL_PRIVATE *clp; in cl_quit() local 137 clp = GCLP(gp); in cl_quit() 183 CL_PRIVATE *clp; in cl_vi_init() local 188 clp = CLP(sp); in cl_vi_init() 384 clp = GCLP(gp); in cl_vi_end() 430 clp = CLP(sp); in cl_ex_init() 448 if (clp->smso == NULL || clp->rmso == NULL) { in cl_ex_init() 469 clp->ex_enter = clp->orig; in cl_ex_init() [all …]
|
H A D | cl_funcs.c | 37 CL_PRIVATE *clp; in addstr4() local 42 clp = CLP(sp); in addstr4() 104 CL_PRIVATE *clp; in cl_attr() local 107 clp = CLP(sp); in cl_attr() 201 clp = CLP(sp); in cl_baud() 315 clp = CLP(sp); in cl_deleteln() 392 clp = CLP(sp); in cl_ex_adjust() 468 clp = CLP(sp); in cl_keyval() 527 clp = CLP(sp); in cl_refresh() 611 clp = CLP(sp); in cl_rename() [all …]
|
H A D | cl_main.c | 51 CL_PRIVATE *clp; in main() local 82 clp = cl_init(gp); in main() 128 (void)cl_omesg(NULL, clp, clp->tgw == TGW_SET); in main() 146 free(clp->oname); in main() 147 free(clp); in main() 178 CL_PRIVATE *clp; in cl_init() local 182 if (clp == NULL) in cl_init() 215 return (clp); in cl_init() 283 CL_PRIVATE *clp; in sig_init() local 285 clp = GCLP(gp); in sig_init() [all …]
|
H A D | cl_read.c | 49 CL_PRIVATE *clp; in cl_event() local 60 clp = CLP(sp); in cl_event() 63 F_CLR(clp, CL_SIGINT); in cl_event() 103 clp->ibuf + clp->skip, SIZE(clp->ibuf) - clp->skip, &nr, tp)) { in cl_event() 105 rc = INPUT2INT5(sp, clp->cw, clp->ibuf, nr + clp->skip, in cl_event() 112 memmove(clp->ibuf, clp->ibuf + nr + clp->skip - n, n); in cl_event() 113 clp->skip = n; in cl_event() 117 clp->skip = 0; in cl_event() 147 CL_PRIVATE *clp; in cl_read() local 154 clp = CLP(sp); in cl_read() [all …]
|
H A D | cl_term.c | 263 CL_PRIVATE *clp; in cl_optchange() local 265 clp = CLP(sp); in cl_optchange() 280 (void)cl_omesg(sp, clp, *valp); in cl_optchange() 284 F_SET(clp, CL_RENAME_OK); in cl_optchange() 293 F_CLR(clp, CL_RENAME_OK); in cl_optchange() 309 cl_omesg(SCR *sp, CL_PRIVATE *clp, int on) in cl_omesg() argument 327 if (clp->tgw == TGW_UNKNOWN) in cl_omesg() 328 clp->tgw = sb.st_mode & S_IWGRP ? TGW_SET : TGW_UNSET; in cl_omesg()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_changelist.c | 260 clp->cl_prop == clp->cl_realprop) || in changelist_postfix() 439 if (clp->cl_tree) { in changelist_free() 455 if (clp->cl_pool) in changelist_free() 458 free(clp); in changelist_free() 537 if (clp->cl_alldependents || clp->cl_allchildren || in change_one() 673 changelist_free(clp); in changelist_gather() 677 clp->cl_tree = uu_avl_create(clp->cl_pool, NULL, UU_DEFAULT); in changelist_gather() 707 clp->cl_prop = prop; in changelist_gather() 714 return (clp); in changelist_gather() 737 clp) != 0) { in changelist_gather() [all …]
|
H A D | libzfs_mount.c | 667 prop_changelist_t *clp; in zfs_unmountall() local 670 clp = changelist_gather(zhp, ZFS_PROP_MOUNTPOINT, in zfs_unmountall() 672 if (clp == NULL) in zfs_unmountall() 675 ret = changelist_prefix(clp); in zfs_unmountall() 676 changelist_free(clp); in zfs_unmountall() 836 prop_changelist_t *clp; in zfs_unshareall() local 842 clp = changelist_gather(zhp, ZFS_PROP_SHARENFS, 0, 0); in zfs_unshareall() 843 if (clp == NULL) in zfs_unshareall() 846 ret = changelist_unshare(clp, proto); in zfs_unshareall() 847 changelist_free(clp); in zfs_unshareall()
|
H A D | libzfs_sendrecv.c | 3005 if (clp == NULL) { in recv_rename() 3054 if (clp != NULL) in recv_rename() 3055 changelist_free(clp); in recv_rename() 3117 prop_changelist_t *clp; in recv_destroy() local 3133 if (clp == NULL) in recv_destroy() 3157 changelist_free(clp); in recv_destroy() 3939 if (clp != NULL) { in zfs_receive_package() 4863 if (clp == NULL) { in zfs_receive_one() 5303 if (clp) { in zfs_receive_one() 5306 changelist_free(clp); in zfs_receive_one() [all …]
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clstate.c | 908 clp = newclp; in nfscl_getcl() 1029 *clpp = clp; in nfscl_getcl() 1044 return (clp); in nfscl_findcl() 1127 clp = rclp; in nfscl_getbytelock() 1130 &clp); in nfscl_getbytelock() 2498 if (clp == NULL || clidrev != clp->nfsc_clientidrev) in nfscl_hasexpired() 2770 clp->nfsc_expire = NFSD_MONOSEC + clp->nfsc_renew; in nfscl_renewthread() 2858 ret = nfscl_recalldeleg(clp, clp->nfsc_nmp, dp, in nfscl_renewthread() 3316 *clpp = clp; in nfscl_getclose() 3393 *clpp = clp; in nfscl_doclose() [all …]
|
H A D | nfs_clvfsops.c | 1516 struct nfsclclient *clp; in mountnfs() local 1527 clp = NULL; in mountnfs() 1785 clp->nfsc_renew = NFSCL_RENEW(lease); in mountnfs() 1786 clp->nfsc_expire = NFSD_MONOSEC + clp->nfsc_renew; in mountnfs() 1787 clp->nfsc_clientidrev++; in mountnfs() 1788 if (clp->nfsc_clientidrev == 0) in mountnfs() 1789 clp->nfsc_clientidrev++; in mountnfs() 1795 nfscl_start_renewthread(clp); in mountnfs() 1796 nfscl_clientrelease(clp); in mountnfs() 1824 if (clp != NULL) in mountnfs() [all …]
|
H A D | nfs_clport.c | 775 struct nfsclclient *clp; in start_nfscl() local 778 clp = (struct nfsclclient *)arg; in start_nfscl() 779 td = TAILQ_FIRST(&clp->nfsc_renewthread->p_threads); in start_nfscl() 780 nfscl_renewthread(clp, td); in start_nfscl() 785 nfscl_start_renewthread(struct nfsclclient *clp) in nfscl_start_renewthread() argument 788 kproc_create(start_nfscl, (void *)clp, &clp->nfsc_renewthread, 0, 0, in nfscl_start_renewthread()
|
/freebsd/lib/libc/rpc/ |
H A D | clnt_raw.c | 87 struct clntraw_private *clp; in clnt_raw_create() local 94 clp = (struct clntraw_private *)calloc(1, sizeof (*clp)); in clnt_raw_create() 95 if (clp == NULL) { in clnt_raw_create() 103 clntraw_private = clp; in clnt_raw_create() 105 xdrs = &clp->xdr_stream; in clnt_raw_create() 106 client = &clp->client_object; in clnt_raw_create() 119 clp->mcnt = XDR_GETPOS(xdrs); in clnt_raw_create() 142 XDR *xdrs = &clp->xdr_stream; in clnt_raw_call() 150 if (clp == NULL) { in clnt_raw_call() 163 if ((! XDR_PUTBYTES(xdrs, clp->u.mashl_callmsg, clp->mcnt)) || in clnt_raw_call() [all …]
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 313 !NFSBCMP(new_clp->lc_id, clp->lc_id, clp->lc_idlen)) { in nfsrv_setclient() 652 clp = NULL; in nfsrv_getclient() 738 LIST_NEWHEAD(&clp->lc_olddeleg, &clp->lc_deleg, in nfsrv_getclient() 819 *clpp = clp; in nfsrv_getclient() 1004 clp = LIST_NEXT(clp, lc_hash); in nfsrv_dumpclients() 1367 clp = nclp; in nfsrv_servertimer() 4382 clp->lc_req.nr_prog = clp->lc_program; in nfsrv_docallback() 4518 clp->lc_program, clp->lc_req.nr_vers, NULL, in nfsrv_docallback() 4553 error = newnfs_request(nd, NULL, clp, &clp->lc_req, in nfsrv_docallback() 4680 if (clp->lc_stateindex != clp->lc_statemaxindex) in nfsrv_nextstateindex() [all …]
|
H A D | nfs_nfsdserv.c | 4018 clp->lc_idlen = idlen; in nfsrvd_setclientid() 4029 clp->lc_flags = 0; in nfsrvd_setclientid() 4034 clp->lc_name = &clp->lc_id[idlen]; in nfsrvd_setclientid() 4035 NFSBCOPY(nd->nd_principal, clp->lc_name, clp->lc_namelen); in nfsrvd_setclientid() 4103 if (clp) { in nfsrvd_setclientid() 4121 if (clp) { in nfsrvd_setclientid() 4355 clp->lc_idlen = idlen; in nfsrvd_exchangeid() 4372 clp->lc_name = &clp->lc_id[idlen]; in nfsrvd_exchangeid() 4373 NFSBCOPY(nd->nd_principal, clp->lc_name, clp->lc_namelen); in nfsrvd_exchangeid() 4423 if (clp != NULL) { in nfsrvd_exchangeid() [all …]
|
H A D | nfs_nfsdsocket.c | 714 struct nfsclient *clp, *nclp; in nfsrvd_compound() local 795 if (clp->lc_flags & LCL_EXPIREIT) { in nfsrvd_compound() 796 if (!LIST_EMPTY(&clp->lc_open) || in nfsrvd_compound() 797 !LIST_EMPTY(&clp->lc_deleg)) in nfsrvd_compound() 798 nfsrv_writestable(clp->lc_id, in nfsrvd_compound() 799 clp->lc_idlen, NFSNST_REVOKE, p); in nfsrvd_compound() 800 nfsrv_cleanclient(clp, p); in nfsrvd_compound() 801 nfsrv_freedeleglist(&clp->lc_deleg); in nfsrvd_compound() 802 nfsrv_freedeleglist(&clp->lc_olddeleg); in nfsrvd_compound() 803 LIST_REMOVE(clp, lc_hash); in nfsrvd_compound() [all …]
|
/freebsd/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 172 CLIENT *clp; in do_umntall() local 178 if (clp == NULL) { in do_umntall() 182 clp->cl_auth = authunix_create_default(); in do_umntall() 183 clnt_stat = clnt_call(clp, MOUNTPROC_UMNTALL, in do_umntall() 188 auth_destroy(clp->cl_auth); in do_umntall() 189 clnt_destroy(clp); in do_umntall() 200 CLIENT *clp; in do_umount() local 206 if (clp == NULL) { in do_umount() 210 clp->cl_auth = authsys_create_default(); in do_umount() 215 auth_destroy(clp->cl_auth); in do_umount() [all …]
|
/freebsd/usr.bin/gprof/ |
H A D | arcs.c | 449 cltype *clp; in cycleanalyze() local 496 for ( clp = cyclehead ; clp ; ) { in cycleanalyze() 497 endlist = &clp -> list[ clp -> size ]; in cycleanalyze() 501 clp = clp -> next; in cycleanalyze() 502 free( clp ); in cycleanalyze() 569 for ( clp = cyclehead ; clp ; clp = clp -> next ) { in addcycle() 718 for ( clp = cyclehead ; clp ; ) { in compresslist() 719 endlist = &clp -> list[ clp -> size ]; in compresslist() 725 clp = clp -> next; in compresslist() 732 clp = clp -> next; in compresslist() [all …]
|
/freebsd/sys/cam/ |
H A D | cam_iosched.c | 658 clp->softc = isc; in cam_iosched_cl_init() 663 clp->type = set_max; in cam_iosched_cl_init() 673 isc = clp->softc; in cam_iosched_cl_maybe_steer() 678 clp->next_steer = now + clp->steer_interval; in cam_iosched_cl_maybe_steer() 717 if (lat < clp->lolat || isc->read_stats.total - clp->last_count < 10) in cam_iosched_cl_maybe_steer() 918 clp = arg1; in cam_iosched_control_type_sysctl() 919 isc = clp->softc; in cam_iosched_control_type_sysctl() 920 value = clp->type; in cam_iosched_control_type_sysctl() 935 clp->type = i; in cam_iosched_control_type_sysctl() 1096 clp = &isc->cl; in cam_iosched_cl_sysctl_init() [all …]
|
/freebsd/sbin/mount_nfs/ |
H A D | mount_nfs.c | 753 CLIENT *clp; in nfs_tryproto() local 837 if (clp == NULL) { in nfs_tryproto() 851 clnt_destroy(clp); in nfs_tryproto() 865 clnt_destroy(clp); in nfs_tryproto() 869 clnt_geterr(clp, &rpcerr); in nfs_tryproto() 872 clnt_destroy(clp); in nfs_tryproto() 875 clnt_destroy(clp); in nfs_tryproto() 907 if (clp == NULL) { in nfs_tryproto() 922 clnt_destroy(clp); in nfs_tryproto() 929 clnt_destroy(clp); in nfs_tryproto() [all …]
|
/freebsd/sbin/umount/ |
H A D | umount.c | 341 CLIENT *clp; in umountfs() local 440 clp = clnt_create(hostp, MOUNTPROG, MOUNTVERS3, proto_ptr); in umountfs() 441 if (clp == NULL) { in umountfs() 447 clp->cl_auth = authsys_create_default(); in umountfs() 450 clnt_stat = clnt_call(clp, MOUNTPROC_UMNT, (xdrproc_t)xdr_dir, in umountfs() 454 clnt_sperror(clp, "RPCMNT_UMOUNT")); in umountfs() 468 auth_destroy(clp->cl_auth); in umountfs() 469 clnt_destroy(clp); in umountfs()
|
/freebsd/contrib/tcpdump/ |
H A D | print-atm.c | 432 uint8_t cell_type, func_type, payload, clp; in oam_print() local 448 clp = cell_header&0x1; in oam_print() 454 clp, length); in oam_print()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 669 struct nfsclient *clp, struct nfssockreq *nrp, vnode_t vp, in newnfs_request() argument 752 if (clp != NULL) { in newnfs_request() 754 if ((clp->lc_flags & LCL_GSS) && nfsrv_gsscallbackson) { in newnfs_request() 757 if (clp->lc_flags & LCL_GSSINTEGRITY) in newnfs_request() 759 else if (clp->lc_flags & LCL_GSSPRIVACY) in newnfs_request() 924 if (clp == NULL) { in newnfs_request() 970 if (clp != NULL && sep != NULL) in newnfs_request() 1128 (clp != NULL && i == NFSV4OP_CBSEQUENCE && j != 0)) { in newnfs_request() 1139 (clp != NULL && i == NFSV4OP_CBSEQUENCE && in newnfs_request() 1308 (nd->nd_flag & ND_NFSV4) && (clp != NULL || in newnfs_request()
|
H A D | nfsrvstate.h | 60 #define NFSSTATEHASH(clp, id) \ argument 61 (&((clp)->lc_stateid[(id).other[2] % nfsrv_statehashsize]))
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ti/ |
H A D | nspire.yaml | 23 - ti,nspire-clp
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | fsl_sata.c | 991 struct fsl_sata_cmd_list *clp; in fsl_sata_execute_transaction() local 1010 clp = FSL_SATA_CLP(ch, slot); in fsl_sata_execute_transaction() 1011 clp->fis_length = htole16(fis_size); in fsl_sata_execute_transaction() 1012 clp->prd_length = htole16(slot->dma.nsegs); in fsl_sata_execute_transaction() 1028 clp->cmd_flags = htole32(cmd_flags | in fsl_sata_execute_transaction() 1031 clp->ttl = htole32(slot->ttl); in fsl_sata_execute_transaction() 1032 clp->cda = htole32(FSL_SATA_CTP_BUS(ch, slot)); in fsl_sata_execute_transaction() 1178 struct fsl_sata_cmd_list *clp; in fsl_sata_end_transaction() local 1184 clp = FSL_SATA_CLP(ch, slot); in fsl_sata_end_transaction() 1219 ccb->ataio.dxfer_len - le32toh(clp->ttl); in fsl_sata_end_transaction() [all …]
|