Lines Matching refs:sysv_zone_t
54 static inline int block_to_cpu(struct sysv_sb_info *sbi, sysv_zone_t nr) in block_to_cpu()
60 sysv_zone_t *p;
61 sysv_zone_t key;
67 static inline void add_chain(Indirect *p, struct buffer_head *bh, sysv_zone_t *v) in add_chain()
80 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end()
82 return (sysv_zone_t*)((char*)bh->b_data + bh->b_size); in block_end()
109 add_chain(++p, bh, (sysv_zone_t*)bh->b_data + *++offsets); in get_branch()
155 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; in alloc_branch()
273 static inline int all_zeroes(sysv_zone_t *p, sysv_zone_t *q) in all_zeroes()
285 sysv_zone_t *top) in find_shared()
306 for (p=partial; p>chain && all_zeroes((sysv_zone_t*)p->bh->b_data,p->p); p--) in find_shared()
330 static inline void free_data(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q) in free_data()
333 sysv_zone_t nr = *p; in free_data()
342 static void free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) in free_branches()
350 sysv_zone_t nr = *p; in free_branches()
358 free_branches(inode, (sysv_zone_t*)bh->b_data, in free_branches()
370 sysv_zone_t *i_data = SYSV_I(inode)->i_data; in sysv_truncate()
374 sysv_zone_t nr = 0; in sysv_truncate()