Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Anchor10926101092610Find a partition on a device. Anchor

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

Arguments

...

10926131092613name_devanchor11412671141267

Device name.

...

1092614partition_nbr Anchor11412741141274

Index of the partition to find.

Anchor10926151092615p_partition_entry Anchor11412811141281

Pointer to variable that will receive the partition information.

...

10926161092616p_err Anchor11412881141288

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

...

...

FS_ERR_NONE

...

classWebWorks_Indent_2

...

Partition found.

...

...

FS_ERR_DEV_VOL_OPEN

...

classWebWorks_Indent_2

...

Volume open on device.

...

classWebWorks_Indent_1

...

...

FS_ERR_INVALID_PARTITION

...

classWebWorks_Indent_2

...

Invalid partition.

...

...

FS_ERR_INVALID_SEC_NBR

...

...

Sector start or count invalid.

...

classWebWorks_Indent_1

...

FS_ERR_INVALID_SIG

...

...

Invalid MBR signature.

...

classWebWorks_Indent_1

...

FS_ERR_NAME_NULL

...

classWebWorks_Indent_2

...

Argument name_dev passed a NULL pointer.

...

classWebWorks_Indent_1

...

FS_ERR_NULL_PTR

...

...

Argument p_partition_entry passed a NULL pointer.

...


Or device access error (see section B-4 “Device Error Codes”

...

).

...

Returned Value

...

10926261092626None. Anchor11869871186987

Notes/Warnings

...

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