[go: nahoru, domu]

Searched refs:sh (Results 1 - 25 of 64) sorted by relevance

123

/drivers/md/
H A Draid5.c34 * (in add_stripe_bio) we update the in-memory bitmap and record in sh->bm_seq
187 static inline int raid6_d0(struct stripe_head *sh) argument
189 if (sh->ddf_layout)
193 if (sh->qd_idx == sh->disks - 1)
196 return sh->qd_idx + 1;
209 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, argument
214 if (sh->ddf_layout)
216 if (idx == sh->pd_idx)
218 if (idx == sh
242 stripe_operations_active(struct stripe_head *sh) argument
249 raid5_wakeup_stripe_thread(struct stripe_head *sh) argument
292 do_release_stripe(struct r5conf *conf, struct stripe_head *sh, struct list_head *temp_inactive_list) argument
330 __release_stripe(struct r5conf *conf, struct stripe_head *sh, struct list_head *temp_inactive_list) argument
388 struct stripe_head *sh; local
415 release_stripe(struct stripe_head *sh) argument
448 remove_hash(struct stripe_head *sh) argument
456 insert_hash(struct r5conf *conf, struct stripe_head *sh) argument
469 struct stripe_head *sh = NULL; local
486 shrink_buffers(struct stripe_head *sh) argument
502 grow_buffers(struct stripe_head *sh) argument
523 init_stripe(struct stripe_head *sh, sector_t sector, int previous) argument
565 struct stripe_head *sh; local
661 struct stripe_head *sh; local
717 use_new_offset(struct r5conf *conf, struct stripe_head *sh) argument
740 ops_run_io(struct stripe_head *sh, struct stripe_head_state *s) argument
946 async_copy_data(int frombio, struct bio *bio, struct page **page, sector_t sector, struct dma_async_tx_descriptor *tx, struct stripe_head *sh) argument
1010 struct stripe_head *sh = stripe_head_ref; local
1051 ops_run_biofill(struct stripe_head *sh) argument
1082 mark_target_uptodate(struct stripe_head *sh, int target) argument
1097 struct stripe_head *sh = stripe_head_ref; local
1114 to_addr_conv(struct stripe_head *sh, struct raid5_percpu *percpu) argument
1121 ops_run_compute5(struct stripe_head *sh, struct raid5_percpu *percpu) argument
1162 set_syndrome_sources(struct page **srcs, struct stripe_head *sh) argument
1186 ops_run_compute6_1(struct stripe_head *sh, struct raid5_percpu *percpu) argument
1243 ops_run_compute6_2(struct stripe_head *sh, struct raid5_percpu *percpu) argument
1351 struct stripe_head *sh = stripe_head_ref; local
1358 ops_run_prexor(struct stripe_head *sh, struct raid5_percpu *percpu, struct dma_async_tx_descriptor *tx) argument
1387 ops_run_biodrain(struct stripe_head *sh, struct dma_async_tx_descriptor *tx) argument
1437 struct stripe_head *sh = stripe_head_ref; local
1480 ops_run_reconstruct5(struct stripe_head *sh, struct raid5_percpu *percpu, struct dma_async_tx_descriptor *tx) argument
1545 ops_run_reconstruct6(struct stripe_head *sh, struct raid5_percpu *percpu, struct dma_async_tx_descriptor *tx) argument
1579 struct stripe_head *sh = stripe_head_ref; local
1589 ops_run_check_p(struct stripe_head *sh, struct raid5_percpu *percpu) argument
1623 ops_run_check_pq(struct stripe_head *sh, struct raid5_percpu *percpu, int checkp) argument
1643 raid_run_ops(struct stripe_head *sh, unsigned long ops_request) argument
1710 struct stripe_head *sh; local
1945 struct stripe_head *sh; local
1973 struct stripe_head *sh = bi->bi_private; local
2096 struct stripe_head *sh = bi->bi_private; local
2168 raid5_build_block(struct stripe_head *sh, int i, int previous) argument
2215 raid5_compute_sector(struct r5conf *conf, sector_t r_sector, int previous, int *dd_idx, struct stripe_head *sh) argument
2417 compute_blocknr(struct stripe_head *sh, int i, int previous) argument
2538 schedule_reconstruction(struct stripe_head *sh, struct stripe_head_state *s, int rcw, int expand) argument
2630 add_stripe_bio(struct stripe_head *sh, struct bio *bi, int dd_idx, int forwrite) argument
2704 stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, struct stripe_head *sh) argument
2721 handle_failed_stripe(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks, struct bio **return_bi) argument
2834 handle_failed_sync(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s) argument
2879 want_replace(struct stripe_head *sh, int disk_idx) argument
2901 fetch_block(struct stripe_head *sh, struct stripe_head_state *s, int disk_idx, int disks) argument
2990 handle_stripe_fill(struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3013 handle_stripe_clean_event(struct r5conf *conf, struct stripe_head *sh, int disks, struct bio **return_bi) argument
3085 handle_stripe_dirtying(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3211 handle_parity_checks5(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3298 handle_parity_checks6(struct r5conf *conf, struct stripe_head *sh, struct stripe_head_state *s, int disks) argument
3461 handle_stripe_expansion(struct r5conf *conf, struct stripe_head *sh) argument
3531 analyse_stripe(struct stripe_head *sh, struct stripe_head_state *s) argument
3712 handle_stripe(struct stripe_head *sh) argument
4047 struct stripe_head *sh; local
4067 struct stripe_head *sh = list_entry(head.next, struct stripe_head, lru); local
4335 struct stripe_head *sh = NULL, *tmp; local
4420 struct stripe_head *sh; local
4455 release_stripe_plug(struct mddev *mddev, struct stripe_head *sh) argument
4487 struct stripe_head *sh; local
4579 struct stripe_head *sh; local
4759 struct stripe_head *sh; local
4990 struct stripe_head *sh; local
5086 struct stripe_head *sh; local
5144 struct stripe_head *batch[MAX_STRIPE_BATCH], *sh; local
[all...]
/drivers/scsi/
H A Deata_pio.c113 static int eata_pio_release(struct Scsi_Host *sh) argument
115 hostdata *hd = SD(sh);
116 if (sh->irq && reg_IRQ[sh->irq] == 1)
117 free_irq(sh->irq, NULL);
119 reg_IRQ[sh->irq]--;
120 if (SD(sh)->channel == 0) {
121 if (sh->io_port && sh->n_io_port)
122 release_region(sh
166 struct Scsi_Host *sh; local
309 struct Scsi_Host *sh; local
662 struct Scsi_Host *sh; local
[all...]
H A Du14-34f.c609 static struct Scsi_Host *sh[MAX_BOARDS + 1]; variable in typeref:struct:Scsi_Host
630 #define HD(board) ((struct hostdata *) &sh[board]->hostdata)
763 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
771 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
774 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
777 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
891 sh[j] = scsi_register(tpnt, sizeof(struct hostdata));
894 if (sh[j] == NULL) {
899 sh[j]->io_port = port_base;
900 sh[
[all...]
H A Dvirtio_scsi.c235 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); local
236 struct virtio_scsi *vscsi = shost_priv(sh);
263 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); local
264 struct virtio_scsi *vscsi = shost_priv(sh);
407 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); local
408 struct virtio_scsi *vscsi = shost_priv(sh);
553 static int virtscsi_queuecommand_single(struct Scsi_Host *sh, argument
556 struct virtio_scsi *vscsi = shost_priv(sh);
601 static int virtscsi_queuecommand_multi(struct Scsi_Host *sh, argument
604 struct virtio_scsi *vscsi = shost_priv(sh);
723 struct Scsi_Host *sh = dev_to_shost(starget->dev.parent); local
865 struct Scsi_Host *sh = virtio_scsi_host(vdev); local
1034 struct Scsi_Host *sh = virtio_scsi_host(vdev); local
1044 struct Scsi_Host *sh = virtio_scsi_host(vdev); local
[all...]
H A Dwd7000.c245 struct Scsi_Host *sh; /* Pointer to Scsi_Host structure */ member in struct:adapter
909 spin_lock_irqsave(host->sh->host_lock, flags);
922 spin_unlock_irqrestore(host->sh->host_lock, flags);
1010 spin_lock_irqsave(host->sh->host_lock, flags);
1080 spin_unlock_irqrestore(host->sh->host_lock, flags);
1385 struct Scsi_Host *sh; local
1476 * Scsi_Host structure (sh), and is located by the empty
1479 sh = scsi_register(tpnt, sizeof(Adapter));
1480 if (sh == NULL)
1483 host = (Adapter *) sh
[all...]
/drivers/xen/events/
H A Devents_2l.c145 struct shared_info *sh,
148 return sh->evtchn_pending[idx] &
150 ~sh->evtchn_mask[idx];
266 struct shared_info *sh = HYPERVISOR_shared_info; local
292 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--)
294 (int)sizeof(sh->evtchn_pending[0])*2,
295 sh->evtchn_pending[i],
298 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--)
300 (int)(sizeof(sh->evtchn_mask[0])*2),
301 sh
144 active_evtchns(unsigned int cpu, struct shared_info *sh, unsigned int idx) argument
[all...]
/drivers/target/loopback/
H A Dtcm_loop.h34 struct scsi_host *sh; member in struct:tcm_loop_nexus
64 struct Scsi_Host *sh; member in struct:tcm_loop_hba
H A Dtcm_loop.c244 static int tcm_loop_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *sc) argument
472 struct Scsi_Host *sh; local
477 sh = scsi_host_alloc(&tcm_loop_driver_template,
479 if (!sh) {
483 tl_hba->sh = sh;
488 *((struct tcm_loop_hba **)sh->hostdata) = tl_hba;
492 sh->max_id = 2;
493 sh->max_lun = 0;
494 sh
516 struct Scsi_Host *sh; local
1332 struct Scsi_Host *sh; local
[all...]
/drivers/pinctrl/sh-pfc/
H A DMakefile0 sh-pfc-objs = core.o pinctrl.o
3 sh-pfc-objs += gpio.o
5 obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc.o
/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c132 wlapi_bmac_ucode_wake_override_phyreg_set(pi->sh->physhim);
138 wlapi_bmac_ucode_wake_override_phyreg_clear(pi->sh->physhim);
144 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, MCTL_LOCK_RADIO);
155 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, 0);
185 if ((D11REV_GE(pi->sh->corerev, 24)) ||
186 (D11REV_IS(pi->sh->corerev, 22)
201 if ((D11REV_GE(pi->sh->corerev, 24)) ||
202 (D11REV_IS(pi->sh->corerev, 22)
223 if (D11REV_GE(pi->sh->corerev, 24)) {
367 struct shared_phy *sh; local
429 wlc_phy_attach(struct shared_phy *sh, struct bcma_device *d11core, int bandtype, struct wiphy *wiphy) argument
[all...]
H A Dphy_lcn.c149 wlapi_bmac_read_shm((pi)->sh->physhim, M_UCODE_MACSTAT + \
1614 wlapi_switch_macfreq(pi->sh->physhim, enable);
1830 if (!(pi->sh->boardflags & BFL_FEM)) {
2142 if (pi->sh->boardflags & BFL_FEM) {
2883 wlapi_suspend_mac_and_wait(pi->sh->physhim);
2934 wlapi_enable_mac(pi->sh->physhim);
2965 wlapi_suspend_mac_and_wait(pi->sh->physhim);
3075 wlapi_enable_mac(pi->sh->physhim);
3092 wlapi_suspend_mac_and_wait(pi->sh->physhim);
3152 wlapi_enable_mac(pi->sh
[all...]
/drivers/target/
H A Dtarget_core_pscsi.c114 struct Scsi_Host *sh = phv->phv_lld_host; local
119 if (!sh)
126 " %s\n", hba->hba_id, (sh->hostt->name) ?
127 (sh->hostt->name) : "Unknown");
129 scsi_host_put(sh);
136 sh = scsi_host_lookup(phv->phv_host_id);
137 if (!sh) {
143 phv->phv_lld_host = sh;
147 hba->hba_id, (sh->hostt->name) ? (sh
373 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
416 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
447 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
467 struct Scsi_Host *sh = phv->phv_lld_host; local
[all...]
/drivers/message/fusion/
H A Dmptfc.c209 ioc->name, ioc->sh->host_no,
223 ioc->name, ioc->sh->host_no,
230 ioc->name, ioc->sh->host_no,
469 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids);
497 ioc->sh->host_no,
990 struct Scsi_Host *sh; local
998 sh = ioc->sh;
1000 sn = fc_host_symbolic_name(sh);
1006 fc_host_tgtid_bind_type(sh)
1179 struct Scsi_Host *sh; local
[all...]
H A Dmptspi.c1122 struct Scsi_Host *shost = ioc->sh;
1153 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, 1);
1163 shost_printk(KERN_ERR, ioc->sh, MYIOC_s_FMT
1179 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1276 shost_for_each_device(sdev, ioc->sh) {
1287 shost_for_each_device(sdev, ioc->sh)
1319 * if we get an ioc fault on bringup, ioc->sh will be NULL */
1321 ioc->sh) {
1322 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1338 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1360 struct Scsi_Host *sh; local
[all...]
/drivers/misc/sgi-gru/
H A Dgruhandles.h509 #define GRU_PAGESIZE(sh) ((((sh) > 20 ? (sh) + 2 : (sh)) >> 1) - 6)
510 #define GRU_SIZEAVAIL(sh) (1UL << GRU_PAGESIZE(sh))
/drivers/usb/storage/
H A Dsierra_ms.c131 struct Scsi_Host *sh; local
137 sh = us_to_host(us);
138 scsi_get_host_dev(sh);
/drivers/block/
H A Dcciss_scsi.c57 static int cciss_scsi_write_info(struct Scsi_Host *sh,
61 struct Scsi_Host *sh);
534 struct Scsi_Host *sh = NULL; local
550 sh = h->scsi_ctlr->scsi_host;
642 scsi_device_lookup(sh, removed[i].bus,
661 rc = scsi_add_device(sh, added[i].bus,
848 struct Scsi_Host *sh; local
851 sh = scsi_host_alloc(&cciss_driver_template, sizeof(struct ctlr_info *));
852 if (sh == NULL)
854 sh
1305 cciss_scsi_write_info(struct Scsi_Host *sh, char *buffer, int length) argument
1318 cciss_scsi_show_info(struct seq_file *m, struct Scsi_Host *sh) argument
[all...]
/drivers/lguest/
H A DMakefile21 @sh ../../tools/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
/drivers/spi/
H A DMakefile72 obj-$(CONFIG_SPI_SH) += spi-sh.o
73 obj-$(CONFIG_SPI_SH_HSPI) += spi-sh-hspi.o
74 obj-$(CONFIG_SPI_SH_MSIOF) += spi-sh-msiof.o
75 obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o
/drivers/bluetooth/
H A Dhci_ll.c379 struct hci_sco_hdr *sh; local
421 sh = hci_sco_hdr(ll->rx_skb);
423 BT_DBG("SCO header: dlen %d", sh->dlen);
425 ll_check_data_len(hu->hdev, ll, sh->dlen);
/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h8 unsigned short sh; member in struct:mb862xx_l1_cfg
/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_sdio.c1081 struct sdpcm_shared *sh)
1123 sh->flags = le32_to_cpu(sh_le.flags);
1124 sh->trap_addr = le32_to_cpu(sh_le.trap_addr);
1125 sh->assert_exp_addr = le32_to_cpu(sh_le.assert_exp_addr);
1126 sh->assert_file_addr = le32_to_cpu(sh_le.assert_file_addr);
1127 sh->assert_line = le32_to_cpu(sh_le.assert_line);
1128 sh->console_addr = le32_to_cpu(sh_le.console_addr);
1129 sh->msgtrace_addr = le32_to_cpu(sh_le.msgtrace_addr);
1131 if ((sh->flags & SDPCM_SHARED_VERSION_MASK) > SDPCM_SHARED_VERSION) {
1134 sh
1080 brcmf_sdio_readshared(struct brcmf_sdio *bus, struct sdpcm_shared *sh) argument
1143 struct sdpcm_shared sh; local
2951 brcmf_sdio_dump_console(struct seq_file *seq, struct brcmf_sdio *bus, struct sdpcm_shared *sh) argument
3008 brcmf_sdio_trap_info(struct seq_file *seq, struct brcmf_sdio *bus, struct sdpcm_shared *sh) argument
3042 brcmf_sdio_assert_info(struct seq_file *seq, struct brcmf_sdio *bus, struct sdpcm_shared *sh) argument
3080 struct sdpcm_shared sh; local
3101 struct sdpcm_shared sh; local
[all...]
/drivers/net/ethernet/tile/
H A Dtilegx.c1677 struct skb_shared_info *sh = skb_shinfo(skb); local
1680 unsigned int p_len = sh->gso_size;
1688 for (segment = 0; segment < sh->gso_segs; segment++) {
1698 f_size = skb_frag_size(&sh->frags[f_id]);
1723 struct skb_shared_info *sh = skb_shinfo(skb); local
1756 p_len = sh->gso_size;
1762 for (segment = 0; segment < sh->gso_segs; segment++) {
1788 if (segment != sh->gso_segs - 1) {
1802 f_size = skb_frag_size(&sh->frags[f_id]);
1832 struct skb_shared_info *sh local
1980 struct skb_shared_info *sh = skb_shinfo(skb); local
[all...]
/drivers/
H A DMakefile125 obj-$(CONFIG_SUPERH) += sh/
126 obj-$(CONFIG_ARCH_SHMOBILE) += sh/
/drivers/scsi/esas2r/
H A Desas2r_main.c705 int esas2r_show_info(struct seq_file *m, struct Scsi_Host *sh) argument
707 struct esas2r_adapter *a = (struct esas2r_adapter *)sh->hostdata;
712 esas2r_log(ESAS2R_LOG_DEBG, "esas2r_show_info (%p,%d)", m, sh->host_no);
760 int esas2r_release(struct Scsi_Host *sh) argument
762 esas2r_log_dev(ESAS2R_LOG_INFO, &(sh->shost_gendev),
765 esas2r_cleanup(sh);
766 if (sh->irq)
767 free_irq(sh->irq, NULL);
768 scsi_unregister(sh);
772 const char *esas2r_info(struct Scsi_Host *sh) argument
[all...]

Completed in 2172 milliseconds

123