• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/block/

Lines Matching refs:bsg_device

36 struct bsg_device {
82 struct bsg_device *bd;
94 struct bsg_device *bd = bc->bd;
106 static struct bsg_command *bsg_alloc_command(struct bsg_device *bd)
140 static int bsg_io_schedule(struct bsg_device *bd)
177 struct sg_io_v4 *hdr, struct bsg_device *bd,
246 bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr, fmode_t has_write_perm,
332 struct bsg_device *bd = bc->bd;
352 static void bsg_add_command(struct bsg_device *bd, struct request_queue *q,
375 static struct bsg_command *bsg_next_done_cmd(struct bsg_device *bd)
393 static struct bsg_command *bsg_get_done_cmd(struct bsg_device *bd)
476 static int bsg_complete_all_commands(struct bsg_device *bd)
494 * the bsg_device.
526 __bsg_read(char __user *buf, size_t count, struct bsg_device *bd,
568 static inline void bsg_set_block(struct bsg_device *bd, struct file *file)
590 struct bsg_device *bd = file->private_data;
608 static int __bsg_write(struct bsg_device *bd, const char __user *buf,
665 struct bsg_device *bd = file->private_data;
689 static struct bsg_device *bsg_alloc_device(void)
691 struct bsg_device *bd;
693 bd = kzalloc(sizeof(struct bsg_device), GFP_KERNEL);
722 static int bsg_put_device(struct bsg_device *bd)
760 static struct bsg_device *bsg_add_device(struct inode *inode,
764 struct bsg_device *bd;
795 static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q)
797 struct bsg_device *bd;
814 static struct bsg_device *bsg_get_device(struct inode *inode, struct file *file)
816 struct bsg_device *bd;
844 struct bsg_device *bd;
859 struct bsg_device *bd = file->private_data;
867 struct bsg_device *bd = file->private_data;
885 struct bsg_device *bd = file->private_data;