Home
last modified time | relevance | path

Searched refs:sysv_zone_t (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/sysv/
Dballoc.c31 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk()
36 return (sysv_zone_t*)(bh_data+4); in get_chunk()
38 return (sysv_zone_t*)(bh_data+2); in get_chunk()
43 void sysv_free_block(struct super_block * sb, sysv_zone_t nr) in sysv_free_block()
47 sysv_zone_t *blocks = sbi->s_bcache; in sysv_free_block()
86 memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t)); in sysv_free_block()
100 sysv_zone_t sysv_new_block(struct super_block * sb) in sysv_new_block()
104 sysv_zone_t nr; in sysv_new_block()
145 count * sizeof(sysv_zone_t)); in sysv_new_block()
165 sysv_zone_t *blocks; in sysv_count_free_blocks()
[all …]
Ditree.c54 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()
[all …]
Dsysv.h49 sysv_zone_t *s_bcache; /* pointer to s_sbd->s_free */
133 extern sysv_zone_t sysv_new_block(struct super_block *);
134 extern void sysv_free_block(struct super_block *, sysv_zone_t);
/linux-4.19.296/include/linux/
Dsysv_fs.h19 typedef __fs32 sysv_zone_t; typedef
34 sysv_zone_t s_free[XENIX_NICFREE]; /* first free block list chunk */
74 sysv_zone_t s_free[SYSV_NICFREE]; /* first free block list chunk */
104 sysv_zone_t s_free[SYSV_NICFREE]; /* first free block list chunk */
134 sysv_zone_t s_free[V7_NICFREE]; /* first free block list chunk */
172 sysv_zone_t s_free[COH_NICFREE] __packed2__; /* first free block list chunk */