Home
last modified time | relevance | path

Searched refs:blkdev (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/lttng/lttng-modules/
H A D0009-Rename-genhd-wrapper-to-blkdev.patch4 Subject: [PATCH 09/10] Rename genhd wrapper to blkdev
6 The genhd.h header was folded into blkdev.h in v5.18, rename our wrapper
15 include/wrapper/{genhd.h => blkdev.h} | 10 +++++-----
18 rename include/wrapper/{genhd.h => blkdev.h} (93%)
20 diff --git a/include/wrapper/genhd.h b/include/wrapper/blkdev.h
23 rename to include/wrapper/blkdev.h
26 +++ b/include/wrapper/blkdev.h
31 + * wrapper/blkdev.h
45 #include <linux/blkdev.h>
51 + * From 'include/linux/blkdev.h':
[all …]
/OK3568_Linux_fs/kernel/fs/pstore/
H A Dblk.c82 static char blkdev[80] = CONFIG_PSTORE_BLK_BLKDEV; variable
83 module_param_string(blkdev, blkdev, 80, 0400);
84 MODULE_PARM_DESC(blkdev, "block device for pstore storage");
231 if (!blkdev[0]) in psblk_get_bdev()
236 bdev = blkdev_get_by_path(blkdev, mode, holder); in psblk_get_bdev()
240 devt = name_to_dev_t(blkdev); in psblk_get_bdev()
250 pr_err("not enough space for '%s'\n", blkdev); in psblk_get_bdev()
367 void *holder = blkdev; in __register_pstore_blk()
376 pr_err("failed to open '%s'!\n", blkdev); in __register_pstore_blk()
446 void *holder = blkdev; in __unregister_pstore_blk()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/devices/
H A Dblock2mtd.c37 struct block_device *blkdev; member
55 struct address_space *mapping = dev->blkdev->bd_inode->i_mapping; in _block2mtd_erase()
117 page = page_read(dev->blkdev->bd_inode->i_mapping, index); in block2mtd_read()
139 struct address_space *mapping = dev->blkdev->bd_inode->i_mapping; in _block2mtd_write()
194 sync_blockdev(dev->blkdev); in block2mtd_sync()
206 if (dev->blkdev) { in block2mtd_free_device()
207 invalidate_mapping_pages(dev->blkdev->bd_inode->i_mapping, in block2mtd_free_device()
209 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
265 dev->blkdev = bdev; in add_device()
272 if ((long)dev->blkdev->bd_inode->i_size % erase_size) { in add_device()
[all …]
/OK3568_Linux_fs/kernel/Documentation/block/
H A Dcmdline-partition.rst15 blkdevparts=<blkdev-def>[;<blkdev-def>]
16 <blkdev-def> := <blkdev-id>:<partdef>[,<partdef>]
19 <blkdev-id>
H A Drequest.rst40 <linux/blkdev.h>
H A Dbiodoc.rst530 the order in which they occur in the structure (see include/linux/blkdev.h)
/OK3568_Linux_fs/u-boot/common/
H A Dusb_storage.c213 struct blk_desc *blkdev; in usb_stor_probe_device() local
226 blkdev = dev_get_uclass_platdata(dev); in usb_stor_probe_device()
227 blkdev->target = 0xff; in usb_stor_probe_device()
228 blkdev->lun = lun; in usb_stor_probe_device()
230 ret = usb_stor_get_info(udev, data, blkdev); in usb_stor_probe_device()
263 struct blk_desc *blkdev; in usb_stor_probe_device() local
265 blkdev = &usb_dev_desc[usb_max_devs]; in usb_stor_probe_device()
266 memset(blkdev, '\0', sizeof(struct blk_desc)); in usb_stor_probe_device()
267 blkdev->if_type = IF_TYPE_USB; in usb_stor_probe_device()
268 blkdev->devnum = usb_max_devs; in usb_stor_probe_device()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/blktool/blktool/
H A D0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch41 - if (ioctl(blkdev, cmd->write_ioctl, do_32))
45 + ret = ioctl(blkdev, cmd->write_ioctl, &do_32);
47 + ret = ioctl(blkdev, cmd->write_ioctl, do_32);
H A D0002-fix-string-error.patch26 if (blkdev >= 0)
27 close(blkdev);
/OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/lttng/
H A Dlttng-modules_2.13.9.bb13 file://0009-Rename-genhd-wrapper-to-blkdev.patch \
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dpstore-blk.rst38 pstore_blk.blkdev=179:7 pstore_blk.kmsg_size=64
42 blkdev section in Configurations for user
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Df2fs.rst808 5. open(blkdev)
809 6. write(blkdev, address)