Searched refs:softc (Results 1 - 25 of 176) sorted by relevance

12345678

/freebsd-10-stable/sys/cam/ctl/
H A Dctl_ha.c164 ctl_ha_conn_wake(struct ha_softc *softc) argument
167 mtx_lock(&softc->ha_lock);
168 softc->ha_wakeup = 1;
169 mtx_unlock(&softc->ha_lock);
170 wakeup(&softc->ha_wakeup);
176 struct ha_softc *softc = arg; local
178 ctl_ha_conn_wake(softc);
185 struct ha_softc *softc = arg; local
187 wakeup(&softc->ha_receiving);
194 struct ha_softc *softc local
201 ctl_ha_evt(struct ha_softc *softc, ctl_ha_channel ch, ctl_ha_event evt, int param) argument
218 ctl_ha_close(struct ha_softc *softc) argument
255 ctl_ha_lclose(struct ha_softc *softc) argument
270 struct ha_softc *softc = arg; local
330 ctl_ha_send(struct ha_softc *softc) argument
363 ctl_ha_sock_setup(struct ha_softc *softc) argument
427 ctl_ha_connect(struct ha_softc *softc) argument
459 ctl_ha_accept(struct ha_softc *softc) argument
520 ctl_ha_listen(struct ha_softc *softc) argument
585 struct ha_softc *softc = arg; local
648 struct ha_softc *softc = (struct ha_softc *)arg1; local
696 struct ha_softc *softc = &ha_softc; local
707 struct ha_softc *softc = &ha_softc; local
722 struct ha_softc *softc = &ha_softc; local
761 struct ha_softc *softc = &ha_softc; local
834 struct ha_softc *softc = &ha_softc; local
870 struct ha_softc *softc = &ha_softc; local
899 struct ha_softc *softc = &ha_softc; local
964 struct ha_softc *softc = &ha_softc; local
996 struct ha_softc *softc = &ha_softc; local
1015 struct ha_softc *softc = &ha_softc; local
[all...]
H A Dctl_frontend.c71 struct ctl_softc *softc = control_softc; local
75 KASSERT(softc != NULL, ("CTL is not initialized"));
78 mtx_lock(&softc->ctl_lock);
79 STAILQ_FOREACH(fe_tmp, &softc->fe_list, links) {
81 mtx_unlock(&softc->ctl_lock);
85 mtx_unlock(&softc->ctl_lock);
97 mtx_lock(&softc->ctl_lock);
98 softc->num_frontends++;
99 STAILQ_INSERT_TAIL(&softc->fe_list, fe, links);
100 mtx_unlock(&softc
107 struct ctl_softc *softc = control_softc; local
129 struct ctl_softc *softc = control_softc; local
146 struct ctl_softc *softc = control_softc; local
225 struct ctl_softc *softc = port->ctl_softc; local
312 struct ctl_softc *softc = port->ctl_softc; local
355 struct ctl_softc *softc = port->ctl_softc; local
[all...]
H A Dscsi_ctl.c192 static void ctlfe_dump_queue(struct ctlfe_lun_softc *softc);
251 struct ctlfe_softc *softc; local
258 STAILQ_FOREACH(softc, &ctlfe_softc_list, links) {
259 if (softc->path_id == xpt_path_path_id(path))
286 if (softc != NULL) {
299 softc = malloc(sizeof(*softc), M_CTLFE, M_NOWAIT | M_ZERO);
300 if (softc == NULL) {
301 printf("%s: unable to malloc %zd bytes for softc\n",
302 __func__, sizeof(*softc));
446 struct ctlfe_lun_softc *softc; local
597 struct ctlfe_lun_softc *softc = (struct ctlfe_lun_softc *)periph->softc; local
639 struct ctlfe_lun_softc *softc; local
656 ctlfedata(struct ctlfe_lun_softc *softc, union ctl_io *io, ccb_flags *flags, uint8_t **data_ptr, uint32_t *dxfer_len, u_int16_t *sglist_cnt) argument
754 struct ctlfe_lun_softc *softc; local
907 struct ctlfe_lun_softc *softc = periph->softc; local
921 struct ctlfe_lun_softc *softc; local
972 struct ctlfe_lun_softc *softc; local
1073 struct ctlfe_lun_softc *softc; local
1728 struct ctlfe_lun_softc *softc; local
1791 struct ctlfe_softc *softc; local
1837 ctlfe_dump_queue(struct ctlfe_lun_softc *softc) argument
1898 struct ctlfe_lun_softc *softc; local
1922 struct ctlfe_lun_softc *softc; local
[all...]
H A Dctl_backend.c68 struct ctl_softc *softc = control_softc; local
73 mtx_lock(&softc->ctl_lock);
74 STAILQ_FOREACH(be_tmp, &softc->be_list, links) {
76 mtx_unlock(&softc->ctl_lock);
80 mtx_unlock(&softc->ctl_lock);
95 mtx_lock(&softc->ctl_lock);
96 STAILQ_INSERT_TAIL(&softc->be_list, be, links);
97 softc->num_backends++;
98 mtx_unlock(&softc->ctl_lock);
105 struct ctl_softc *softc local
127 struct ctl_softc *softc = control_softc; local
[all...]
H A Dctl_frontend_cam_sim.c130 struct cfcs_softc *softc; local
134 softc = &cfcs_softc;
135 bzero(softc, sizeof(*softc));
136 mtx_init(&softc->lock, "ctl2cam", NULL, MTX_DEF);
137 port = &softc->port;
143 snprintf(softc->port_name, sizeof(softc->port_name), "camsim");
144 port->port_name = softc->port_name;
147 port->onoff_arg = softc;
234 struct cfcs_softc *softc = &cfcs_softc; local
261 struct cfcs_softc *softc; local
511 struct cfcs_softc *softc; local
[all...]
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_target.c73 TARG_STATE_OPENED = 0x01, /* Device opened, softc initialized */
130 static cam_status targenable(struct targ_softc *softc,
133 static cam_status targdisable(struct targ_softc *softc);
137 static int targusermerge(struct targ_softc *softc,
140 static int targsendccb(struct targ_softc *softc, union ccb *ccb,
144 static int targreturnccb(struct targ_softc *softc,
146 static union ccb * targgetccb(struct targ_softc *softc, xpt_opcode type,
148 static void targfreeccb(struct targ_softc *softc, union ccb *ccb);
150 targgetdescr(struct targ_softc *softc);
154 static void abort_all_pending(struct targ_softc *softc);
172 struct targ_softc *softc; local
207 struct targ_softc *softc; local
230 struct targ_softc *softc; local
299 struct targ_softc *softc; local
325 struct targ_softc *softc; local
337 struct targ_softc *softc; local
347 struct targ_softc *softc; local
383 targenable(struct targ_softc *softc, struct cam_path *path, int grp6_len, int grp7_len) argument
459 targdisable(struct targ_softc *softc) argument
486 struct targ_softc *softc; local
499 struct targ_softc *softc; local
529 struct targ_softc *softc; local
620 struct targ_softc *softc; local
655 targusermerge(struct targ_softc *softc, struct targ_cmd_descr *descr, union ccb *ccb) argument
712 targsendccb(struct targ_softc *softc, union ccb *ccb, struct targ_cmd_descr *descr) argument
766 struct targ_softc *softc; local
809 struct targ_softc *softc; local
904 targreturnccb(struct targ_softc *softc, union ccb *ccb) argument
936 targgetccb(struct targ_softc *softc, xpt_opcode type, int priority) argument
959 targfreeccb(struct targ_softc *softc, union ccb *ccb) argument
988 targgetdescr(struct targ_softc *softc) argument
1019 abort_all_pending(struct targ_softc *softc) argument
1071 notify_user(struct targ_softc *softc) argument
[all...]
H A Dscsi_pt.c139 struct pt_softc *softc; local
146 softc = (struct pt_softc *)periph->softc;
149 if (softc->flags & PT_FLAG_DEVICE_INVALID) {
155 if ((softc->flags & PT_FLAG_OPEN) == 0)
156 softc->flags |= PT_FLAG_OPEN;
173 struct pt_softc *softc; local
176 softc = (struct pt_softc *)periph->softc;
180 softc
195 struct pt_softc *softc; local
249 struct pt_softc *softc; local
328 struct pt_softc *softc; local
350 struct pt_softc *softc; local
403 struct pt_softc *softc; local
425 struct pt_softc *softc; local
478 struct pt_softc *softc; local
566 struct pt_softc *softc; local
580 struct pt_softc *softc; local
[all...]
H A Dscsi_sa.c314 #define SA_PROT_ENABLED(softc) ((softc->flags & SA_FLAG_PROTECT_SUPP) \
315 && (softc->prot_info.cur_prot_state.initialized != 0) \
316 && (softc->prot_info.cur_prot_state.prot_method != 0))
318 #define SA_PROT_LEN(softc) softc->prot_info.cur_prot_state.pi_length
567 static void safillprot(struct sa_softc *softc, int *indent,
581 static int saparamget(struct sa_softc *softc, struct sbuf *sb);
587 static void sasetupdev(struct sa_softc *softc, struct cdev *dev);
603 static void safilldensitysb(struct sa_softc *softc, in
653 struct sa_softc *softc; local
729 struct sa_softc *softc; local
899 struct sa_softc *softc; local
1018 struct sa_softc *softc; local
1078 struct sa_softc *softc; local
1109 safillprot(struct sa_softc *softc, int *indent, struct sbuf *sb) argument
1186 struct sa_softc *softc; local
1452 struct sa_softc *softc; local
1503 struct sa_softc *softc; local
2138 struct sa_softc *softc; local
2181 struct sa_softc *softc; local
2213 struct sa_softc *softc; local
2277 sasetupdev(struct sa_softc *softc, struct cdev *dev) argument
2295 struct sa_softc *softc; local
2341 struct sa_softc *softc; local
2576 struct sa_softc *softc; local
2782 struct sa_softc *softc; local
2873 struct sa_softc *softc; local
3335 struct sa_softc *softc; local
3370 struct sa_softc *softc; local
3586 struct sa_softc *softc; local
3906 struct sa_softc *softc; local
4091 struct sa_softc *softc; local
4407 struct sa_softc *softc; local
4587 saparamget(struct sa_softc *softc, struct sbuf *sb) argument
4606 struct sa_softc *softc; local
4646 struct sa_softc *softc; local
4677 struct sa_softc *softc; local
4752 struct sa_softc *softc; local
4775 struct sa_softc *softc = (struct sa_softc *)periph->softc; local
4815 struct sa_softc *softc = (struct sa_softc *)periph->softc; local
4911 struct sa_softc *softc = (struct sa_softc *)periph->softc; local
4953 struct sa_softc *softc; local
5070 struct sa_softc *softc; local
5098 struct sa_softc *softc; local
5128 struct sa_softc *softc; local
5159 struct sa_softc *softc; local
5431 safilldensitysb(struct sa_softc *softc, int *indent, struct sbuf *sb) argument
[all...]
H A Dscsi_pass.c174 static void passiocleanup(struct pass_softc *softc,
237 struct pass_softc *softc; local
239 softc = (struct pass_softc *)periph->softc;
245 TAILQ_FOREACH_SAFE(io_req, &softc->done_queue, links, io_req2) {
246 TAILQ_REMOVE(&softc->done_queue, io_req, links);
247 passiocleanup(softc, io_req);
248 uma_zfree(softc->pass_zone, io_req);
256 TAILQ_FOREACH_SAFE(io_req, &softc->incoming_queue, links, io_req2) {
257 TAILQ_REMOVE(&softc
292 struct pass_softc *softc; local
340 struct pass_softc *softc; local
361 struct pass_softc *softc; local
410 struct pass_softc *softc; local
428 struct pass_softc *softc; local
521 struct pass_softc *softc; local
549 struct pass_softc *softc; local
708 struct pass_softc *softc; local
765 struct pass_softc *softc; local
847 struct pass_softc *softc; local
895 struct pass_softc *softc; local
1036 struct pass_softc *softc; local
1118 passiocleanup(struct pass_softc *softc, struct pass_io_req *io_req) argument
1289 struct pass_softc *softc; local
1688 struct pass_softc *softc; local
1767 struct pass_softc *softc; local
2098 struct pass_softc *softc; local
2123 struct pass_softc *softc; local
2139 struct pass_softc *softc; local
2151 struct pass_softc *softc; local
2174 struct pass_softc *softc; local
2252 struct pass_softc *softc; local
[all...]
H A Dscsi_da.c240 #define dadeleteflag(softc, delete_method, enable) \
242 softc->delete_available |= (1 << delete_method); \
244 softc->delete_available &= ~(1 << delete_method); \
1233 static void dadeletemethodset(struct da_softc *softc,
1235 static off_t dadeletemaxsize(struct da_softc *softc,
1237 static void dadeletemethodchoose(struct da_softc *softc,
1275 #define DA_SIO (softc->sort_io_queue >= 0 ? \
1276 softc->sort_io_queue : cam_sort_io_queues)
1328 struct da_softc *softc; local
1346 softc
1380 struct da_softc *softc; local
1435 struct da_softc *softc = (struct da_softc *)periph->softc; local
1457 struct da_softc *softc; local
1499 struct da_softc *softc; local
1629 struct da_softc *softc; local
1658 struct da_softc *softc; local
1684 struct da_softc *softc; local
1729 struct da_softc *softc; local
1809 struct da_softc *softc; local
1899 struct da_softc *softc; local
1950 dadeletemethodset(struct da_softc *softc, da_delete_methods delete_method) argument
1964 dadeletemaxsize(struct da_softc *softc, da_delete_methods delete_method) argument
1993 struct da_softc *softc; local
2043 dadeletemethodchoose(struct da_softc *softc, da_delete_methods default_method) argument
2074 struct da_softc *softc; local
2103 struct da_softc *softc; local
2308 struct da_softc *softc; local
2680 struct da_softc *softc = (struct da_softc *)periph->softc;; local
2768 struct da_softc *softc = (struct da_softc *)periph->softc; local
2854 struct da_softc *softc; local
2908 struct da_softc *softc; local
3010 struct da_softc *softc; local
3703 struct da_softc *softc; local
3723 struct da_softc *softc; local
3787 struct da_softc *softc = periph->softc; local
3803 struct da_softc *softc; local
3844 struct da_softc *softc; local
3958 struct da_softc *softc = arg; local
3981 struct da_softc *softc; local
[all...]
H A Dscsi_ch.c250 struct ch_softc *softc; local
259 softc = (struct ch_softc *)periph->softc;
260 KASSERT(softc->open_count >= 0, ("Negative open count %d",
261 softc->open_count));
268 for (i = 0; i < softc->open_count; i++)
271 softc->open_count = 0;
291 struct ch_softc *softc; local
293 softc = (struct ch_softc *)periph->softc;
312 struct ch_softc *softc; local
372 struct ch_softc *softc; local
471 struct ch_softc *softc; local
517 struct ch_softc *softc; local
549 struct ch_softc *softc; local
607 struct ch_softc *softc; local
747 struct ch_softc *softc; local
761 struct ch_softc *softc; local
879 struct ch_softc *softc; local
933 struct ch_softc *softc; local
996 struct ch_softc *softc; local
1065 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
1211 struct ch_softc *softc; local
1425 struct ch_softc *softc; local
1460 struct ch_softc *softc; local
1547 struct ch_softc *softc; local
[all...]
H A Dscsi_targ_bh.c233 struct targbh_softc *softc; local
237 softc = (struct targbh_softc *)periph->softc;
239 if ((softc->flags & TARGBH_FLAG_LUN_ENABLED) != 0)
258 softc->flags |= TARGBH_FLAG_LUN_ENABLED;
286 softc->accept_tio_list;
287 softc->accept_tio_list = atio;
320 SLIST_INSERT_HEAD(&softc->immed_notify_slist, &inot->ccb_h,
343 struct targbh_softc *softc; local
347 softc
391 struct targbh_softc *softc; local
418 struct targbh_softc *softc; local
442 struct targbh_softc *softc; local
527 struct targbh_softc *softc; local
[all...]
H A Dscsi_sg.c175 struct sg_softc *softc; local
183 softc = (struct sg_softc *)periph->softc;
184 KASSERT(softc->open_count >= 0, ("Negative open count %d",
185 softc->open_count));
192 for (i = 0; i < softc->open_count; i++)
195 softc->open_count = 0;
216 struct sg_softc *softc; local
218 softc = (struct sg_softc *)periph->softc;
244 struct sg_softc *softc; local
300 struct sg_softc *softc; local
404 struct sg_softc *softc; local
439 struct sg_softc *softc; local
475 struct sg_softc *softc; local
510 struct sg_softc *softc; local
893 struct sg_softc *softc; local
927 struct sg_softc *softc; local
939 struct sg_softc *softc; local
[all...]
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
H A Dip_lookup.c100 /* 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 Dip_frag.c171 /* Parameters: softc(I) - pointer to soft context main structure */
177 ipf_frag_soft_create(softc)
178 ipf_main_softc_t *softc;
196 ipf_frag_soft_destroy(softc, softf);
199 if (ipf_tune_array_link(softc, softf->ipf_frag_tune) == -1) {
200 ipf_frag_soft_destroy(softc, softf);
218 /* Parameters: softc(I) - pointer to soft context main structure */
224 ipf_frag_soft_destroy(softc, arg)
225 ipf_main_softc_t *softc;
235 ipf_tune_array_unlink(softc, soft
613 ipf_main_softc_t *softc = fin->fin_main_soft; local
824 ipf_main_softc_t *softc = fin->fin_main_soft; local
865 ipf_main_softc_t *softc = fin->fin_main_soft; local
904 ipf_main_softc_t *softc = fin->fin_main_soft; local
[all...]
H A Dfil.c153 #define LBUMP(x) softc->x++
154 #define LBUMPD(x, y) do { softc->x.y++; DT(y); } while (0)
620 ipf_main_softc_t *softc = fin->fin_main_soft; local
633 ipf_main_softc_t *softc = fin->fin_main_soft; local
662 ipf_main_softc_t *softc = fin->fin_main_soft; local
794 ipf_main_softc_t *softc = fin->fin_main_soft; local
843 ipf_main_softc_t *softc = fin->fin_main_soft; local
898 ipf_main_softc_t *softc = fin->fin_main_soft; local
927 ipf_main_softc_t *softc = fin->fin_main_soft; local
1062 ipf_main_softc_t *softc local
1090 ipf_main_softc_t *softc = fin->fin_main_soft; local
1120 ipf_main_softc_t *softc = fin->fin_main_soft; local
1156 ipf_main_softc_t *softc = fin->fin_main_soft; local
1232 ipf_main_softc_t *softc = fin->fin_main_soft; local
1346 ipf_main_softc_t *softc = fin->fin_main_soft; local
1521 ipf_main_softc_t *softc = fin->fin_main_soft; local
1597 ipf_main_softc_t *softc = fin->fin_main_soft; local
1618 ipf_main_softc_t *softc = fin->fin_main_soft; local
1667 ipf_main_softc_t *softc = fin->fin_main_soft; local
1948 ipf_main_softc_t *softc = fin->fin_main_soft; local
2043 ipf_main_softc_t *softc = fin->fin_main_soft; local
2394 ipf_main_softc_t *softc = fin->fin_main_soft; local
2649 ipf_main_softc_t *softc = fin->fin_main_soft; local
2692 ipf_main_softc_t *softc = fin->fin_main_soft; local
2828 ipf_main_softc_t *softc = ctx; local
3308 ipf_main_softc_t *softc = fin->fin_main_soft; local
6884 ipf_main_softc_t *softc = fin->fin_main_soft; local
9251 ipf_main_softc_t *softc; local
9521 ipf_main_softc_t *softc; local
[all...]
H A Dip_htable.c136 /* 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 Dip_ipsec_pxy.c44 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 Dip_pool.c152 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...]
/freebsd-10-stable/sys/cam/ata/
H A Data_da.c565 #define ADA_RA (softc->read_ahead >= 0 ? \
566 softc->read_ahead : ada_read_ahead)
567 #define ADA_WC (softc->write_cache >= 0 ? \
568 softc->write_cache : ada_write_cache)
569 #define ADA_SIO (softc->sort_io_queue >= 0 ? \
570 softc->sort_io_queue : cam_sort_io_queues)
644 struct ada_softc *softc; local
662 softc = (struct ada_softc *)periph->softc;
663 softc
674 struct ada_softc *softc; local
727 struct ada_softc *softc = (struct ada_softc *)periph->softc; local
748 struct ada_softc *softc; local
791 struct ada_softc *softc; local
923 struct ada_softc *softc; local
946 struct ada_softc *softc; local
972 struct ada_softc *softc; local
1046 struct ada_softc *softc; local
1087 struct ada_softc *softc; local
1164 struct ada_softc *softc; local
1422 ada_dsmtrim(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument
1492 ada_cfaerase(struct ada_softc *softc, struct bio *bp, struct ccb_ataio *ataio) argument
1520 struct ada_softc *softc = (struct ada_softc *)periph->softc; local
1753 struct ada_softc *softc; local
1937 struct ada_softc *softc = (struct ada_softc *)periph->softc; local
1976 struct ada_softc *softc = arg; local
1999 struct ada_softc *softc; local
2052 struct ada_softc *softc; local
2117 struct ada_softc *softc; local
[all...]
H A Data_pmp.c181 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local
185 mask &= ~softc->frozen;
192 softc->frozen |= (1 << i);
203 struct pmp_softc *softc = (struct pmp_softc *)periph->softc; local
207 mask &= softc->frozen;
214 softc->frozen &= ~(1 << i);
247 struct pmp_softc *softc; local
249 softc
270 struct pmp_softc *softc; local
343 struct pmp_softc *softc; local
371 struct pmp_softc *softc; local
426 struct pmp_softc *softc; local
587 struct pmp_softc *softc; local
[all...]
/freebsd-10-stable/sys/nfs/
H A Dnfs_fha.c52 fha_init(struct fha_params *softc) argument
57 mtx_init(&softc->fha_hash[i].mtx, "fhalock", NULL, MTX_DEF);
62 softc->ctls.enable = FHA_DEF_ENABLE;
63 softc->ctls.read = FHA_DEF_READ;
64 softc->ctls.write = FHA_DEF_WRITE;
65 softc->ctls.bin_shift = FHA_DEF_BIN_SHIFT;
66 softc->ctls.max_nfsds_per_fh = FHA_DEF_MAX_NFSDS_PER_FH;
67 softc->ctls.max_reqs_per_nfsd = FHA_DEF_MAX_REQS_PER_NFSD;
72 SYSCTL_ADD_UINT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc
105 fha_uninit(struct fha_params *softc) argument
224 fha_hash_entry_lookup(struct fha_params *softc, u_int64_t fh) argument
286 fha_hash_entry_choose_thread(struct fha_params *softc, struct fha_hash_entry *fhe, struct fha_info *i, SVCTHREAD *this_thread) argument
379 fha_assign(SVCTHREAD *this_thread, struct svc_req *req, struct fha_params *softc) argument
469 fhe_stats_sysctl(SYSCTL_HANDLER_ARGS, struct fha_params *softc) argument
[all...]
/freebsd-10-stable/sys/nfsserver/
H A Dnfs_fha_old.c73 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-stable/sys/fs/nfsserver/
H A Dnfs_fha_new.c66 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-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2836.c70 struct bcm2836_softc *softc; variable in typeref:struct:bcm2836_softc
84 if (softc != NULL)
97 softc = device_get_softc(dev);
98 softc->sc_dev = dev;
101 softc->sc_mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid,
104 if (softc->sc_mem == NULL) {
109 bus_write_4(softc->sc_mem, ARM_LOCAL_CONTROL, 0);
110 bus_write_4(softc->sc_mem, ARM_LOCAL_PRESCALER, PRESCALER_19_2);
113 bus_write_4(softc->sc_mem, ARM_LOCAL_INT_TIMER(i), 0);
116 bus_write_4(softc
[all...]

Completed in 465 milliseconds

12345678