| /fs/xfs/libxfs/ |
| A D | xfs_attr_remote.c | 139 unsigned int blksize = mp->m_attr_geo->blksize; in __xfs_attr3_rmt_read_verify() local 159 len -= blksize; in __xfs_attr3_rmt_read_verify() 160 ptr += blksize; in __xfs_attr3_rmt_read_verify() 201 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr3_rmt_write_verify() local 234 len -= blksize; in xfs_attr3_rmt_write_verify() 235 ptr += blksize; in xfs_attr3_rmt_write_verify() 303 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyout() local 328 len -= blksize; in xfs_attr_rmtval_copyout() 329 src += blksize; in xfs_attr_rmtval_copyout() 352 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyin() local [all …]
|
| A D | xfs_attr_leaf.c | 116 ASSERT(geo->blksize > USHRT_MAX); in xfs_attr3_leaf_firstused_from_disk() 117 to->firstused = geo->blksize; in xfs_attr3_leaf_firstused_from_disk() 140 ASSERT(from->firstused == geo->blksize); in xfs_attr3_leaf_firstused_to_disk() 384 if (end > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 1304 memset(leaf, 0, args->geo->blksize); in xfs_attr3_leaf_create() 1307 ichdr.firstused = args->geo->blksize; in xfs_attr3_leaf_create() 2083 bytes = state->args->geo->blksize - in xfs_attr3_leaf_toosmall() 2084 (state->args->geo->blksize >> 2) - in xfs_attr3_leaf_toosmall() 2249 tmp = args->geo->blksize; in xfs_attr3_leaf_remove() 2650 <= args->geo->blksize); in xfs_attr3_leaf_moveents() [all …]
|
| A D | xfs_dir2.c | 133 dageo->blksize = xfs_dir2_dirblock_bytes(&mp->m_sb); in xfs_da_mount() 148 dageo->leaf_max_ents = (dageo->blksize - dageo->leaf_hdr_size) / in xfs_da_mount() 150 dageo->free_max_bests = (dageo->blksize - dageo->free_hdr_size) / in xfs_da_mount() 164 dageo->node_ents = (dageo->blksize - dageo->node_hdr_size) / in xfs_da_mount() 168 dageo->magicpct = (dageo->blksize * 37) / 100; in xfs_da_mount() 174 dageo->blksize = 1 << dageo->blklog; in xfs_da_mount() 177 dageo->node_ents = (dageo->blksize - dageo->node_hdr_size) / in xfs_da_mount() 185 dageo->magicpct = (dageo->blksize * 37) / 100; in xfs_da_mount() 284 if (eof == XFS_B_TO_FSB(mp, geo->blksize)) { in xfs_dir2_format() 285 if (XFS_IS_CORRUPT(mp, dp->i_disk_size != geo->blksize)) { in xfs_dir2_format()
|
| A D | xfs_dir2.h | 174 return (xfs_dir2_data_aoff_t)(by & (geo->blksize - 1)); in xfs_dir2_byte_to_off() 249 ((char *)hdr + geo->blksize)) - 1; in xfs_dir2_block_tail_p() 256 ((char *)lp + geo->blksize - in xfs_dir2_leaf_tail_p()
|
| A D | xfs_dir2_block.c | 971 while (dp->i_disk_size > args->geo->blksize) { in xfs_dir2_leaf_to_block() 977 args->geo->blksize - hdrsz) { in xfs_dir2_leaf_to_block() 1006 tagp = (__be16 *)((char *)hdr + args->geo->blksize) - 1; in xfs_dir2_leaf_to_block() 1026 args->geo->blksize - size, size, &needlog, &needscan); in xfs_dir2_leaf_to_block() 1152 error = xfs_dir2_data_use_free(args, bp, dup, args->geo->blksize - i, in xfs_dir2_sf_to_block()
|
| A D | xfs_dir2_leaf.c | 507 (xfs_dir2_data_aoff_t)((char *)hdr + args->geo->blksize - in xfs_dir2_block_to_leaf() 1202 (uint)(args->geo->blksize - 1)); in xfs_dir3_leaf_log_tail() 1491 geo->blksize - geo->data_entry_offset) { in xfs_dir2_leaf_removename() 1686 geo->blksize - geo->data_entry_offset); in xfs_dir2_leaf_trim_data() 1797 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize) in xfs_dir2_node_to_leaf() 1821 if (xfs_dir3_leaf_size(&leafhdr, freehdr.nvalid) > args->geo->blksize) { in xfs_dir2_node_to_leaf()
|
| A D | xfs_dir2_sf.c | 636 if (used + (holefit ? 0 : size) > args->geo->blksize) in xfs_dir2_sf_addname_pick() 646 if (used + size > args->geo->blksize) in xfs_dir2_sf_addname_pick() 692 (uint)sizeof(xfs_dir2_block_tail_t) <= args->geo->blksize); in xfs_dir2_sf_check() 782 (uint)sizeof(xfs_dir2_block_tail_t) > mp->m_dir_geo->blksize) in xfs_dir2_sf_verify()
|
| A D | xfs_log_rlimit.c | 58 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) - in xfs_log_calc_max_attrsetm_res()
|
| A D | xfs_da_btree.h | 19 unsigned int blksize; /* da block size in bytes */ member
|
| A D | xfs_dir2_data.c | 88 return (geo->blksize - sizeof(struct xfs_dir2_block_tail) - in xfs_dir2_data_max_leaf_entries() 761 bf[0].length = cpu_to_be16(geo->blksize - geo->data_entry_offset); in xfs_dir3_data_init() 1247 return geo->blksize; in xfs_dir3_data_end_offset()
|
| A D | xfs_dir2_node.c | 450 (uint)dp->i_disk_size / args->geo->blksize) { in xfs_dir2_leaf_to_node() 1386 if (longest == geo->blksize - geo->data_entry_offset) { in xfs_dir2_leafn_remove() 1525 if (bytes > (state->args->geo->blksize >> 1)) { in xfs_dir2_leafn_toosmall() 1578 bytes = state->args->geo->blksize - in xfs_dir2_leafn_toosmall() 1579 (state->args->geo->blksize >> 2); in xfs_dir2_leafn_toosmall()
|
| /fs/udf/ |
| A D | directory.c | 70 u32 blksize = 1 << iter->dir->i_blkbits; in udf_copy_fi() local 97 off = iter->pos & (blksize - 1); in udf_copy_fi() 112 } else if (nameoff >= blksize) { in udf_copy_fi() 116 len = blksize - nameoff; in udf_copy_fi() 197 int off = iter->pos & (blksize - 1); in udf_fiiter_load_bhs() 296 oldoff = iter->pos & (blksize - 1); in udf_fiiter_advance() 300 if (oldoff + len >= blksize) { in udf_fiiter_advance() 414 off = iter->pos & (blksize - 1); in udf_fiiter_write_fi() 420 len1 = blksize; in udf_fiiter_write_fi() 423 len2 = blksize; in udf_fiiter_write_fi() [all …]
|
| A D | namei.c | 226 int off, blksize = 1 << dir->i_blkbits; in udf_fiiter_add_entry() local 260 blksize - udf_ext0_offset(dir) - iter->pos < nfidlen) { in udf_fiiter_add_entry() 277 off = iter->pos & (blksize - 1); in udf_fiiter_add_entry() 279 off = blksize; in udf_fiiter_add_entry() 281 if (blksize - udf_ext0_offset(dir) - off >= nfidlen) in udf_fiiter_add_entry() 291 if (!(iter->pos & (blksize - 1))) in udf_fiiter_add_entry()
|
| /fs/xfs/scrub/ |
| A D | attr.c | 83 bmp_sz = sizeof(long) * BITS_TO_LONGS(sc->mp->m_attr_geo->blksize); in xchk_setup_xattr_buf() 273 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_set_map() 300 unsigned int mapsize = sc->mp->m_attr_geo->blksize; in xchk_xattr_check_freemap() 350 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry() 405 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize); in xchk_xattr_block() 434 if (leafhdr.usedbytes > mp->m_attr_geo->blksize) in xchk_xattr_block() 436 if (leafhdr.firstused > mp->m_attr_geo->blksize) in xchk_xattr_block() 452 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xchk_xattr_block() 518 if (nameidx < hdrsize || nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_rec()
|
| A D | attr_repair.c | 408 bitmap_zero(ab->usedmap, mp->m_attr_geo->blksize); in xrep_xattr_recover_leaf() 417 buf_end = (char *)bp->b_addr + mp->m_attr_geo->blksize; in xrep_xattr_recover_leaf() 431 nameidx >= mp->m_attr_geo->blksize) in xrep_xattr_recover_leaf() 1550 max_len = xfs_attr_leaf_entsize_local_max(sc->mp->m_attr_geo->blksize); in xrep_xattr_setup_scan()
|
| A D | dir_repair.c | 576 if (!error && XFS_FSB_TO_B(mp, last) == geo->blksize && in xrep_dir_guess_format() 577 dp->i_disk_size == geo->blksize) { in xrep_dir_guess_format() 590 XFS_FSB_TO_B(mp, last) > geo->blksize && in xrep_dir_guess_format()
|
| /fs/isofs/ |
| A D | compress.c | 218 unsigned int blksize = 1 << blkbits; in zisofs_fill_pages() local 247 (bh->b_data + (blockptr & (blksize - 1)))); in zisofs_fill_pages() 253 if (!(blockptr & (blksize - 1))) { in zisofs_fill_pages() 261 (bh->b_data + (blockptr & (blksize - 1)))); in zisofs_fill_pages()
|
| /fs/cramfs/ |
| A D | README | 42 (where nblocks = (st_size - 1) / blksize + 1) 61 aligned to a 4-byte boundary. The block size is either blksize 74 applied to the i'th blksize-sized chunk of the input data if the 86 blksize except for the last block which is limited by the file length. 126 for blksize, whereas Linux-2.3.39 uses its PAGE_SIZE, which in
|
| /fs/xfs/ |
| A D | xfs_dir2_readdir.c | 295 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf() 391 if (!bp || offset >= geo->blksize) { in xfs_dir2_leaf_getdents() 444 if (offset >= geo->blksize) in xfs_dir2_leaf_getdents()
|
| A D | xfs_file.c | 1264 unsigned int blksize = i_blocksize(inode); in xfs_falloc_zero_range() local 1278 len = round_up(offset + len, blksize) - round_down(offset, blksize); in xfs_falloc_zero_range() 1279 offset = round_down(offset, blksize); in xfs_falloc_zero_range()
|
| /fs/ |
| A D | stat.c | 105 stat->blksize = i_blocksize(inode); in generic_fillattr() 505 tmp.st_blksize = stat->blksize; in cp_new_stat() 655 tmp.st_blksize = stat->blksize; in cp_new_stat64() 716 tmp.stx_blksize = stat->blksize; in cp_statx() 861 tmp.st_blksize = stat->blksize; in cp_compat_stat()
|
| /fs/hostfs/ |
| A D | hostfs.h | 64 unsigned int blksize; member
|
| /fs/orangefs/ |
| A D | protocol.h | 262 __s64 blksize; member
|
| /fs/ocfs2/ |
| A D | super.c | 733 int blksize; in ocfs2_sb_probe() local 782 for (blksize = *sector_size; in ocfs2_sb_probe() 783 blksize <= OCFS2_MAX_BLOCKSIZE; in ocfs2_sb_probe() 784 blksize <<= 1) { in ocfs2_sb_probe() 787 blksize); in ocfs2_sb_probe() 796 tmpstat = ocfs2_verify_volume(di, *bh, blksize, stats); in ocfs2_sb_probe()
|
| /fs/fuse/ |
| A D | dir.c | 1199 if (attr->blksize != 0) in fuse_fillattr() 1200 blkbits = ilog2(attr->blksize); in fuse_fillattr() 1204 stat->blksize = 1 << blkbits; in fuse_fillattr() 1224 attr->blksize = sx->blksize; in fuse_statx_to_attr()
|