Home
last modified time | relevance | path

Searched refs:disc (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/scsi/libfc/
A Dfc_disc.c184 struct fc_disc *disc = &lport->disc; in fc_disc_recv_req() local
215 if (disc->pending) in fc_disc_restart()
223 disc->disc_id = (disc->disc_id + 2) | 1; in fc_disc_restart()
237 struct fc_disc *disc = &lport->disc; in fc_disc_start() local
263 disc->pending = 0; in fc_disc_done()
351 disc->pending = 1; in fc_disc_gpn_ft_req()
354 disc->buf_len = 0; in fc_disc_gpn_ft_req()
580 disc = &lport->disc; in fc_disc_gpn_id_resp()
688 struct fc_disc *disc = &lport->disc; in fc_disc_stop() local
731 disc = &lport->disc; in fc_disc_config()
[all …]
A Dfc_libfc.h40 #define FC_DISC_DBG(disc, fmt, args...) \ argument
43 fc_disc_lport(disc)->host->host_no, \
A Dfc_rport.c110 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()
A Dfc_lport.c242 mutex_lock(&lport->disc.disc_mutex); in fc_lport_ptp_setup()
247 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_ptp_setup()
1419 mutex_lock(&lport->disc.disc_mutex); in fc_lport_enter_dns()
1421 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_enter_dns()
1565 mutex_lock(&lport->disc.disc_mutex); in fc_lport_enter_fdmi()
1567 mutex_unlock(&lport->disc.disc_mutex); in fc_lport_enter_fdmi()
/linux/drivers/scsi/snic/
A Dsnic_disc.c454 disc->disc_id = 0; in snic_disc_init()
455 disc->nxt_tgt_id = 0; in snic_disc_init()
457 disc->req_cnt = 0; in snic_disc_init()
458 disc->rtgt_cnt = 0; in snic_disc_init()
459 disc->rtgt_info = NULL; in snic_disc_init()
460 disc->cb = NULL; in snic_disc_init()
467 struct snic_disc *disc = &snic->disc; in snic_disc_term() local
470 if (disc->req_cnt) { in snic_disc_term()
471 disc->req_cnt = 0; in snic_disc_term()
483 struct snic_disc *disc = &snic->disc; in snic_disc_start() local
[all …]
/linux/drivers/tty/
A Dtty_ldisc.c105 ldops = tty_ldiscs[disc]; in get_ldops()
151 if (disc < N_TTY || disc >= NR_LDISCS) in tty_ldisc_get()
158 ldops = get_ldops(disc); in tty_ldisc_get()
163 ldops = get_ldops(disc); in tty_ldisc_get()
425 tty->termios.c_line = disc; in tty_set_termios_ldisc()
493 if (IS_ERR(disc)) in tty_ldisc_failto()
494 return PTR_ERR(disc); in tty_ldisc_failto()
495 tty->ldisc = disc; in tty_ldisc_failto()
497 r = tty_ldisc_open(tty, disc); in tty_ldisc_failto()
499 tty_ldisc_put(disc); in tty_ldisc_failto()
[all …]
A Dtty_port.c29 struct tty_ldisc *disc; in tty_port_default_receive_buf() local
35 disc = tty_ldisc_ref(tty); in tty_port_default_receive_buf()
36 if (!disc) in tty_port_default_receive_buf()
39 ret = tty_ldisc_receive_buf(disc, p, (char *)f, count); in tty_port_default_receive_buf()
41 tty_ldisc_deref(disc); in tty_port_default_receive_buf()
A Dtty.h78 int tty_ldisc_reinit(struct tty_struct *tty, int disc);
/linux/drivers/scsi/libsas/
A Dsas_discover.c143 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); in sas_get_port_device()
144 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); in sas_get_port_device()
145 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); in sas_get_port_device()
146 port->disc.max_level = 0; in sas_get_port_device()
241 clear_bit(DISCE_SUSPEND, &port->disc.pending); in sas_suspend_devices()
268 clear_bit(DISCE_RESUME, &port->disc.pending); in sas_resume_devices()
551 struct sas_discovery *disc; in sas_discover_event() local
555 disc = &port->disc; in sas_discover_event()
559 sas_chain_event(ev, &disc->pending, &disc->disc_work[ev].work, port->ha); in sas_discover_event()
582 disc->pending = 0; in sas_init_disc()
[all …]
A Dsas_expander.c201 struct discover_resp *dr = &resp->disc; in sas_set_ex_phy()
381 dr = &((struct smp_resp *)disc_resp)->disc; in sas_ex_phy_discover_helper()
991 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander()
1097 memcpy(dev->port->disc.fanout_sas_addr, in sas_ex_discover_dev()
1292 (SAS_ADDR(parent->port->disc.eeds_a) == in sas_check_eeds()
1295 ((SAS_ADDR(parent->port->disc.eeds_b) == in sas_check_eeds()
1297 (SAS_ADDR(parent->port->disc.eeds_b) == in sas_check_eeds()
1642 level = port->disc.max_level; in sas_ex_bfs_disc()
1645 } while (level < port->disc.max_level); in sas_ex_bfs_disc()
1714 *pcc = disc_resp->disc.change_count; in sas_get_phy_change_count()
[all …]
/linux/Documentation/cdrom/
A Dpacket-writing.rst16 - 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.
A Dcdrom-standard.rst339 up the disc, etc.
363 CDS_NO_DISC /* no disc is inserted, tray is closed */
366 CDS_DISC_OK /* a disc is loaded and everything is fine */
553 CDC_MEDIA_CHANGED /* can report if disc has changed */
871 Spin up disc.
900 Select disc numbered *arg* from a juke-box.
905 Returns 1 if a disc has been changed since the last call.
912 and returns the time of the last disc change.
931 Returns the type of the disc currently in the drive.
961 CDS_AUDIO /* Audio disc (2352 audio bytes/frame) */
[all …]
A Dide-cd.rst41 appended to the end of this file. The Sanyo 3-disc changer
119 An ISO 9660 CDROM can be mounted by putting the disc in the drive and
279 ISO 9660 disc. You can't mount an audio CD.
499 printf ("\tAudio disc.\t");
503 printf ("\tData disc type %d.\t", status-CDS_DATA_1+1);
507 printf ("\tXA data disc type %d.\t", status-CDS_XA_2_1+1);
510 printf ("\tUnknown disc type 0x%x!\t", status);
/linux/drivers/platform/chrome/
A Dcros_ec_typec.c717 struct ec_response_typec_discovery *disc) in cros_typec_parse_pd_identity() argument
722 if (disc->identity_count > 0) in cros_typec_parse_pd_identity()
723 id->id_header = disc->discovery_vdo[0]; in cros_typec_parse_pd_identity()
724 if (disc->identity_count > 1) in cros_typec_parse_pd_identity()
725 id->cert_stat = disc->discovery_vdo[1]; in cros_typec_parse_pd_identity()
726 if (disc->identity_count > 2) in cros_typec_parse_pd_identity()
727 id->product = disc->discovery_vdo[2]; in cros_typec_parse_pd_identity()
731 id->vdo[i - 3] = disc->discovery_vdo[i]; in cros_typec_parse_pd_identity()
747 memset(disc, 0, EC_PROTO2_MAX_RESPONSE_SIZE); in cros_typec_handle_sop_prime_disc()
749 disc, EC_PROTO2_MAX_RESPONSE_SIZE); in cros_typec_handle_sop_prime_disc()
[all …]
/linux/drivers/scsi/aic7xxx/
A Dscsi_message.h20 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun)) argument
/linux/drivers/scsi/fcoe/
A Dfcoe_ctlr.c3034 struct fc_disc *disc = &lport->disc; in fcoe_ctlr_disc_start() local
3037 mutex_lock(&disc->disc_mutex); in fcoe_ctlr_disc_start()
3038 disc->disc_callback = callback; in fcoe_ctlr_disc_start()
3039 disc->disc_id = (disc->disc_id + 2) | 1; in fcoe_ctlr_disc_start()
3040 disc->pending = 1; in fcoe_ctlr_disc_start()
3042 mutex_unlock(&disc->disc_mutex); in fcoe_ctlr_disc_start()
3056 struct fc_disc *disc = &lport->disc; in fcoe_ctlr_vn_disc() local
3061 mutex_lock(&disc->disc_mutex); in fcoe_ctlr_vn_disc()
3062 callback = disc->pending ? disc->disc_callback : NULL; in fcoe_ctlr_vn_disc()
3063 disc->pending = 0; in fcoe_ctlr_vn_disc()
[all …]
/linux/include/scsi/
A Dlibfc.h700 struct fc_disc disc; member
927 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport() argument
929 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
A Dlibsas.h246 struct sas_discovery disc; member
685 void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *);
A Dsas.h472 struct discover_resp disc; member
705 struct discover_resp disc; member
/linux/net/tipc/
A Ddiscover.c233 if (tipc_disc_addr_trial_msg(b->disc, &maddr, b, dst, in tipc_disc_rcv()
377 b->disc = d; in tipc_disc_create()
400 struct tipc_discoverer *d = b->disc; in tipc_disc_reset()
/linux/Documentation/userspace-api/ioctl/
A Dcdrom.rst55 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
821 Select disc (for juke-boxes)
908 Get disc type, etc.
1215 get last block written on disc
1229 The last block written on disc
1234 result is derived from the disc's table of contents. If the
/linux/fs/ntfs/
A Drunlist.c275 bool disc = false; /* Discontinuity between @dst and @src. */ in ntfs_rl_insert() local
286 disc = (src[0].vcn > 0); in ntfs_rl_insert()
296 disc = (src[0].vcn > dst[loc - 1].vcn + merged_length); in ntfs_rl_insert()
302 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert()
318 marker = loc + ssize - left + disc; in ntfs_rl_insert()
322 ntfs_rl_mc(dst, loc + disc, src, left, ssize - left); in ntfs_rl_insert()
331 if (disc) { in ntfs_rl_insert()
/linux/arch/um/os-Linux/
A Dfile.c110 int disc, sencap; in os_set_slip() local
112 disc = N_SLIP; in os_set_slip()
113 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
/linux/include/linux/
A Dtty_ldisc.h235 int tty_set_ldisc(struct tty_struct *tty, int disc);
/linux/Documentation/ide/
A DChangeLog.ide-cd.1994-200497 * Let open succeed even if there's no loaded disc.
152 * slot when there is no disc in the current slot.
216 * cd-rom drivers. don't report select disc for
258 * correctly sensing a disc change.

Completed in 61 milliseconds

123