Searched refs:sysv_zone_t (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/fs/sysv/ |
D | balloc.c | 30 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk() 35 return (sysv_zone_t*)(bh_data+4); in get_chunk() 37 return (sysv_zone_t*)(bh_data+2); in get_chunk() 42 void sysv_free_block(struct super_block * sb, sysv_zone_t nr) in sysv_free_block() 46 sysv_zone_t *blocks = sbi->s_bcache; in sysv_free_block() 85 memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t)); in sysv_free_block() 99 sysv_zone_t sysv_new_block(struct super_block * sb) in sysv_new_block() 103 sysv_zone_t nr; in sysv_new_block() 144 count * sizeof(sysv_zone_t)); in sysv_new_block() 164 sysv_zone_t *blocks; in sysv_count_free_blocks() [all …]
|
D | itree.c | 53 static inline int block_to_cpu(struct sysv_sb_info *sbi, sysv_zone_t nr) in block_to_cpu() 59 sysv_zone_t *p; 60 sysv_zone_t key; 66 static inline void add_chain(Indirect *p, struct buffer_head *bh, sysv_zone_t *v) in add_chain() 79 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() 81 return (sysv_zone_t*)((char*)bh->b_data + bh->b_size); in block_end() 108 add_chain(++p, bh, (sysv_zone_t*)bh->b_data + *++offsets); in get_branch() 150 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; in alloc_branch() 268 static inline int all_zeroes(sysv_zone_t *p, sysv_zone_t *q) in all_zeroes() 280 sysv_zone_t *top) in find_shared() [all …]
|
D | sysv.h | 48 sysv_zone_t *s_bcache; /* pointer to s_sbd->s_free */ 132 extern sysv_zone_t sysv_new_block(struct super_block *); 133 extern void sysv_free_block(struct super_block *, sysv_zone_t);
|
/linux-4.4.14/include/linux/ |
D | sysv_fs.h | 18 typedef __fs32 sysv_zone_t; typedef 33 sysv_zone_t s_free[XENIX_NICFREE]; /* first free block list chunk */ 73 sysv_zone_t s_free[SYSV_NICFREE]; /* first free block list chunk */ 103 sysv_zone_t s_free[SYSV_NICFREE]; /* first free block list chunk */ 133 sysv_zone_t s_free[V7_NICFREE]; /* first free block list chunk */ 171 sysv_zone_t s_free[COH_NICFREE] __packed2__; /* first free block list chunk */
|