Searched refs:block_t (Results 1 – 4 of 4) sorted by relevance
4 block_t *p;5 block_t key;9 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) in add_chain()22 static inline block_t *block_end(struct buffer_head *bh) in block_end()24 return (block_t *)((char*)bh->b_data + BLOCK_SIZE); in block_end()49 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch()86 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()210 static inline int all_zeroes(block_t *p, block_t *q) in all_zeroes()222 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 …]
8 typedef u16 block_t; /* 16 bit, host order */ typedef10 static inline unsigned long block_to_cpu(block_t n) in block_to_cpu()15 static inline block_t cpu_to_block(unsigned long n) in cpu_to_block()20 static inline block_t *i_data(struct inode *inode) in i_data()22 return (block_t *)inode->u.minix_i.u.i1_data; in i_data()
8 typedef u32 block_t; /* 32 bit, host order */ typedef10 static inline unsigned long block_to_cpu(block_t n) in block_to_cpu()15 static inline block_t cpu_to_block(unsigned long n) in cpu_to_block()20 static inline block_t *i_data(struct inode *inode) in i_data()22 return (block_t *)inode->u.minix_i.u.i2_data; in i_data()
55 typedef byte_t block_t[512]; typedef