Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
atari.c File Reference
#include <linux/ctype.h>
#include "check.h"
#include "atari.h"

Go to the source code of this file.

Macros

#define ICD_PARTS
 
#define VALID_PARTITION(pi, hdsiz)
 

Functions

int atari_partition (struct parsed_partitions *state)
 

Macro Definition Documentation

#define ICD_PARTS

Definition at line 16 of file atari.c.

#define VALID_PARTITION (   pi,
  hdsiz 
)
Value:
(((pi)->flg & 1) && \
isalnum((pi)->id[0]) && isalnum((pi)->id[1]) && isalnum((pi)->id[2]) && \
be32_to_cpu((pi)->st) <= (hdsiz) && \
be32_to_cpu((pi)->st) + be32_to_cpu((pi)->siz) <= (hdsiz))

Definition at line 20 of file atari.c.

Function Documentation

int atari_partition ( struct parsed_partitions state)

Definition at line 33 of file atari.c.