/linux/drivers/scsi/libfc/ |
H A D | fc_disc.c | 51 static void fc_disc_stop_rports(struct fc_disc *disc) in fc_disc_stop_rports() argument 55 lockdep_assert_held(&disc->disc_mutex); in fc_disc_stop_rports() 57 list_for_each_entry(rdata, &disc->rports, peers) { in fc_disc_stop_rports() 70 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_recv_rscn_req() argument 82 lockdep_assert_held(&disc->disc_mutex); in fc_disc_recv_rscn_req() 84 lport = fc_disc_lport(disc); in fc_disc_recv_rscn_req() 86 FC_DISC_DBG(disc, "Received an RSCN event\n"); in fc_disc_recv_rscn_req() 117 FC_DISC_DBG(disc, "Port address format for port " in fc_disc_recv_rscn_req() 132 FC_DISC_DBG(disc, "Address format is (%d)\n", fmt); in fc_disc_recv_rscn_req() 152 FC_DISC_DBG(disc, "RSCN received: rediscovering\n"); in fc_disc_recv_rscn_req() [all …]
|
H A D | fc_libfc.h | 40 #define FC_DISC_DBG(disc, fmt, args...) \ argument 43 fc_disc_lport(disc)->host->host_no, \
|
H A D | fc_rport.c | 110 list_for_each_entry_rcu(tmp_rdata, &lport->disc.rports, peers) in fc_rport_lookup() 133 lockdep_assert_held(&lport->disc.disc_mutex); in fc_rport_create() 165 list_add_rcu(&rdata->peers, &lport->disc.rports); in fc_rport_create() 381 mutex_lock(&lport->disc.disc_mutex); in fc_rport_work() 383 mutex_unlock(&lport->disc.disc_mutex); in fc_rport_work() 1845 struct fc_disc *disc; in fc_rport_recv_plogi_req() local 1866 disc = &lport->disc; in fc_rport_recv_plogi_req() 1867 mutex_lock(&disc->disc_mutex); in fc_rport_recv_plogi_req() 1870 mutex_unlock(&disc->disc_mutex); in fc_rport_recv_plogi_req() 1877 mutex_unlock(&disc->disc_mutex); in fc_rport_recv_plogi_req()
|
H A D | fc_lport.c | 242 mutex_lock(&lport->disc.disc_mutex); in fc_lport_ptp_setup() 247 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_ptp_setup() 253 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_ptp_setup() 1425 mutex_lock(&lport->disc.disc_mutex); in fc_lport_enter_dns() 1427 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_enter_dns() 1571 mutex_lock(&lport->disc.disc_mutex); in fc_lport_enter_fdmi() 1573 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_enter_fdmi()
|
/linux/drivers/scsi/snic/ |
H A D | snic_disc.c | 177 list_for_each_safe(cur, nxt, &snic->disc.tgt_list) { in snic_tgt_lookup() 291 list_add_tail(&tgt->list, &snic->disc.tgt_list); in snic_tgt_create() 292 tgt->scsi_tgt_id = snic->disc.nxt_tgt_id++; in snic_tgt_create() 336 kfree(snic->disc.rtgt_info); in snic_handle_tgt_disc() 342 mutex_lock(&snic->disc.mutex); in snic_handle_tgt_disc() 344 if (snic->disc.req_cnt) { in snic_handle_tgt_disc() 345 snic->disc.state = SNIC_DISC_DONE; in snic_handle_tgt_disc() 346 snic->disc.req_cnt = 0; in snic_handle_tgt_disc() 347 mutex_unlock(&snic->disc.mutex); in snic_handle_tgt_disc() 348 kfree(snic->disc.rtgt_info); in snic_handle_tgt_disc() [all …]
|
/linux/drivers/scsi/libsas/ |
H A D | sas_discover.c | 142 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); in sas_get_port_device() 143 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); in sas_get_port_device() 144 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); in sas_get_port_device() 145 port->disc.max_level = 0; in sas_get_port_device() 240 clear_bit(DISCE_SUSPEND, &port->disc.pending); in sas_suspend_devices() 267 clear_bit(DISCE_RESUME, &port->disc.pending); in sas_resume_devices() 464 clear_bit(DISCE_DISCOVER_DOMAIN, &port->disc.pending); in sas_discover_domain() 528 clear_bit(DISCE_REVALIDATE_DOMAIN, &port->disc.pending); in sas_revalidate_domain() 573 struct sas_discovery *disc; in sas_discover_event() local 577 disc = &port->disc; in sas_discover_event() [all …]
|
H A D | sas_expander.c | 206 struct discover_resp *dr = &disc_resp->disc; in sas_set_ex_phy() 339 set_bit(DISCE_REVALIDATE_DOMAIN, &dev->port->disc.pending); in sas_set_ex_phy() 377 struct discover_resp *dr = &disc_resp->disc; in sas_ex_phy_discover_helper() 943 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander() 1038 if (SAS_ADDR(dev->port->disc.fanout_sas_addr)) { in sas_ex_discover_dev() 1047 memcpy(dev->port->disc.fanout_sas_addr, in sas_ex_discover_dev() 1223 struct sas_discovery *disc = &parent->port->disc; in sas_eeds_valid() local 1225 return (SAS_ADDR(disc->eeds_a) == SAS_ADDR(parent->sas_addr) || in sas_eeds_valid() 1226 SAS_ADDR(disc->eeds_a) == SAS_ADDR(child->sas_addr)) && in sas_eeds_valid() 1227 (SAS_ADDR(disc->eeds_b) == SAS_ADDR(parent->sas_addr) || in sas_eeds_valid() [all …]
|
H A D | sas_event.c | 102 struct sas_discovery *d = &port->disc; in sas_enable_revalidation()
|
H A D | sas_internal.h | 48 void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port);
|
/linux/Documentation/cdrom/ |
H A D | packet-writing.rst | 16 - Grab a new CD-RW disc and format it (assuming CD-RW is hdc, substitute 34 the so called "restricted overwrite" mode. To put a disc in restricted 39 You can then use the disc the same way you would use a CD-RW disc:: 51 2KB on such a disc. For example, it should be possible to do:: 53 # dvd+rw-format /dev/hdc (only needed if the disc has never 89 filesystem corruption if the disc wears out. 91 - Since the pktcdvd driver makes the disc appear as a regular block 93 the disc. For example, run:: 97 to create an ext2 filesystem on the disc.
|
/linux/drivers/scsi/aic7xxx/ |
H A D | scsi_message.h | 20 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun)) argument
|
/linux/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 2122 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_vn_rport_callback() 2164 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_disc_stop_locked() 2165 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) { in fcoe_ctlr_disc_stop_locked() 2171 lport->disc.disc_callback = NULL; in fcoe_ctlr_disc_stop_locked() 2172 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_disc_stop_locked() 2184 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_disc_stop() 2496 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add() 2499 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add() 2503 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add() 2506 rdata->disc_id = lport->disc.disc_id; in fcoe_ctlr_vn_add() [all …]
|
/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 825 struct ec_response_typec_discovery *disc) in cros_typec_parse_pd_identity() argument 830 if (disc->identity_count > 0) in cros_typec_parse_pd_identity() 831 id->id_header = disc->discovery_vdo[0]; in cros_typec_parse_pd_identity() 832 if (disc->identity_count > 1) in cros_typec_parse_pd_identity() 833 id->cert_stat = disc->discovery_vdo[1]; in cros_typec_parse_pd_identity() 834 if (disc->identity_count > 2) in cros_typec_parse_pd_identity() 835 id->product = disc->discovery_vdo[2]; in cros_typec_parse_pd_identity() 838 for (i = 3; i < disc->identity_count && i < VDO_MAX_OBJECTS; i++) in cros_typec_parse_pd_identity() 839 id->vdo[i - 3] = disc->discovery_vdo[i]; in cros_typec_parse_pd_identity() 845 struct ec_response_typec_discovery *disc = port->disc_data; in cros_typec_handle_sop_prime_disc() local [all …]
|
/linux/include/scsi/ |
H A D | libfc.h | 715 struct fc_disc disc; member 948 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport() argument 950 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
|
/linux/net/tipc/ |
H A D | discover.c | 236 if (tipc_disc_addr_trial_msg(b->disc, &maddr, b, dst, in tipc_disc_rcv() 380 b->disc = d; in tipc_disc_create() 403 struct tipc_discoverer *d = b->disc; in tipc_disc_reset()
|
H A D | bearer.h | 172 struct tipc_discoverer *disc; member
|
H A D | bearer.c | 223 tipc_disc_add_dest(b->disc); in tipc_bearer_add_dest() 234 tipc_disc_remove_dest(b->disc); in tipc_bearer_remove_dest() 417 if (b->disc) in bearer_disable() 418 tipc_disc_delete(b->disc); in bearer_disable()
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 55 CDROM_SELECT_DISC Select disc (for juke-boxes) 61 CDROM_DISC_STATUS Get disc type, etc. 72 CDROM_LAST_WRITTEN get last block written on disc 827 Select disc (for juke-boxes) 914 Get disc type, etc. 1221 get last block written on disc 1235 The last block written on disc 1240 result is derived from the disc's table of contents. If the
|
/linux/arch/um/os-Linux/ |
H A D | file.c | 111 int disc, sencap; in os_set_slip() local 113 disc = N_SLIP; in os_set_slip() 114 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
|
/linux/include/linux/ |
H A D | tty_ldisc.h | 287 int tty_set_ldisc(struct tty_struct *tty, int disc);
|
/linux/drivers/tty/ |
H A D | tty.h | 85 int tty_ldisc_reinit(struct tty_struct *tty, int disc);
|
/linux/include/linux/netfilter/ |
H A D | nf_conntrack_pptp.h | 298 struct PptpCallDisconnectNotify disc; member
|
/linux/drivers/scsi/arm/ |
H A D | Kconfig | 28 disc interface for the Acorn Archimedes range, to allow the use of
|
/linux/Documentation/driver-api/md/ |
H A D | md-cluster.rst | 262 ioctl(ADD_NEW_DISK with disc.state set to MD_DISK_CLUSTER_ADD) 270 ioctl(ADD_NEW_DISK with disc.state set to MD_DISK_CANDIDATE and 271 disc.number set to slot number)
|
/linux/drivers/s390/net/ |
H A D | qeth_core_main.c | 1828 enum qeth_discipline_id disc = QETH_DISCIPLINE_UNDETERMINED; in qeth_vm_detect_layer() local 1870 disc = QETH_DISCIPLINE_LAYER2; in qeth_vm_detect_layer() 1872 disc = QETH_DISCIPLINE_LAYER3; in qeth_vm_detect_layer() 1879 return disc; in qeth_vm_detect_layer() 1885 enum qeth_discipline_id disc = QETH_DISCIPLINE_UNDETERMINED; in qeth_enforce_discipline() local 1888 disc = QETH_DISCIPLINE_LAYER2; in qeth_enforce_discipline() 1890 disc = IS_IQD(card) ? QETH_DISCIPLINE_LAYER3 : in qeth_enforce_discipline() 1893 switch (disc) { in qeth_enforce_discipline() 1904 return disc; in qeth_enforce_discipline() 5340 const struct qeth_discipline *disc) in qeth_set_online() argument [all …]
|