Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 110) sorted by relevance

12345

/linux-3.3/drivers/md/
Dbitmap.h108 #define CHUNK_BLOCK_RATIO(bitmap) ((bitmap)->mddev->bitmap_info.chunksize >> BITMAP_BLOCK_SHIFT) argument
109 #define CHUNK_BLOCK_SHIFT(bitmap) ((bitmap)->chunkshift - BITMAP_BLOCK_SHIFT) argument
110 #define CHUNK_BLOCK_MASK(bitmap) (CHUNK_BLOCK_RATIO(bitmap) - 1) argument
114 #define PAGEPTR_BLOCK_RATIO(bitmap) \ argument
116 #define PAGEPTR_BLOCK_SHIFT(bitmap) \ argument
118 #define PAGEPTR_BLOCK_MASK(bitmap) (PAGEPTR_BLOCK_RATIO(bitmap) - 1) argument
191 struct bitmap { struct
192 struct bitmap_page *bp; argument
193 unsigned long pages; /* total number of pages in the bitmap */ argument
196 struct mddev *mddev; /* the md device that the bitmap is for */ argument
[all …]
Dbitmap.c32 static inline char *bmname(struct bitmap *bitmap) in bmname()
40 static unsigned char *bitmap_alloc_page(struct bitmap *bitmap) in bitmap_alloc_page()
56 static void bitmap_free_page(struct bitmap *bitmap, unsigned char *page) in bitmap_free_page()
72 static int bitmap_checkpage(struct bitmap *bitmap, in bitmap_checkpage()
127 static void bitmap_checkfree(struct bitmap *bitmap, unsigned long page) in bitmap_checkfree()
230 static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait) in write_sb_page()
299 static void write_page(struct bitmap *bitmap, struct page *page, int wait) in write_page()
330 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local
371 struct bitmap *bitmap, in read_page()
445 void bitmap_update_sb(struct bitmap *bitmap) in bitmap_update_sb()
[all …]
/linux-3.3/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c44 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) in mlx4_bitmap_alloc()
74 void mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj) in mlx4_bitmap_free()
79 u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, int align) in mlx4_bitmap_alloc_range()
116 u32 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap) in mlx4_bitmap_avail()
121 void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt) in mlx4_bitmap_free_range()
134 int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, in mlx4_bitmap_init()
158 void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) in mlx4_bitmap_cleanup()
/linux-3.3/fs/udf/
Dballoc.c36 struct udf_bitmap *bitmap, unsigned int block, in read_block_bitmap()
55 struct udf_bitmap *bitmap, in __load_block_bitmap()
78 struct udf_bitmap *bitmap, in load_block_bitmap()
109 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks()
176 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks()
227 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
/linux-3.3/fs/hfs/
Dbitmap.c29 static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max) in hfs_find_set_zero_bits()
141 void *bitmap; in hfs_vbm_search_free() local
/linux-3.3/fs/nfs/
Dnfs4xdr.c1105 static void encode_getattr_one(struct xdr_stream *xdr, uint32_t bitmap, struct compound_hdr *hdr) in encode_getattr_one()
3098 static int decode_attr_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_attr_bitmap()
3141 static int decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask) in decode_attr_supported()
3156 static int decode_attr_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type) in decode_attr_type()
3183 static int decode_attr_change(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *change) in decode_attr_change()
3207 static int decode_attr_size(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *size) in decode_attr_size()
3230 static int decode_attr_link_support(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) in decode_attr_link_support()
3251 static int decode_attr_symlink_support(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) in decode_attr_symlink_support()
3272 static int decode_attr_fsid(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fsid *fsid) in decode_attr_fsid()
3299 static int decode_attr_lease_time(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) in decode_attr_lease_time()
[all …]
Dcallback_xdr.c118 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
495 uint32_t bitmap[2]; in decode_recallany_args() local
540 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, __be32 **savep) in encode_attr_bitmap()
570 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change()
583 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size()
608 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime()
615 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
/linux-3.3/fs/nilfs2/
Dalloc.c344 unsigned char *bitmap, in nilfs_palloc_find_available_slot()
410 unsigned char *bitmap; in nilfs_palloc_prepare_alloc_entry() local
510 unsigned char *bitmap; in nilfs_palloc_commit_free_entry() local
548 unsigned char *bitmap; in nilfs_palloc_abort_alloc_entry() local
644 unsigned char *bitmap; in nilfs_palloc_freev() local
/linux-3.3/tools/perf/util/
Dbitmap.c10 int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight()
/linux-3.3/lib/
Dbitmap.c41 int __bitmap_empty(const unsigned long *bitmap, int bits) in __bitmap_empty()
56 int __bitmap_full(const unsigned long *bitmap, int bits) in __bitmap_full()
260 int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight()
1047 static int __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) in __reg_op()
1113 int bitmap_find_free_region(unsigned long *bitmap, int bits, int order) in bitmap_find_free_region()
1138 void bitmap_release_region(unsigned long *bitmap, int pos, int order) in bitmap_release_region()
1155 int bitmap_allocate_region(unsigned long *bitmap, int pos, int order) in bitmap_allocate_region()
Didr.c715 static void free_bitmap(struct ida *ida, struct ida_bitmap *bitmap) in free_bitmap()
751 struct ida_bitmap *bitmap; in ida_pre_get() local
782 struct ida_bitmap *bitmap; in ida_get_new_above() local
883 struct ida_bitmap *bitmap; in ida_remove() local
/linux-3.3/arch/powerpc/include/asm/
Dmsi_bitmap.h19 unsigned long *bitmap; member
/linux-3.3/drivers/cpufreq/
Dspeedstep-lib.c38 u8 bitmap; /* power on configuration bits in pentium3_get_frequency() member
61 u8 bitmap; /* power on configuration bits [18: 19] in pentium3_get_frequency() member
/linux-3.3/include/linux/
Didr.h52 unsigned long bitmap; /* A zero bit means "space here" */ member
131 unsigned long bitmap[IDA_BITMAP_LONGS]; member
/linux-3.3/drivers/net/wireless/rtlwifi/
Dcam.c295 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local
330 u32 bitmap; in rtl_cam_del_entry() local
/linux-3.3/arch/x86/kernel/
Dioport.c40 unsigned long *bitmap = kmalloc(IO_BITMAP_BYTES, GFP_KERNEL); in sys_ioperm() local
/linux-3.3/fs/reiserfs/
Dresize.c24 struct reiserfs_bitmap_info *bitmap; in reiserfs_resize() local
/linux-3.3/fs/ocfs2/
Dlocalalloc.c738 void *bitmap; in ocfs2_claim_local_alloc_bits() local
808 void *bitmap = NULL; in ocfs2_local_alloc_find_clear_bits() local
936 void *bitmap; in ocfs2_sync_local_to_main() local
/linux-3.3/arch/powerpc/sysdev/
Dfsl_msi.h38 struct msi_bitmap bitmap; member
/linux-3.3/arch/x86/kvm/
Dlapic.c85 static inline int apic_test_and_set_vector(int vec, void *bitmap) in apic_test_and_set_vector()
90 static inline int apic_test_and_clear_vector(int vec, void *bitmap) in apic_test_and_clear_vector()
95 static inline void apic_set_vector(int vec, void *bitmap) in apic_set_vector()
100 static inline void apic_clear_vector(int vec, void *bitmap) in apic_clear_vector()
194 static int find_highest_vector(void *bitmap) in find_highest_vector()
/linux-3.3/drivers/s390/cio/
Dchp.h34 static inline int chp_test_bit(u8 *bitmap, int num) in chp_test_bit()
/linux-3.3/fs/btrfs/
Dfree-space-cache.h26 unsigned long *bitmap; member
/linux-3.3/drivers/base/
Ddma-coherent.c15 unsigned long *bitmap; member
/linux-3.3/drivers/scsi/pm8001/
Dpm8001_sas.c67 void *bitmap = pm8001_ha->tags; in pm8001_tag_clear() local
78 void *bitmap = pm8001_ha->tags; in pm8001_tag_set() local
90 void *bitmap = pm8001_ha->tags; in pm8001_tag_alloc() local
/linux-3.3/fs/ext4/
Dmballoc.c488 static void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap) in mb_cmp_bitmaps()
519 static inline void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap) in mb_cmp_bitmaps()
706 void *buddy, void *bitmap, ext4_group_t group) in ext4_mb_generate_buddy()
792 char *bitmap; in ext4_mb_init_cache() local
1813 void *bitmap = EXT4_MB_BITMAP(e4b); in ext4_mb_complex_scan_group() local
1873 void *bitmap = EXT4_MB_BITMAP(e4b); in ext4_mb_scan_aligned() local
3313 static void ext4_mb_generate_from_freelist(struct super_block *sb, void *bitmap, in ext4_mb_generate_from_freelist()
3337 void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap, in ext4_mb_generate_from_pa()
4951 void *bitmap; in ext4_trim_all_free() local

12345