/drivers/scsi/libsas/ |
H A D | sas_discover.c | 146 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); 147 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); 148 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); 149 port->disc.max_level = 0; 280 sas_begin_event(DISCE_DISCOVER_DOMAIN, &port->disc.disc_event_lock, 281 &port->disc.pending); 340 sas_begin_event(DISCE_REVALIDATE_DOMAIN, &port->disc.disc_event_lock, 341 &port->disc.pending); 356 struct sas_discovery *disc; local 360 disc 376 sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port) argument [all...] |
/drivers/tty/ |
H A D | tty_buffer.c | 407 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 D | tty_ldisc.c | 32 /* 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 D | fc_disc.c | 30 * 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 350 fc_disc_gpn_ft_req(struct fc_disc *disc) argument 385 fc_disc_gpn_ft_parse(struct fc_disc *disc, void *buf, size_t len) argument 485 struct fc_disc *disc = container_of(work, local 505 struct fc_disc *disc = disc_arg; local 580 struct fc_disc *disc; local 687 struct fc_disc *disc = &lport->disc; local 713 struct fc_disc *disc; local [all...] |
H A D | fc_rport.c | 35 * 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/sn/ |
H A D | ioc3.c | 117 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 D | ioc3-eth.c | 307 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 D | fcoe_ctlr.c | 1936 struct fcoe_ctlr *fip = lport->disc.priv; 1976 mutex_lock(&lport->disc.disc_mutex); 1977 lport->disc.disc_callback = NULL; 1978 mutex_unlock(&lport->disc.disc_mutex); 1990 struct fcoe_ctlr *fip = lport->disc.priv; 2295 mutex_lock(&lport->disc.disc_mutex); 2298 mutex_unlock(&lport->disc.disc_mutex); 2303 rdata->disc_id = lport->disc.disc_id; 2311 mutex_unlock(&lport->disc.disc_mutex); 2424 mutex_lock(&lport->disc 2581 struct fc_disc *disc = &lport->disc; local 2603 struct fc_disc *disc = &lport->disc; local [all...] |
/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 1684 int disc, rc, did, type; local 1706 /* Since ndlp can be freed in the disc state machine, note if this node 1710 disc = (ndlp->nlp_flag & NLP_NPR_2B_DISC); 1720 irsp->ulpTimeout, disc, vport->num_disc_nodes); 1737 if (disc) { 1769 if (disc && vport->num_disc_nodes) { 2168 int disc; local 2181 /* Since ndlp can be freed in the disc state machine, note if this node 2185 disc = (ndlp->nlp_flag & NLP_NPR_2B_DISC); 2193 irsp->ulpTimeout, disc, vpor [all...] |
/drivers/scsi/ |
H A D | gdth.h | 385 u8 disc; /* flag: disconnect enabled */ member in struct:__anon4198
|
H A D | ncr53c8xx.c | 632 "spar:" "disc:" 1738 u_char disc; /* Diconnection allowed */ member in struct:ncb 4196 (cp != np->ccb && np->disc && !(tp->usrflag & UF_NODISC))) 5302 np->disc = 0; 5763 np->disc = 1; 8484 np->disc = 1;
|