Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.

FSDev_PartitionFind()

void FSDev_PartitionFind (CPU_CHAR *name_dev,

FS_PARTITION_NBR partition_nbr,

FS_PARTITION_ENTRY *p_partition_entry,

FS_ERR *p_err);

 

File

Called from

Code enabled by

fs_dev.c

Application

FS_CFG_PARTITION_EN

Find a partition on a device.

See also section 7-5 “Partitions” on page 95.

Arguments

name_dev

Device name.

partition_nbr

Index of the partition to find.

p_partition_entry

Pointer to variable that will receive the partition information.

p_err

Pointer to variable that will receive return error code from this function.

FS_ERR_NONE
Partition found.
FS_ERR_DEV_VOL_OPEN
Volume open on device.
FS_ERR_INVALID_PARTITION
Invalid partition.
FS_ERR_INVALID_SEC_NBR
Sector start or count invalid.
FS_ERR_INVALID_SIG
Invalid MBR signature.
FS_ERR_NAME_NULL
Argument name_dev passed a NULL pointer.
FS_ERR_NULL_PTR
Argument p_partition_entry passed a NULL pointer.

Or device access error (see section B-4 “Device Error Codes” on page 428).

Returned Value

None.

Notes/Warnings

Device state change will result from device I/O, not present or timeout error.

  • No labels