Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
balloc.c File Reference
#include "udfdecl.h"
#include <linux/buffer_head.h>
#include <linux/bitops.h>
#include "udf_i.h"
#include "udf_sb.h"

Go to the source code of this file.

Macros

#define udf_clear_bit   __test_and_clear_bit_le
 
#define udf_set_bit   __test_and_set_bit_le
 
#define udf_test_bit   test_bit_le
 
#define udf_find_next_one_bit   find_next_bit_le
 

Functions

void udf_free_blocks (struct super_block *sb, struct inode *inode, struct kernel_lb_addr *bloc, uint32_t offset, uint32_t count)
 
int udf_prealloc_blocks (struct super_block *sb, struct inode *inode, uint16_t partition, uint32_t first_block, uint32_t block_count)
 
int udf_new_block (struct super_block *sb, struct inode *inode, uint16_t partition, uint32_t goal, int *err)
 

Macro Definition Documentation

#define udf_clear_bit   __test_and_clear_bit_le

Definition at line 30 of file balloc.c.

#define udf_find_next_one_bit   find_next_bit_le

Definition at line 33 of file balloc.c.

#define udf_set_bit   __test_and_set_bit_le

Definition at line 31 of file balloc.c.

#define udf_test_bit   test_bit_le

Definition at line 32 of file balloc.c.

Function Documentation

void udf_free_blocks ( struct super_block sb,
struct inode inode,
struct kernel_lb_addr bloc,
uint32_t  offset,
uint32_t  count 
)

Definition at line 732 of file balloc.c.

int udf_new_block ( struct super_block sb,
struct inode inode,
uint16_t  partition,
uint32_t  goal,
int err 
)
inline

Definition at line 795 of file balloc.c.

int udf_prealloc_blocks ( struct super_block sb,
struct inode inode,
uint16_t  partition,
uint32_t  first_block,
uint32_t  block_count 
)
inline

Definition at line 759 of file balloc.c.