Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files87
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- tests/
- Kconfig
- Makefile
- acl.c
- async-thread.c
- async-thread.h
- backref.c
- backref.h
- btrfs_inode.h
- check-integrity.c
- check-integrity.h
- compression.c
- compression.h
- ctree.c
- ctree.h
- dedupe.h
- delayed-inode.c
- delayed-inode.h
- delayed-ref.c
- delayed-ref.h
- dev-replace.c
- dev-replace.h
- dir-item.c
- disk-io.c
- disk-io.h
- export.c
- export.h
- extent-tree.c
- extent_io.c
- extent_io.h
- extent_map.c
- extent_map.h
- file-item.c
- file.c
- free-space-cache.c
- free-space-cache.h
- free-space-tree.c
- free-space-tree.h
- inode-item.c
- inode-map.c
- inode-map.h
- inode.c
- ioctl.c
- locking.c
- locking.h
- lzo.c
- math.h
- ordered-data.c
- ordered-data.h
- orphan.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
fs/btrfs/ref-verify.h
Text · 1,294 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2014 Facebook. All rights reserved.
*/
#ifndef BTRFS_REF_VERIFY_H
#define BTRFS_REF_VERIFY_H
#ifdef CONFIG_BTRFS_FS_REF_VERIFY
int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info);
void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info);
int btrfs_ref_tree_mod(struct btrfs_root *root, u64 bytenr, u64 num_bytes,
u64 parent, u64 ref_root, u64 owner, u64 offset,
int action);
void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info, u64 start,
u64 len);
static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info)
{
spin_lock_init(&fs_info->ref_verify_lock);
fs_info->block_tree = RB_ROOT;
}
#else
static inline int btrfs_build_ref_tree(struct btrfs_fs_info *fs_info)
{
return 0;
}
static inline void btrfs_free_ref_cache(struct btrfs_fs_info *fs_info)
{
}
static inline int btrfs_ref_tree_mod(struct btrfs_root *root, u64 bytenr,
u64 num_bytes, u64 parent, u64 ref_root,
u64 owner, u64 offset, int action)
{
return 0;
}
static inline void btrfs_free_ref_tree_range(struct btrfs_fs_info *fs_info,
u64 start, u64 len)
{
}
static inline void btrfs_init_ref_verify(struct btrfs_fs_info *fs_info)
{
}
#endif /* CONFIG_BTRFS_FS_REF_VERIFY */
#endif