#include <linux/time.h>
#include <linux/string.h>
#include <linux/pagemap.h>
#include "reiserfs.h"
#include <linux/buffer_head.h>
#include <linux/quotaops.h>
Go to the source code of this file.
|
int | B_IS_IN_TREE (const struct buffer_head *bh) |
|
void | copy_item_head (struct item_head *to, const struct item_head *from) |
|
int | comp_short_keys (const struct reiserfs_key *le_key, const struct cpu_key *cpu_key) |
|
int | comp_short_le_keys (const struct reiserfs_key *key1, const struct reiserfs_key *key2) |
|
void | le_key2cpu_key (struct cpu_key *to, const struct reiserfs_key *from) |
|
int | comp_le_keys (const struct reiserfs_key *k1, const struct reiserfs_key *k2) |
|
struct reiserfs_key * | get_rkey (const struct treepath *chk_path, const struct super_block *sb) |
|
int | reiserfs_check_path (struct treepath *p) |
|
void | pathrelse_and_restore (struct super_block *sb, struct treepath *search_path) |
|
void | pathrelse (struct treepath *search_path) |
|
int | search_by_key (struct super_block *sb, const struct cpu_key *key, struct treepath *search_path, int stop_level) |
|
int | search_for_position_by_key (struct super_block *sb, const struct cpu_key *p_cpu_key, struct treepath *search_path) |
|
int | comp_items (const struct item_head *stored_ih, const struct treepath *path) |
|
void | padd_item (char *item, int total_length, int length) |
|
int | reiserfs_delete_item (struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *item_key, struct inode *inode, struct buffer_head *un_bh) |
|
void | reiserfs_delete_solid_item (struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_key *key) |
|
int | reiserfs_delete_object (struct reiserfs_transaction_handle *th, struct inode *inode) |
|
int | reiserfs_cut_from_item (struct reiserfs_transaction_handle *th, struct treepath *path, struct cpu_key *item_key, struct inode *inode, struct page *page, loff_t new_file_size) |
|
int | reiserfs_do_truncate (struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, int update_timestamps) |
|
int | reiserfs_paste_into_item (struct reiserfs_transaction_handle *th, struct treepath *search_path, const struct cpu_key *key, struct inode *inode, const char *body, int pasted_size) |
|
int | reiserfs_insert_item (struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *key, struct item_head *ih, struct inode *inode, const char *body) |
|
#define block_in_use |
( |
|
bh | ) |
(buffer_locked(bh) || (held_by_others(bh))) |
#define held_by_others |
( |
|
bh | ) |
(atomic_read(&(bh)->b_count) > 1) |
#define SEARCH_BY_KEY_READA 16 |