Exploit databaseDownload repository ZIP
GH-a4473dcd9930d1ae4c0775adc06b1cfb
satheesh575555/linux-4.19.72_cve-2022-36946
Sources for CVE-2022-36946
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files101
satheesh575555/linux-4.19.72_cve-2022-36946Revision 34cc7d8183fd
- ↑..Parent directory
- bcache/
- persistent-data/
- Kconfig
- Makefile
- dm-bio-prison-v1.c
- dm-bio-prison-v1.h
- dm-bio-prison-v2.c
- dm-bio-prison-v2.h
- dm-bio-record.h
- dm-bufio.c
- dm-builtin.c
- dm-cache-background-tracker.c
- dm-cache-background-tracker.h
- dm-cache-block-types.h
- dm-cache-metadata.c
- dm-cache-metadata.h
- dm-cache-policy-internal.h
- dm-cache-policy-smq.c
- dm-cache-policy.c
- dm-cache-policy.h
- dm-cache-target.c
- dm-core.h
- dm-crypt.c
- dm-delay.c
- dm-era-target.c
- dm-exception-store.c
- dm-exception-store.h
- dm-flakey.c
- dm-integrity.c
- dm-io.c
- dm-ioctl.c
- dm-kcopyd.c
- dm-linear.c
- dm-log-userspace-base.c
- dm-log-userspace-transfer.c
- dm-log-userspace-transfer.h
- dm-log-writes.c
- dm-log.c
- dm-mpath.c
- dm-mpath.h
- dm-path-selector.c
- dm-path-selector.h
- dm-queue-length.c
- dm-raid.c
- dm-raid1.c
- dm-region-hash.c
- dm-round-robin.c
- dm-rq.c
- dm-rq.h
- dm-service-time.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/md/dm-rq.h
Text · 1,713 bytes/*
* Internal header file for device mapper
*
* Copyright (C) 2016 Red Hat, Inc. All rights reserved.
*
* This file is released under the LGPL.
*/
#ifndef DM_RQ_INTERNAL_H
#define DM_RQ_INTERNAL_H
#include <linux/bio.h>
#include <linux/kthread.h>
#include "dm-stats.h"
struct mapped_device;
/*
* One of these is allocated per request.
*/
struct dm_rq_target_io {
struct mapped_device *md;
struct dm_target *ti;
struct request *orig, *clone;
struct kthread_work work;
blk_status_t error;
union map_info info;
struct dm_stats_aux stats_aux;
unsigned long duration_jiffies;
unsigned n_sectors;
unsigned completed;
};
/*
* For request-based dm - the bio clones we allocate are embedded in these
* structs.
*
* We allocate these with bio_alloc_bioset, using the front_pad parameter when
* the bioset is created - this means the bio has to come at the end of the
* struct.
*/
struct dm_rq_clone_bio_info {
struct bio *orig;
struct dm_rq_target_io *tio;
struct bio clone;
};
bool dm_use_blk_mq_default(void);
bool dm_use_blk_mq(struct mapped_device *md);
int dm_old_init_request_queue(struct mapped_device *md, struct dm_table *t);
int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
void dm_mq_cleanup_mapped_device(struct mapped_device *md);
void dm_start_queue(struct request_queue *q);
void dm_stop_queue(struct request_queue *q);
void dm_mq_kick_requeue_list(struct mapped_device *md);
unsigned dm_get_reserved_rq_based_ios(void);
ssize_t dm_attr_rq_based_seq_io_merge_deadline_show(struct mapped_device *md, char *buf);
ssize_t dm_attr_rq_based_seq_io_merge_deadline_store(struct mapped_device *md,
const char *buf, size_t count);
#endif