/dragonfly/contrib/nvi2/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()
|
/dragonfly/lib/libc/rpc/ |
H A D | clnt_raw.c | 90 XDR *xdrs = &clp->xdr_stream; in clnt_raw_create() 94 if (clp == NULL) { in clnt_raw_create() 95 clp = (struct clntraw_private *)calloc(1, sizeof (*clp)); in clnt_raw_create() 96 if (clp == NULL) { in clnt_raw_create() 104 clntraw_private = clp; in clnt_raw_create() 117 clp->mcnt = XDR_GETPOS(xdrs); in clnt_raw_create() 141 XDR *xdrs = &clp->xdr_stream; in clnt_raw_call() 149 if (clp == NULL) { in clnt_raw_call() 162 if ((! XDR_PUTBYTES(xdrs, clp->u.mashl_callmsg, clp->mcnt)) || in clnt_raw_call() 239 XDR *xdrs = &clp->xdr_stream; in clnt_raw_freeres() [all …]
|
/dragonfly/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 175 CLIENT *clp; in do_umntall() local 181 if (clp == NULL) { in do_umntall() 185 clp->cl_auth = authunix_create_default(); in do_umntall() 186 clnt_stat = clnt_call(clp, RPCMNT_UMNTALL, in do_umntall() 191 auth_destroy(clp->cl_auth); in do_umntall() 192 clnt_destroy(clp); in do_umntall() 203 CLIENT *clp; in do_umount() local 209 if (clp == NULL) { in do_umount() 213 clp->cl_auth = authsys_create_default(); in do_umount() 218 auth_destroy(clp->cl_auth); in do_umount() [all …]
|
/dragonfly/sbin/mount_nfs/ |
H A D | mount_nfs.c | 599 CLIENT *clp; in nfs_tryproto() local 660 if (clp == NULL) { in nfs_tryproto() 675 clnt_destroy(clp); in nfs_tryproto() 689 clnt_destroy(clp); in nfs_tryproto() 693 clnt_geterr(clp, &rpcerr); in nfs_tryproto() 696 clnt_destroy(clp); in nfs_tryproto() 699 clnt_destroy(clp); in nfs_tryproto() 705 if (clp == NULL) { in nfs_tryproto() 719 clnt_destroy(clp); in nfs_tryproto() 726 clnt_destroy(clp); in nfs_tryproto() [all …]
|
/dragonfly/sys/dev/disk/nata/chipsets/ |
H A D | ata-ahci.c | 247 struct ata_ahci_cmd_list *clp; in ata_ahci_begin_transaction() local 276 clp = (struct ata_ahci_cmd_list *) in ata_ahci_begin_transaction() 279 clp->prd_length = entries; in ata_ahci_begin_transaction() 280 clp->cmd_flags = (request->flags & ATA_R_WRITE ? ATA_AHCI_CMD_WRITE : 0) | in ata_ahci_begin_transaction() 285 clp->bytecount = 0; in ata_ahci_begin_transaction() 286 clp->cmd_table_phys = htole64(ch->dma->work_bus + ATA_AHCI_CT_OFFSET + in ata_ahci_begin_transaction() 340 struct ata_ahci_cmd_list *clp; in ata_ahci_end_transaction() local 357 clp = (struct ata_ahci_cmd_list *) in ata_ahci_end_transaction() 359 request->donecount = clp->bytecount; in ata_ahci_end_transaction()
|
/dragonfly/sbin/umount/ |
H A D | umount.c | 406 CLIENT *clp; in umountfs() local 464 clp = clnt_create(hostp, RPCPROG_MNT, RPCMNT_VER1, "udp"); in umountfs() 465 if (clp == NULL) { in umountfs() 470 clp->cl_auth = authsys_create_default(); in umountfs() 473 clnt_stat = clnt_call(clp, RPCMNT_UMOUNT, (xdrproc_t)xdr_dir, in umountfs() 477 clnt_sperror(clp, "RPCMNT_UMOUNT")); in umountfs() 491 auth_destroy(clp->cl_auth); in umountfs() 492 clnt_destroy(clp); in umountfs()
|
/dragonfly/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()
|