/linux-4.4.14/fs/nilfs2/ |
D | bmap.c | 35 struct inode *nilfs_bmap_get_dat(const struct nilfs_bmap *bmap) in nilfs_bmap_get_dat() argument 37 struct the_nilfs *nilfs = bmap->b_inode->i_sb->s_fs_info; in nilfs_bmap_get_dat() 42 static int nilfs_bmap_convert_error(struct nilfs_bmap *bmap, in nilfs_bmap_convert_error() argument 45 struct inode *inode = bmap->b_inode; in nilfs_bmap_convert_error() 75 int nilfs_bmap_lookup_at_level(struct nilfs_bmap *bmap, __u64 key, int level, in nilfs_bmap_lookup_at_level() argument 81 down_read(&bmap->b_sem); in nilfs_bmap_lookup_at_level() 82 ret = bmap->b_ops->bop_lookup(bmap, key, level, ptrp); in nilfs_bmap_lookup_at_level() 84 ret = nilfs_bmap_convert_error(bmap, __func__, ret); in nilfs_bmap_lookup_at_level() 87 if (NILFS_BMAP_USE_VBN(bmap)) { in nilfs_bmap_lookup_at_level() 88 ret = nilfs_dat_translate(nilfs_bmap_get_dat(bmap), *ptrp, in nilfs_bmap_lookup_at_level() [all …]
|
D | direct.c | 118 static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_direct_insert() argument 127 if (nilfs_direct_get_ptr(bmap, key) != NILFS_BMAP_INVALID_PTR) in nilfs_direct_insert() 130 if (NILFS_BMAP_USE_VBN(bmap)) { in nilfs_direct_insert() 131 req.bpr_ptr = nilfs_direct_find_target_v(bmap, key); in nilfs_direct_insert() 132 dat = nilfs_bmap_get_dat(bmap); in nilfs_direct_insert() 134 ret = nilfs_bmap_prepare_alloc_ptr(bmap, &req, dat); in nilfs_direct_insert() 140 nilfs_bmap_commit_alloc_ptr(bmap, &req, dat); in nilfs_direct_insert() 141 nilfs_direct_set_ptr(bmap, key, req.bpr_ptr); in nilfs_direct_insert() 143 if (!nilfs_bmap_dirty(bmap)) in nilfs_direct_insert() 144 nilfs_bmap_set_dirty(bmap); in nilfs_direct_insert() [all …]
|
D | bmap.h | 135 #define NILFS_BMAP_USE_VBN(bmap) ((bmap)->b_ptr_type > 0) argument 158 int nilfs_bmap_insert(struct nilfs_bmap *bmap, __u64 key, unsigned long rec); 159 int nilfs_bmap_delete(struct nilfs_bmap *bmap, __u64 key); 160 int nilfs_bmap_seek_key(struct nilfs_bmap *bmap, __u64 start, __u64 *keyp); 161 int nilfs_bmap_last_key(struct nilfs_bmap *bmap, __u64 *keyp); 162 int nilfs_bmap_truncate(struct nilfs_bmap *bmap, __u64 key); 176 static inline int nilfs_bmap_lookup(struct nilfs_bmap *bmap, __u64 key, in nilfs_bmap_lookup() argument 179 return nilfs_bmap_lookup_at_level(bmap, key, 1, ptr); in nilfs_bmap_lookup() 187 static inline int nilfs_bmap_prepare_alloc_ptr(struct nilfs_bmap *bmap, in nilfs_bmap_prepare_alloc_ptr() argument 194 req->bpr_ptr = bmap->b_last_allocated_ptr++; in nilfs_bmap_prepare_alloc_ptr() [all …]
|
D | Makefile | 3 btnode.o bmap.o btree.o direct.o dat.o recovery.o \
|
D | nilfs.h | 84 NILFS_BMAP_I(const struct nilfs_bmap *bmap) in NILFS_BMAP_I() argument 86 return container_of(bmap, struct nilfs_inode_info, i_bmap_data); in NILFS_BMAP_I()
|
D | btree.c | 34 static void __nilfs_btree_init(struct nilfs_bmap *bmap); 2385 static void __nilfs_btree_init(struct nilfs_bmap *bmap) in __nilfs_btree_init() argument 2387 bmap->b_ops = &nilfs_btree_ops; in __nilfs_btree_init() 2388 bmap->b_nchildren_per_block = in __nilfs_btree_init() 2389 NILFS_BTREE_NODE_NCHILDREN_MAX(nilfs_btree_node_size(bmap)); in __nilfs_btree_init() 2392 int nilfs_btree_init(struct nilfs_bmap *bmap) in nilfs_btree_init() argument 2396 __nilfs_btree_init(bmap); in nilfs_btree_init() 2398 if (nilfs_btree_root_broken(nilfs_btree_get_root(bmap), in nilfs_btree_init() 2399 bmap->b_inode->i_ino)) in nilfs_btree_init() 2404 void nilfs_btree_init_gc(struct nilfs_bmap *bmap) in nilfs_btree_init_gc() argument [all …]
|
D | ioctl.c | 486 struct nilfs_bmap *bmap = NILFS_I(nilfs->ns_dat)->i_bmap; in nilfs_ioctl_do_get_bdescs() local 492 ret = nilfs_bmap_lookup_at_level(bmap, in nilfs_ioctl_do_get_bdescs() 784 struct nilfs_bmap *bmap = NILFS_I(nilfs->ns_dat)->i_bmap; in nilfs_ioctl_mark_blocks_dirty() local 790 ret = nilfs_bmap_lookup_at_level(bmap, in nilfs_ioctl_mark_blocks_dirty() 810 ret = nilfs_bmap_mark(bmap, bdescs[i].bd_offset, in nilfs_ioctl_mark_blocks_dirty()
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
D | xt_TCPOPTSTRIP.h | 6 #define tcpoptstrip_set_bit(bmap, idx) \ argument 7 (bmap[(idx) >> 5] |= 1U << (idx & 31)) 8 #define tcpoptstrip_test_bit(bmap, idx) \ argument 9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/linux-4.4.14/fs/affs/ |
D | bitmap.c | 43 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local 52 bmap = blk / sbi->s_bmap_bits; in affs_free_block() 54 bm = &sbi->s_bitmap[bmap]; in affs_free_block() 59 if (sbi->s_last_bmap != bmap) { in affs_free_block() 65 sbi->s_last_bmap = bmap; in affs_free_block() 121 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local 144 bmap = blk / sbi->s_bmap_bits; in affs_alloc_block() 145 bm = &sbi->s_bitmap[bmap]; in affs_alloc_block() 158 bmap++; in affs_alloc_block() 160 if (bmap < sbi->s_bmap_count) in affs_alloc_block() [all …]
|
D | file.c | 440 .bmap = _affs_bmap
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 550 u32 bmap; in bnad_get_strings() local 563 bmap = bna_tx_rid_mask(&bnad->bna); in bnad_get_strings() 564 for (i = 0; bmap; i++) { in bnad_get_strings() 565 if (bmap & 1) { in bnad_get_strings() 591 bmap >>= 1; in bnad_get_strings() 594 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_get_strings() 595 for (i = 0; bmap; i++) { in bnad_get_strings() 596 if (bmap & 1) { in bnad_get_strings() 618 bmap >>= 1; in bnad_get_strings() 726 u32 bmap; in bnad_get_stats_count_locked() local [all …]
|
D | bnad.c | 2446 u32 bmap; in bnad_netdev_hwstats_fill() local 2468 bmap = bna_rx_rid_mask(&bnad->bna); in bnad_netdev_hwstats_fill() 2469 for (i = 0; bmap; i++) { in bnad_netdev_hwstats_fill() 2470 if (bmap & 1) { in bnad_netdev_hwstats_fill() 2476 bmap >>= 1; in bnad_netdev_hwstats_fill()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dmap.c | 77 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 83 static int dbAdjCtl(struct bmap * bmp, s64 blkno, int newval, int alloc, 85 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results); 86 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, 88 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, 91 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 93 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, 96 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, 98 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, 102 static int dbFindCtl(struct bmap * bmp, int l2nb, int level, s64 * blkno); [all …]
|
D | file.c | 79 atomic_inc(&jfs_sb->bmap->db_active[ji->active_ag]); in jfs_open() 92 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_release() local 93 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
|
D | jfs_discard.c | 83 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in jfs_ioc_trim()
|
D | jfs_dmap.h | 134 #define BLKTOAG(b,sbi) ((b) >> ((sbi)->bmap->db_agl2size)) 140 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size)) 243 struct bmap { struct
|
D | super.c | 141 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_destroy_inode() local 142 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_destroy_inode() 158 buf->f_blocks = sbi->bmap->db_mapsize; in jfs_statfs() 159 buf->f_bfree = sbi->bmap->db_nfree; in jfs_statfs() 160 buf->f_bavail = sbi->bmap->db_nfree; in jfs_statfs() 171 ((sbi->bmap->db_nfree >> imap->im_l2nbperiext) in jfs_statfs()
|
D | jfs_incore.h | 192 struct bmap *bmap; /* incore bmap descriptor */ member
|
D | resize.c | 70 struct bmap *bmp = sbi->bmap; in jfs_extendfs()
|
D | jfs_extent.c | 515 struct bmap *bmp = sbi->bmap; in extBalloc()
|
D | inode.c | 367 .bmap = jfs_bmap,
|
D | jfs_imap.c | 1381 if (atomic_read(&JFS_SBI(pip->i_sb)->bmap->db_active[agno])) { in diAlloc() 1722 int maxag = JFS_SBI(imap->im_ipimap->i_sb)->bmap->db_maxag; in diAllocAny() 2268 hint = ((s64) agno << sbi->bmap->db_agl2size) - 1; in diNewExt() 2864 struct bmap *mp = JFS_SBI(ipbmap->i_sb)->bmap; in diExtendFS()
|
/linux-4.4.14/arch/sparc/mm/ |
D | io-unit.c | 115 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area() 128 if (test_bit(scan++, iounit->bmap)) in iounit_get_area() 135 set_bit(scan, iounit->bmap); in iounit_get_area() 179 clear_bit(vaddr, iounit->bmap); in iounit_release_scsi_one() 196 clear_bit(vaddr, iounit->bmap); in iounit_release_scsi_sgl()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | lib-ptl.c | 315 __u64 *bmap; in lnet_mt_test_exhausted() local 331 bmap = &mtable->mt_exhausted[pos >> LNET_MT_BITS_U64]; in lnet_mt_test_exhausted() 334 return ((*bmap) & (1ULL << pos)) != 0; in lnet_mt_test_exhausted() 340 __u64 *bmap; in lnet_mt_set_exhausted() local 346 bmap = &mtable->mt_exhausted[pos >> LNET_MT_BITS_U64]; in lnet_mt_set_exhausted() 350 *bmap &= ~(1ULL << pos); in lnet_mt_set_exhausted() 352 *bmap |= 1ULL << pos; in lnet_mt_set_exhausted()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | io-unit.h | 44 unsigned long bmap[(IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 3)) / sizeof(unsigned long)]; member
|
/linux-4.4.14/fs/gfs2/ |
D | Makefile | 3 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \
|
D | aops.c | 1179 .bmap = gfs2_bmap, 1196 .bmap = gfs2_bmap, 1213 .bmap = gfs2_bmap,
|
/linux-4.4.14/fs/ecryptfs/ |
D | mmap.c | 549 if (lower_inode->i_mapping->a_ops->bmap) in ecryptfs_bmap() 550 rc = lower_inode->i_mapping->a_ops->bmap(lower_inode->i_mapping, in ecryptfs_bmap() 560 .bmap = ecryptfs_bmap,
|
/linux-4.4.14/virt/kvm/arm/ |
D | vgic-v3-emul.c | 283 unsigned long *bmap, mpidr; in handle_mmio_route_reg() local 315 bmap = vgic_bitmap_get_shared_map(&dist->irq_spi_target[vcpu_id]); in handle_mmio_route_reg() 316 __clear_bit(spi, bmap); in handle_mmio_route_reg() 332 bmap = vgic_bitmap_get_shared_map(&dist->irq_spi_target[vcpu_id]); in handle_mmio_route_reg() 333 __set_bit(spi, bmap); in handle_mmio_route_reg()
|
D | vgic-v2-emul.c | 159 unsigned long *bmap; in vgic_set_target_reg() local 176 bmap = vgic_bitmap_get_shared_map(&dist->irq_spi_target[c]); in vgic_set_target_reg() 178 set_bit(irq + i, bmap); in vgic_set_target_reg() 180 clear_bit(irq + i, bmap); in vgic_set_target_reg()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_subr.c | 46 .bmap = vxfs_bmap,
|
/linux-4.4.14/fs/reiserfs/ |
D | bitmap.c | 64 unsigned int bmap, offset; in is_reusable() local 74 get_bit_address(s, block, &bmap, &offset); in is_reusable() 99 if (bmap >= bmap_count) { in is_reusable() 102 block, bmap); in is_reusable() 120 static inline int is_block_in_journal(struct super_block *s, unsigned int bmap, in is_block_in_journal() argument 125 if (reiserfs_in_journal(s, bmap, off, 1, &tmp)) { in is_block_in_journal() 156 PROC_INFO_INC(s, scan_bitmap.bmap); in scan_bitmap_block()
|
D | procfs.c | 217 SFPF(bmap), in show_bitmap()
|
D | reiserfs.h | 485 stat_cnt_t bmap; member
|
D | inode.c | 3461 .bmap = reiserfs_aop_bmap,
|
/linux-4.4.14/drivers/mfd/ |
D | dln2.c | 84 DECLARE_BITMAP(bmap, DLN2_MAX_RX_SLOTS); 365 *slot = find_first_zero_bit(rxs->bmap, DLN2_MAX_RX_SLOTS); in find_free_slot() 370 set_bit(*slot, rxs->bmap); in find_free_slot() 407 clear_bit(slot, rxs->bmap); in free_rx_slot()
|
/linux-4.4.14/mm/ |
D | page_io.c | 163 first_block = bmap(inode, probe_block); in generic_swapfile_activate() 179 block = bmap(inode, probe_block + block_in_page); in generic_swapfile_activate()
|
/linux-4.4.14/fs/cachefiles/ |
D | rdwr.c | 413 ASSERT(inode->i_mapping->a_ops->bmap); in cachefiles_read_or_alloc_page() 432 block = inode->i_mapping->a_ops->bmap(inode->i_mapping, block0); in cachefiles_read_or_alloc_page() 707 ASSERT(inode->i_mapping->a_ops->bmap); in cachefiles_read_or_alloc_pages() 735 block = inode->i_mapping->a_ops->bmap(inode->i_mapping, in cachefiles_read_or_alloc_pages()
|
D | namei.c | 656 if (!aops->bmap) in cachefiles_walk_to_object()
|
/linux-4.4.14/fs/bfs/ |
D | file.c | 194 .bmap = bfs_bmap,
|
/linux-4.4.14/fs/ |
D | ioctl.c | 56 if (!mapping->a_ops->bmap) in ioctl_fibmap() 63 res = mapping->a_ops->bmap(mapping, block); in ioctl_fibmap()
|
D | inode.c | 1520 sector_t bmap(struct inode *inode, sector_t block) in bmap() function 1523 if (inode->i_mapping->a_ops->bmap) in bmap() 1524 res = inode->i_mapping->a_ops->bmap(inode->i_mapping, block); in bmap() 1527 EXPORT_SYMBOL(bmap);
|
/linux-4.4.14/fs/hpfs/ |
D | file.c | 199 .bmap = _hpfs_bmap
|
/linux-4.4.14/Documentation/power/ |
D | swsusp-and-swap-files.txt | 30 2) Use an application that will bmap the swap file with the help of the
|
/linux-4.4.14/fs/hfsplus/ |
D | inode.c | 162 .bmap = hfsplus_bmap, 171 .bmap = hfsplus_bmap,
|
/linux-4.4.14/fs/efs/ |
D | inode.c | 26 .bmap = _efs_bmap
|
/linux-4.4.14/fs/adfs/ |
D | inode.c | 82 .bmap = _adfs_bmap
|
/linux-4.4.14/fs/hfs/ |
D | inode.c | 164 .bmap = hfs_bmap, 173 .bmap = hfs_bmap,
|
/linux-4.4.14/fs/omfs/ |
D | file.c | 381 .bmap = omfs_bmap,
|
/linux-4.4.14/fs/qnx4/ |
D | inode.c | 257 .bmap = qnx4_bmap
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4proc.c | 1786 u32 *bmap = op->u.getattr.ga_bmval; in nfsd4_getattr_rsize() local 1787 u32 bmap0 = bmap[0], bmap1 = bmap[1], bmap2 = bmap[2]; in nfsd4_getattr_rsize()
|
D | nfs4state.c | 932 bmap_to_share_mode(unsigned long bmap) { in bmap_to_share_mode() argument 937 if (test_bit(i, &bmap)) in bmap_to_share_mode()
|
/linux-4.4.14/Documentation/filesystems/ |
D | Locking | 195 sector_t (*bmap)(struct address_space *, sector_t); 219 bmap: 308 ->bmap() is currently used by legacy ioctl() (FIBMAP) provided by some
|
D | fiemap.txt | 6 extent mappings. Instead of block-by-block mapping (such as bmap), fiemap
|
D | vfs.txt | 591 sector_t (*bmap)(struct address_space *, sector_t); 692 bmap: called by the VFS to map a logical block offset within object to 697 but instead uses bmap to find out where the blocks in the file
|
/linux-4.4.14/fs/sysv/ |
D | itree.c | 500 .bmap = sysv_bmap
|
/linux-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 58 API-bmap
|
/linux-4.4.14/fs/ext2/ |
D | inode.c | 886 .bmap = ext2_bmap, 900 .bmap = ext2_bmap,
|
/linux-4.4.14/fs/qnx6/ |
D | inode.c | 500 .bmap = qnx6_bmap
|
/linux-4.4.14/Documentation/filesystems/caching/ |
D | cachefiles.txt | 74 - bmap() support on files in the filesystem (FIBMAP ioctl). 76 - The use of bmap() to detect a partial page at the end of the file.
|
/linux-4.4.14/fs/befs/ |
D | linuxvfs.c | 79 .bmap = befs_bmap,
|
/linux-4.4.14/fs/minix/ |
D | inode.c | 433 .bmap = minix_bmap
|
/linux-4.4.14/sound/usb/ |
D | mixer.c | 562 static int check_matrix_bitmap(unsigned char *bmap, in check_matrix_bitmap() argument 566 return bmap[idx >> 3] & (0x80 >> (idx & 7)); in check_matrix_bitmap()
|
/linux-4.4.14/include/linux/ |
D | fs.h | 389 sector_t (*bmap)(struct address_space *, sector_t); member 2444 extern sector_t bmap(struct inode *, sector_t);
|
/linux-4.4.14/fs/isofs/ |
D | inode.c | 1136 .bmap = _isofs_bmap
|
/linux-4.4.14/fs/ntfs/ |
D | aops.c | 1675 .bmap = ntfs_bmap,
|
/linux-4.4.14/fs/ufs/ |
D | inode.c | 516 .bmap = ufs_bmap
|
/linux-4.4.14/fs/exofs/ |
D | inode.c | 981 .bmap = NULL, /* TODO: use osd's OSD_ACT_READ_MAP */
|
/linux-4.4.14/fs/ext4/ |
D | inode.c | 3342 .bmap = ext4_bmap, 3359 .bmap = ext4_bmap, 3374 .bmap = ext4_bmap,
|
/linux-4.4.14/fs/f2fs/ |
D | data.c | 1697 .bmap = f2fs_bmap,
|
/linux-4.4.14/fs/xfs/ |
D | xfs_aops.c | 2011 .bmap = xfs_vm_bmap,
|
/linux-4.4.14/fs/jbd2/ |
D | journal.c | 782 ret = bmap(journal->j_inode, blocknr); in jbd2_journal_bmap()
|
/linux-4.4.14/fs/fat/ |
D | inode.c | 308 .bmap = _fat_bmap
|
/linux-4.4.14/fs/ocfs2/ |
D | aops.c | 2481 .bmap = ocfs2_bmap,
|
D | suballoc.c | 2376 unsigned long *bmap)) in ocfs2_block_group_clear_bits() argument
|
/linux-4.4.14/drivers/md/ |
D | bitmap.c | 380 bh->b_blocknr = bmap(inode, block); in read_page()
|
/linux-4.4.14/fs/udf/ |
D | inode.c | 245 .bmap = udf_bmap,
|
/linux-4.4.14/fs/fuse/ |
D | file.c | 2999 .bmap = fuse_bmap,
|