search for: sdev

Displaying 20 results from an estimated 191 matches for "sdev".

Did you mean: mdev
2007 Jul 06
6
[RFC 0/4] Using a generic bus_type for virtio
This is a subject that came up in the virtio BOF session at OLS. I decided to go forward and implement something that I like, based on the latest virtio proposal at the time, which was draft III. It's not a drop-in replacement, because it's missing a host implementation. I first started my own, which is not done yet, but wanted to do one for lguest and one for emulated PCI next. It's
2007 Jul 06
6
[RFC 0/4] Using a generic bus_type for virtio
This is a subject that came up in the virtio BOF session at OLS. I decided to go forward and implement something that I like, based on the latest virtio proposal at the time, which was draft III. It's not a drop-in replacement, because it's missing a host implementation. I first started my own, which is not done yet, but wanted to do one for lguest and one for emulated PCI next. It's
2011 Mar 08
6
[PATCH v1 0/6] btrfs: scrub
This series adds an initial implementation for scrub. It works quite straightforward. The usermode issues an ioctl for each device in the fs. For each device, it enumerates the allocated device chunks. For each chunk, the contained extents are enumerated and the data checksums fetched. The extents are read sequentially and the checksums verified. If an error occurs (checksum or EIO), a good copy
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is marked as an RFC because firstly it depends on the RPMsg API series and secondly it is currently being reviewed on ALSA and SOF mailing lists, but any early comments from virtualisation developers would be highly appreciated too! Thanks Guennadi [1]
2011 Jun 30
2
sdev value returned by princomp function (used for PCA)
Dear all, I have a question about the 'sdev' value returned by the princomp function (which does principal components analysis). On the help page for princomp it says 'sdev' is 'the standard deviations of the principal components'. However, when I calculate the principal components for the USArrests data set, I don'...
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found the very last bug in my current scrub patch series: Changelog v4->v5: - fixed a deadlock when fixup is taking longer while scrub is about to end Original message follows: ------------------------ This patch set introduces two new features for scrub. They share the backref iteration code which is the
2012 Apr 09
1
sdev, variance in prcomp
Hello, It might be a trivial question but I just wanted to find out the relationship between sdev and proportion of variance generated by prcomp. I got the following result from my data set ???????????????????????????? PC1????? PC2????? PC3 Standard deviation???? 104.89454 15.40910 9.012047 Proportion of Variance?? 0.52344? 0.01130 0.003860 Cumulative Proportion??? 0.52344? 0.53474 0.538600...
2019 Dec 11
0
[PATCH 15/24] compat_ioctl: scsi: move ioctl handling into drivers
...tl - * is not recognized we go back to the other translation paths. - */ static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) { - struct gendisk *disk = bdev->bd_disk; - struct scsi_disk *sdkp = scsi_disk(disk); - struct scsi_device *sdev = sdkp->device; void __user *p = compat_ptr(arg); - int error; - - error = scsi_verify_blk_ioctl(bdev, cmd); - if (error < 0) - return error; + int ret; - error = scsi_ioctl_block_when_processing_errors(sdev, cmd, - (mode & FMODE_NDELAY) != 0); - if (error) - return error; + ret =...
2011 Dec 09
10
[PATCH 0/3] Btrfs: add IO error device stats
The goal is to detect when drives start to get an increased error rate, when drives should be replaced soon. Therefore statistic counters are added that count IO errors (read, write and flush). Additionally, the software detected errors like checksum errors and corrupted blocks are counted. An ioctl interface is added to get the device statistic counters. A second ioctl is added to atomically get
2013 Sep 16
1
Solapamiento de funciones de densidad
...encontrarla aquí: http://www.butbn.cas.cz/francesco/Webpage/R_Functions.html Y la parte de la misma que sirve para calcular el solapamiento de dos funciones de densidad (que creo que es lo que quieres hacer), es esta: kernel.dist<-function(sp1,sp2)  {   n.obs<-c(length(sp1),length(sp2))   sdevs<-c(sd(sp1,na.rm=TRUE),sd(sp2,na.rm=TRUE))   means<-c(mean(sp1,na.rm=TRUE),mean(sp2,na.rm=TRUE))   h<-1.06*sdevs*(n.obs^-0.2) range_sp<-range(c(means[1]+5*sdevs[1],means[1]-5*sdevs[1],means[2]+5*sdevs[2 ],means[2]-5*sdevs[2]))   length.grad<-seq(range_sp[1],range_sp[2],length.out=12...
2019 Dec 11
3
[PATCH 00/24] block, scsi: final compat_ioctl cleanup
...at vger.kernel.org Cc: linux-block at vger.kernel.org Cc: linux-arm-kernel at lists.infradead.org Cc: linux-um at lists.infradead.org Cc: linux-scsi at vger.kernel.org Cc: linux-ide at vger.kernel.org Cc: virtualization at lists.linux-foundation.org Cc: xen-devel at lists.xenproject.org Cc: linux-fsdevel at vger.kernel.org
2020 Jan 02
1
[PATCH v3 13/22] compat_ioctl: scsi: move ioctl handling into drivers
...tl - * is not recognized we go back to the other translation paths. - */ static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) { - struct gendisk *disk = bdev->bd_disk; - struct scsi_disk *sdkp = scsi_disk(disk); - struct scsi_device *sdev = sdkp->device; void __user *p = compat_ptr(arg); - int error; - - error = scsi_verify_blk_ioctl(bdev, cmd); - if (error < 0) - return error; + int ret; - error = scsi_ioctl_block_when_processing_errors(sdev, cmd, - (mode & FMODE_NDELAY) != 0); - if (error) - return error; + ret =...
2006 May 25
1
PC rotation question
...3rd MASS edition, http://www.stats.ox.ac.uk/pub/MASS3/VR3stat.pdf I read that the orthogonal rotations of Z Lambda^-1 remain uncorrelated, where Z is the PC and Lambda is the diag matrix of singular values. However, the example below that text is > A <- loadings(ir.pca) %*% diag(ir.pca$sdev) If ir.pca$sdev are the singular values, should that be diag(1 / ir.pca$sdev), or is it some discrepancy between S+ and R that I'm missing?
2008 Jul 03
3
[PATCH 2/4] pvSCSI : Fix many points of backend/frontend driver
Please refer following Mr. Steven''s mail posted on June 24th. Message-ID: <20080624131313.GB18379@weybridge.uk.xensource.com> Message-ID: <20080624131256.GA18379@weybridge.uk.xensource.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com> Signed-off-by: Jun Kamada <kama@jp.fujitsu.com> ----- Jun Kamada
1998 Aug 26
0
prcomp & princomp - revised
...s <- svd(get("scale",envir=.GlobalEnv) (x, center=center, scale=scale),nu=0) # rank <- sum(s$d > 0) rank <- sum(s$d > (s$d[1]*sqrt(.Machine$double.eps))) if (rank < ncol(x)) s$v <- s$v[,1:rank, drop=F] s$d <- s$d/sqrt(max(1,nrow(x) -1)) if(retx) r <- list(sdev=s$d, rotation=s$v, x=as.matrix(x) %*% s$v) else r <- list(sdev=s$d, rotation=s$v) class(r) <- "prcomp" r } print.prcomp <- function(x) { cat("Standard deviations:\n") print(x$sdev) cat("\nRotation:\n") print(x$rotation) if (!is.null(x$x)) {cat(&...
2019 Sep 04
0
[PATCH] scsi: virtio_scsi: unplug LUNs when events missed
...git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c > index 297e1076e571..18df77bf371b 100644 > --- a/drivers/scsi/virtio_scsi.c > +++ b/drivers/scsi/virtio_scsi.c > @@ -324,6 +324,36 @@ static void virtscsi_handle_param_change(struct virtio_scsi *vscsi, > scsi_device_put(sdev); > } > > +static void virtscsi_rescan_hotunplug(struct virtio_scsi *vscsi) > +{ > + struct scsi_device *sdev; > + struct Scsi_Host *shost = virtio_scsi_host(vscsi->vdev); > + unsigned char scsi_cmd[MAX_COMMAND_SIZE]; > + int result, inquiry_len, inq_result_len = 256;...
2014 May 24
0
[PATCH] virtio-scsi: Implement change_queue_depth for virtscsi targets
...<scsi/scsi_tcq.h> #define VIRTIO_SCSI_MEMPOOL_SZ 64 #define VIRTIO_SCSI_EVENT_LEN 8 @@ -633,6 +634,36 @@ static int virtscsi_device_reset(struct scsi_cmnd *sc) return virtscsi_tmf(vscsi, cmd); } +/** + * virtscsi_change_queue_depth() - Change a virtscsi target's queue depth + * @sdev: Virtscsi target whose queue depth to change + * @qdepth: New queue depth + * @reason: Reason for the queue depth change. + */ +static int virtscsi_change_queue_depth(struct scsi_device *sdev, + int qdepth, + int reason) +{ + struct Scsi_Host *shost = sdev->host; + int max_de...
2014 May 24
0
[PATCH] virtio-scsi: Implement change_queue_depth for virtscsi targets
...<scsi/scsi_tcq.h> #define VIRTIO_SCSI_MEMPOOL_SZ 64 #define VIRTIO_SCSI_EVENT_LEN 8 @@ -633,6 +634,36 @@ static int virtscsi_device_reset(struct scsi_cmnd *sc) return virtscsi_tmf(vscsi, cmd); } +/** + * virtscsi_change_queue_depth() - Change a virtscsi target's queue depth + * @sdev: Virtscsi target whose queue depth to change + * @qdepth: New queue depth + * @reason: Reason for the queue depth change. + */ +static int virtscsi_change_queue_depth(struct scsi_device *sdev, + int qdepth, + int reason) +{ + struct Scsi_Host *shost = sdev->host; + int max_de...
2013 Aug 12
1
[PATCH v2 1/7] Intel MIC Host Driver for X100 family.
...mation. > + * @pdev: The PCI device structure. > + * @family: The MIC family to which this device belongs. > + * @ops: MIC HW specific operations. > + * @id: The unique device id for this MIC device. > + * @stepping: Stepping ID. > + * @attr_group: Sysfs attribute group. > + * @sdev: Device for sysfs entries. > + * @aper: Aperture bar information. > + */ > +struct mic_device { > + char name[20]; The name can be in the struct device (it should be the same, right?) > + struct mic_mw mmio; > + struct pci_dev *pdev; Isn't this just the parent of the device...