if (!devnum) break; ret = get_device(devtype, devnum, &block_dev); ret = blk_get_device_by_str(devtype, devnum, &block_dev); if (ret < 0) goto cleanup;6 changes: 3 additions & 3 deletions 6 disk/part.c Original file line numberDiff line numberDiff line change @@ -449,...
* @devp: the device, if found * @return 0 if found, -ENODEV if no device found, or other -ve error value */ int blk_find_device(int if_type, int devnum, struct udevice **devp); /** * blk_get_device() - Find and probe a block device ready for use * * @if_type: Inte...
int len = dev->virtq->len;WRITE32(dev->regs->InterruptACK, READ32(dev->regs->InterruptStatus));for (i = dev->virtq->seen_used; i != dev->virtq->used->idx; i = wrap(i + 1, len)) { virtio_blk_handle_used(dev, i); } dev->virtq->seen_used = dev->virtq->used->id...
vnode_vfstypenum Get the "type number" of the filesystem to which a vnode belongs. vnode_vid Return a vnode's vid (generation number), which is constant from creation until reclaim. vnode_vtype Return a vnode's type. vnode_waitforwrites Wait for the number of pending writes on a vnod...
dma_drain_needed_fn *dma_drain_needed;conststructblk_mq_ops*mq_ops;/* sw queues */structblk_mq_ctx__percpu*queue_ctx;unsignedintnr_queues;unsignedintqueue_depth;/* hw dispatch queues */structblk_mq_hw_ctx**queue_hw_ctx;unsignedintnr_hw_queues;structbacking_dev_info*backing_dev_info;...
static inline void vring_init(struct vring *vr, unsigned int num, void *p, unsigned long align) { vr->num = num; vr->desc = p; vr->avail = (void *)((char *)p + num*sizeof(struct vring_desc)); vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + sizeof(u16...
I'm trying to get our board working, booting off via eMMC but it gets stuck kernel boot around "Waiting for root device /dev/mmcblk0p2" and
Re: 请教一个SD卡启动卡在/dev/mmcblk0p2的问题 @mmcblk0p2 大哥 我还是有问题啊。我又在内核里边配置了一份,但是很离谱我在uboot里边mmc part,我的设备真真实实是存在的 => mmc part Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 13107...
nginx -t systemctl restart nginx > /var/log/nginx/access.log for i in `seq 10`;do curl -I 127.0.0.1 &>/dev/null ;done cat /var/log/nginx/access.log Filebeat改进修改配置文件 cat > /etc/filebeat/filebeat.yml << EOF filebeat.inputs: - type: log enabled: true paths: - /var/log...
Num Type Disp Enb Address What 1 breakpoint keep y 0x00007f4d4394a760 in virDomainGetBlockInfo at libvirt-domain.c:6094 breakpoint already hit 1 time (gdb) delete 1 (gdb) break qemuDomainBlocksStatsGather Breakpoint 2 at 0x7f4d208e3700: file qemu/qemu_driver.c, line 11427. ...