/freebsd-9.3-release/sys/cam/scsi/ |
H A D | scsi_target.c | 73 TARG_STATE_OPENED = 0x01, /* Device opened, softc initialized */ 133 static cam_status targenable(struct targ_softc *softc, 136 static cam_status targdisable(struct targ_softc *softc); 140 static int targusermerge(struct targ_softc *softc, 143 static int targsendccb(struct targ_softc *softc, union ccb *ccb, 147 static int targreturnccb(struct targ_softc *softc, 149 static union ccb * targgetccb(struct targ_softc *softc, xpt_opcode type, 151 static void targfreeccb(struct targ_softc *softc, union ccb *ccb); 153 targgetdescr(struct targ_softc *softc); 159 static void abort_all_pending(struct targ_softc *softc); 182 struct targ_softc *softc; local 216 struct targ_softc *softc; local 268 struct targ_softc *softc; local 342 struct targ_softc *softc; local 368 struct targ_softc *softc; local 380 struct targ_softc *softc; local 390 struct targ_softc *softc; local 426 targenable(struct targ_softc *softc, struct cam_path *path, int grp6_len, int grp7_len) argument 496 targdisable(struct targ_softc *softc) argument 523 struct targ_softc *softc; local 536 struct targ_softc *softc; local 566 struct targ_softc *softc; local 657 struct targ_softc *softc; local 692 targusermerge(struct targ_softc *softc, struct targ_cmd_descr *descr, union ccb *ccb) argument 749 targsendccb(struct targ_softc *softc, union ccb *ccb, struct targ_cmd_descr *descr) argument 803 struct targ_softc *softc; local 846 struct targ_softc *softc; local 941 targreturnccb(struct targ_softc *softc, union ccb *ccb) argument 973 targgetccb(struct targ_softc *softc, xpt_opcode type, int priority) argument 996 targfreeccb(struct targ_softc *softc, union ccb *ccb) argument 1025 targgetdescr(struct targ_softc *softc) argument 1068 abort_all_pending(struct targ_softc *softc) argument 1122 notify_user(struct targ_softc *softc) argument 1222 struct targ_softc *softc = (struct targ_softc *)device->si_drv1; local [all...] |
H A D | scsi_da.c | 235 #define dadeleteflag(softc, delete_method, enable) \ 237 softc->delete_available |= (1 << delete_method); \ 239 softc->delete_available &= ~(1 << delete_method); \ 1140 static void dadeletemethodset(struct da_softc *softc, 1142 static off_t dadeletemaxsize(struct da_softc *softc, 1144 static void dadeletemethodchoose(struct da_softc *softc, 1182 #define DA_SIO (softc->sort_io_queue >= 0 ? \ 1183 softc->sort_io_queue : cam_sort_io_queues) 1235 struct da_softc *softc; local 1253 softc 1287 struct da_softc *softc; local 1349 struct da_softc *softc = (struct da_softc *)periph->softc; local 1379 struct da_softc *softc; local 1426 struct da_softc *softc; local 1556 struct da_softc *softc; local 1585 struct da_softc *softc; local 1611 struct da_softc *softc; local 1655 struct da_softc *softc; local 1730 struct da_softc *softc; local 1820 struct da_softc *softc; local 1871 dadeletemethodset(struct da_softc *softc, da_delete_methods delete_method) argument 1886 dadeletemaxsize(struct da_softc *softc, da_delete_methods delete_method) argument 1915 struct da_softc *softc; local 1973 dadeletemethodchoose(struct da_softc *softc, da_delete_methods default_method) argument 1997 struct da_softc *softc; local 2025 struct da_softc *softc; local 2231 struct da_softc *softc; local 2570 struct da_softc *softc = (struct da_softc *)periph->softc;; local 2657 struct da_softc *softc = (struct da_softc *)periph->softc; local 2742 struct da_softc *softc; local 2795 struct da_softc *softc; local 2904 struct da_softc *softc; local 3521 struct da_softc *softc; local 3545 struct da_softc *softc; local 3606 struct da_softc *softc = periph->softc; local 3622 struct da_softc *softc; local 3663 struct da_softc *softc; local 3772 struct da_softc *softc = arg; local 3795 struct da_softc *softc; local [all...] |
H A D | scsi_sa.c | 459 struct sa_softc *softc; local 469 softc = (struct sa_softc *)periph->softc; 472 ("saopen(%s): softc=0x%x\n", devtoname(dev), softc->flags)); 475 softc->ctrl_mode = 1; 486 if (softc->flags & SA_FLAG_OPEN) { 488 } else if (softc->flags & SA_FLAG_INVALID) { 494 softc->open_rdonly = (flags & O_RDWR) == O_RDONLY; 505 softc 532 struct sa_softc *softc; local 693 struct sa_softc *softc; local 827 struct sa_softc *softc; local 1362 struct sa_softc *softc; local 1385 struct sa_softc *softc; local 1450 struct sa_softc *softc; local 1599 struct sa_softc *softc; local 1760 struct sa_softc *softc; local 1863 struct sa_softc *softc; local 2324 struct sa_softc *softc; local 2359 struct sa_softc *softc; local 2571 struct sa_softc *softc; local 2760 struct sa_softc *softc; local 3073 struct sa_softc *softc; local 3113 struct sa_softc *softc; local 3140 struct sa_softc *softc; local 3210 struct sa_softc *softc; local 3233 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 3257 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 3299 struct sa_softc *softc; local 3333 struct sa_softc *softc; local 3360 struct sa_softc *softc; local 3390 struct sa_softc *softc; local 3418 struct sa_softc *softc; local [all...] |
H A D | scsi_pass.c | 148 struct pass_softc *softc; local 153 softc = (struct pass_softc *)periph->softc; 155 KASSERT(softc->open_count >= 0, ("Negative open count %d", 156 softc->open_count)); 165 for (i = 0; i < softc->open_count; i++) 168 softc->open_count = 0; 188 struct pass_softc *softc; local 190 softc = (struct pass_softc *)periph->softc; 215 struct pass_softc *softc; local 233 struct pass_softc *softc; local 321 struct pass_softc *softc; local 338 struct pass_softc *softc; local 445 struct pass_softc *softc; local 503 struct pass_softc *softc; local 538 struct pass_softc *softc; local 556 struct pass_softc *softc; local 587 struct pass_softc *softc; local 677 struct pass_softc *softc; local 748 struct pass_softc *softc; local [all...] |
H A D | scsi_pt.c | 140 struct pt_softc *softc; local 147 softc = (struct pt_softc *)periph->softc; 150 if (softc->flags & PT_FLAG_DEVICE_INVALID) { 156 if ((softc->flags & PT_FLAG_OPEN) == 0) 157 softc->flags |= PT_FLAG_OPEN; 174 struct pt_softc *softc; local 180 softc = (struct pt_softc *)periph->softc; 184 softc 199 struct pt_softc *softc; local 253 struct pt_softc *softc; local 319 struct pt_softc *softc; local 341 struct pt_softc *softc; local 393 struct pt_softc *softc; local 415 struct pt_softc *softc; local 476 struct pt_softc *softc; local 568 struct pt_softc *softc; local 582 struct pt_softc *softc; local [all...] |
H A D | scsi_ch.c | 252 struct ch_softc *softc; local 258 softc = (struct ch_softc *)periph->softc; 260 KASSERT(softc->open_count >= 0, ("Negative open count %d", 261 softc->open_count)); 270 for (i = 0; i < softc->open_count; i++) 273 softc->open_count = 0; 293 struct ch_softc *softc; local 295 softc = (struct ch_softc *)periph->softc; 314 struct ch_softc *softc; local 373 struct ch_softc *softc; local 461 struct ch_softc *softc; local 508 struct ch_softc *softc; local 543 struct ch_softc *softc; local 608 struct ch_softc *softc; local 752 struct ch_softc *softc; local 766 struct ch_softc *softc; local 887 struct ch_softc *softc; local 941 struct ch_softc *softc; local 1004 struct ch_softc *softc; local 1073 copy_element_status(struct ch_softc *softc, u_int16_t flags, struct read_element_status_descriptor *desc, struct changer_element_status *ces, int scsi_version) argument 1219 struct ch_softc *softc; local 1433 struct ch_softc *softc; local 1468 struct ch_softc *softc; local 1555 struct ch_softc *softc; local [all...] |
H A D | scsi_cd.c | 246 static void cdchangerschedule(struct cd_softc *softc); 403 struct cd_softc *softc; local 405 softc = (struct cd_softc *)periph->softc; 412 softc->flags |= CD_FLAG_INVALID; 419 bioq_flush(&softc->bio_queue, NULL, ENXIO); 426 if ((softc->flags & CD_FLAG_CHANGER) 427 && (softc->pinfo.index != CAM_UNQUEUED_INDEX)) 428 camq_remove(&softc->changer->devq, softc 436 struct cd_softc *softc; local 524 struct cd_softc *softc; local 617 struct cd_softc *softc; local 692 struct cd_softc *softc; local 1076 struct cd_softc *softc; local 1121 struct cd_softc *softc; local 1184 struct cd_softc *softc; local 1228 struct cd_softc *softc; local 1328 cdchangerschedule(struct cd_softc *softc) argument 1408 struct cd_softc *softc; local 1427 struct cd_softc *softc; local 1471 struct cd_softc *softc; local 1525 struct cd_softc *softc; local 1647 struct cd_softc *softc; local 1966 struct cd_softc *softc; local 2849 struct cd_softc *softc; local 2893 struct cd_softc *softc; local 3034 struct cd_softc *softc; local 3092 struct cd_softc *softc; local 3239 struct cd_softc *softc; local 3286 struct cd_softc *softc = periph->softc; local 3411 struct cd_softc *softc; local 3510 struct cd_softc *softc; local [all...] |
H A D | scsi_targ_bh.c | 234 struct targbh_softc *softc; local 238 softc = (struct targbh_softc *)periph->softc; 240 if ((softc->flags & TARGBH_FLAG_LUN_ENABLED) != 0) 259 softc->flags |= TARGBH_FLAG_LUN_ENABLED; 287 softc->accept_tio_list; 288 softc->accept_tio_list = atio; 321 SLIST_INSERT_HEAD(&softc->immed_notify_slist, &inot->ccb_h, 344 struct targbh_softc *softc; local 348 softc 392 struct targbh_softc *softc; local 419 struct targbh_softc *softc; local 443 struct targbh_softc *softc; local 534 struct targbh_softc *softc; local [all...] |
H A D | scsi_sg.c | 177 struct sg_softc *softc; local 182 softc = (struct sg_softc *)periph->softc; 184 KASSERT(softc->open_count >= 0, ("Negative open count %d", 185 softc->open_count)); 194 for (i = 0; i < softc->open_count; i++) 197 softc->open_count = 0; 218 struct sg_softc *softc; local 220 softc = (struct sg_softc *)periph->softc; 246 struct sg_softc *softc; local 302 struct sg_softc *softc; local 388 struct sg_softc *softc; local 406 struct sg_softc *softc; local 445 struct sg_softc *softc; local 485 struct sg_softc *softc; local 523 struct sg_softc *softc; local 942 struct sg_softc *softc; local 976 struct sg_softc *softc; local 988 struct sg_softc *softc; local [all...] |
/freebsd-9.3-release/sys/cam/ata/ |
H A D | ata_pmp.c | 183 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local 187 mask &= ~softc->frozen; 194 softc->frozen |= (1 << i); 205 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local 209 mask &= softc->frozen; 216 softc->frozen &= ~(1 << i); 249 struct pmp_softc *softc; local 251 softc 272 struct pmp_softc *softc; local 341 struct pmp_softc *softc; local 369 struct pmp_softc *softc; local 424 struct pmp_softc *softc; local 585 struct pmp_softc *softc; local [all...] |
H A D | ata_da.c | 529 #define ADA_RA (softc->read_ahead >= 0 ? \ 530 softc->read_ahead : ada_read_ahead) 531 #define ADA_WC (softc->write_cache >= 0 ? \ 532 softc->write_cache : ada_write_cache) 533 #define ADA_SIO (softc->sort_io_queue >= 0 ? \ 534 softc->sort_io_queue : cam_sort_io_queues) 610 struct ada_softc *softc; local 628 softc = (struct ada_softc *)periph->softc; 629 softc 640 struct ada_softc *softc; local 696 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 725 struct ada_softc *softc; local 772 struct ada_softc *softc; local 904 struct ada_softc *softc; local 927 struct ada_softc *softc; local 953 struct ada_softc *softc; local 1027 struct ada_softc *softc; local 1066 struct ada_softc *softc; local 1143 struct ada_softc *softc; local 1404 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 1718 struct ada_softc *softc; local 1892 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 1931 struct ada_softc *softc = arg; local 1954 struct ada_softc *softc; local 2007 struct ada_softc *softc; local 2072 struct ada_softc *softc; local [all...] |
H A D | ata_xpt.c | 123 #define PROBE_SET_ACTION(softc, newaction) \ 127 CAM_DEBUG((softc)->periph->path, CAM_DEBUG_PROBE, \ 128 ("Probe %s to %s\n", text[(softc)->action], \ 130 (softc)->action = (newaction); \ 224 probe_softc *softc; local 233 softc = (probe_softc *)malloc(sizeof(*softc), M_CAMXPT, M_ZERO | M_NOWAIT); 235 if (softc == NULL) { 237 "Unable to allocate softc\n"); 240 TAILQ_INIT(&softc 260 probe_softc *softc; local 286 probe_softc *softc; local 685 probe_softc *softc; local 1519 probe_softc *softc; local [all...] |
/freebsd-9.3-release/sys/nfs/ |
H A D | nfs_fha.c | 52 fha_init(struct fha_params *softc) argument 58 mtx_init(&softc->fha_hash[i].mtx, "fhalock", NULL, MTX_DEF); 63 softc->ctls.enable = FHA_DEF_ENABLE; 64 softc->ctls.bin_shift = FHA_DEF_BIN_SHIFT; 65 softc->ctls.max_nfsds_per_fh = FHA_DEF_MAX_NFSDS_PER_FH; 66 softc->ctls.max_reqs_per_nfsd = FHA_DEF_MAX_REQS_PER_NFSD; 73 softc->server_name); 74 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.enable); 76 softc->server_name); 77 TUNABLE_INT_FETCH(tmpstr, &softc 115 fha_uninit(struct fha_params *softc) argument 230 fha_hash_entry_lookup(struct fha_params *softc, u_int64_t fh) argument 296 fha_hash_entry_choose_thread(struct fha_params *softc, struct fha_hash_entry *fhe, struct fha_info *i, SVCTHREAD *this_thread) argument 383 fha_assign(SVCTHREAD *this_thread, struct svc_req *req, struct fha_params *softc) argument 473 fhe_stats_sysctl(SYSCTL_HANDLER_ARGS, struct fha_params *softc) argument [all...] |
H A D | nfs_fha.h | 109 void fha_init(struct fha_params *softc); 110 void fha_uninit(struct fha_params *softc); 111 int fhe_stats_sysctl(SYSCTL_HANDLER_ARGS, struct fha_params *softc);
|
/freebsd-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_fha_new.c | 66 struct fha_params *softc; local 68 softc = &fhanew_softc; 70 bzero(softc, sizeof(*softc)); 75 softc->callbacks.get_procnum = fhanew_get_procnum; 76 softc->callbacks.realign = fhanew_realign; 77 softc->callbacks.get_fh = fhanew_get_fh; 78 softc->callbacks.is_read = fhanew_is_read; 79 softc->callbacks.is_write = fhanew_is_write; 80 softc 108 struct fha_params *softc; local [all...] |
/freebsd-9.3-release/sys/nfsserver/ |
H A D | nfs_fha_old.c | 73 struct fha_params *softc; local 75 softc = &fhaold_softc; 77 bzero(softc, sizeof(*softc)); 82 softc->callbacks.get_procnum = fhaold_get_procnum; 83 softc->callbacks.realign = fhaold_realign; 84 softc->callbacks.get_fh = fhaold_get_fh; 85 softc->callbacks.is_read = fhaold_is_read; 86 softc->callbacks.is_write = fhaold_is_write; 87 softc 114 struct fha_params *softc; local [all...] |
/freebsd-9.3-release/sys/cam/ctl/ |
H A D | ctl_backend_ramdisk.c | 78 struct ctl_be_ramdisk_softc *softc; member in struct:ctl_be_ramdisk_lun 105 static int ctl_backend_ramdisk_rm(struct ctl_be_ramdisk_softc *softc, 107 static int ctl_backend_ramdisk_create(struct ctl_be_ramdisk_softc *softc, 109 static int ctl_backend_ramdisk_modify(struct ctl_be_ramdisk_softc *softc, 135 struct ctl_be_ramdisk_softc *softc; local 141 softc = &rd_softc; 143 memset(softc, 0, sizeof(*softc)); 145 mtx_init(&softc->lock, "ramdisk", NULL, MTX_DEF); 147 STAILQ_INIT(&softc 167 struct ctl_be_ramdisk_softc *softc; local 262 struct ctl_be_ramdisk_softc *softc; local 349 struct ctl_be_ramdisk_softc *softc; local 390 ctl_backend_ramdisk_rm(struct ctl_be_ramdisk_softc *softc, struct ctl_lun_req *req) argument 487 ctl_backend_ramdisk_create(struct ctl_be_ramdisk_softc *softc, struct ctl_lun_req *req, int do_wait) argument 658 ctl_backend_ramdisk_modify(struct ctl_be_ramdisk_softc *softc, struct ctl_lun_req *req) argument 728 struct ctl_be_ramdisk_softc *softc; local 759 struct ctl_be_ramdisk_softc *softc; local 808 struct ctl_be_ramdisk_softc *softc; local [all...] |
H A D | ctl_frontend_internal.c | 155 struct cfi_softc *softc; member in struct:cfi_lun 212 static void cfi_metatask_done(struct cfi_softc *softc, 235 struct cfi_softc *softc; local 239 softc = &fetd_internal_softc; 241 fe = &softc->fe; 255 memset(softc, 0, sizeof(*softc)); 257 mtx_init(&softc->lock, "CTL frontend mutex", NULL, MTX_DEF); 258 softc->flags |= CTL_FLAG_MASTER_SHELF; 260 STAILQ_INIT(&softc 296 struct cfi_softc *softc; local 327 struct cfi_softc *softc; local 347 struct cfi_softc *softc; local 369 struct cfi_softc *softc; local 418 struct cfi_softc *softc; local 773 struct cfi_softc *softc; local 1127 cfi_metatask_done(struct cfi_softc *softc, struct cfi_metatask *metatask) argument 1247 struct cfi_softc *softc; local 1396 struct cfi_softc *softc; local 1652 struct cfi_softc *softc; local [all...] |
H A D | ctl_frontend_cam_sim.c | 144 struct cfcs_softc *softc; local 156 softc = &cfcs_softc; 158 bzero(softc, sizeof(*softc)); 159 sprintf(softc->lock_desc, "ctl2cam"); 160 mtx_init(&softc->lock, softc->lock_desc, NULL, MTX_DEF); 161 fe = &softc->fe; 166 snprintf(softc->port_name, sizeof(softc 304 struct cfcs_softc *softc; local 511 struct cfcs_softc *softc; local 567 struct cfcs_softc *softc; local [all...] |
H A D | scsi_ctl.c | 218 static void ctlfe_dump_queue(struct ctlfe_lun_softc *softc); 383 printf("%s: unable to malloc %zd bytes for softc\n", 454 struct ctlfe_softc *softc = NULL; local 457 STAILQ_FOREACH(softc, &ctlfe_softc_list, links) { 458 if (softc->path_id == xpt_path_path_id(path)) { 459 STAILQ_REMOVE(&ctlfe_softc_list, softc, 466 if (softc != NULL) { 471 ctl_frontend_deregister(&softc->fe); 472 free(softc, M_CTLFE); 484 struct ctlfe_softc *softc; local 545 struct ctlfe_lun_softc *softc; local 654 struct ctlfe_lun_softc *softc; local 681 struct ctlfe_lun_softc *softc; local 703 struct ctlfe_lun_softc *softc; local 1045 struct ctlfe_lun_softc *softc; local 1152 struct ctlfe_lun_softc *softc; local 1975 struct ctlfe_lun_softc *softc; local 2033 struct ctlfe_softc *softc; local 2085 ctlfe_dump_queue(struct ctlfe_lun_softc *softc) argument 2164 struct ctlfe_lun_softc *softc; local 2210 struct ctlfe_lun_softc *softc; local [all...] |
H A D | ctl_backend_block.c | 163 struct ctl_be_block_softc *softc; member in struct:ctl_be_block_lun 177 * Overall softc structure for the block backend module. 208 struct ctl_be_block_softc *softc; member in struct:ctl_be_block_io 219 static struct ctl_be_block_io *ctl_alloc_beio(struct ctl_be_block_softc *softc); 245 static int ctl_be_block_open(struct ctl_be_block_softc *softc, 248 static int ctl_be_block_create(struct ctl_be_block_softc *softc, 250 static int ctl_be_block_rm(struct ctl_be_block_softc *softc, 256 static int ctl_be_block_modify(struct ctl_be_block_softc *softc, 285 ctl_alloc_beio(struct ctl_be_block_softc *softc) argument 290 beio->softc 852 struct ctl_be_block_softc *softc; local 890 struct ctl_be_block_softc *softc; local 1029 struct ctl_be_block_softc *softc; local 1144 struct ctl_be_block_softc *softc; local 1447 ctl_be_block_open(struct ctl_be_block_softc *softc, struct ctl_be_block_lun *be_lun, struct ctl_lun_req *req) argument 1542 ctl_be_block_create(struct ctl_be_block_softc *softc, struct ctl_lun_req *req) argument 1830 ctl_be_block_rm(struct ctl_be_block_softc *softc, struct ctl_lun_req *req) argument 2001 ctl_be_block_modify(struct ctl_be_block_softc *softc, struct ctl_lun_req *req) argument 2077 struct ctl_be_block_softc *softc; local 2095 struct ctl_be_block_softc *softc; local 2263 struct ctl_be_block_softc *softc; local [all...] |
/freebsd-9.3-release/sys/arm/xscale/i80321/ |
H A D | i80321_aau.c | 96 #define AAU_REG_WRITE(softc, reg, val) \ 97 bus_space_write_4((softc)->sc_st, (softc)->sc_aau_sh, \ 99 #define AAU_REG_READ(softc, reg) \ 100 bus_space_read_4((softc)->sc_st, (softc)->sc_aau_sh, \ 108 struct i80321_aau_softc *softc = device_get_softc(dev); local 112 mtx_init(&softc->mtx, "AAU mtx", NULL, MTX_SPIN); 113 softc->sc_st = sc->sc_st; 114 if (bus_space_subregion(softc [all...] |
H A D | i80321_dma.c | 97 #define DMA_REG_WRITE(softc, reg, val) \ 98 bus_space_write_4((softc)->sc_st, (softc)->sc_dma_sh, \ 100 #define DMA_REG_READ(softc, reg) \ 101 bus_space_read_4((softc)->sc_st, (softc)->sc_dma_sh, \ 110 struct i80321_dma_softc *softc = device_get_softc(dev); local 115 mtx_init(&softc->mtx, "DMA engine mtx", NULL, MTX_SPIN); 116 softc->sc_st = sc->sc_st; 117 if (bus_space_subregion(softc [all...] |
/freebsd-9.3-release/sys/dev/ata/ |
H A D | atapi-cam.c | 77 struct atapi_xpt_softc *softc; member in struct:atapi_hcb 194 device_printf(dev, "Cannot get softc\n"); 345 struct atapi_xpt_softc *softc = (struct atapi_xpt_softc*)cam_sim_softc(sim); local 381 if (softc->ata_ch && tid != CAM_TARGET_WILDCARD) { 382 if (softc->atadev[tid] == NULL) { 387 switch (softc->atadev[ccb_h->target_id]->mode) { 424 cpi->maxio = softc->ata_ch->dma.max_iosize ? 425 softc->ata_ch->dma.max_iosize : DFLTPHYS; 435 mtx_unlock(&softc->state_lock); 436 ata_controlcmd(softc 680 struct atapi_xpt_softc *softc = local 777 struct atapi_xpt_softc *softc; local 839 allocate_hcb(struct atapi_xpt_softc *softc, int unit, int bus, union ccb *ccb) argument [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | subr_terminal.c | 148 terminal_alloc(const struct terminal_class *tc, void *softc) argument 156 tm->tm_softc = softc; 547 termteken_bell(void *softc) argument 549 struct terminal *tm = softc; 555 termteken_cursor(void *softc, const teken_pos_t *p) argument 557 struct terminal *tm = softc; 563 termteken_putchar(void *softc, const teken_pos_t *p, teken_char_t c, argument 566 struct terminal *tm = softc; 572 termteken_fill(void *softc, const teken_rect_t *r, teken_char_t c, argument 575 struct terminal *tm = softc; 581 termteken_copy(void *softc, const teken_rect_t *r, const teken_pos_t *p) argument 589 termteken_param(void *softc, int cmd, unsigned int arg) argument 597 termteken_respond(void *softc, const void *buf, size_t len) argument [all...] |