/linux-4.1.27/fs/udf/ |
H A D | lowlevel.c | 32 struct block_device *bdev = sb->s_bdev; udf_get_last_session() local 52 struct block_device *bdev = sb->s_bdev; udf_get_last_block() local
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-disk_ioctl.c | 18 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, ide_disk_ioctl() argument
|
H A D | ide-ioctls.c | 19 int ide_setting_ioctl(ide_drive_t *drive, struct block_device *bdev, ide_setting_ioctl() argument 234 int generic_ide_ioctl(ide_drive_t *drive, struct block_device *bdev, generic_ide_ioctl() argument
|
H A D | ide-floppy_ioctl.c | 273 int ide_floppy_ioctl(ide_drive_t *drive, struct block_device *bdev, ide_floppy_ioctl() argument
|
H A D | ide-gd.c | 183 static int ide_gd_open(struct block_device *bdev, fmode_t mode) ide_gd_open() argument 241 static int ide_gd_unlocked_open(struct block_device *bdev, fmode_t mode) ide_gd_unlocked_open() argument 275 static int ide_gd_getgeo(struct block_device *bdev, struct hd_geometry *geo) ide_gd_getgeo() argument 333 static int ide_gd_ioctl(struct block_device *bdev, fmode_t mode, ide_gd_ioctl() argument
|
H A D | ide-cd.c | 1591 static int idecd_open(struct block_device *bdev, fmode_t mode) idecd_open() argument 1659 static int idecd_locked_ioctl(struct block_device *bdev, fmode_t mode, idecd_locked_ioctl() argument 1681 static int idecd_ioctl(struct block_device *bdev, fmode_t mode, idecd_ioctl() argument
|
H A D | ide-tape.c | 1907 static int idetape_open(struct block_device *bdev, fmode_t mode) idetape_open() argument 1930 static int idetape_ioctl(struct block_device *bdev, fmode_t mode, idetape_ioctl() argument
|
/linux-4.1.27/fs/ |
H A D | internal.h | 32 static inline int __sync_blockdev(struct block_device *bdev, int wait) __sync_blockdev() argument
|
H A D | sync.c | 82 static void fdatawrite_one_bdev(struct block_device *bdev, void *arg) fdatawrite_one_bdev() argument 87 static void fdatawait_one_bdev(struct block_device *bdev, void *arg) fdatawait_one_bdev() argument
|
H A D | mbcache.c | 396 mb_cache_shrink(struct block_device *bdev) mb_cache_shrink() argument 579 mb_cache_entry_insert(struct mb_cache_entry *ce, struct block_device *bdev, mb_cache_entry_insert() argument 661 mb_cache_entry_get(struct mb_cache *cache, struct block_device *bdev, mb_cache_entry_get() argument 786 mb_cache_entry_find_first(struct mb_cache *cache, struct block_device *bdev, mb_cache_entry_find_first() argument 719 __mb_cache_entry_find(struct hlist_bl_node *l, struct hlist_bl_head *head, struct block_device *bdev, unsigned int key) __mb_cache_entry_find() argument 824 mb_cache_entry_find_next(struct mb_cache_entry *prev, struct block_device *bdev, unsigned int key) mb_cache_entry_find_next() argument
|
H A D | mpage.c | 67 mpage_alloc(struct block_device *bdev, mpage_alloc() argument 154 struct block_device *bdev = NULL; do_mpage_readpage() local 477 struct block_device *bdev = NULL; __mpage_writepage() local
|
H A D | dax.c | 32 struct block_device *bdev = inode->i_sb->s_bdev; dax_clear_blocks() local
|
H A D | super.c | 576 struct super_block *get_super(struct block_device *bdev) get_super() argument 617 struct super_block *get_super_thawed(struct block_device *bdev) get_super_thawed() argument 639 struct super_block *get_active_super(struct block_device *bdev) get_active_super() argument 953 struct block_device *bdev; mount_bdev() local 1028 struct block_device *bdev = sb->s_bdev; kill_block_super() local
|
H A D | block_dev.c | 34 struct block_device bdev; member in struct:bdev_inode 63 void kill_bdev(struct block_device *bdev) kill_bdev() argument 76 void invalidate_bdev(struct block_device *bdev) invalidate_bdev() argument 93 int set_blocksize(struct block_device *bdev, int size) set_blocksize() argument 159 int __sync_blockdev(struct block_device *bdev, int wait) __sync_blockdev() argument 172 int sync_blockdev(struct block_device *bdev) sync_blockdev() argument 183 int fsync_bdev(struct block_device *bdev) fsync_bdev() argument 207 struct super_block *freeze_bdev(struct block_device *bdev) freeze_bdev() argument 253 int thaw_bdev(struct block_device *bdev, struct super_block *sb) thaw_bdev() argument 339 struct block_device *bdev = I_BDEV(bd_inode); blkdev_fsync() local 375 int bdev_read_page(struct block_device *bdev, sector_t sector, bdev_read_page() argument 404 int bdev_write_page(struct block_device *bdev, sector_t sector, bdev_write_page() argument 439 long bdev_direct_access(struct block_device *bdev, sector_t sector, bdev_direct_access() argument 493 struct block_device *bdev = &ei->bdev; init_once() local 516 struct block_device *bdev = &BDEV_I(inode)->bdev; bdev_evict_inode() local 594 struct block_device *bdev; bdget() local 631 struct block_device *bdgrab(struct block_device *bdev) bdgrab() argument 640 struct block_device *bdev; nr_blockdev_pages() local 650 void bdput(struct block_device *bdev) bdput() argument 659 struct block_device *bdev; bd_acquire() local 699 struct block_device *bdev = NULL; bd_forget() local 725 static bool bd_may_claim(struct block_device *bdev, struct block_device *whole, bd_may_claim() argument 761 static int bd_prepare_to_claim(struct block_device *bdev, bd_prepare_to_claim() argument 809 static struct block_device *bd_start_claiming(struct block_device *bdev, bd_start_claiming() argument 866 static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev, bd_find_holder_disk() argument 915 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_link_disk_holder() argument 980 void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) bd_unlink_disk_holder() argument 1012 static void flush_disk(struct block_device *bdev, bool kill_dirty) flush_disk() argument 1037 void check_disk_size_change(struct gendisk *disk, struct block_device *bdev) check_disk_size_change() argument 1066 struct block_device *bdev; revalidate_disk() local 1094 int check_disk_change(struct block_device *bdev) check_disk_change() argument 1113 void bd_set_size(struct block_device *bdev, loff_t size) bd_set_size() argument 1139 static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) __blkdev_get() argument 1309 int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder) blkdev_get() argument 1395 struct block_device *bdev; blkdev_get_by_path() local 1439 struct block_device *bdev; blkdev_get_by_dev() local 1456 struct block_device *bdev; blkdev_open() local 1482 static void __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part) __blkdev_put() argument 1524 void blkdev_put(struct block_device *bdev, fmode_t mode) blkdev_put() argument 1574 struct block_device *bdev = I_BDEV(filp->f_mapping->host); blkdev_close() local 1581 struct block_device *bdev = I_BDEV(file->f_mapping->host); block_ioctl() local 1693 int ioctl_by_bdev(struct block_device *bdev, unsigned cmd, unsigned long arg) ioctl_by_bdev() argument 1715 struct block_device *bdev; lookup_bdev() local 1747 int __invalidate_device(struct block_device *bdev, bool kill_dirty) __invalidate_device() argument
|
H A D | direct-io.c | 355 dio_bio_alloc(struct dio *dio, struct dio_submit *sdio, struct block_device *bdev, sector_t first_sector, int nr_vecs) dio_bio_alloc() argument 1098 do_blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct block_device *bdev, struct iov_iter *iter, loff_t offset, get_block_t get_block, dio_iodone_t end_io, dio_submit_t submit_io, int flags) do_blockdev_direct_IO() argument 1312 __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct block_device *bdev, struct iov_iter *iter, loff_t offset, get_block_t get_block, dio_iodone_t end_io, dio_submit_t submit_io, int flags) __blockdev_direct_IO() argument
|
H A D | buffer.c | 198 __find_get_block_slow(struct block_device *bdev, sector_t block) __find_get_block_slow() argument 588 void write_boundary_block(struct block_device *bdev, write_boundary_block() argument 925 static sector_t blkdev_max_block(struct block_device *bdev, unsigned int size) blkdev_max_block() argument 941 init_page_buffers(struct page *page, struct block_device *bdev, init_page_buffers() argument 975 grow_dev_page(struct block_device *bdev, sector_t block, grow_dev_page() argument 1043 grow_buffers(struct block_device *bdev, sector_t block, int size, gfp_t gfp) grow_buffers() argument 1074 __getblk_slow(struct block_device *bdev, sector_t block, __getblk_slow() argument 1306 lookup_bh_lru(struct block_device *bdev, sector_t block, unsigned size) lookup_bh_lru() argument 1341 __find_get_block(struct block_device *bdev, sector_t block, unsigned size) __find_get_block() argument 1366 __getblk_gfp(struct block_device *bdev, sector_t block, __getblk_gfp() argument 1381 void __breadahead(struct block_device *bdev, sector_t block, unsigned size) __breadahead() argument 1404 __bread_gfp(struct block_device *bdev, sector_t block, __bread_gfp() argument 1610 void unmap_underlying_metadata(struct block_device *bdev, sector_t block) unmap_underlying_metadata() argument
|
/linux-4.1.27/drivers/s390/block/ |
H A D | scm_drv.c | 18 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); scm_notify() local 37 struct scm_blk_dev *bdev; scm_probe() local 64 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); scm_remove() local
|
H A D | dasd_genhd.c | 101 struct block_device *bdev; dasd_scan_partitions() local 156 struct block_device *bdev; dasd_destroy_partitions() local
|
H A D | scm_blk_cluster.c | 78 struct scm_blk_dev *bdev = scmrq->bdev; scm_reserve_cluster() local 113 struct scm_blk_dev *bdev = scmrq->bdev; scm_release_cluster() local 124 void scm_blk_dev_cluster_setup(struct scm_blk_dev *bdev) scm_blk_dev_cluster_setup() argument 132 struct scm_blk_dev *bdev = scmrq->bdev; scm_prepare_cluster_request() local 226 struct scm_blk_dev *bdev = scmrq->bdev; scm_cluster_request_irq() local
|
H A D | dasd_ioctl.c | 44 dasd_ioctl_enable(struct block_device *bdev) dasd_ioctl_enable() argument 70 dasd_ioctl_disable(struct block_device *bdev) dasd_ioctl_disable() argument 231 struct block_device *bdev = bdget_disk(block->gdp, 0); dasd_format() local 266 dasd_ioctl_format(struct block_device *bdev, void __user *argp) dasd_ioctl_format() argument 461 dasd_ioctl_set_ro(struct block_device *bdev, void __user *argp) dasd_ioctl_set_ro() argument 499 int dasd_ioctl(struct block_device *bdev, fmode_t mode, dasd_ioctl() argument
|
H A D | scm_blk.c | 148 static bool scm_permit_request(struct scm_blk_dev *bdev, struct request *req) scm_permit_request() argument 183 struct scm_blk_dev *bdev = scmrq->bdev; scm_request_prepare() local 220 static inline void scm_request_init(struct scm_blk_dev *bdev, scm_request_init() argument 240 static void scm_ensure_queue_restart(struct scm_blk_dev *bdev) scm_ensure_queue_restart() argument 251 struct scm_blk_dev *bdev = scmrq->bdev; scm_request_requeue() local 265 struct scm_blk_dev *bdev = scmrq->bdev; scm_request_finish() local 278 struct scm_blk_dev *bdev = scmrq->bdev; scm_request_start() local 298 struct scm_blk_dev *bdev = dev_get_drvdata(&scmdev->dev); scm_blk_request() local 390 struct scm_blk_dev *bdev = scmrq->bdev; scm_blk_irq() local 404 struct scm_blk_dev *bdev = scmrq->bdev; scm_blk_handle_error() local 434 static void scm_blk_tasklet(struct scm_blk_dev *bdev) scm_blk_tasklet() argument 472 int scm_blk_dev_setup(struct scm_blk_dev *bdev, struct scm_device *scmdev) scm_blk_dev_setup() argument 544 void scm_blk_dev_cleanup(struct scm_blk_dev *bdev) scm_blk_dev_cleanup() argument 552 void scm_blk_set_available(struct scm_blk_dev *bdev) scm_blk_set_available() argument
|
H A D | scm_blk.h | 32 struct scm_blk_dev *bdev; member in struct:scm_request 87 static inline void scm_blk_dev_cluster_setup(struct scm_blk_dev *bdev) {} scm_need_cluster_request() argument
|
H A D | xpram.c | 230 static int xpram_getgeo(struct block_device *bdev, struct hd_geometry *geo) xpram_getgeo() argument
|
H A D | dcssblk.c | 773 dcssblk_open(struct block_device *bdev, fmode_t mode) dcssblk_open() argument 881 dcssblk_direct_access (struct block_device *bdev, sector_t secnum, dcssblk_direct_access() argument
|
H A D | dasd.c | 3047 static int dasd_open(struct block_device *bdev, fmode_t mode) dasd_open() argument 3113 static int dasd_getgeo(struct block_device *bdev, struct hd_geometry *geo) dasd_getgeo() argument
|
/linux-4.1.27/block/partitions/ |
H A D | check.c | 142 check_partition(struct gendisk *hd, struct block_device *bdev) check_partition() argument
|
H A D | cmdline.c | 70 char bdev[BDEVNAME_SIZE]; cmdline_partition() local
|
H A D | check.h | 10 struct block_device *bdev; member in struct:parsed_partitions
|
H A D | ibm.c | 291 struct block_device *bdev = state->bdev; ibm_partition() local
|
H A D | efi.c | 148 static u64 last_lba(struct block_device *bdev) last_lba() argument 255 struct block_device *bdev = state->bdev; read_lba() local
|
H A D | aix.c | 78 static u64 last_lba(struct block_device *bdev) last_lba() argument
|
/linux-4.1.27/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_backlight.c | 20 static int shmob_drm_backlight_update(struct backlight_device *bdev) shmob_drm_backlight_update() argument 34 static int shmob_drm_backlight_get_brightness(struct backlight_device *bdev) shmob_drm_backlight_get_brightness() argument
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-picolcd_backlight.c | 27 static int picolcd_get_brightness(struct backlight_device *bdev) picolcd_get_brightness() argument 33 static int picolcd_set_brightness(struct backlight_device *bdev) picolcd_set_brightness() argument 52 static int picolcd_check_bl_fb(struct backlight_device *bdev, struct fb_info *fb) picolcd_check_bl_fb() argument 66 struct backlight_device *bdev; picolcd_init_backlight() local 94 struct backlight_device *bdev = data->backlight; picolcd_exit_backlight() local
|
/linux-4.1.27/kernel/power/ |
H A D | block_io.c | 28 static int submit(int rw, struct block_device *bdev, sector_t sector, submit() argument
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdsuper.c | 126 struct block_device *bdev; mount_mtd() local
|
H A D | mtd_blkdevs.c | 191 static int blktrans_open(struct block_device *bdev, fmode_t mode) blktrans_open() argument 268 static int blktrans_getgeo(struct block_device *bdev, struct hd_geometry *geo) blktrans_getgeo() argument 288 static int blktrans_ioctl(struct block_device *bdev, fmode_t mode, blktrans_ioctl() argument
|
/linux-4.1.27/drivers/input/misc/ |
H A D | cobalt_btns.c | 50 struct buttons_dev *bdev = dev->private; handle_buttons() local 77 struct buttons_dev *bdev; cobalt_buttons_probe() local 139 struct buttons_dev *bdev = dev_get_drvdata(dev); cobalt_buttons_remove() local
|
H A D | sgi_btns.c | 68 struct buttons_dev *bdev = dev->private; handle_buttons() local 95 struct buttons_dev *bdev; sgi_buttons_probe() local 146 struct buttons_dev *bdev = platform_get_drvdata(pdev); sgi_buttons_remove() local
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sgdma.c | 92 nouveau_sgdma_create_ttm(struct ttm_bo_device *bdev, nouveau_sgdma_create_ttm() argument
|
H A D | nouveau_drm.h | 125 struct ttm_bo_device bdev; member in struct:nouveau_drm::__anon4162
|
H A D | nouveau_bo.c | 579 nouveau_ttm_tt_create(struct ttm_bo_device *bdev, unsigned long size, nouveau_ttm_tt_create() argument 596 nouveau_bo_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) nouveau_bo_invalidate_caches() argument 603 nouveau_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, nouveau_bo_init_mem_type() argument 1355 nouveau_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) nouveau_ttm_io_mem_reserve() argument 1407 nouveau_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) nouveau_ttm_io_mem_free() argument
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_execbuf_util.c | 188 struct ttm_bo_device *bdev; ttm_eu_fence_buffer_objects() local
|
H A D | ttm_agp_backend.c | 113 struct ttm_tt *ttm_agp_tt_create(struct ttm_bo_device *bdev, ttm_agp_tt_create() argument
|
H A D | ttm_bo_vm.c | 90 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_vm_fault() local 284 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, ttm_bo_vm_lookup() argument 308 ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma, struct ttm_bo_device *bdev) ttm_bo_mmap() argument
|
H A D | ttm_tt.c | 187 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev, ttm_tt_init() argument 217 int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev, ttm_dma_tt_init() argument
|
H A D | ttm_bo_util.c | 119 int ttm_mem_io_reserve(struct ttm_bo_device *bdev, ttm_mem_io_reserve() argument 144 void ttm_mem_io_free(struct ttm_bo_device *bdev, ttm_mem_io_free() argument 191 static int ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, ttm_mem_reg_ioremap() argument 223 static void ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, ttm_mem_reg_iounmap() argument 327 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_move_memcpy() local 639 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_move_accel_cleanup() local
|
H A D | ttm_bo.c | 70 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) ttm_mem_type_debug() argument 140 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_release_list() local 166 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_add_to_lru() local 236 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_add_ttm() local 281 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_handle_move_mem() local 428 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_cleanup_refs_or_queue() local 554 static int ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) ttm_bo_delayed_delete() argument 612 struct ttm_bo_device *bdev = ttm_bo_delayed_workqueue() local 625 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_release() local 645 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) ttm_bo_lock_delayed_workqueue() argument 651 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) ttm_bo_unlock_delayed_workqueue() argument 662 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_evict() local 710 static int ttm_mem_evict_first(struct ttm_bo_device *bdev, ttm_mem_evict_first() argument 789 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_mem_force_space() local 868 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_mem_space() local 1075 int ttm_bo_init(struct ttm_bo_device *bdev, ttm_bo_init() argument 1179 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev, ttm_bo_acc_size() argument 1193 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, ttm_bo_dma_acc_size() argument 1208 int ttm_bo_create(struct ttm_bo_device *bdev, ttm_bo_create() argument 1236 static int ttm_bo_force_list_clean(struct ttm_bo_device *bdev, ttm_bo_force_list_clean() argument 1264 int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) ttm_bo_clean_mm() argument 1295 int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) ttm_bo_evict_mm() argument 1313 int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type, ttm_bo_init_mm() argument 1410 int ttm_bo_device_release(struct ttm_bo_device *bdev) ttm_bo_device_release() argument 1453 int ttm_bo_device_init(struct ttm_bo_device *bdev, ttm_bo_device_init() argument 1496 bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) ttm_mem_reg_is_pci() argument 1515 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_unmap_virtual_locked() local 1523 struct ttm_bo_device *bdev = bo->bdev; ttm_bo_unmap_virtual() local 1693 void ttm_bo_swapout_all(struct ttm_bo_device *bdev) ttm_bo_swapout_all() argument
|
/linux-4.1.27/block/ |
H A D | cmdline-parser.c | 211 cmdline_parts_find(struct cmdline_parts *parts, const char *bdev) cmdline_parts_find() argument
|
H A D | blk-lib.c | 40 int blkdev_issue_discard(struct block_device *bdev, sector_t sector, blkdev_issue_discard() argument 155 int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, blkdev_issue_write_same() argument 229 static int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, __blkdev_issue_zeroout() argument 301 int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, blkdev_issue_zeroout() argument
|
H A D | ioctl.c | 12 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) blkpg_ioctl() argument 153 static int blkdev_reread_part(struct block_device *bdev) blkdev_reread_part() argument 169 static int blk_ioctl_discard(struct block_device *bdev, uint64_t start, blk_ioctl_discard() argument 188 static int blk_ioctl_zeroout(struct block_device *bdev, uint64_t start, blk_ioctl_zeroout() argument 234 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, __blkdev_driver_ioctl() argument 274 int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, blkdev_ioctl() argument
|
H A D | blk-flush.c | 449 int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, blkdev_issue_flush() argument
|
H A D | partition-generic.c | 46 const char *bdevname(struct block_device *bdev, char *buf) bdevname() argument 394 static int drop_partitions(struct gendisk *disk, struct block_device *bdev) drop_partitions() argument 414 int rescan_partitions(struct gendisk *disk, struct block_device *bdev) rescan_partitions() argument 532 int invalidate_partitions(struct gendisk *disk, struct block_device *bdev) invalidate_partitions() argument 552 unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p) read_dev_sector() argument
|
H A D | blk-settings.c | 665 int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, bdev_stack_limits() argument 686 void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, disk_stack_limits() argument
|
H A D | compat_ioctl.c | 51 static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, compat_hdio_getgeo() argument 80 static int compat_hdio_ioctl(struct block_device *bdev, fmode_t mode, compat_hdio_ioctl() argument 120 static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, compat_cdrom_read_audio() argument 147 static int compat_cdrom_generic_command(struct block_device *bdev, fmode_t mode, compat_cdrom_generic_command() argument 186 static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, compat_blkpg_ioctl() argument 303 static int compat_fd_ioctl(struct block_device *bdev, fmode_t mode, compat_fd_ioctl() argument 524 static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, compat_blkdev_driver_ioctl() argument 661 struct block_device *bdev = inode->i_bdev; compat_blkdev_ioctl() local
|
H A D | bio.c | 688 int bio_get_nr_vecs(struct block_device *bdev) bio_get_nr_vecs() argument
|
H A D | blk-core.c | 89 struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev) blk_get_backing_dev_info() argument 1697 struct block_device *bdev = bio->bi_bdev; blk_partition_remap() local
|
H A D | genhd.c | 510 struct block_device *bdev; register_disk() local 722 struct block_device *bdev = NULL; bdget_disk() local 1338 void set_device_ro(struct block_device *bdev, int flag) set_device_ro() argument 1363 int bdev_read_only(struct block_device *bdev) bdev_read_only() argument 1375 struct block_device *bdev = bdget_disk(disk, partno); invalidate_partition() local
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_discard.c | 44 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; xfs_trim_extents() local
|
H A D | xfs_aops.c | 1617 struct block_device *bdev = xfs_find_bdev_for_inode(inode); xfs_vm_direct_IO() local
|
H A D | xfs_buf.c | 1676 xfs_setsize_buftarg_early( xfs_buftarg_t *btp, struct block_device *bdev) xfs_setsize_buftarg_early() argument 1684 xfs_alloc_buftarg( struct xfs_mount *mp, struct block_device *bdev) xfs_alloc_buftarg() argument
|
H A D | xfs_super.c | 675 xfs_blkdev_put( struct block_device *bdev) xfs_blkdev_put() argument
|
/linux-4.1.27/drivers/md/ |
H A D | dm-exception-store.h | 191 static inline sector_t get_dev_size(struct block_device *bdev) get_dev_size() argument
|
H A D | dm-switch.c | 518 struct block_device *bdev; switch_ioctl() local
|
H A D | dm-mpath.c | 390 struct block_device *bdev; __multipath_map() local 1556 struct block_device *bdev; multipath_ioctl() local
|
H A D | bitmap.c | 210 struct block_device *bdev; write_sb_page() local
|
H A D | dm-bufio.c | 92 struct block_device *bdev; member in struct:dm_bufio_client 1574 struct dm_bufio_client *dm_bufio_client_create(struct block_device *bdev, unsigned block_size, dm_bufio_client_create() argument
|
H A D | dm-cache-metadata.c | 100 struct block_device *bdev; member in struct:dm_cache_metadata 675 static struct dm_cache_metadata *metadata_open(struct block_device *bdev, metadata_open() argument 720 static struct dm_cache_metadata *lookup(struct block_device *bdev) lookup() argument 733 static struct dm_cache_metadata *lookup_or_open(struct block_device *bdev, lookup_or_open() argument 776 struct dm_cache_metadata *dm_cache_metadata_open(struct block_device *bdev, dm_cache_metadata_open() argument
|
H A D | dm-era-target.c | 261 struct block_device *bdev; member in struct:era_metadata 774 static struct era_metadata *metadata_open(struct block_device *bdev, metadata_open() argument
|
H A D | dm-snap.c | 287 struct block_device *bdev; member in struct:origin 353 static unsigned origin_hash(struct block_device *bdev) origin_hash() argument 524 struct block_device *bdev = snap->origin->bdev; register_snapshot() local 566 struct block_device *bdev = s->origin->bdev; reregister_snapshot() local 1557 struct block_device *bdev = s->origin->bdev; start_copy() local 1941 static uint32_t get_origin_minimum_chunksize(struct block_device *bdev) get_origin_minimum_chunksize() argument
|
H A D | dm-table.c | 282 struct block_device *bdev = dev->bdev; device_area_is_invalid() local 378 struct block_device *bdev; dm_get_device() local 423 struct block_device *bdev = dev->bdev; dm_set_device_limits() local
|
H A D | dm-thin-metadata.c | 145 struct block_device *bdev; member in struct:dm_pool_metadata 823 struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev, dm_pool_metadata_open() argument
|
H A D | md.h | 53 struct block_device *bdev; /* block device handle */ member in struct:md_rdev 487 static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors) md_sync_acct() argument
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsicam.c | 39 struct block_device *bdev = dev->bd_contains; scsi_bios_ptable() local 67 int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip) scsicam_bios_param() argument
|
H A D | g_NCR5380.c | 500 generic_NCR5380_biosparam(struct scsi_device *sdev, struct block_device *bdev, generic_NCR5380_biosparam() argument
|
H A D | t128.c | 289 static int t128_biosparam(struct scsi_device *sdev, struct block_device *bdev, t128_biosparam() argument
|
H A D | sr.c | 520 static int sr_block_open(struct block_device *bdev, fmode_t mode) sr_block_open() argument 545 static int sr_block_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, sr_block_ioctl() argument
|
H A D | wd719x.c | 538 static int wd719x_biosparam(struct scsi_device *sdev, struct block_device *bdev, wd719x_biosparam() argument
|
H A D | in2000.c | 2137 static int in2000_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int *iinfo) in2000_biosparam() argument
|
H A D | aha1542.c | 921 aha1542_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) aha1542_biosparam() argument
|
H A D | fdomain.c | 1588 fdomain_16x0_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int *info_array) fdomain_16x0_biosparam() argument
|
H A D | 3w-xxxx.c | 1330 static int tw_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, tw_scsi_biosparam() argument
|
H A D | megaraid.c | 2832 megaraid_biosparam(struct scsi_device *sdev, struct block_device *bdev, megaraid_biosparam() argument
|
H A D | mvumi.c | 2195 mvumi_bios_param(struct scsi_device *sdev, struct block_device *bdev, mvumi_bios_param() argument
|
H A D | qla1280.c | 1062 qla1280_biosparam(struct scsi_device *sdev, struct block_device *bdev, qla1280_biosparam() argument
|
H A D | sd.c | 1164 static int sd_open(struct block_device *bdev, fmode_t mode) sd_open() argument 1258 static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo) sd_getgeo() argument 1297 static int sd_ioctl(struct block_device *bdev, fmode_t mode, sd_ioctl() argument 1519 static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode, sd_compat_ioctl() argument
|
H A D | u14-34f.c | 1530 u14_34f_bios_param(struct scsi_device *disk, struct block_device *bdev, sector_t capacity, int *dkinfo) u14_34f_bios_param() argument
|
H A D | wd7000.c | 1589 wd7000_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int *ip) wd7000_biosparam() argument
|
H A D | 3w-9xxx.c | 1696 static int twa_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) twa_scsi_biosparam() argument
|
H A D | 3w-sas.c | 1411 static int twl_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) twl_scsi_biosparam() argument
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | comedi_bond.c | 90 struct bonded_device *bdev = *devs++; bonding_dio_insn_bits() local 139 struct bonded_device *bdev; bonding_dio_insn_config() local 194 struct bonded_device *bdev; do_dev_config() local 331 struct bonded_device *bdev; bonding_detach() local
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | bus.h | 16 struct bcma_device *bdev; member in union:b43_bus_dev::__anon7767
|
H A D | phy_g.c | 2137 struct b43_bus_dev *bdev = dev->dev; default_radio_attenuation() local
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 69 struct gpio_keys_polled_dev *bdev = dev->private; gpio_keys_polled_poll() local 87 struct gpio_keys_polled_dev *bdev = dev->private; gpio_keys_polled_open() local 96 struct gpio_keys_polled_dev *bdev = dev->private; gpio_keys_polled_close() local 178 struct gpio_keys_polled_dev *bdev; gpio_keys_polled_probe() local
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 68 static int rsxx_blkdev_ioctl(struct block_device *bdev, rsxx_blkdev_ioctl() argument 85 static int rsxx_getgeo(struct block_device *bdev, struct hd_geometry *geo) rsxx_getgeo() argument
|
/linux-4.1.27/fs/btrfs/ |
H A D | extent_map.h | 35 struct block_device *bdev; member in struct:extent_map
|
H A D | compression.c | 97 static struct bio *compressed_bio_alloc(struct block_device *bdev, compressed_bio_alloc() argument 343 struct block_device *bdev; btrfs_submit_compressed_write() local 579 struct block_device *bdev; btrfs_submit_compressed_read() local
|
H A D | volumes.h | 68 struct block_device *bdev; member in struct:btrfs_device
|
H A D | check-integrity.c | 199 struct block_device *bdev; member in struct:btrfsic_dev_state 1830 struct block_device *bdev = dev_state->bdev; btrfsic_process_written_block() local 525 btrfsic_block_hashtable_lookup( struct block_device *bdev, u64 dev_bytenr, struct btrfsic_block_hashtable *h) btrfsic_block_hashtable_lookup() argument 635 btrfsic_dev_state_hashtable_lookup( struct block_device *bdev, struct btrfsic_dev_state_hashtable *h) btrfsic_dev_state_hashtable_lookup() argument 2890 btrfsic_dev_state_lookup( struct block_device *bdev) btrfsic_dev_state_lookup() argument
|
H A D | super.c | 1304 struct block_device *bdev = NULL; btrfs_mount() local
|
/linux-4.1.27/fs/ext4/ |
H A D | readpage.c | 150 struct block_device *bdev = inode->i_sb->s_bdev; ext4_mpage_readpages() local
|
/linux-4.1.27/fs/f2fs/ |
H A D | gc.h | 106 struct block_device *bdev = sbi->sb->s_bdev; is_idle() local
|
H A D | segment.h | 702 struct block_device *bdev = sbi->sb->s_bdev; max_hw_blocks() local
|
/linux-4.1.27/include/linux/ |
H A D | dm-io.h | 18 struct block_device *bdev; member in struct:dm_io_region
|
H A D | buffer_head.h | 361 static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, getblk_unmovable() argument 368 static inline struct buffer_head *__getblk(struct block_device *bdev, __getblk() argument 386 __bread(struct block_device *bdev, sector_t block, unsigned size) __bread() argument
|
H A D | pktcdvd.h | 165 struct block_device *bdev; /* dev attached */ member in struct:pktcdvd_device
|
H A D | swap.h | 226 struct block_device *bdev; /* swap device or bdev of swap file */ member in struct:swap_info_struct
|
H A D | device-mapper.h | 125 struct block_device *bdev; member in struct:dm_dev
|
/linux-4.1.27/drivers/mtd/devices/ |
H A D | block2mtd.c | 227 struct block_device *bdev = ERR_PTR(-ENODEV); add_device() local
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | ast_ttm.c | 113 ast_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, ast_bo_init_mem_type() argument 156 static int ast_ttm_io_mem_reserve(struct ttm_bo_device *bdev, ast_ttm_io_mem_reserve() argument 185 static void ast_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) ast_ttm_io_mem_free() argument 211 static struct ttm_tt *ast_ttm_tt_create(struct ttm_bo_device *bdev, ast_ttm_tt_create() argument 254 struct ttm_bo_device *bdev = &ast->ttm.bdev; ast_mm_init() local
|
H A D | ast_drv.h | 106 struct ttm_bo_device bdev; member in struct:ast_private::__anon4002
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_ttm.c | 113 cirrus_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, cirrus_bo_init_mem_type() argument 156 static int cirrus_ttm_io_mem_reserve(struct ttm_bo_device *bdev, cirrus_ttm_io_mem_reserve() argument 185 static void cirrus_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) cirrus_ttm_io_mem_free() argument 211 static struct ttm_tt *cirrus_ttm_tt_create(struct ttm_bo_device *bdev, cirrus_ttm_tt_create() argument 254 struct ttm_bo_device *bdev = &cirrus->ttm.bdev; cirrus_mm_init() local
|
H A D | cirrus_drv.h | 147 struct ttm_bo_device bdev; member in struct:cirrus_device::__anon4008
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_ttm.c | 113 mgag200_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, mgag200_bo_init_mem_type() argument 156 static int mgag200_ttm_io_mem_reserve(struct ttm_bo_device *bdev, mgag200_ttm_io_mem_reserve() argument 185 static void mgag200_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) mgag200_ttm_io_mem_free() argument 211 static struct ttm_tt *mgag200_ttm_tt_create(struct ttm_bo_device *bdev, mgag200_ttm_tt_create() argument 254 struct ttm_bo_device *bdev = &mdev->ttm.bdev; mgag200_mm_init() local
|
H A D | mgag200_drv.h | 214 struct ttm_bo_device bdev; member in struct:mga_device::__anon4091
|
/linux-4.1.27/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 130 static int simdisk_open(struct block_device *bdev, fmode_t mode) simdisk_open() argument
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | qxl_release.c | 437 struct ttm_bo_device *bdev; qxl_release_fence_buffer_objects() local
|
H A D | qxl_ttm.c | 40 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) qxl_get_qdev() argument 155 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) qxl_invalidate_caches() argument 160 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, qxl_init_mem_type() argument 216 static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, qxl_ttm_io_mem_reserve() argument 249 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, qxl_ttm_io_mem_free() argument 316 static struct ttm_tt *qxl_ttm_tt_create(struct ttm_bo_device *bdev, qxl_ttm_tt_create() argument
|
H A D | qxl_drv.h | 162 struct ttm_bo_device bdev; member in struct:qxl_mman
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoeblk.c | 234 aoeblk_open(struct block_device *bdev, fmode_t mode) aoeblk_open() argument 297 aoeblk_getgeo(struct block_device *bdev, struct hd_geometry *geo) aoeblk_getgeo() argument 313 aoeblk_ioctl(struct block_device *bdev, fmode_t mode, uint cmd, ulong arg) aoeblk_ioctl() argument
|
/linux-4.1.27/drivers/block/ |
H A D | pmem.c | 62 struct block_device *bdev = bio->bi_bdev; pmem_make_request() local 89 static int pmem_rw_page(struct block_device *bdev, sector_t sector, pmem_rw_page() argument 100 static long pmem_direct_access(struct block_device *bdev, sector_t sector, pmem_direct_access() argument
|
H A D | z2ram.c | 148 static int z2_open(struct block_device *bdev, fmode_t mode) z2_open() argument
|
H A D | brd.c | 328 struct block_device *bdev = bio->bi_bdev; brd_make_request() local 363 static int brd_rw_page(struct block_device *bdev, sector_t sector, brd_rw_page() argument 373 static long brd_direct_access(struct block_device *bdev, sector_t sector, brd_direct_access() argument 397 static int brd_ioctl(struct block_device *bdev, fmode_t mode, brd_ioctl() argument
|
H A D | nbd.c | 580 static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, __nbd_ioctl() argument 739 static int nbd_ioctl(struct block_device *bdev, fmode_t mode, nbd_ioctl() argument
|
H A D | null_blk.c | 409 static int null_open(struct block_device *bdev, fmode_t mode) null_open() argument
|
H A D | cpqarray.c | 823 static int ida_open(struct block_device *bdev, fmode_t mode) ida_open() argument 845 static int ida_unlocked_open(struct block_device *bdev, fmode_t mode) ida_unlocked_open() argument 1123 static int ida_getgeo(struct block_device *bdev, struct hd_geometry *geo) ida_getgeo() argument 1144 static int ida_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) ida_locked_ioctl() argument 1212 static int ida_ioctl(struct block_device *bdev, fmode_t mode, ida_ioctl() argument
|
H A D | hd.c | 661 static int hd_getgeo(struct block_device *bdev, struct hd_geometry *geo) hd_getgeo() argument
|
H A D | mg_disk.c | 769 static int mg_getgeo(struct block_device *bdev, struct hd_geometry *geo) mg_getgeo() argument
|
H A D | sunvdc.c | 110 static int vdc_getgeo(struct block_device *bdev, struct hd_geometry *geo) vdc_getgeo() argument 130 static int vdc_ioctl(struct block_device *bdev, fmode_t mode, vdc_ioctl() argument
|
H A D | swim.c | 617 static int floppy_open(struct block_device *bdev, fmode_t mode) floppy_open() argument 665 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) floppy_unlocked_open() argument 692 static int floppy_ioctl(struct block_device *bdev, fmode_t mode, floppy_ioctl() argument 724 static int floppy_getgeo(struct block_device *bdev, struct hd_geometry *geo) floppy_getgeo() argument
|
H A D | umem.c | 767 static int mm_getgeo(struct block_device *bdev, struct hd_geometry *geo) mm_getgeo() argument
|
H A D | virtio_blk.c | 261 static int virtblk_ioctl(struct block_device *bdev, fmode_t mode, virtblk_ioctl() argument
|
H A D | amiflop.c | 1453 static int fd_getgeo(struct block_device *bdev, struct hd_geometry *geo) fd_getgeo() argument 1463 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, fd_locked_ioctl() argument 1540 static int fd_ioctl(struct block_device *bdev, fmode_t mode, fd_ioctl() argument 1587 static int floppy_open(struct block_device *bdev, fmode_t mode) floppy_open() argument
|
H A D | ataflop.c | 1509 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, fd_locked_ioctl() argument 1694 static int fd_ioctl(struct block_device *bdev, fmode_t mode, fd_ioctl() argument 1841 static int floppy_open(struct block_device *bdev, fmode_t mode) floppy_open() argument 1878 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) floppy_unlocked_open() argument
|
H A D | loop.c | 172 struct block_device *bdev = lo->lo_device; figure_loop_size() local 485 static int loop_change_fd(struct loop_device *lo, struct block_device *bdev, loop_change_fd() argument 819 struct block_device *bdev = lo->lo_device; loop_clr_fd() local 1106 static int loop_set_capacity(struct loop_device *lo, struct block_device *bdev) loop_set_capacity() argument 1114 static int lo_ioctl(struct block_device *bdev, fmode_t mode, lo_ioctl() argument 1285 static int lo_compat_ioctl(struct block_device *bdev, fmode_t mode, lo_compat_ioctl() argument 1321 static int lo_open(struct block_device *bdev, fmode_t mode) lo_open() argument 669 loop_set_fd(struct loop_device *lo, fmode_t mode, struct block_device *bdev, unsigned int arg) loop_set_fd() argument
|
H A D | pktcdvd.c | 2273 static int pkt_open(struct block_device *bdev, fmode_t mode) pkt_open() argument 2616 struct block_device *bdev; pkt_new_dev() local 2671 static int pkt_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) pkt_ioctl() argument
|
H A D | swim3.c | 904 static int floppy_locked_ioctl(struct block_device *bdev, fmode_t mode, floppy_locked_ioctl() argument 932 static int floppy_ioctl(struct block_device *bdev, fmode_t mode, floppy_ioctl() argument 944 static int floppy_open(struct block_device *bdev, fmode_t mode) floppy_open() argument 1013 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) floppy_unlocked_open() argument
|
H A D | xen-blkfront.c | 349 static int blkif_ioctl(struct block_device *bdev, fmode_t mode, blkif_ioctl() argument 1628 struct block_device *bdev = NULL; blkfront_closing() local 1937 struct block_device *bdev = NULL; blkfront_remove() local 1990 static int blkif_open(struct block_device *bdev, fmode_t mode) blkif_open() argument 2021 struct block_device *bdev; blkif_release() local
|
H A D | xsysace.c | 900 static int ace_open(struct block_device *bdev, fmode_t mode) ace_open() argument 937 static int ace_getgeo(struct block_device *bdev, struct hd_geometry *geo) ace_getgeo() argument
|
/linux-4.1.27/drivers/char/ |
H A D | raw.c | 56 struct block_device *bdev; raw_open() local 103 struct block_device *bdev; raw_release() local 122 struct block_device *bdev = filp->private_data; raw_ioctl() local 189 struct block_device *bdev; bind_get() local
|
/linux-4.1.27/fs/jbd/ |
H A D | revoke.c | 337 struct block_device *bdev; journal_revoke() local
|
H A D | journal.c | 798 journal_t * journal_init_dev(struct block_device *bdev, journal_init_dev() argument 1655 struct block_device *bdev; journal_dev_name() local
|
/linux-4.1.27/fs/jbd2/ |
H A D | revoke.c | 334 struct block_device *bdev; jbd2_journal_revoke() local
|
H A D | journal.c | 1141 journal_t * jbd2_journal_init_dev(struct block_device *bdev, jbd2_journal_init_dev() argument
|
/linux-4.1.27/fs/logfs/ |
H A D | dev_bdev.c | 17 static int sync_request(struct page *page, struct block_device *bdev, int rw) sync_request() argument 39 struct block_device *bdev = logfs_super(sb)->s_bdev; bdev_readpage() local 273 struct block_device *bdev = logfs_super(sb)->s_bdev; bdev_write_sb() local 304 struct block_device *bdev; logfs_get_sb_bdev() local
|
/linux-4.1.27/arch/m68k/emu/ |
H A D | nfblock.c | 82 static int nfhd_getgeo(struct block_device *bdev, struct hd_geometry *geo) nfhd_getgeo() argument
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | block.c | 224 static int ubiblock_open(struct block_device *bdev, fmode_t mode) ubiblock_open() argument 280 static int ubiblock_getgeo(struct block_device *bdev, struct hd_geometry *geo) ubiblock_getgeo() argument
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
H A D | bochs.h | 84 struct ttm_bo_device bdev; member in struct:bochs_device::__anon4005
|
H A D | bochs_mm.c | 90 static int bochs_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, bochs_bo_init_mem_type() argument 134 static int bochs_ttm_io_mem_reserve(struct ttm_bo_device *bdev, bochs_ttm_io_mem_reserve() argument 163 static void bochs_ttm_io_mem_free(struct ttm_bo_device *bdev, bochs_ttm_io_mem_free() argument 187 static struct ttm_tt *bochs_ttm_tt_create(struct ttm_bo_device *bdev, bochs_ttm_tt_create() argument 219 struct ttm_bo_device *bdev = &bochs->ttm.bdev; bochs_mm_init() local
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | xenbus.c | 418 struct block_device *bdev; xen_vbd_create() local 509 struct block_device *bdev = be->blkif->vbd.bdev; xen_blkbk_discard() local
|
H A D | blkback.c | 977 struct block_device *bdev = blkif->vbd.bdev; dispatch_discard_io() local
|
H A D | common.h | 229 struct block_device *bdev; member in struct:xen_vbd 376 struct block_device *bdev; member in struct:phys_req
|
/linux-4.1.27/fs/quota/ |
H A D | quota.c | 730 struct block_device *bdev; quotactl_block() local
|
/linux-4.1.27/fs/nfs/blocklayout/ |
H A D | blocklayout.h | 100 struct block_device *bdev; member in struct:pnfs_block_dev_map 113 struct block_device *bdev; member in struct:pnfs_block_dev
|
H A D | blocklayout.c | 118 bl_alloc_init_bio(int npg, struct block_device *bdev, sector_t disk_sector, bl_alloc_init_bio() argument
|
/linux-4.1.27/fs/nilfs2/ |
H A D | the_nilfs.c | 68 struct the_nilfs *alloc_nilfs(struct block_device *bdev) alloc_nilfs() argument
|
H A D | super.c | 1212 struct block_device *bdev; member in struct:nilfs_super_data
|
/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-block-manager.c | 370 struct dm_block_manager *dm_block_manager_create(struct block_device *bdev, dm_block_manager_create() argument
|
/linux-4.1.27/include/drm/ttm/ |
H A D | ttm_bo_api.h | 201 struct ttm_bo_device *bdev; member in struct:ttm_buffer_object
|
H A D | ttm_bo_driver.h | 115 struct ttm_bo_device *bdev; member in struct:ttm_tt 271 struct ttm_bo_device *bdev; member in struct:ttm_mem_type_manager
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | util.h | 574 static inline sector_t bdev_sectors(struct block_device *bdev) bdev_sectors() argument
|
H A D | super.c | 87 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, read_super() argument 1934 static bool bch_is_open_backing(struct block_device *bdev) { bch_is_open_backing() argument 1948 static bool bch_is_open_cache(struct block_device *bdev) { bch_is_open_cache() argument 1960 static bool bch_is_open(struct block_device *bdev) { bch_is_open() argument 1971 struct block_device *bdev = NULL; register_bcache() local 1172 register_bdev(struct cache_sb *sb, struct page *sb_page, struct block_device *bdev, struct cached_dev *dc) register_bdev() argument 1875 register_cache(struct cache_sb *sb, struct page *sb_page, struct block_device *bdev, struct cache *ca) register_cache() argument
|
H A D | bcache.h | 308 struct block_device *bdev; member in struct:cached_dev 402 struct block_device *bdev; member in struct:cache
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | dvb-bt8xx.c | 111 static int is_pci_slot_eq(struct pci_dev* adev, struct pci_dev* bdev) is_pci_slot_eq() argument
|
/linux-4.1.27/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 909 sas_bios_param(struct scsi_device *scsi_dev, struct block_device *bdev, sector_t capacity, int *hsc) sas_bios_param() argument
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_block.c | 575 static int i2o_block_open(struct block_device *bdev, fmode_t mode) i2o_block_open() argument 634 static int i2o_block_getgeo(struct block_device *bdev, struct hd_geometry *geo) i2o_block_getgeo() argument 652 static int i2o_block_ioctl(struct block_device *bdev, fmode_t mode, i2o_block_ioctl() argument
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | linit.c | 310 static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev, aac_biosparm() argument
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_file.c | 550 struct block_device *bdev = inode->i_bdev; fd_do_unmap() local
|
H A D | target_core_iblock.c | 421 struct block_device *bdev = priv; iblock_do_unmap() local 436 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; iblock_execute_unmap() local 444 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; iblock_execute_write_same_unmap() local
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | lloop.c | 546 static int loop_clr_fd(struct lloop_device *lo, struct block_device *bdev, loop_clr_fd() argument 583 static int lo_open(struct block_device *bdev, fmode_t mode) lo_open() argument 604 static int lo_ioctl(struct block_device *bdev, fmode_t mode, lo_ioctl() argument 667 struct block_device *bdev = NULL; lloop_ioctl() local 468 loop_set_fd(struct lloop_device *lo, struct file *unused, struct block_device *bdev, struct file *file) loop_set_fd() argument
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_actlog.c | 118 void wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, wait_until_done_or_force_detached() argument 190 int drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, drbd_md_sync_page_io() argument 138 _drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, int rw) _drbd_md_sync_page_io() argument
|
H A D | drbd_nl.c | 1026 drbd_new_dev_size(struct drbd_device *device, struct drbd_backing_dev *bdev, drbd_new_dev_size() argument 1125 static void drbd_setup_queue_param(struct drbd_device *device, struct drbd_backing_dev *bdev, drbd_setup_queue_param() argument 1182 void drbd_reconsider_max_bio_size(struct drbd_device *device, struct drbd_backing_dev *bdev) drbd_reconsider_max_bio_size() argument 1279 static unsigned int drbd_al_extents_max(struct drbd_backing_dev *bdev) drbd_al_extents_max() argument 1465 struct block_device *bdev; drbd_adm_attach() local 772 drbd_md_set_sector_offsets(struct drbd_device *device, struct drbd_backing_dev *bdev) drbd_md_set_sector_offsets() argument
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_buffer.c | 679 static struct ttm_tt *vmw_ttm_tt_create(struct ttm_bo_device *bdev, vmw_ttm_tt_create() argument 709 static int vmw_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) vmw_invalidate_caches() argument 714 static int vmw_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, vmw_init_mem_type() argument 767 static int vmw_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) vmw_ttm_io_mem_reserve() argument 795 static void vmw_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) vmw_ttm_io_mem_free() argument
|
H A D | vmwgfx_resource.c | 418 struct ttm_bo_device *bdev = &dev_priv->bdev; vmw_dmabuf_init() local 1443 struct ttm_bo_device *bdev = bo->bdev; vmw_fence_single_bo() local
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | apple-gmux.c | 36 struct backlight_device *bdev; member in struct:apple_gmux_data 442 struct backlight_device *bdev; gmux_probe() local
|
/linux-4.1.27/fs/gfs2/ |
H A D | ops_fstype.c | 1230 struct block_device *bdev = ptr; test_gfs2_super() local 1251 struct block_device *bdev; gfs2_mount() local
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | ms_block.c | 1943 static int msb_bd_open(struct block_device *bdev, fmode_t mode) msb_bd_open() argument 1995 static int msb_bd_getgeo(struct block_device *bdev, msb_bd_getgeo() argument
|
H A D | mspro_block.c | 185 static int mspro_block_bd_open(struct block_device *bdev, fmode_t mode) mspro_block_bd_open() argument 234 static int mspro_block_bd_getgeo(struct block_device *bdev, mspro_block_bd_getgeo() argument
|
/linux-4.1.27/drivers/misc/ |
H A D | lkdtm.c | 231 jp_generic_ide_ioctl(ide_drive_t *drive, struct file *file, struct block_device *bdev, unsigned int cmd, unsigned long arg) jp_generic_ide_ioctl() argument
|
/linux-4.1.27/drivers/net/fddi/ |
H A D | defxx.c | 376 struct device __maybe_unused *bdev = bp->bus_dev; dfx_port_write_long() local 400 struct device __maybe_unused *bdev = bp->bus_dev; dfx_port_read_long() local 434 static void dfx_get_bars(struct device *bdev, dfx_get_bars() argument 526 static int dfx_register(struct device *bdev) dfx_register() argument 720 struct device *bdev = bp->bus_dev; dfx_bus_init() local 880 struct device *bdev = bp->bus_dev; dfx_bus_uninit() local 942 struct device __maybe_unused *bdev = bp->bus_dev; dfx_bus_config_check() local 1040 struct device *bdev = bp->bus_dev; dfx_driver_init() local 1949 struct device *bdev = bp->bus_dev; dfx_interrupt() local 3693 static void dfx_unregister(struct device *bdev) dfx_unregister() argument
|
/linux-4.1.27/drivers/block/paride/ |
H A D | pcd.c | 227 static int pcd_block_open(struct block_device *bdev, fmode_t mode) pcd_block_open() argument 247 static int pcd_block_ioctl(struct block_device *bdev, fmode_t mode, pcd_block_ioctl() argument
|
H A D | pf.c | 304 static int pf_open(struct block_device *bdev, fmode_t mode) pf_open() argument 329 static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo) pf_getgeo() argument 347 static int pf_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) pf_ioctl() argument
|
H A D | pd.c | 739 static int pd_open(struct block_device *bdev, fmode_t mode) pd_open() argument 754 static int pd_getgeo(struct block_device *bdev, struct hd_geometry *geo) pd_getgeo() argument 771 static int pd_ioctl(struct block_device *bdev, fmode_t mode, pd_ioctl() argument
|
/linux-4.1.27/drivers/block/zram/ |
H A D | zram_drv.c | 882 struct block_device *bdev; reset_store() local 1001 static void zram_slot_free_notify(struct block_device *bdev, zram_slot_free_notify() argument 1016 static int zram_rw_page(struct block_device *bdev, sector_t sector, zram_rw_page() argument
|
/linux-4.1.27/drivers/cdrom/ |
H A D | gdrom.c | 497 static int gdrom_bdops_open(struct block_device *bdev, fmode_t mode) gdrom_bdops_open() argument 519 static int gdrom_bdops_ioctl(struct block_device *bdev, fmode_t mode, gdrom_bdops_ioctl() argument
|
H A D | cdrom.c | 1149 int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev, cdrom_open() argument 3305 int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, cdrom_ioctl() argument 2446 cdrom_ioctl_reset(struct cdrom_device_info *cdi, struct block_device *bdev) cdrom_ioctl_reset() argument
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 53 static struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev) radeon_get_rdev() argument 122 static int radeon_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) radeon_invalidate_caches() argument 127 static int radeon_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, radeon_init_mem_type() argument 449 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) radeon_ttm_io_mem_reserve() argument 512 static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) radeon_ttm_io_mem_free() argument 677 static struct ttm_tt *radeon_ttm_tt_create(struct ttm_bo_device *bdev, radeon_ttm_tt_create() argument
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_logmgr.c | 1082 struct block_device *bdev; lmLogOpen() local 1462 struct block_device *bdev; lmLogClose() local
|
H A D | jfs_logmgr.h | 372 struct block_device *bdev; /* 4: log lv pointer */ member in struct:jfs_log
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | block.c | 294 static int mmc_blk_open(struct block_device *bdev, fmode_t mode) mmc_blk_open() argument 325 mmc_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) mmc_blk_getgeo() argument 447 static int mmc_blk_ioctl_cmd(struct block_device *bdev, mmc_blk_ioctl_cmd() argument 618 static int mmc_blk_ioctl(struct block_device *bdev, fmode_t mode, mmc_blk_ioctl() argument 628 static int mmc_blk_compat_ioctl(struct block_device *bdev, fmode_t mode, mmc_blk_compat_ioctl() argument
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | declance.c | 1021 static int dec_lance_probe(struct device *bdev, const int type) dec_lance_probe() argument 1280 static void __exit dec_lance_remove(struct device *bdev) dec_lance_remove() argument
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptscsih.c | 2090 mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, mptscsih_bios_param() argument
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | sunhme.c | 2637 struct pci_dev *bdev = pdev->bus->self; quattro_pci_find() local
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 695 ahc_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, ahc_linux_biosparam() argument
|
H A D | aic79xx_osm.c | 723 ahd_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, ahd_linux_biosparam() argument
|
/linux-4.1.27/drivers/dma/ |
H A D | qcom_bam_dma.c | 350 struct bam_device *bdev; member in struct:bam_chan 406 static inline void __iomem *bam_addr(struct bam_device *bdev, u32 pipe, bam_addr() argument 425 struct bam_device *bdev = bchan->bdev; bam_reset_channel() local 449 struct bam_device *bdev = bchan->bdev; bam_chan_init_hw() local 499 struct bam_device *bdev = bchan->bdev; bam_alloc_chan() local 526 struct bam_device *bdev = bchan->bdev; bam_free_chan() local 592 struct bam_device *bdev = bchan->bdev; bam_prep_slave_sg() local 695 struct bam_device *bdev = bchan->bdev; bam_pause() local 714 struct bam_device *bdev = bchan->bdev; bam_resume() local 732 static u32 process_channel_irqs(struct bam_device *bdev) process_channel_irqs() argument 794 struct bam_device *bdev = data; bam_dma_irq() local 865 struct bam_device *bdev = bchan->bdev; bam_apply_new_config() local 885 struct bam_device *bdev = bchan->bdev; bam_start_dma() local 951 struct bam_device *bdev = (struct bam_device *)data; dma_tasklet() local 1003 struct bam_device *bdev = container_of(of->of_dma_data, bam_dma_xlate() local 1023 static int bam_init(struct bam_device *bdev) bam_init() argument 1070 static void bam_channel_init(struct bam_device *bdev, struct bam_chan *bchan, bam_channel_init() argument 1091 struct bam_device *bdev; bam_dma_probe() local 1219 struct bam_device *bdev = platform_get_drvdata(pdev); bam_dma_remove() local
|
/linux-4.1.27/arch/um/drivers/ |
H A D | ubd_kern.c | 1113 static int ubd_open(struct block_device *bdev, fmode_t mode) ubd_open() argument 1331 static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo) ubd_getgeo() argument 1341 static int ubd_ioctl(struct block_device *bdev, fmode_t mode, ubd_ioctl() argument
|
/linux-4.1.27/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 503 struct block_device *bdev; member in struct:driver_data
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-scsi.c | 392 int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev, ata_std_bios_param() argument
|
/linux-4.1.27/fs/isofs/ |
H A D | inode.c | 499 struct block_device *bdev = sb->s_bdev; isofs_get_last_session() local
|
/linux-4.1.27/fs/ext3/ |
H A D | super.c | 359 struct block_device *bdev; ext3_blkdev_get() local 377 static void ext3_blkdev_put(struct block_device *bdev) ext3_blkdev_put() argument 384 struct block_device *bdev; ext3_blkdev_remove() local 2238 struct block_device *bdev; ext3_get_dev_journal() local
|