Searched defs:disc (Results 1 - 11 of 11) sorted by relevance

/drivers/tty/
H A Dtty_buffer.c407 struct tty_ldisc *disc; local
409 disc = tty_ldisc_ref(tty);
410 if (disc == NULL) /* !TTY_LDISC */
443 disc->ops->receive_buf(tty, char_buf,
459 tty_ldisc_deref(disc);
H A Dtty_ldisc.c32 /* Line disc dispatch table */
73 * @disc: ldisc number
84 int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc) argument
89 if (disc < N_TTY || disc >= NR_LDISCS)
93 tty_ldiscs[disc] = new_ldisc;
94 new_ldisc->num = disc;
104 * @disc: ldisc number
114 int tty_unregister_ldisc(int disc) argument
119 if (disc < N_TT
133 get_ldops(int disc) argument
175 tty_ldisc_get(int disc) argument
[all...]
/drivers/scsi/libfc/
H A Dfc_disc.c30 * The disc mutex is can be locked when acquiring rport locks, but may not
59 * @disc: The discovery job to stop remote ports on
64 static void fc_disc_stop_rports(struct fc_disc *disc) argument
69 lport = fc_disc_lport(disc);
71 mutex_lock(&disc->disc_mutex);
72 list_for_each_entry_rcu(rdata, &disc->rports, peers)
74 mutex_unlock(&disc->disc_mutex);
79 * @disc: The discovery object to which the RSCN applies
85 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) argument
98 lport = fc_disc_lport(disc);
197 struct fc_disc *disc = &lport->disc; local
221 fc_disc_restart(struct fc_disc *disc) argument
251 struct fc_disc *disc = &lport->disc; local
273 fc_disc_done(struct fc_disc *disc, enum fc_disc_event event) argument
311 fc_disc_error(struct fc_disc *disc, struct fc_frame *fp) argument
357 fc_disc_gpn_ft_req(struct fc_disc *disc) argument
392 fc_disc_gpn_ft_parse(struct fc_disc *disc, void *buf, size_t len) argument
492 struct fc_disc *disc = container_of(work, local
512 struct fc_disc *disc = disc_arg; local
587 struct fc_disc *disc; local
694 struct fc_disc *disc = &lport->disc; local
720 struct fc_disc *disc; local
[all...]
H A Dfc_rport.c35 * either the lport or disc mutexes. The rport's mutex is considered lesser
36 * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for
105 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers)
151 list_add_rcu(&rdata->peers, &lport->disc.rports);
343 mutex_lock(&lport->disc.disc_mutex);
373 mutex_unlock(&lport->disc.disc_mutex);
753 struct fc_disc *disc; local
764 disc = &lport->disc;
765 mutex_lock(&disc
1570 struct fc_disc *disc; local
[all...]
/drivers/scsi/libsas/
H A Dsas_discover.c154 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE);
155 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE);
156 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE);
157 port->disc.max_level = 0;
220 clear_bit(DISCE_PROBE, &port->disc.pending);
308 clear_bit(DISCE_DESTRUCT, &port->disc.pending);
392 clear_bit(DISCE_DISCOVER_DOMAIN, &port->disc.pending);
458 clear_bit(DISCE_REVALIDATE_DOMAIN, &port->disc.pending);
499 struct sas_discovery *disc; local
503 disc
518 sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port) argument
[all...]
/drivers/sn/
H A Dioc3.c117 int a, b, index, disc; local
125 for (index = 0, disc = 0; index < 64; index++) {
140 disc = index;
142 disc = index;
154 *last = disc;
/drivers/net/ethernet/sgi/
H A Dioc3-eth.c307 int a, b, index, disc; local
315 for (index = 0, disc = 0; index < 64; index++) {
330 disc = index;
332 disc = index;
345 *last = disc;
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c1954 struct fcoe_ctlr *fip = lport->disc.priv;
1994 mutex_lock(&lport->disc.disc_mutex);
1995 lport->disc.disc_callback = NULL;
1996 mutex_unlock(&lport->disc.disc_mutex);
2008 struct fcoe_ctlr *fip = lport->disc.priv;
2313 mutex_lock(&lport->disc.disc_mutex);
2316 mutex_unlock(&lport->disc.disc_mutex);
2321 rdata->disc_id = lport->disc.disc_id;
2329 mutex_unlock(&lport->disc.disc_mutex);
2442 mutex_lock(&lport->disc
2599 struct fc_disc *disc = &lport->disc; local
2621 struct fc_disc *disc = &lport->disc; local
[all...]
/drivers/scsi/lpfc/
H A Dlpfc_els.c1693 int disc, rc, did, type; local
1715 /* Since ndlp can be freed in the disc state machine, note if this node
1719 disc = (ndlp->nlp_flag & NLP_NPR_2B_DISC);
1729 irsp->ulpTimeout, disc, vport->num_disc_nodes);
1746 if (disc) {
1778 if (disc && vport->num_disc_nodes) {
2177 int disc; local
2190 /* Since ndlp can be freed in the disc state machine, note if this node
2194 disc = (ndlp->nlp_flag & NLP_NPR_2B_DISC);
2202 irsp->ulpTimeout, disc, vpor
[all...]
/drivers/scsi/
H A Dgdth.h385 u8 disc; /* flag: disconnect enabled */ member in struct:__anon4280
H A Dncr53c8xx.c631 "spar:" "disc:"
1737 u_char disc; /* Diconnection allowed */ member in struct:ncb
4195 (cp != np->ccb && np->disc && !(tp->usrflag & UF_NODISC)))
5301 np->disc = 0;
5762 np->disc = 1;
8483 np->disc = 1;

Completed in 257 milliseconds