Home
last modified time | relevance | path

Searched refs:block_t (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/fs/minix/
Ditree_common.c4 block_t *p;
5 block_t key;
11 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain()
24 static inline block_t *block_end(struct buffer_head *bh) in block_end()
26 return (block_t *)((char*)bh->b_data + bh->b_size); in block_end()
51 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch()
90 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
208 static inline int all_zeroes(block_t *p, block_t *q) in all_zeroes()
220 block_t *top) in find_shared()
237 for (p=partial;p>chain && all_zeroes((block_t*)p->bh->b_data,p->p);p--) in find_shared()
[all …]
Ditree_v1.c7 typedef u16 block_t; /* 16 bit, host order */ typedef
9 static inline unsigned long block_to_cpu(block_t n) in block_to_cpu()
14 static inline block_t cpu_to_block(unsigned long n) in cpu_to_block()
19 static inline block_t *i_data(struct inode *inode) in i_data()
21 return (block_t *)minix_i(inode)->u.i1_data; in i_data()
Ditree_v2.c6 typedef u32 block_t; /* 32 bit, host order */ typedef
8 static inline unsigned long block_to_cpu(block_t n) in block_to_cpu()
13 static inline block_t cpu_to_block(unsigned long n) in cpu_to_block()
18 static inline block_t *i_data(struct inode *inode) in i_data()
20 return (block_t *)minix_i(inode)->u.i2_data; in i_data()