Home
last modified time | relevance | path

Searched refs:s_bitmap (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/fs/udf/
Dudf_sb.h63 UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap = kmalloc(sizeof(struct udf_bitmap) +\
66 if (UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap != NULL)\
68 memset(UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap, 0x00,\
70 UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap->s_block_bitmap =\
71 (struct buffer_head **)(UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap + 1);\
72 UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap->s_nr_groups = nr_groups;\
97 #define UDF_SB_BITMAP(X,Y,Z,I) ( UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap->s_block_bitmap[I] )
98 #define UDF_SB_BITMAP_NR_GROUPS(X,Y,Z) ( UDF_SB_PARTMAPS(X)[(Y)].Z.s_bitmap->s_nr_groups )
Dsuper.c833 if (UDF_SB_PARTMAPS(sb)[i].s_uspace.s_bitmap != NULL) in udf_load_partdesc()
835 UDF_SB_PARTMAPS(sb)[i].s_uspace.s_bitmap->s_extLength = in udf_load_partdesc()
837 UDF_SB_PARTMAPS(sb)[i].s_uspace.s_bitmap->s_extPosition = in udf_load_partdesc()
841 i, UDF_SB_PARTMAPS(sb)[i].s_uspace.s_bitmap->s_extPosition); in udf_load_partdesc()
859 if (UDF_SB_PARTMAPS(sb)[i].s_fspace.s_bitmap != NULL) in udf_load_partdesc()
861 UDF_SB_PARTMAPS(sb)[i].s_fspace.s_bitmap->s_extLength = in udf_load_partdesc()
863 UDF_SB_PARTMAPS(sb)[i].s_fspace.s_bitmap->s_extPosition = in udf_load_partdesc()
867 i, UDF_SB_PARTMAPS(sb)[i].s_fspace.s_bitmap->s_extPosition); in udf_load_partdesc()
1537 kfree(UDF_SB_PARTMAPS(sb)[UDF_SB_PARTITION(sb)].s_uspace.s_bitmap); in udf_read_super()
1546 kfree(UDF_SB_PARTMAPS(sb)[UDF_SB_PARTITION(sb)].s_fspace.s_bitmap); in udf_read_super()
[all …]
Dballoc.c858 UDF_SB_PARTMAPS(sb)[partition].s_uspace.s_bitmap, in udf_free_blocks()
870 UDF_SB_PARTMAPS(sb)[partition].s_fspace.s_bitmap, in udf_free_blocks()
890 UDF_SB_PARTMAPS(sb)[partition].s_uspace.s_bitmap, in udf_prealloc_blocks()
902 UDF_SB_PARTMAPS(sb)[partition].s_fspace.s_bitmap, in udf_prealloc_blocks()
922 UDF_SB_PARTMAPS(sb)[partition].s_uspace.s_bitmap, in udf_new_block()
934 UDF_SB_PARTMAPS(sb)[partition].s_fspace.s_bitmap, in udf_new_block()
/linux-2.4.37.9/fs/affs/
Dbitmap.c58 bm = AFFS_SB->s_bitmap; in affs_count_free_blocks()
84 bm = &AFFS_SB->s_bitmap[bmap]; in affs_free_block()
174 bm = &AFFS_SB->s_bitmap[bmap]; in affs_alloc_block()
191 bm = AFFS_SB->s_bitmap; in affs_alloc_block()
295 bm = AFFS_SB->s_bitmap = kmalloc(size, GFP_KERNEL); in affs_init_bitmap()
296 if (!AFFS_SB->s_bitmap) { in affs_init_bitmap()
300 memset(AFFS_SB->s_bitmap, 0, size); in affs_init_bitmap()
383 if (!AFFS_SB->s_bitmap) in affs_free_bitmap()
389 kfree(AFFS_SB->s_bitmap); in affs_free_bitmap()
390 AFFS_SB->s_bitmap = NULL; in affs_free_bitmap()
Dsuper.c431 if (AFFS_SB->s_bitmap) in affs_read_super()
432 kfree(AFFS_SB->s_bitmap); in affs_read_super()
/linux-2.4.37.9/include/linux/
Dudf_fs_sb.h54 struct udf_bitmap *s_bitmap; member
59 struct udf_bitmap *s_bitmap; member
Daffs_fs_sb.h29 struct affs_bm_info *s_bitmap; /* Bitmap infos. */ member