/freebsd-10.0-release/sys/cam/scsi/ |
H A D | scsi_target.c | 73 TARG_STATE_OPENED = 0x01, /* Device opened, softc initialized */ 129 static cam_status targenable(struct targ_softc *softc, 132 static cam_status targdisable(struct targ_softc *softc); 136 static int targusermerge(struct targ_softc *softc, 139 static int targsendccb(struct targ_softc *softc, union ccb *ccb, 143 static int targreturnccb(struct targ_softc *softc, 145 static union ccb * targgetccb(struct targ_softc *softc, xpt_opcode type, 147 static void targfreeccb(struct targ_softc *softc, union ccb *ccb); 149 targgetdescr(struct targ_softc *softc); 153 static void abort_all_pending(struct targ_softc *softc); 171 struct targ_softc *softc; local 206 struct targ_softc *softc; local 229 struct targ_softc *softc; local 303 struct targ_softc *softc; local 329 struct targ_softc *softc; local 341 struct targ_softc *softc; local 351 struct targ_softc *softc; local 387 targenable(struct targ_softc *softc, struct cam_path *path, int grp6_len, int grp7_len) argument 457 targdisable(struct targ_softc *softc) argument 484 struct targ_softc *softc; local 497 struct targ_softc *softc; local 527 struct targ_softc *softc; local 618 struct targ_softc *softc; local 653 targusermerge(struct targ_softc *softc, struct targ_cmd_descr *descr, union ccb *ccb) argument 710 targsendccb(struct targ_softc *softc, union ccb *ccb, struct targ_cmd_descr *descr) argument 764 struct targ_softc *softc; local 807 struct targ_softc *softc; local 902 targreturnccb(struct targ_softc *softc, union ccb *ccb) argument 934 targgetccb(struct targ_softc *softc, xpt_opcode type, int priority) argument 957 targfreeccb(struct targ_softc *softc, union ccb *ccb) argument 986 targgetdescr(struct targ_softc *softc) argument 1017 abort_all_pending(struct targ_softc *softc) argument 1071 notify_user(struct targ_softc *softc) argument [all...] |
H A D | scsi_da.c | 234 #define dadeleteflag(softc, delete_method, enable) \ 236 softc->delete_available |= (1 << delete_method); \ 238 softc->delete_available &= ~(1 << delete_method); \ 1124 static void dadeletemethodset(struct da_softc *softc, 1126 static off_t dadeletemaxsize(struct da_softc *softc, 1128 static void dadeletemethodchoose(struct da_softc *softc, 1166 #define DA_SIO (softc->sort_io_queue >= 0 ? \ 1167 softc->sort_io_queue : cam_sort_io_queues) 1219 struct da_softc *softc; local 1237 softc 1271 struct da_softc *softc; local 1333 struct da_softc *softc = (struct da_softc *)periph->softc; local 1363 struct da_softc *softc; local 1410 struct da_softc *softc; local 1540 struct da_softc *softc; local 1569 struct da_softc *softc; local 1595 struct da_softc *softc; local 1639 struct da_softc *softc; local 1706 struct da_softc *softc; local 1796 struct da_softc *softc; local 1847 dadeletemethodset(struct da_softc *softc, da_delete_methods delete_method) argument 1862 dadeletemaxsize(struct da_softc *softc, da_delete_methods delete_method) argument 1891 struct da_softc *softc; local 1948 dadeletemethodchoose(struct da_softc *softc, da_delete_methods default_method) argument 1972 struct da_softc *softc; local 1999 struct da_softc *softc; local 2204 struct da_softc *softc; local 2549 struct da_softc *softc = (struct da_softc *)periph->softc;; local 2636 struct da_softc *softc = (struct da_softc *)periph->softc; local 2721 struct da_softc *softc; local 2774 struct da_softc *softc; local 2883 struct da_softc *softc; local 3497 struct da_softc *softc; local 3521 struct da_softc *softc; local 3574 struct da_softc *softc = periph->softc; local 3590 struct da_softc *softc; local 3631 struct da_softc *softc; local 3745 struct da_softc *softc = arg; local 3771 struct da_softc *softc; local [all...] |
H A D | scsi_sa.c | 483 struct sa_softc *softc; local 493 softc = (struct sa_softc *)periph->softc; 496 ("saopen(%s): softc=0x%x\n", devtoname(dev), softc->flags)); 499 softc->ctrl_mode = 1; 510 if (softc->flags & SA_FLAG_OPEN) { 512 } else if (softc->flags & SA_FLAG_INVALID) { 518 softc->open_rdonly = (flags & O_RDWR) == O_RDONLY; 529 softc 556 struct sa_softc *softc; local 717 struct sa_softc *softc; local 851 struct sa_softc *softc; local 1386 struct sa_softc *softc; local 1409 struct sa_softc *softc; local 1475 struct sa_softc *softc; local 1517 struct sa_softc *softc; local 1708 struct sa_softc *softc; local 1869 struct sa_softc *softc; local 1972 struct sa_softc *softc; local 2433 struct sa_softc *softc; local 2468 struct sa_softc *softc; local 2680 struct sa_softc *softc; local 2869 struct sa_softc *softc; local 3182 struct sa_softc *softc; local 3222 struct sa_softc *softc; local 3249 struct sa_softc *softc; local 3319 struct sa_softc *softc; local 3342 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 3366 struct sa_softc *softc = (struct sa_softc *)periph->softc; local 3408 struct sa_softc *softc; local 3442 struct sa_softc *softc; local 3469 struct sa_softc *softc; local 3499 struct sa_softc *softc; local 3527 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 585 struct pass_softc *softc; local 675 struct pass_softc *softc; local 746 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-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_lookup.c | 100 /* Parameters: softc(I) - pointer to soft context main structure */ 105 ipf_lookup_soft_create(softc) 106 ipf_main_softc_t *softc; 119 softl->ipf_back[i] = (*(*l)->ipfl_create)(softc); 121 ipf_lookup_soft_destroy(softc, softl); 133 /* Parameters: softc(I) - pointer to soft context main structure */ 139 ipf_lookup_soft_init(softc, arg) 140 ipf_main_softc_t *softc; 148 err = (*backends[i]->ipfl_init)(softc, softl->ipf_back[i]); 160 /* Parameters: softc( [all...] |
H A D | ip_frag.c | 192 /* Parameters: softc(I) - pointer to soft context main structure */ 198 ipf_frag_soft_create(softc) 199 ipf_main_softc_t *softc; 227 /* Parameters: softc(I) - pointer to soft context main structure */ 233 ipf_frag_soft_destroy(softc, arg) 234 ipf_main_softc_t *softc; 250 /* Parameters: softc(I) - pointer to soft context main structure */ 257 ipf_frag_soft_init(softc, arg) 258 ipf_main_softc_t *softc; 295 /* Parameters: softc( 616 ipf_main_softc_t *softc = fin->fin_main_soft; local 826 ipf_main_softc_t *softc = fin->fin_main_soft; local 867 ipf_main_softc_t *softc = fin->fin_main_soft; local 906 ipf_main_softc_t *softc = fin->fin_main_soft; local [all...] |
H A D | fil.c | 153 #define LBUMP(x) softc->x++ 154 #define LBUMPD(x, y) do { softc->x.y++; DT(y); } while (0) 616 ipf_main_softc_t *softc = fin->fin_main_soft; local 629 ipf_main_softc_t *softc = fin->fin_main_soft; local 658 ipf_main_softc_t *softc = fin->fin_main_soft; local 790 ipf_main_softc_t *softc = fin->fin_main_soft; local 839 ipf_main_softc_t *softc = fin->fin_main_soft; local 894 ipf_main_softc_t *softc = fin->fin_main_soft; local 923 ipf_main_softc_t *softc = fin->fin_main_soft; local 1058 ipf_main_softc_t *softc local 1086 ipf_main_softc_t *softc = fin->fin_main_soft; local 1116 ipf_main_softc_t *softc = fin->fin_main_soft; local 1152 ipf_main_softc_t *softc = fin->fin_main_soft; local 1228 ipf_main_softc_t *softc = fin->fin_main_soft; local 1341 ipf_main_softc_t *softc = fin->fin_main_soft; local 1516 ipf_main_softc_t *softc = fin->fin_main_soft; local 1592 ipf_main_softc_t *softc = fin->fin_main_soft; local 1613 ipf_main_softc_t *softc = fin->fin_main_soft; local 1662 ipf_main_softc_t *softc = fin->fin_main_soft; local 1943 ipf_main_softc_t *softc = fin->fin_main_soft; local 2038 ipf_main_softc_t *softc = fin->fin_main_soft; local 2389 ipf_main_softc_t *softc = fin->fin_main_soft; local 2644 ipf_main_softc_t *softc = fin->fin_main_soft; local 2687 ipf_main_softc_t *softc = fin->fin_main_soft; local 2822 ipf_main_softc_t *softc = ctx; local 3302 ipf_main_softc_t *softc = fin->fin_main_soft; local 6846 ipf_main_softc_t *softc = fin->fin_main_soft; local 9213 ipf_main_softc_t *softc; local 9483 ipf_main_softc_t *softc; local [all...] |
H A D | ip_htable.c | 136 /* Parameters: softc(I) - pointer to soft context main structure */ 141 ipf_htable_soft_create(softc) 142 ipf_main_softc_t *softc; 161 /* Parameters: softc(I) - pointer to soft context main structure */ 168 ipf_htable_soft_destroy(softc, arg) 169 ipf_main_softc_t *softc; 181 /* Parameters: softc(I) - pointer to soft context main structure */ 187 ipf_htable_soft_init(softc, arg) 188 ipf_main_softc_t *softc; 202 /* Parameters: softc( [all...] |
H A D | ip_ipsec_pxy.c | 44 ipf_p_ipsec_soft_create(softc) 45 ipf_main_softc_t *softc; 65 ipf_p_ipsec_soft_init(softc, arg) 66 ipf_main_softc_t *softc; 71 softi->ipsec_nat_tqe = ipf_state_add_tq(softc, softi->ipsec_proxy_ttl); 74 softi->ipsec_state_tqe = ipf_nat_add_tq(softc, softi->ipsec_proxy_ttl); 77 ipf_freetimeoutqueue(softc, softi->ipsec_nat_tqe); 91 ipf_p_ipsec_soft_fini(softc, arg) 92 ipf_main_softc_t *softc; 102 ipf_freetimeoutqueue(softc, soft 140 ipf_main_softc_t *softc = fin->fin_main_soft; local 276 ipf_main_softc_t *softc = fin->fin_main_soft; local [all...] |
H A D | ip_pool.c | 152 RWLOCK_INIT(softc->ipf_poolrw, "poolrw"); 261 /* Parameters: softc(I) - pointer to soft context main structure */ 266 ipf_pool_soft_create(softc) 267 ipf_main_softc_t *softc; 293 /* Parameters: softc(I) - pointer to soft context main structure */ 299 ipf_pool_soft_init(softc, arg) 300 ipf_main_softc_t *softc; 314 /* Parameters: softc(I) - pointer to soft context main structure */ 323 ipf_pool_soft_fini(softc, arg) 324 ipf_main_softc_t *softc; [all...] |
H A D | ip_state.c | 230 /* Parameters: softc(I) - pointer to soft context main structure */ 236 ipf_state_soft_create(softc) 237 ipf_main_softc_t *softc; 251 ipf_state_soft_destroy(softc, softs); 254 if (ipf_tune_array_link(softc, softs->ipf_state_tune) == -1) { 255 ipf_state_soft_destroy(softc, softs); 282 /* Parameters: softc(I) - pointer to soft context main structure */ 289 ipf_state_soft_destroy(softc, arg) 290 ipf_main_softc_t *softc; 296 ipf_tune_array_unlink(softc, soft 2151 ipf_main_softc_t *softc = fin->fin_main_soft; local 2336 ipf_main_softc_t *softc = fin->fin_main_soft; local 2431 ipf_main_softc_t *softc = fin->fin_main_soft; local 2666 ipf_main_softc_t *softc = fin->fin_main_soft; local 2891 ipf_main_softc_t *softc = fin->fin_main_soft; local 3021 ipf_main_softc_t *softc = fin->fin_main_soft; local 3303 ipf_main_softc_t *softc = fin->fin_main_soft; local 4032 ipf_main_softc_t *softc = fin->fin_main_soft; local 4440 ipf_main_softc_t *softc = fin->fin_main_soft; local [all...] |
/freebsd-10.0-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 | 517 #define ADA_RA (softc->read_ahead >= 0 ? \ 518 softc->read_ahead : ada_read_ahead) 519 #define ADA_WC (softc->write_cache >= 0 ? \ 520 softc->write_cache : ada_write_cache) 521 #define ADA_SIO (softc->sort_io_queue >= 0 ? \ 522 softc->sort_io_queue : cam_sort_io_queues) 598 struct ada_softc *softc; local 616 softc = (struct ada_softc *)periph->softc; 617 softc 628 struct ada_softc *softc; local 684 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 713 struct ada_softc *softc; local 760 struct ada_softc *softc; local 892 struct ada_softc *softc; local 915 struct ada_softc *softc; local 941 struct ada_softc *softc; local 1015 struct ada_softc *softc; local 1054 struct ada_softc *softc; local 1131 struct ada_softc *softc; local 1392 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 1705 struct ada_softc *softc; local 1880 struct ada_softc *softc = (struct ada_softc *)periph->softc; local 1919 struct ada_softc *softc = arg; local 1945 struct ada_softc *softc; local 1998 struct ada_softc *softc; local 2063 struct ada_softc *softc; local [all...] |
/freebsd-10.0-release/sys/nfs/ |
H A D | nfs_fha.c | 52 fha_init(struct fha_params *softc) argument 60 softc->g_fha.hashtable = hashinit(256, M_NFS_FHA, 61 &softc->g_fha.hashmask); 66 softc->ctls.enable = FHA_DEF_ENABLE; 67 softc->ctls.bin_shift = FHA_DEF_BIN_SHIFT; 68 softc->ctls.max_nfsds_per_fh = FHA_DEF_MAX_NFSDS_PER_FH; 69 softc->ctls.max_reqs_per_nfsd = FHA_DEF_MAX_REQS_PER_NFSD; 76 softc->server_name); 77 TUNABLE_INT_FETCH(tmpstr, &softc->ctls.enable); 79 softc 118 fha_uninit(struct fha_params *softc) argument 227 fha_hash_entry_lookup(struct fha_params *softc, u_int64_t fh) argument 314 fha_hash_entry_choose_thread(struct fha_params *softc, struct fha_hash_entry *fhe, struct fha_info *i, SVCTHREAD *this_thread) argument 418 fha_assign(SVCTHREAD *this_thread, struct svc_req *req, struct fha_params *softc) argument 491 fhe_stats_sysctl(SYSCTL_HANDLER_ARGS, struct fha_params *softc) argument [all...] |
/freebsd-10.0-release/sys/cam/ctl/ |
H A D | ctl_frontend_internal.c | 157 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; 251 memset(softc, 0, sizeof(*softc)); 253 mtx_init(&softc->lock, "CTL frontend mutex", NULL, MTX_DEF); 254 softc->flags |= CTL_FLAG_MASTER_SHELF; 256 STAILQ_INIT(&softc 325 struct cfi_softc *softc; local 359 struct cfi_softc *softc; local 379 struct cfi_softc *softc; local 402 struct cfi_softc *softc; local 455 struct cfi_softc *softc; local 810 struct cfi_softc *softc; local 1164 cfi_metatask_done(struct cfi_softc *softc, struct cfi_metatask *metatask) argument 1284 struct cfi_softc *softc; local 1433 struct cfi_softc *softc; local 1690 struct cfi_softc *softc; local 1730 struct cfi_softc *softc; local 1773 struct cfi_softc *softc; local [all...] |
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 670 ctl_backend_ramdisk_modify(struct ctl_be_ramdisk_softc *softc, struct ctl_lun_req *req) argument 740 struct ctl_be_ramdisk_softc *softc; local 771 struct ctl_be_ramdisk_softc *softc; local 820 struct ctl_be_ramdisk_softc *softc; local [all...] |
H A D | ctl_frontend_cam_sim.c | 144 struct cfcs_softc *softc; local 152 softc = &cfcs_softc; 154 bzero(softc, sizeof(*softc)); 155 sprintf(softc->lock_desc, "ctl2cam"); 156 mtx_init(&softc->lock, softc->lock_desc, NULL, MTX_DEF); 157 fe = &softc->fe; 162 snprintf(softc->port_name, sizeof(softc 300 struct cfcs_softc *softc; local 507 struct cfcs_softc *softc; local 563 struct cfcs_softc *softc; local [all...] |
/freebsd-10.0-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-10.0-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-10.0-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...] |