PS2SDK
PS2 Homebrew Libraries
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
#ifndef __BDM_DEFRAG_H__
16
#define __BDM_DEFRAG_H__
17
18
19
#include <
tamtypes.h
>
20
#include <
bdm.h
>
21
#include <
usbhdfsd-common.h
>
22
23
24
int
bd_defrag_read(
struct
block_device
* bd, u32 fragcount,
struct
bd_fragment
* fraglist, u64 sector,
void
* buffer, u16
count
);
25
int
bd_defrag_write(
struct
block_device
* bd, u32 fragcount,
struct
bd_fragment
* fraglist, u64 sector,
const
void
* buffer, u16
count
);
26
27
// For backwards compatibility:
28
#define bd_defrag bd_defrag_read
29
30
#endif
bdm.h
block_device
Definition
bdm.h:22
tamtypes.h
usbhdfsd-common.h
count
u32 count
start sector of fragmented bd/file
Definition
usbhdfsd-common.h:1
bd_fragment
Definition
usbhdfsd-common.h:20
iop
fs
libbdm
include
bd_defrag.h
Generated on Thu Nov 14 2024 05:25:26 for PS2SDK by
1.9.8