Exploit databaseDownload repository ZIP
GH-b6f78b211ff4ea5e7b3ebffe1f088758
abrarkhan/linux-4.19.72_cve-2020-24490
Sources for CVE-2020-24490
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files23
abrarkhan/linux-4.19.72_cve-2020-24490Revision aa3f6929b62b
- ↑..Parent directory
- Kconfig
- Makefile
- dm-array.c
- dm-array.h
- dm-bitset.c
- dm-bitset.h
- dm-block-manager.c
- dm-block-manager.h
- dm-btree-internal.h
- dm-btree-remove.c
- dm-btree-spine.c
- dm-btree.c
- dm-btree.h
- dm-persistent-data-internal.h
- dm-space-map-common.c
- dm-space-map-common.h
- dm-space-map-disk.c
- dm-space-map-disk.h
- dm-space-map-metadata.c
- dm-space-map-metadata.h
- dm-space-map.h
- dm-transaction-manager.c
- dm-transaction-manager.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/md/persistent-data/dm-persistent-data-internal.h
Text · 407 bytes/*
* Copyright (C) 2011 Red Hat, Inc.
*
* This file is released under the GPL.
*/
#ifndef _DM_PERSISTENT_DATA_INTERNAL_H
#define _DM_PERSISTENT_DATA_INTERNAL_H
#include "dm-block-manager.h"
static inline unsigned dm_hash_block(dm_block_t b, unsigned hash_mask)
{
const unsigned BIG_PRIME = 4294967291UL;
return (((unsigned) b) * BIG_PRIME) & hash_mask;
}
#endif /* _PERSISTENT_DATA_INTERNAL_H */