aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/pktcdvd.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-23/+18
2024-03-01pktcdvd: don't set max_hw_sectors on the underlying deviceChristoph Hellwig1-5/+6
2024-02-25pktcdvd: port block device access to fileChristian Brauner1-34/+34
2024-02-22pktcdvd: set queue limits at disk allocation timeChristoph Hellwig1-11/+5
2024-02-22pktcdvd: stop setting q->queuedataChristoph Hellwig1-5/+4
2024-02-19block: pass a queue_limits argument to blk_alloc_diskChristoph Hellwig1-3/+4
2023-10-28pktcdvd: Convert to bdev_open_by_dev()Jan Kara1-35/+41
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-8/+9
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-7/+6
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-2/+2
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-3/+3
2023-06-07pktcdvd: Sort headersAndy Shevchenko1-15/+16
2023-06-07pktcdvd: Get rid of redundant 'else'Andy Shevchenko1-7/+7
2023-06-07pktcdvd: Use put_unaligned_be16() and get_unaligned_be16()Andy Shevchenko1-17/+14
2023-06-07pktcdvd: Use DEFINE_SHOW_ATTRIBUTE() to simplify codeAndy Shevchenko1-20/+3
2023-06-07pktcdvd: Drop redundant castings for sector_tAndy Shevchenko1-16/+10
2023-06-07pktcdvd: Get rid of pkt_seq_show() forward declarationAndy Shevchenko1-76/+75
2023-06-07pktcdvd: use sysfs_emit() to instead of scnprintf()Andy Shevchenko1-1/+1
2023-06-07pktcdvd: replace sscanf() by kstrtoul()Andy Shevchenko1-16/+18
2023-06-07pktcdvd: Get rid of custom printing macrosAndy Shevchenko1-118/+129
2023-06-05block: introduce holder opsChristoph Hellwig1-2/+3
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-32/+15
2023-04-02pktcdvd: simplify the class_pktcdvd logicGreg Kroah-Hartman1-28/+12
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-3/+3
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-1/+0
2023-03-10pktcdvd: Remove CONFIG_CDROM_PKTCDVD_WCACHE from uapi headerThomas Huth1-4/+9
2023-01-16pktcdvd: check for NULL returna fter calling bio_split_to_limits()Jens Axboe1-0/+2
2023-01-04Revert "pktcdvd: remove driver."Jens Axboe1-0/+2944
2022-12-02pktcdvd: remove driver.Greg Kroah-Hartman1-2944/+0
2022-08-02block: change the blk_queue_split calling conventionChristoph Hellwig1-1/+1
2022-07-14pktcdvd: stop using bdevname in pkt_new_devChristoph Hellwig1-4/+2
2022-07-14pktcdvd: stop using bdevname in pkt_seq_showChristoph Hellwig1-3/+1
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-2/+2
2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-20/+14
2022-05-15block: remove last remaining traces of IDE documentationPaul Gortmaker1-1/+1
2022-04-17pktcdvd: stop using bio_resetChristoph Hellwig1-16/+9
2022-04-17block: turn bio_kmalloc into a simple kmalloc wrapperChristoph Hellwig1-12/+13
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-3/+5
2022-03-07pktcdvd: remove a pointless debug check in pkt_submit_bioChristoph Hellwig1-8/+1
2022-03-01scsi: core: Move the result field from struct scsi_request to struct scsi_cmndChristoph Hellwig1-1/+1
2022-03-01scsi: core: Remove the cmd field from struct scsi_requestChristoph Hellwig1-2/+4
2022-02-04block: pass a block_device to bio_clone_fastChristoph Hellwig1-2/+2
2022-02-02block: pass a block_device and opf to bio_resetChristoph Hellwig1-6/+2
2022-01-03pktcdvd: convert to use attribute groupsGreg Kroah-Hartman1-141/+134
2021-12-09pktdvd: stop using bdi congestion framework.NeilBrown1-11/+20
2021-11-29block: remove the gendisk argument to blk_execute_rqChristoph Hellwig1-1/+1
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-1/+1
2021-11-01Merge tag 'for-5.16/passthrough-flag-2021-10-29' of git://git.kernel.dk/linux...Linus Torvalds1-3/+6
2021-10-29block: remove blk_{get,put}_requestChristoph Hellwig1-1/+1
2021-10-22block: remove QUEUE_FLAG_SCSI_PASSTHROUGHChristoph Hellwig1-1/+4
2021-10-22scsi: add a scsi_alloc_request helperChristoph Hellwig1-1/+1
2021-10-18pktcdvd: add error handling support for add_disk()Luis Chamberlain1-1/+3
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-4/+3
2021-08-09block: move the bdi from the request_queue to the gendiskChristoph Hellwig1-5/+3
2021-06-30block: remove REQ_OP_SCSI_{IN,OUT}Christoph Hellwig1-1/+1
2021-06-01pktcdvd: convert to blk_alloc_disk/blk_cleanup_diskChristoph Hellwig1-7/+4
2021-04-12block: move bio_list_copy_data to pktcdvdChristoph Hellwig1-0/+36
2021-01-24block: remove unnecessary argument from blk_execute_rqGuoqing Jiang1-1/+1
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-2/+2
2020-11-16pktcdvd: use set_capacity_and_notifyChristoph Hellwig1-2/+1
2020-11-16block: remove __blkdev_driver_ioctlChristoph Hellwig1-2/+4
2020-09-23pktcdvd: use blkdev_get_by_dev instead of open coding itChristoph Hellwig1-14/+11
2020-09-23pktcdvd: remove the if 0'ed pkt_start_recovery functionChristoph Hellwig1-65/+2
2020-09-01block: replace bd_set_size with bd_set_nr_sectorsChristoph Hellwig1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-01block: rename generic_make_request to submit_bio_noacctChristoph Hellwig1-1/+1
2020-07-01block: move ->make_request_fn to struct block_device_operationsChristoph Hellwig1-5/+6
2020-07-01block: remove the request_queue argument from blk_queue_splitChristoph Hellwig1-1/+1
2020-06-11pktcdvd: remove redundant initialization of variable retColin Ian King1-1/+1
2020-03-27block: simplify queue allocationChristoph Hellwig1-2/+1
2020-03-27block: move the ->devnode callback to struct block_device_operationsChristoph Hellwig1-6/+6
2020-01-03compat_ioctl: cdrom: handle CDROM_LAST_WRITTENArnd Bergmann1-23/+1
2020-01-03compat_ioctl: move CDROM_SEND_PACKET handling into scsiArnd Bergmann1-4/+2
2019-12-21pktcdvd: fix regression on 64-bit architecturesArnd Bergmann1-1/+1
2019-10-23pktcdvd: add compat_ioctl handlerArnd Bergmann1-0/+25
2019-09-22pktcdvd: remove warning on attempting to register non-passthrough devJens Axboe1-1/+0
2019-04-12block: genhd: remove async_events fieldMartin Wilck1-1/+0
2018-11-16pktcdvd: remove queue_lock around blk_queue_max_hw_sectorsChristoph Hellwig1-2/+0
2018-11-15block: remove the queue_lock indirectionChristoph Hellwig1-2/+2
2018-10-02pktcdvd: fix fall-through annotationGustavo A. R. Silva1-1/+1
2018-08-16pktcdvd: fix setting of 'ret' error return for a few casesJens Axboe1-0/+1
2018-08-02block: Switch struct packet_command to use struct scsi_sense_hdrKees Cook1-18/+18
2018-07-28pktcdvd: Fix possible Spectre-v1 for pkt_devsJinbum Park1-1/+3
2018-07-17pktcdvd: remove assignment in if conditionRAGHU Halharvi1-23/+46
2018-06-04Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-13/+1
2018-05-30pktcdvd: convert to bioset_init()/mempool_init()Kent Overstreet1-25/+25
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-2/+2
2018-05-16proc: introduce proc_create_single{,_data}Christoph Hellwig1-13/+1
2018-05-14block: Split out bio_list_copy_data()Kent Overstreet1-1/+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-1/+1
2018-03-01block: fix a typoJiufei Xue1-1/+1
2018-01-05pktcdvd: Fix a recently introduced NULL pointer dereferenceBart Van Assche1-4/+4
2018-01-05pktcdvd: Fix pkt_setup_dev() error pathBart Van Assche1-3/+1
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-6/+5
2017-07-03Merge tag 'driver-core-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-18/+17
2017-06-27pktcdvd: remove the call to blk_queue_bounceChristoph Hellwig1-2/+0
2017-06-20block: Make most scsi_req_init() calls implicitBart Van Assche1-1/+0
2017-06-18pktcdvd: use bio_clone_fast() instead of bio_clone()NeilBrown1-2/+10
2017-06-18blk: remove bio_set arg from blk_queue_split()NeilBrown1-1/+1
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-9/+9
2017-06-09pktcdvd: use class_groups instead of class_attrsGreg Kroah-Hartman1-18/+17
2017-06-01pktcdvd: Check queue type before attaching to a queueBart Van Assche1-0/+5
2017-04-20scsi: introduce a result field in struct scsi_requestChristoph Hellwig1-1/+1
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-2/+2
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-1/+1
2017-01-27block: split scsi_request out of struct requestChristoph Hellwig1-3/+3
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-07pktcdvd: don't scribble over the bvec arrayChristoph Hellwig1-41/+6
2016-10-28block: split out request-only flags into a new namespaceChristoph Hellwig1-1/+1
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-1/+1
2016-06-07block, fs, mm, drivers: use bio set/get op accessorsMike Christie1-2/+2
2015-11-10Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+4
2015-11-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+2
2015-11-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-2/+1
2015-11-07block: change ->make_request_fn() and users to return a queue cookieJens Axboe1-5/+4
2015-11-06mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIMMel Gorman1-2/+2
2015-09-29pktcdvd: drop null test before destroy functionsJulia Lawall1-2/+1
2015-08-13block: kill merge_bvec_fn() completelyKent Overstreet1-21/+0
2015-08-13block: make generic_make_request handle arbitrarily sized biosKent Overstreet1-2/+4
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-16/+16
2015-06-02writeback: separate out include/linux/backing-dev-defs.hTejun Heo1-0/+1
2014-08-28block,scsi: fixup blk_get_request dead queue scenariosJoe Lawrence1-2/+2
2014-08-26block,scsi: verify return pointer from blk_get_requestJoe Lawrence1-0/+2
2014-06-06block: add blk_rq_set_block_pc()Jens Axboe1-1/+1
2014-04-18sched, treewide: Replace hardcoded nice values with MIN_NICE/MAX_NICEDongsheng Yang1-1/+1
2014-01-03pktcdvd: fix error return codeJulia Lawall1-1/+3
2013-11-23block: Introduce new bio_split()Kent Overstreet1-62/+74
2013-11-23block: Rename bio_split() -> bio_pair_split()Kent Overstreet1-1/+1
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-25/+29
2013-11-08pktcdvd: debugfs functions return NULL on errorDan Carpenter1-18/+4
2013-09-11pktcdvd: fix defective misuses of pkt_<level>Joe Perches1-3/+3
2013-09-11pktcdvd: add struct pktcdvd_device * to pkt_dump_sense()Joe Perches1-15/+16
2013-09-11pktcdvd: convert pr_info to pkt_infoJoe Perches1-6/+8
2013-09-11pktcdvd: convert pr_notice to pkt_noticeJoe Perches1-10/+12
2013-09-11pktcdvd: add struct pktcdvd_device.name to pr_err logging where possibleJoe Perches1-20/+24
2013-09-11pktcdvd: add struct pktcdvd_device * to pkt_dbgJoe Perches1-48/+42
2013-09-11pktcdvd: consolidate DPRINTK and VPRINTK macrosJoe Perches1-54/+53
2013-09-11pktcdvd: convert printk to pr_<level>Joe Perches1-61/+61
2013-09-11pktcdvd: convert ZONE macro to static function get_zone()Joe Perches1-10/+10
2013-05-29pktcdvd: silence static checker warningDan Carpenter1-1/+2
2013-05-08Merge branch 'for-3.10/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-79/+23
2013-05-07block_device_operations->release() should return voidAl Viro1-3/+1
2013-04-09procfs: new helper - PDE_DATA(inode)Al Viro1-1/+1
2013-03-23pktcdvd: Use bio_reset() in disabled code to kill bi_idx usageKent Overstreet1-9/+8
2013-03-23pktcdvd: use bio_copy_data()Kent Overstreet1-67/+12
2013-03-23block: Use bio_sectors() more consistentlyKent Overstreet1-1/+1
2013-03-23block: Add bio_end_sector()Kent Overstreet1-3/+3
2012-09-09pktcdvd: Switch to bio_kmalloc()Kent Overstreet1-45/+7
2012-03-20block: remove the second argument of k[un]map_atomic()Cong Wang1-4/+4
2012-01-03switch device_get_devnode() and ->devnode() to umode_t *Al Viro1-1/+1
2011-09-12block: remove support for bio remapping from ->make_requestChristoph Hellwig1-6/+5
2011-07-20kill useless checks for sb->s_op == NULLAl Viro1-1/+1
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-2/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-2/+0
2011-03-09pktcdvd: Convert to bdops->check_events()Tejun Heo1-4/+9
2010-11-13block: make blkdev_get/put() handle exclusive accessTejun Heo1-14/+8
2010-10-22Merge branch 'for-2.6.37/barrier' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-1/+0
2010-10-22Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bklLinus Torvalds1-0/+1
2010-10-22Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bklLinus Torvalds1-8/+8
2010-10-19Merge branch 'v2.6.36-rc8' into for-2.6.37/barrierJens Axboe1-1/+1
2010-10-15llseek: automatically add .llseek fopArnd Bergmann1-0/+1
2010-10-05block: autoconvert trivial BKL users to private mutexArnd Bergmann1-8/+8
2010-09-27Fix pktcdvd ioctl dev_minor range checkDan Rosenberg1-1/+1
2010-09-10block: remove spurious uses of REQ_HARDBARRIERTejun Heo1-1/+0
2010-08-07block: push down BKL into .open and .releaseArnd Bergmann1-0/+5
2010-08-07block: push down BKL into .locked_ioctlArnd Bergmann1-4/+9
2010-08-07block: unify flags for struct bio and struct requestChristoph Hellwig1-1/+1
2010-04-29pktcdvd: improve BKL and compat_ioctl.c usageArnd Bergmann1-3/+14
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-1/+1
2010-03-07driver-core: Add attribute argument to class_attribute show/storeAndi Kleen1-3/+9
2010-02-26block: Consolidate phys_segment and hw_segment limitsMartin K. Petersen1-2/+2
2010-02-26block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectorsMartin K. Petersen1-2/+2
2010-02-24pktcdvd: use BIO list management functionsAkinobu Mita1-68/+21
2010-02-02pktcdvd: removing device does not remove its sysfs dirThadeu Lima de Souza Cascardo1-1/+1
2009-09-22const: make block_device_operations constAlexey Dobriyan1-1/+1
2009-09-19Driver-Core: extend devnode callbacks to provide permissionsKay Sievers1-3/+3
2009-09-15debugfs: Modify default debugfs directory for debugging pktcdvd.GeunSik Lim1-1/+1
2009-07-10Fix congestion_wait() sync/async vs read/write confusionJens Axboe1-4/+6
2009-06-15debugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem.GeunSik Lim1-1/+1
2009-06-15Driver Core: block: add nodename support for block drivers.Kay Sievers1-0/+7
2009-05-22block: Use accessor functions for queue limitsMartin K. Petersen1-2/+4
2009-05-22block: Do away with the notion of hardsect_sizeMartin K. Petersen1-1/+1
2008-12-10pktcdvd: remove broken dev_t export of class devicesKay Sievers1-1/+1
2008-12-04[PATCH] fix bogus argument of blkdev_put() in pktcdvdAl Viro1-2/+2
2008-10-21[PATCH] sanitize blkdev_get() and friendsAl Viro1-2/+2
2008-10-21[PATCH] pass fmode_t to blkdev_put()Al Viro1-4/+4
2008-10-21[PATCH] switch pktdvdcdAl Viro1-15/+15
2008-10-21[PATCH] beginning of methods conversionAl Viro1-3/+3
2008-10-21[PATCH] introduce __blkdev_driver_ioctl()Al Viro1-2/+2
2008-10-21[PATCH] switch pktcdvd to blkdev_driver_ioctl()Al Viro1-10/+10
2008-10-21[PATCH] introduce fmode_t, do annotationsAl Viro1-1/+1
2008-10-16device create: block: convert device_create_drvdata to device_createGreg Kroah-Hartman1-3/+2
2008-10-09block: mark bio_split_pool staticDenis ChengRq1-1/+1
2008-10-09block: don't depend on consecutive minor spaceTejun Heo1-1/+1
2008-08-27Revert "pktcdvd: push BKL down into driver"Linus Torvalds1-25/+10
2008-07-21device create: block: convert device_create to device_create_drvdataGreg Kroah-Hartman1-1/+3
2008-07-04drivers/block/pktcdvd.c: avoid useless memsetChristophe Jaillet1-2/+0
2008-07-04pktcdvd: push BKL down into driverAlan Cox1-10/+25