aboutsummaryrefslogtreecommitdiffstats
path: root/block/scsi_ioctl.c
AgeCommit message (Expand)AuthorFilesLines
2021-07-28scsi: scsi_ioctl: Move the "block layer" SCSI ioctl handling to drivers/scsiChristoph Hellwig1-796/+0
2021-07-28scsi: scsi_ioctl: Simplify SCSI passthrough permission checkingChristoph Hellwig1-120/+99
2021-07-28scsi: scsi_ioctl: Move scsi_command_size_tbl to scsi_common.cChristoph Hellwig1-8/+0
2021-07-28scsi: scsi_ioctl: Remove scsi_req_init()Christoph Hellwig1-15/+0
2021-07-28scsi: bsg: Decouple from scsi_cmd_ioctl()Christoph Hellwig1-16/+0
2021-07-28scsi: block: Add a queue_max_bytes() helperChristoph Hellwig1-11/+2
2021-07-28scsi: scsi_ioctl: Remove scsi_verify_blk_ioctl()Christoph Hellwig1-12/+0
2021-07-28scsi: scsi_ioctl: Remove scsi_cmd_blk_ioctl()Christoph Hellwig1-13/+0
2021-07-09Merge tag 'block-5.14-2021-07-08' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2021-06-30block: remove REQ_OP_SCSI_{IN,OUT}Christoph Hellwig1-3/+3
2021-05-31scsi: core: Drop message byte helperHannes Reinecke1-1/+1
2021-05-31scsi: core: Drop the now obsolete driver_byte definitionsHannes Reinecke1-1/+1
2021-05-31scsi: core: Kill DRIVER_SENSEHannes Reinecke1-0/+2
2021-05-31scsi: scsi_ioctl: Return error code when blk_rq_map_kern() failsHannes Reinecke1-3/+4
2021-04-13block: Remove an obsolete comment from sg_io()Bart Van Assche1-4/+0
2021-04-06block: remove BLK_BOUNCE_ISA supportChristoph Hellwig1-1/+1
2021-01-24block: remove unnecessary argument from blk_execute_rqGuoqing Jiang1-3/+3
2020-10-13Merge tag 'drivers-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+1
2020-10-12Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-10/+2
2020-10-03iov_iter: transparently handle compat iovecs in import_iovecChristoph Hellwig1-10/+2
2020-10-02block: scsi_ioctl: Avoid the use of one-element arraysGustavo A. R. Silva1-3/+3
2020-10-02block/scsi-ioctl: Fix kernel-infoleak in scsi_put_cdrom_generic_arg()Peilin Ye1-0/+1
2020-09-25block: add a bdev_is_partition helperChristoph Hellwig1-1/+1
2020-09-11block: remove duplicate include statement in scsi_ioctl.cTian Tao1-2/+0
2020-03-16scsi: core: Allow non-root users to perform ZBC commandsRyan Attard1-0/+4
2020-01-03compat_ioctl: move CDROM_SEND_PACKET handling into scsiArnd Bergmann1-53/+132
2020-01-03compat: scsi: sg: fix v3 compat read/write interfaceArnd Bergmann1-28/+1
2019-10-23compat_ioctl: reimplement SG_IO handlingArnd Bergmann1-4/+128
2019-04-30block: switch all files cleared marked as GPLv2 to SPDX tagsChristoph Hellwig1-15/+1
2018-05-14block: consistently use GFP_NOIO instead of __GFP_NORECLAIMChristoph Hellwig1-1/+1
2018-05-14block: sanitize blk_get_request calling conventionsChristoph Hellwig1-5/+3
2018-01-10block: silently forbid sending any ioctl to a partitionPaolo Bonzini1-29/+0
2018-01-09block: Fix kernel-doc warnings reported when building with W=1Bart Van Assche1-2/+3
2017-11-10block: pass full fmode_t to blk_verify_commandChristoph Hellwig1-4/+4
2017-06-20block: Change argument type of scsi_req_init()Bart Van Assche1-3/+7
2017-06-20block: Make most scsi_req_init() calls implicitBart Van Assche1-3/+0
2017-04-20scsi: introduce a result field in struct scsi_requestChristoph Hellwig1-7/+7
2017-04-20block: remove the blk_execute_rq return valueChristoph Hellwig1-1/+2
2017-04-05block, scsi: move the retries field to struct scsi_requestChristoph Hellwig1-4/+4
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-4/+5
2017-01-27block: split scsi_request out of struct requestChristoph Hellwig1-33/+43
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-19block: allow WRITE_SAME commands with the SG_IO ioctlMauricio Faria de Oliveira1-0/+3
2015-11-06mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIMMel Gorman1-3/+3
2015-06-27block: fix bogus EFAULT error from SG_IO ioctlPaolo Bonzini1-2/+2
2015-04-11sg_io(): use import_iovec()Al Viro1-7/+5
2015-02-05block: pass iov_iter to the BLOCK_PC mapping functionsKent Overstreet1-13/+4
2014-12-08Merge remote-tracking branch 'scsi-queue/core-for-3.19' into for-linusJames Bottomley1-1/+1
2014-11-24scsi: rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16Hannes Reinecke1-1/+1
2014-11-10scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMANDTony Battersby1-3/+5
2014-10-22scsi: Fix error handling in SCSI_IOCTL_SEND_COMMANDJan Kara1-2/+1
2014-09-11Merge branch 'for-linus' into for-3.18/coreJens Axboe1-14/+22
2014-08-28block,scsi: fixup blk_get_request dead queue scenariosJoe Lawrence1-6/+6
2014-08-26block,scsi: verify return pointer from blk_get_requestJoe Lawrence1-1/+8
2014-08-26block: fix error handling in sg_ioSabrina Dubroca1-0/+1
2014-08-22fix regression in SCSI_IOCTL_SEND_COMMANDTony Battersby1-2/+7
2014-08-21block: support > 16 byte CDBs for SG_IOChristoph Hellwig1-7/+17
2014-08-21block: cleanup error handling in sg_ioChristoph Hellwig1-6/+4
2014-07-01block SG_IO: add SG_FLAG_Q_AT_HEAD flagDouglas Gilbert1-1/+4
2014-07-01block: fix SG_[GS]ET_RESERVED_SIZE ioctl when max_sectors is hugeAkinobu Mita1-4/+11
2014-06-06block: add blk_rq_set_block_pc()Jens Axboe1-3/+3
2014-05-29block: remove dead code in scsi_ioctl:blk_verify_commandDave Jones1-4/+0
2014-01-21block: Fix memory leak in rw_copy_check_uvector() handlingChristian Engelmayer1-2/+4
2013-11-08block: Use rw_copy_check_uvector()Kent Overstreet1-29/+10
2013-05-07aio: don't include aio.h in sched.hKent Overstreet1-0/+1
2012-06-15scsi: Silence unnecessary warnings about ioctl to partitionJan Kara1-1/+4
2012-01-14block: fail SCSI passthrough ioctls on partition devicesPaolo Bonzini1-0/+45
2012-01-14block: add and use scsi_blk_cmd_ioctlPaolo Bonzini1-0/+7
2011-10-19block: drop unnecessary blk_get/put_queue() in scsi_cmd_ioctl() and blk_get_tg()Tejun Heo1-2/+1
2010-11-10block: take care not to overflow when calculating total iov lengthJens Axboe1-10/+24
2009-11-04block/scsi_ioctl.c: quiet sparse noiseH Hartley Sweeten1-2/+4
2009-07-10block: call blk_scsi_ioctl_init()FUJITA Tomonori1-0/+1
2009-07-01block: get rid of queue-private command filterJens Axboe1-5/+38
2009-05-22block: Use accessor functions for queue limitsMartin K. Petersen1-4/+4
2009-05-11block: add rq->resid_lenTejun Heo1-1/+1
2009-04-28block: don't init rq fields unnecessarilyTejun Heo1-2/+0
2009-04-28block: kill rq->dataTejun Heo1-1/+0
2009-04-22block: fix SG_IO vector request data length handlingTejun Heo1-1/+12
2009-04-15block: fix SG_IO to return a proper error valueFUJITA Tomonori1-2/+4
2009-03-26block: WARN in __blk_put_request() for potential bio leakBoaz Harrosh1-17/+4
2008-12-29scsi-ioctl: use clock_t <> jiffiesMilton Miller1-2/+2
2008-12-05Enforce a minimum SG_IO timeoutLinus Torvalds1-0/+2
2008-10-21[PATCH] switch scsi_cmd_ioctl() to passing fmode_tAl Viro1-5/+5
2008-10-21[PATCH] switch sg_scsi_ioctl() to passing fmode_tAl Viro1-9/+4
2008-10-21[PATCH] pass mode instead of file to sg_io()Al Viro1-8/+7
2008-10-21[PATCH] introduce fmode_t, do annotationsAl Viro1-2/+3
2008-10-09block: introduce struct rq_map_data to use reserved pagesFUJITA Tomonori1-2/+2
2008-10-09block: add gfp_mask argument to blk_rq_map_user and blk_rq_map_user_iovFUJITA Tomonori1-2/+3
2008-10-09SG_IO block filter whitelist missing MMC SET READ AHEAD commandxiphmont@xiph.org1-0/+1
2008-08-27block: rename blk_scsi_cmd_filter to blk_cmd_filterFUJITA Tomonori1-1/+1
2008-08-27block: move cmdfilter from gendisk to request_queueFUJITA Tomonori1-3/+91
2008-07-30[SCSI] block: Fix miscalculation of sg_io timeout in CDROM_SEND_PACKET handler.Tim Wright1-1/+1
2008-07-03allow userspace to modify scsi command filter on per device basisAdel Gadllah1-116/+5
2008-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-3/+2
2008-05-02[SCSI] add support for variable length extended commandsBoaz Harrosh1-3/+2
2008-04-29block: no need to initialize rq->cmd with blk_get_requestFUJITA Tomonori1-3/+0
2008-03-04block: restore the meaning of rq->data_len to the true data lengthFUJITA Tomonori1-2/+2
2008-02-19block: add request->raw_data_lenTejun Heo1-1/+2
2007-12-18block: use jiffies conversion functions in scsi_ioctl.cTejun Heo1-2/+2
2007-07-24[BLOCK] Get rid of request_queue_t typedefJens Axboe1-11/+13
2007-07-22Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-8/+5
2007-07-22[SCSI] bsg: unexport sg v3 helper functionsFUJITA Tomonori1-8/+5
2007-07-19some kmalloc/memset ->kzalloc (tree wide)Yoann Padioleau1-2/+1
2007-07-16bsg: add a request_queue argument to scsi_cmd_ioctl()FUJITA Tomonori1-7/+3
2007-07-16block: export blk_verify_command for SG v4FUJITA Tomonori1-3/+4
2007-07-16block: changes for blk_rq_unmap_user new APIFUJITA Tomonori1-12/+1
2007-07-16bsg: support for full generic block layer SG v3Jens Axboe1-61/+102
2007-04-17[SCSI] sg: cap reserved_size values at max_sectorsAlan Stern1-1/+3
2007-01-29[PATCH] Fix SG_IO timeout jiffy conversionMike Christie1-2/+3
2006-12-19[PATCH] Fixup blk_rq_unmap_user() APIJens Axboe1-2/+1
2006-12-12[PATCH] remove unnecessary blk_queue_bounce in SG_IOFUJITA Tomonori1-7/+0
2006-12-12[PATCH] fix SG_IO bio leakFUJITA Tomonori1-0/+3
2006-12-05Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-1/+1
2006-12-01[PATCH] block: support larger block pc requestsMike Christie1-27/+26
2006-11-22Merge ../scsi-rc-fixes-2.6James Bottomley1-3/+2
2006-11-16[PATCH] scsi: clear garbage after CDBs on SG_IOTejun Heo1-2/+1
2006-11-15[SCSI] block: convert jiffies to msecs in scsi_ioctl()Hannes Reinecke1-1/+1
2006-11-13[PATCH] Fix bad data direction in SG_IOJens Axboe1-1/+1
2006-09-30[PATCH] Split struct request ->flags into two partsJens Axboe1-3/+3
2006-04-13[SCSI] unify SCSI_IOCTL_SEND_COMMAND implementationsChristoph Hellwig1-29/+72
2006-02-08[PATCH] blk: Fix SG_IO ioctl failure retry loopingJens Axboe1-0/+3
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2006-01-09[BLOCK] scsi_ioctl: file can be NULL from ioctl_by_bdev()Jens Axboe1-4/+9
2006-01-06[BLOCK] mark some block/ variables consArjan van de Ven1-1/+1
2006-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6Linus Torvalds1-1/+1
2005-12-19[PATCH] block: Cleanup CDROMEJECT ioctlBen Collins1-14/+31
2005-12-15[SCSI] seperate max_sectors from max_hw_sectorsMike Christie1-1/+1
2005-11-04[BLOCK] Move all core block layer code to new block/ directoryJens Axboe1-0/+589