sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
bd_defrag.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Licenced under Academic Free License version 2.0
7
# Review ps2sdk README & LICENSE files for further details.
8
*/
9
15
16
#ifndef __BDM_DEFRAG_H__
17
#define __BDM_DEFRAG_H__
18
19
20
#include <
tamtypes.h
>
21
#include <
bdm.h
>
22
#include <
usbhdfsd-common.h
>
23
24
25
extern
int
bd_defrag_read(
struct
block_device
* bd, u32 fragcount,
struct
bd_fragment
* fraglist, u64 sector,
void
* buffer, u16
count
);
26
extern
int
bd_defrag_write(
struct
block_device
* bd, u32 fragcount,
struct
bd_fragment
* fraglist, u64 sector,
const
void
* buffer, u16
count
);
27
28
// For backwards compatibility:
29
#define bd_defrag bd_defrag_read
30
31
#endif
bdm.h
bd_fragment
Definition
usbhdfsd-common.h:21
block_device
Definition
bdm.h:23
tamtypes.h
usbhdfsd-common.h
count
u32 count
start sector of fragmented bd/file
Definition
usbhdfsd-common.h:1
core
bdm
src
libbdm
include
bd_defrag.h
Generated by
1.18.0