Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
data.c File Reference
#include "dtc.h"

Go to the source code of this file.

Functions

void data_free (struct data d)
 
struct data data_grow_for (struct data d, int xlen)
 
struct data data_copy_mem (const char *mem, int len)
 
struct data data_copy_escape_string (const char *s, int len)
 
struct data data_copy_file (FILE *f, size_t maxlen)
 
struct data data_append_data (struct data d, const void *p, int len)
 
struct data data_insert_at_marker (struct data d, struct marker *m, const void *p, int len)
 
struct data data_merge (struct data d1, struct data d2)
 
struct data data_append_integer (struct data d, uint64_t value, int bits)
 
struct data data_append_re (struct data d, const struct fdt_reserve_entry *re)
 
struct data data_append_cell (struct data d, cell_t word)
 
struct data data_append_addr (struct data d, uint64_t addr)
 
struct data data_append_byte (struct data d, uint8_t byte)
 
struct data data_append_zeroes (struct data d, int len)
 
struct data data_append_align (struct data d, int align)
 
struct data data_add_marker (struct data d, enum markertype type, char *ref)
 
int data_is_one_string (struct data d)
 

Function Documentation

struct data data_add_marker ( struct data  d,
enum markertype  type,
char ref 
)
read

Definition at line 240 of file data.c.

struct data data_append_addr ( struct data  d,
uint64_t  addr 
)
read

Definition at line 215 of file data.c.

struct data data_append_align ( struct data  d,
int  align 
)
read

Definition at line 234 of file data.c.

struct data data_append_byte ( struct data  d,
uint8_t  byte 
)
read

Definition at line 220 of file data.c.

struct data data_append_cell ( struct data  d,
cell_t  word 
)
read

Definition at line 210 of file data.c.

struct data data_append_data ( struct data  d,
const void p,
int  len 
)
read

Definition at line 120 of file data.c.

struct data data_append_integer ( struct data  d,
uint64_t  value,
int  bits 
)
read

Definition at line 171 of file data.c.

struct data data_append_re ( struct data  d,
const struct fdt_reserve_entry re 
)
read

Definition at line 200 of file data.c.

struct data data_append_zeroes ( struct data  d,
int  len 
)
read

Definition at line 225 of file data.c.

struct data data_copy_escape_string ( const char s,
int  len 
)
read

Definition at line 71 of file data.c.

struct data data_copy_file ( FILE *  f,
size_t  maxlen 
)
read

Definition at line 93 of file data.c.

struct data data_copy_mem ( const char mem,
int  len 
)
read

Definition at line 59 of file data.c.

void data_free ( struct data  d)

Definition at line 23 of file data.c.

struct data data_grow_for ( struct data  d,
int  xlen 
)
read

Definition at line 39 of file data.c.

struct data data_insert_at_marker ( struct data  d,
struct marker m,
const void p,
int  len 
)
read

Definition at line 128 of file data.c.

int data_is_one_string ( struct data  d)

Definition at line 253 of file data.c.

struct data data_merge ( struct data  d1,
struct data  d2 
)
read

Definition at line 154 of file data.c.