Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/scsi/libfc/
Dfc_disc.c63 static void fc_disc_stop_rports(struct fc_disc *disc) in fc_disc_stop_rports() argument
67 lockdep_assert_held(&disc->disc_mutex); in fc_disc_stop_rports()
69 list_for_each_entry(rdata, &disc->rports, peers) { in fc_disc_stop_rports()
82 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_recv_rscn_req() argument
95 lockdep_assert_held(&disc->disc_mutex); in fc_disc_recv_rscn_req()
97 lport = fc_disc_lport(disc); in fc_disc_recv_rscn_req()
99 FC_DISC_DBG(disc, "Received an RSCN event\n"); in fc_disc_recv_rscn_req()
132 FC_DISC_DBG(disc, "Port address format for port " in fc_disc_recv_rscn_req()
147 FC_DISC_DBG(disc, "Address format is (%d)\n", fmt); in fc_disc_recv_rscn_req()
167 FC_DISC_DBG(disc, "RSCN received: rediscovering\n"); in fc_disc_recv_rscn_req()
[all …]
Dfc_libfc.h52 #define FC_DISC_DBG(disc, fmt, args...) \ argument
55 fc_disc_lport(disc)->host->host_no, \
Dfc_rport.c122 list_for_each_entry_rcu(tmp_rdata, &lport->disc.rports, peers) in fc_rport_lookup()
144 lockdep_assert_held(&lport->disc.disc_mutex); in fc_rport_create()
172 list_add_rcu(&rdata->peers, &lport->disc.rports); in fc_rport_create()
389 mutex_lock(&lport->disc.disc_mutex); in fc_rport_work()
391 mutex_unlock(&lport->disc.disc_mutex); in fc_rport_work()
863 struct fc_disc *disc; in fc_rport_recv_flogi_req() local
874 disc = &lport->disc; in fc_rport_recv_flogi_req()
1832 struct fc_disc *disc; in fc_rport_recv_plogi_req() local
1853 disc = &lport->disc; in fc_rport_recv_plogi_req()
1854 mutex_lock(&disc->disc_mutex); in fc_rport_recv_plogi_req()
[all …]
/Linux-v4.19/drivers/scsi/snic/
Dsnic_disc.c190 list_for_each_safe(cur, nxt, &snic->disc.tgt_list) { in snic_tgt_lookup()
304 list_add_tail(&tgt->list, &snic->disc.tgt_list); in snic_tgt_create()
305 tgt->scsi_tgt_id = snic->disc.nxt_tgt_id++; in snic_tgt_create()
346 kfree(snic->disc.rtgt_info); in snic_handle_tgt_disc()
352 mutex_lock(&snic->disc.mutex); in snic_handle_tgt_disc()
354 if (snic->disc.req_cnt) { in snic_handle_tgt_disc()
355 snic->disc.state = SNIC_DISC_DONE; in snic_handle_tgt_disc()
356 snic->disc.req_cnt = 0; in snic_handle_tgt_disc()
357 mutex_unlock(&snic->disc.mutex); in snic_handle_tgt_disc()
358 kfree(snic->disc.rtgt_info); in snic_handle_tgt_disc()
[all …]
/Linux-v4.19/drivers/tty/
Dtty_ldisc.c61 int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc) in tty_register_ldisc() argument
66 if (disc < N_TTY || disc >= NR_LDISCS) in tty_register_ldisc()
70 tty_ldiscs[disc] = new_ldisc; in tty_register_ldisc()
71 new_ldisc->num = disc; in tty_register_ldisc()
91 int tty_unregister_ldisc(int disc) in tty_unregister_ldisc() argument
96 if (disc < N_TTY || disc >= NR_LDISCS) in tty_unregister_ldisc()
100 if (tty_ldiscs[disc]->refcount) in tty_unregister_ldisc()
103 tty_ldiscs[disc] = NULL; in tty_unregister_ldisc()
110 static struct tty_ldisc_ops *get_ldops(int disc) in get_ldops() argument
117 ldops = tty_ldiscs[disc]; in get_ldops()
[all …]
Dtty_port.c28 struct tty_ldisc *disc; in tty_port_default_receive_buf() local
34 disc = tty_ldisc_ref(tty); in tty_port_default_receive_buf()
35 if (!disc) in tty_port_default_receive_buf()
38 ret = tty_ldisc_receive_buf(disc, p, (char *)f, count); in tty_port_default_receive_buf()
40 tty_ldisc_deref(disc); in tty_port_default_receive_buf()
/Linux-v4.19/drivers/scsi/libsas/
Dsas_discover.c150 memset(port->disc.fanout_sas_addr, 0, SAS_ADDR_SIZE); in sas_get_port_device()
151 memset(port->disc.eeds_a, 0, SAS_ADDR_SIZE); in sas_get_port_device()
152 memset(port->disc.eeds_b, 0, SAS_ADDR_SIZE); in sas_get_port_device()
153 port->disc.max_level = 0; in sas_get_port_device()
248 clear_bit(DISCE_SUSPEND, &port->disc.pending); in sas_suspend_devices()
275 clear_bit(DISCE_RESUME, &port->disc.pending); in sas_resume_devices()
449 clear_bit(DISCE_DISCOVER_DOMAIN, &port->disc.pending); in sas_discover_domain()
518 clear_bit(DISCE_REVALIDATE_DOMAIN, &port->disc.pending); in sas_revalidate_domain()
564 struct sas_discovery *disc; in sas_discover_event() local
568 disc = &port->disc; in sas_discover_event()
[all …]
Dsas_expander.c215 struct discover_resp *dr = &resp->disc; in sas_set_ex_phy()
349 set_bit(DISCE_REVALIDATE_DOMAIN, &dev->port->disc.pending); in sas_set_ex_phy()
395 dr = &((struct smp_resp *)disc_resp)->disc; in sas_ex_phy_discover_helper()
974 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander()
1070 if (SAS_ADDR(dev->port->disc.fanout_sas_addr)) { in sas_ex_discover_dev()
1080 memcpy(dev->port->disc.fanout_sas_addr, in sas_ex_discover_dev()
1288 if (SAS_ADDR(parent->port->disc.fanout_sas_addr) != 0) { in sas_check_eeds()
1296 SAS_ADDR(parent->port->disc.fanout_sas_addr)); in sas_check_eeds()
1297 } else if (SAS_ADDR(parent->port->disc.eeds_a) == 0) { in sas_check_eeds()
1298 memcpy(parent->port->disc.eeds_a, parent->sas_addr, in sas_check_eeds()
[all …]
Dsas_event.c118 struct sas_discovery *d = &port->disc; in sas_enable_revalidation()
/Linux-v4.19/Documentation/cdrom/
Dpacket-writing.txt12 - Grab a new CD-RW disc and format it (assuming CD-RW is hdc, substitute
27 the so called "restricted overwrite" mode. To put a disc in restricted
32 You can then use the disc the same way you would use a CD-RW disc:
44 2KB on such a disc. For example, it should be possible to do:
46 # dvd+rw-format /dev/hdc (only needed if the disc has never
82 filesystem corruption if the disc wears out.
84 - Since the pktcdvd driver makes the disc appear as a regular block
86 the disc. For example, run:
90 to create an ext2 filesystem on the disc.
Dcdrom-standard.tex156 block-devices such as floppy or hard disc drives), to define a set
362 up the disc, etc. % and device-use count
377 information on the status of the drive (not the status of the disc,
383 CDS_NO_DISC& no disc is inserted, tray is closed\cr
386 CDS_DISC_OK& a disc is loaded and everything is fine\cr
396 ignored for single-disc drives. Note that by `re-routing' this
449 current disc loaded and the return value should be positive. A negative
455 will perform disc selection. It should return the number of the
456 selected disc on success, a negative value on error. Currently, only
463 device $cdi\to dev$, the start of the last session of the current disc
[all …]
Dide-cd39 appended to the end of this file. The Sanyo 3-disc changer
117 An ISO 9660 CDROM can be mounted by putting the disc in the drive and
277 ISO 9660 disc. You can't mount an audio CD.
495 printf ("\tAudio disc.\t");
499 printf ("\tData disc type %d.\t", status-CDS_DATA_1+1);
503 printf ("\tXA data disc type %d.\t", status-CDS_XA_2_1+1);
506 printf ("\tUnknown disc type 0x%x!\t", status);
/Linux-v4.19/drivers/scsi/aic7xxx/
Dscsi_message.h47 #define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun)) argument
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe_ctlr.c2136 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_vn_rport_callback()
2178 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_disc_stop_locked()
2179 list_for_each_entry_rcu(rdata, &lport->disc.rports, peers) { in fcoe_ctlr_disc_stop_locked()
2185 lport->disc.disc_callback = NULL; in fcoe_ctlr_disc_stop_locked()
2186 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_disc_stop_locked()
2198 struct fcoe_ctlr *fip = lport->disc.priv; in fcoe_ctlr_disc_stop()
2514 mutex_lock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add()
2517 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add()
2521 mutex_unlock(&lport->disc.disc_mutex); in fcoe_ctlr_vn_add()
2524 rdata->disc_id = lport->disc.disc_id; in fcoe_ctlr_vn_add()
[all …]
/Linux-v4.19/include/scsi/
Dlibfc.h712 struct fc_disc disc; member
939 static inline struct fc_lport *fc_disc_lport(struct fc_disc *disc) in fc_disc_lport() argument
941 return container_of(disc, struct fc_lport, disc); in fc_disc_lport()
Dlibsas.h257 struct sas_discovery disc; member
695 void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *);
Dsas.h487 struct discover_resp disc; member
718 struct discover_resp disc; member
/Linux-v4.19/drivers/sn/
Dioc3.c117 int a, b, index, disc; in nic_find() local
125 for (index = 0, disc = 0; index < 64; index++) { in nic_find()
140 disc = index; in nic_find()
142 disc = index; in nic_find()
154 *last = disc; in nic_find()
/Linux-v4.19/net/tipc/
Ddiscover.c229 if (tipc_disc_addr_trial_msg(b->disc, &maddr, b, dst, in tipc_disc_rcv()
373 b->disc = d; in tipc_disc_create()
397 struct tipc_discoverer *d = b->disc; in tipc_disc_reset()
Dbearer.h165 struct tipc_discoverer *disc; member
/Linux-v4.19/Documentation/ioctl/
Dcdrom.txt53 CDROM_SELECT_DISC Select disc (for juke-boxes)
56 CDROM_DISC_STATUS Get disc type, etc.
67 CDROM_LAST_WRITTEN get last block written on disc
644 CDROM_SELECT_DISC Select disc (for juke-boxes)
713 CDROM_DISC_STATUS Get disc type, etc.
951 CDROM_LAST_WRITTEN get last block written on disc
961 The last block written on disc
965 result is derived from the disc's table of contents. If the
/Linux-v4.19/arch/um/os-Linux/
Dfile.c105 int disc, sencap; in os_set_slip() local
107 disc = N_SLIP; in os_set_slip()
108 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
/Linux-v4.19/fs/ntfs/
Drunlist.c289 bool disc = false; /* Discontinuity between @dst and @src. */ in ntfs_rl_insert() local
300 disc = (src[0].vcn > 0); in ntfs_rl_insert()
310 disc = (src[0].vcn > dst[loc - 1].vcn + merged_length); in ntfs_rl_insert()
316 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert()
332 marker = loc + ssize - left + disc; in ntfs_rl_insert()
336 ntfs_rl_mc(dst, loc + disc, src, left, ssize - left); in ntfs_rl_insert()
345 if (disc) { in ntfs_rl_insert()
/Linux-v4.19/include/linux/
Dtty.h538 extern int tty_ldisc_reinit(struct tty_struct *tty, int disc);
700 extern int tty_register_ldisc(int disc, struct tty_ldisc_ops *new_ldisc);
701 extern int tty_unregister_ldisc(int disc);
702 extern int tty_set_ldisc(struct tty_struct *tty, int disc);
/Linux-v4.19/Documentation/ide/
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.

123