/fs/omfs/ |
H A D | Makefile | 4 omfs-y := bitmap.o dir.o file.o inode.o
|
/fs/qnx4/ |
H A D | Makefile | 7 qnx4-objs := inode.o dir.o namei.o bitmap.o
|
/fs/minix/ |
H A D | Makefile | 7 minix-objs := bitmap.o itree_v1.o itree_v2.o namei.o inode.o file.o dir.o
|
/fs/hfs/ |
H A D | bitmap.c | 2 * linux/fs/hfs/bitmap.c 10 * This file contains the code to modify the volume bitmap: 29 static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max) argument 40 curr = bitmap + (offset / 32); 41 end = bitmap + ((size + 31) / 32); 70 start = (curr - bitmap) * 32 + i; 108 *max = (curr - bitmap) * 32 + i - start; 116 * Search for 'num_bits' consecutive cleared bits in the bitmap blocks of 127 * returned range. If the bitmap is fragmented, this will be less than 141 void *bitmap; local [all...] |
H A D | Makefile | 7 hfs-objs := bitmap.o bfind.o bnode.o brec.o btree.o \
|
H A D | mdb.c | 65 * the B-trees and the volume bitmap. 169 HFS_SB(sb)->bitmap = (__be32 *)__get_free_pages(GFP_KERNEL, PAGE_SIZE < 8192 ? 1 : 0); 170 if (!HFS_SB(sb)->bitmap) 173 /* read in the bitmap */ 177 ptr = (u8 *)HFS_SB(sb)->bitmap; 181 pr_err("unable to read volume bitmap\n"); 310 ptr = (u8 *)HFS_SB(sb)->bitmap; 314 pr_err("unable to read volume bitmap\n"); 363 free_pages((unsigned long)HFS_SB(sb)->bitmap, PAGE_SIZE < 8192 ? 1 : 0);
|
/fs/affs/ |
H A D | Makefile | 9 affs-objs := super.o namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o
|
/fs/ext3/ |
H A D | Makefile | 7 ext3-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
|
/fs/hfsplus/ |
H A D | Makefile | 8 bnode.o brec.o bfind.o tables.o unicode.o wrapper.o bitmap.o part_tbl.o \
|
/fs/ntfs/ |
H A D | Makefile | 9 ntfs-$(CONFIG_NTFS_RW) += bitmap.o lcnalloc.o logfile.o quota.o usnjrnl.o
|
/fs/nfs/ |
H A D | nfs4xdr.c | 369 1 /* bitmap size */ + \ 370 1 /* notification bitmap length */ + \ 371 1 /* notification bitmap, word 0 */) 376 1 /* notification bitmap length */ + \ 377 1 /* notification bitmap, word 0 */) 1012 * 16(bitmap) + 4(attrlen) + 8(size) + 4(mode) + 4(atime) + 4(mtime) 1167 static void encode_getattr_one(struct xdr_stream *xdr, uint32_t bitmap, struct compound_hdr *hdr) argument 1174 *p = cpu_to_be32(bitmap); 1602 dprintk("%s: cookie = %llu, verifier = %08x:%08x, bitmap = %08x:%08x:%08x\n", 1933 *p++ = cpu_to_be32(1); /* bitmap lengt 3115 decode_attr_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) argument 3158 decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask) argument 3173 decode_attr_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type) argument 3200 decode_attr_fh_expire_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type) argument 3222 decode_attr_change(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *change) argument 3246 decode_attr_size(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *size) argument 3269 decode_attr_link_support(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 3290 decode_attr_symlink_support(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 3311 decode_attr_fsid(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fsid *fsid) argument 3338 decode_attr_lease_time(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 3359 decode_attr_error(struct xdr_stream *xdr, uint32_t *bitmap, int32_t *res) argument 3378 decode_attr_filehandle(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fh *fh) argument 3410 decode_attr_aclsupport(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 3431 decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) argument 3454 decode_attr_mounted_on_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) argument 3477 decode_attr_files_avail(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 3499 decode_attr_files_free(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 3521 decode_attr_files_total(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 3588 decode_attr_fs_locations(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs4_fs_locations *res) argument 3667 decode_attr_maxfilesize(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 3689 decode_attr_maxlink(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *maxlink) argument 3711 decode_attr_maxname(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *maxname) argument 3733 decode_attr_maxread(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 3759 decode_attr_maxwrite(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 3785 decode_attr_mode(struct xdr_stream *xdr, uint32_t *bitmap, umode_t *mode) argument 3810 decode_attr_nlink(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *nlink) argument 3833 decode_attr_owner(struct xdr_stream *xdr, uint32_t *bitmap, const struct nfs_server *server, kuid_t *uid, struct nfs4_string *owner_name) argument 3876 decode_attr_group(struct xdr_stream *xdr, uint32_t *bitmap, const struct nfs_server *server, kgid_t *gid, struct nfs4_string *group_name) argument 3919 decode_attr_rdev(struct xdr_stream *xdr, uint32_t *bitmap, dev_t *rdev) argument 3949 decode_attr_space_avail(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 3971 decode_attr_space_free(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 3993 decode_attr_space_total(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res) argument 4015 decode_attr_space_used(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *used) argument 4058 decode_attr_time_access(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) argument 4076 decode_attr_time_metadata(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) argument 4094 decode_attr_time_delta(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) argument 4112 decode_attr_security_label(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs4_label *label) argument 4162 decode_attr_time_modify(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) argument 4311 uint32_t attrlen, bitmap[3] = {0}; local 4340 uint32_t attrlen, bitmap[3] = {0}; local 4372 uint32_t attrlen, bitmap[3] = {0}; local 4393 decode_threshold_hint(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *res, uint32_t hint_bit) argument 4418 uint32_t bitmap[3] = {0,}, attrlen; local 4468 decode_attr_mdsthreshold(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs4_threshold *res) argument 4502 decode_getfattr_attrs(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fattr *fattr, struct nfs_fh *fh, struct nfs4_fs_locations *fs_loc, struct nfs4_label *label, const struct nfs_server *server) argument 4630 bitmap[3] = {0}; local 4707 decode_attr_pnfstype(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *layouttype) argument 4726 decode_attr_layout_blksize(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *res) argument 4748 uint32_t attrlen, bitmap[3]; local 5180 bitmap[3] = {0}; local 7200 uint32_t bitmap[3] = {0}; local [all...] |
H A D | callback_xdr.c | 121 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) argument 134 bitmap[0] = ntohl(*p++); 136 bitmap[1] = ntohl(*p); 202 status = decode_bitmap(xdr, args->bitmap); 332 tmp = ntohl(*p++); /* bitmap size */ 498 uint32_t bitmap[2]; local 506 status = decode_bitmap(xdr, bitmap); 509 args->craa_type_mask = bitmap[0]; 543 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, __be32 **savep) argument 548 bm[0] = htonl(bitmap[ 573 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) argument 586 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) argument 611 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time) argument 618 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time) argument [all...] |
H A D | callback.h | 66 uint32_t bitmap[2]; member in struct:cb_getattrargs 71 uint32_t bitmap[2]; member in struct:cb_getattrres
|
H A D | callback_proc.c | 36 res->bitmap[0] = res->bitmap[1] = 0; 56 res->bitmap[0] = (FATTR4_WORD0_CHANGE|FATTR4_WORD0_SIZE) & 57 args->bitmap[0]; 58 res->bitmap[1] = (FATTR4_WORD1_TIME_METADATA|FATTR4_WORD1_TIME_MODIFY) & 59 args->bitmap[1];
|
/fs/reiserfs/ |
H A D | resize.c | 23 struct reiserfs_bitmap_info *bitmap; local 63 ("reiserfs_resize: unable to resize a reiserfs without distributed bitmap (fs version < 3.5.12)\n"); 67 /* count used bits in last bitmap block */ 71 /* count bitmap blocks in new fs */ 93 * the bitmap node pointers from the old journal bitmap 119 * allocate additional bitmap blocks, reallocate 120 * array of bitmap block pointers 122 bitmap = 124 if (!bitmap) { [all...] |
H A D | Makefile | 7 reiserfs-objs := bitmap.o do_balan.o namei.o inode.o file.o dir.o fix_node.o \
|
/fs/ocfs2/ |
H A D | ocfs2.h | 825 static inline void _ocfs2_set_bit(unsigned int bit, unsigned long *bitmap) argument 827 __set_bit_le(bit, bitmap); 831 static inline void _ocfs2_clear_bit(unsigned int bit, unsigned long *bitmap) argument 833 __clear_bit_le(bit, bitmap); 855 static inline void ocfs2_set_bit_unaligned(int bit, void *bitmap) argument 857 bitmap = correct_addr_and_bit_unaligned(&bit, bitmap); 858 ocfs2_set_bit(bit, bitmap); 861 static inline void ocfs2_clear_bit_unaligned(int bit, void *bitmap) argument 863 bitmap 867 ocfs2_test_bit_unaligned(int bit, void *bitmap) argument 873 ocfs2_find_next_zero_bit_unaligned(void *bitmap, int max, int start) argument [all...] |
H A D | localalloc.c | 253 * file. Otherwise, it has to go to the main bitmap. 272 * allocation to take up to half the bitmap. */ 372 * return any unused bits to the bitmap and write out a clean 483 * We want to free the bitmap bits outside of any recovery context as 557 * main bitmap. 592 /* we want the bitmap change to be recorded on disk asap */ 737 void *bitmap; local 756 bitmap = la->la_bitmap; 773 ocfs2_set_bit(start++, bitmap); 793 void *bitmap; local 845 void *bitmap = NULL; local 973 void *bitmap; local [all...] |
/fs/nilfs2/ |
H A D | alloc.c | 77 a bitmap block */ 118 * nilfs_palloc_bitmap_blkoff - get block offset of a bitmap block 122 * nilfs_palloc_bitmap_blkoff() returns block offset of the bitmap 262 * nilfs_palloc_get_bitmap_block - get buffer head of a bitmap block 338 * @bitmap: bitmap of the group 344 unsigned char *bitmap, 353 pos = nilfs_find_next_zero_bit(bitmap, end, target); 356 nilfs_mdt_bgl_lock(inode, group), pos, bitmap)) 367 while (*((unsigned long *)bitmap 341 nilfs_palloc_find_available_slot(struct inode *inode, unsigned long group, unsigned long target, unsigned char *bitmap, int bsize) argument 473 unsigned char *bitmap; local 573 unsigned char *bitmap; local 611 unsigned char *bitmap; local 707 unsigned char *bitmap; local [all...] |
/fs/ext4/ |
H A D | Makefile | 7 ext4-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o page-io.o \
|
H A D | bitmap.c | 2 * linux/fs/ext4/bitmap.c 14 unsigned int ext4_count_free(char *bitmap, unsigned int numchars) argument 16 return numchars * BITS_PER_BYTE - memweight(bitmap, numchars);
|
/fs/udf/ |
H A D | balloc.c | 36 struct udf_bitmap *bitmap, unsigned int block, 43 loc.logicalBlockNum = bitmap->s_extPosition; 50 bitmap->s_block_bitmap[bitmap_nr] = bh; 55 struct udf_bitmap *bitmap, 59 int nr_groups = bitmap->s_nr_groups; 66 if (bitmap->s_block_bitmap[block_group]) { 69 retval = read_block_bitmap(sb, bitmap, block_group, 78 struct udf_bitmap *bitmap, 83 slot = __load_block_bitmap(sb, bitmap, block_group); 88 if (!bitmap 35 read_block_bitmap(struct super_block *sb, struct udf_bitmap *bitmap, unsigned int block, unsigned long bitmap_nr) argument 54 __load_block_bitmap(struct super_block *sb, struct udf_bitmap *bitmap, unsigned int block_group) argument 77 load_block_bitmap(struct super_block *sb, struct udf_bitmap *bitmap, unsigned int block_group) argument 107 udf_bitmap_free_blocks(struct super_block *sb, struct udf_bitmap *bitmap, struct kernel_lb_addr *bloc, uint32_t offset, uint32_t count) argument 173 udf_bitmap_prealloc_blocks(struct super_block *sb, struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block, uint32_t block_count) argument 223 udf_bitmap_new_block(struct super_block *sb, struct udf_bitmap *bitmap, uint16_t partition, uint32_t goal, int *err) argument [all...] |
H A D | super.c | 38 * 12/20/98 find the free space bitmap (if it exists) 57 #include <linux/bitmap.h> 278 static void udf_sb_free_bitmap(struct udf_bitmap *bitmap) argument 281 int nr_groups = bitmap->s_nr_groups; 286 if (bitmap->s_block_bitmap[i]) 287 brelse(bitmap->s_block_bitmap[i]); 290 kfree(bitmap); 292 vfree(bitmap); 1012 * bitmap file entry 1014 * Load only if bitmap fil 1064 struct udf_bitmap *bitmap; local 1135 struct udf_bitmap *bitmap = udf_sb_alloc_bitmap(sb, p_index); local 1170 struct udf_bitmap *bitmap = udf_sb_alloc_bitmap(sb, p_index); local 2350 udf_count_free_bitmap(struct super_block *sb, struct udf_bitmap *bitmap) argument [all...] |
/fs/btrfs/ |
H A D | free-space-cache.c | 489 void *bitmap) 499 entry->type = (bitmap) ? BTRFS_FREE_SPACE_BITMAP : 518 static int io_ctl_add_bitmap(struct io_ctl *io_ctl, void *bitmap) argument 534 memcpy(io_ctl->cur, bitmap, PAGE_CACHE_SIZE); 594 memcpy(entry->bitmap, io_ctl->cur, PAGE_CACHE_SIZE); 620 if (e->bitmap || prev->bitmap) 750 e->bitmap = kzalloc(PAGE_CACHE_SIZE, GFP_NOFS); 751 if (!e->bitmap) { 777 * the bitmap entrie 488 io_ctl_add_entry(struct io_ctl *io_ctl, u64 offset, u64 bytes, void *bitmap) argument 1279 tree_insert_offset(struct rb_root *root, u64 offset, struct rb_node *node, int bitmap) argument 2004 struct btrfs_free_space *bitmap; local 2037 struct btrfs_free_space *bitmap; local 2333 bool bitmap; local 3269 test_add_free_space_entry(struct btrfs_block_group_cache *cache, u64 offset, u64 bytes, bool bitmap) argument [all...] |
H A D | free-space-cache.h | 26 unsigned long *bitmap; member in struct:btrfs_free_space 119 u64 offset, u64 bytes, bool bitmap);
|