/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 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 721 struct fc_disc *disc = &lport->disc; local 747 struct fc_disc *disc = &lport->disc; local [all...] |
H A D | fc_libfc.h | 52 #define FC_DISC_DBG(disc, fmt, args...) \ 54 pr_info("host%u: disc: " fmt, \ 55 fc_disc_lport(disc)->host->host_no, \
|
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 1590 struct fc_disc *disc; local [all...] |
H A D | fc_lport.c | 24 * disc and rport blocks. 28 * The lport, disc and rport blocks all have mutexes that are used to protect 41 * lport > disc, lport > rport, disc > rport 46 * from the rport (to either lport or disc) and a callback from disc 51 * cause the lport or disc to grab its lock we cannot hold the rport lock 245 mutex_lock(&lport->disc.disc_mutex); 254 mutex_unlock(&lport->disc.disc_mutex); 1431 mutex_lock(&lport->disc [all...] |
/drivers/scsi/aic7xxx/ |
H A D | scsi_message.h | 47 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
|
/drivers/scsi/libsas/ |
H A D | sas_discover.c | 150 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); 151 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); 152 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); 153 port->disc.max_level = 0; 221 clear_bit(DISCE_PROBE, &port->disc.pending); 252 clear_bit(DISCE_SUSPEND, &port->disc.pending); 279 clear_bit(DISCE_RESUME, &port->disc.pending); 362 clear_bit(DISCE_DESTRUCT, &port->disc.pending); 446 clear_bit(DISCE_DISCOVER_DOMAIN, &port->disc.pending); 512 clear_bit(DISCE_REVALIDATE_DOMAIN, &port->disc 553 struct sas_discovery *disc; local 572 sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port) argument [all...] |
H A D | sas_expander.c | 204 struct discover_resp *dr = &resp->disc; 337 set_bit(DISCE_REVALIDATE_DOMAIN, &dev->port->disc.pending); 383 dr = &((struct smp_resp *)disc_resp)->disc; 961 parent->port->disc.max_level = max(parent->port->disc.max_level, 1057 if (SAS_ADDR(dev->port->disc.fanout_sas_addr)) { 1067 memcpy(dev->port->disc.fanout_sas_addr, 1275 if (SAS_ADDR(parent->port->disc.fanout_sas_addr) != 0) { 1283 SAS_ADDR(parent->port->disc.fanout_sas_addr)); 1284 } else if (SAS_ADDR(parent->port->disc [all...] |
H A D | sas_event.c | 109 struct sas_discovery *d = &port->disc;
|
H A D | sas_port.c | 342 sas_init_disc(&port->disc, port);
|
/drivers/tty/ |
H A D | tty_ldisc.c | 47 /* Line disc dispatch table */ 52 * @disc: ldisc number 63 int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc) argument 68 if (disc < N_TTY || disc >= NR_LDISCS) 72 tty_ldiscs[disc] = new_ldisc; 73 new_ldisc->num = disc; 83 * @disc: ldisc number 93 int tty_unregister_ldisc(int disc) argument 98 if (disc < N_TT 112 get_ldops(int disc) argument 154 tty_ldisc_get(struct tty_struct *tty, int disc) argument [all...] |
H A D | tty_buffer.c | 403 struct tty_ldisc *disc = tty->ldisc; local 410 if (disc->ops->receive_buf2) 411 count = disc->ops->receive_buf2(tty, p, f, count); 415 disc->ops->receive_buf(tty, p, f, count); 439 struct tty_ldisc *disc; local 445 disc = tty_ldisc_ref(tty); 446 if (disc == NULL) 482 tty_ldisc_deref(disc);
|
/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 2095 struct fcoe_ctlr *fip = lport->disc.priv; 2137 mutex_lock(&lport->disc.disc_mutex); 2138 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) 2140 lport->disc.disc_callback = NULL; 2141 mutex_unlock(&lport->disc.disc_mutex); 2153 struct fcoe_ctlr *fip = lport->disc.priv; 2458 mutex_lock(&lport->disc.disc_mutex); 2461 mutex_unlock(&lport->disc.disc_mutex); 2466 rdata->disc_id = lport->disc.disc_id; 2474 mutex_unlock(&lport->disc 2744 struct fc_disc *disc = &lport->disc; local 2766 struct fc_disc *disc = &lport->disc; local [all...] |
/drivers/scsi/arm/ |
H A D | Kconfig | 38 disc interface for the Acorn Archimedes range, to allow the use of
|
/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/scsi/bnx2fc/ |
H A D | bnx2fc_io.c | 98 mutex_lock(&lport->disc.disc_mutex); 100 mutex_unlock(&lport->disc.disc_mutex); 137 mutex_lock(&lport->disc.disc_mutex); 139 mutex_unlock(&lport->disc.disc_mutex); 167 mutex_lock(&lport->disc.disc_mutex); 169 mutex_unlock(&lport->disc.disc_mutex); 1139 mutex_lock(&lport->disc.disc_mutex); 1141 mutex_unlock(&lport->disc.disc_mutex);
|
H A D | bnx2fc_tgt.c | 541 * removed from disc->rports list before we get this event. 565 mutex_lock(&lport->disc.disc_mutex); 567 mutex_unlock(&lport->disc.disc_mutex);
|
/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 306 int a, b, index, disc; local 314 for (index = 0, disc = 0; index < 64; index++) { 329 disc = index; 331 disc = index; 344 *last = disc;
|
/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 1832 int disc, rc; local 1854 /* Since ndlp can be freed in the disc state machine, note if this node 1858 disc = (ndlp->nlp_flag & NLP_NPR_2B_DISC); 1868 irsp->ulpTimeout, disc, vport->num_disc_nodes); 1881 if (disc) { 1913 if (disc && vport->num_disc_nodes) { 2312 int disc; local 2325 /* Since ndlp can be freed in the disc state machine, note if this node 2329 disc = (ndlp->nlp_flag & NLP_NPR_2B_DISC); 2337 irsp->ulpTimeout, disc, vpor [all...] |
/drivers/block/ |
H A D | Kconfig | 434 a disc is opened for writing.
|
/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 1583 __DEF_NACL_AUTH_STR(disc, name, flags) \ 1601 __DEF_NACL_AUTH_INT(disc, name) \
|
/drivers/scsi/ |
H A D | gdth.h | 376 u8 disc; /* flag: disconnect enabled */ member in struct:__anon5376
|
H A D | ncr53c8xx.c | 631 "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;
|