Home
last modified time | relevance | path

Searched refs:m_dirblksize (Results 1 – 13 of 13) sorted by relevance

/fs/xfs/
Dxfs_dir2_leaf.c128 (xfs_dir2_data_aoff_t)((char *)block + mp->m_dirblksize - in xfs_dir2_block_to_leaf()
799 map_size = howmany(bufsize + mp->m_dirblksize, mp->m_sb.sb_blocksize); in xfs_dir2_leaf_getdents()
824 if (!bp || ptr >= (char *)bp->data + mp->m_dirblksize) { in xfs_dir2_leaf_getdents()
856 ra_want = howmany(bufsize + mp->m_dirblksize, in xfs_dir2_leaf_getdents()
968 (int)BTOBB(mp->m_dirblksize)); in xfs_dir2_leaf_getdents()
1059 if (ptr >= (char *)data + mp->m_dirblksize) { in xfs_dir2_leaf_getdents()
1258 (uint)(mp->m_dirblksize - 1)); in xfs_dir2_leaf_log_tail()
1527 mp->m_dirblksize - (uint)sizeof(data->hdr)) { in xfs_dir2_leaf_removename()
1730 mp->m_dirblksize - (uint)sizeof(data->hdr)); in xfs_dir2_leaf_trim_data()
1815 if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + mp->m_dirblksize) in xfs_dir2_node_to_leaf()
[all …]
Dxfs_dir2_leaf.h87 return (int)(((mp)->m_dirblksize - (uint)sizeof(xfs_dir2_leaf_hdr_t)) / in xfs_dir2_max_leaf_ents()
98 ((char *)(lp) + (mp)->m_dirblksize - in xfs_dir2_leaf_tail_p()
Dxfs_dir2.c104 mp->m_dirblksize = 1 << (mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog); in xfs_dir_mount()
113 (mp->m_dirblksize - (uint)sizeof(xfs_da_node_hdr_t)) / in xfs_dir_mount()
115 mp->m_dir_magicpct = (mp->m_dirblksize * 37) / 100; in xfs_dir_mount()
663 rval = XFS_FSB_TO_B(mp, last) == mp->m_dirblksize; in xfs_dir2_isblock()
664 ASSERT(rval == 0 || dp->i_d.di_size == mp->m_dirblksize); in xfs_dir2_isblock()
Dxfs_dir2_block.h67 ((char *)(block) + (mp)->m_dirblksize)) - 1); in xfs_dir2_block_tail_p()
Dxfs_dir2_data.c81 endp = (char *)d + mp->m_dirblksize; in xfs_dir2_data_check()
356 endp = (char *)d + mp->m_dirblksize; in xfs_dir2_data_freescan()
431 t=mp->m_dirblksize - (uint)sizeof(d->hdr); in xfs_dir2_data_init()
537 endptr = (char *)d + mp->m_dirblksize; in xfs_dir2_data_make_free()
Dxfs_dir2_node.h57 (((mp)->m_dirblksize - (uint)sizeof(xfs_dir2_free_hdr_t)) / \
Dxfs_dir2_block.c918 while (dp->i_d.di_size > mp->m_dirblksize) { in xfs_dir2_leaf_to_block()
921 mp->m_dirblksize - (uint)sizeof(block->hdr)) { in xfs_dir2_leaf_to_block()
949 tagp = (__be16 *)((char *)block + mp->m_dirblksize) - 1; in xfs_dir2_leaf_to_block()
968 xfs_dir2_data_use_free(tp, dbp, dup, mp->m_dirblksize - size, size, in xfs_dir2_leaf_to_block()
1113 xfs_dir2_data_use_free(tp, bp, dup, mp->m_dirblksize - i, i, &needlog, in xfs_dir2_sf_to_block()
Dxfs_dir2_sf.c180 block = kmem_alloc(mp->m_dirblksize, KM_SLEEP); in xfs_dir2_block_to_sf()
181 memcpy(block, bp->data, mp->m_dirblksize); in xfs_dir2_block_to_sf()
576 if (used + (holefit ? 0 : size) > mp->m_dirblksize) in xfs_dir2_sf_addname_pick()
591 if (used + size > mp->m_dirblksize) in xfs_dir2_sf_addname_pick()
640 dp->i_mount->m_dirblksize); in xfs_dir2_sf_check()
Dxfs_dir2_node.c153 ASSERT(be32_to_cpu(ltp->bestcount) <= (uint)dp->i_d.di_size / mp->m_dirblksize); in xfs_dir2_leaf_to_node()
1016 if (longest == mp->m_dirblksize - (uint)sizeof(data->hdr)) { in xfs_dir2_leafn_remove()
1373 state->blocksize = state->mp->m_dirblksize; in xfs_dir2_node_addname()
1832 state->blocksize = state->mp->m_dirblksize; in xfs_dir2_node_lookup()
1885 state->blocksize = state->mp->m_dirblksize; in xfs_dir2_node_removename()
1954 state->blocksize = state->mp->m_dirblksize; in xfs_dir2_node_replace()
Dxfs_mount.h306 int m_dirblksize; /* directory block sz--bytes */ member
Dxfs_trans.h629 (mp)->m_dirblksize + \
Dxfs_fsops.c107 geo->dirblocksize = mp->m_dirblksize; in xfs_fs_geometry()
Dxfs_da_btree.c1708 memcpy(dead_buf->data, last_buf->data, mp->m_dirblksize); in xfs_da_swap_lastblock()
1709 xfs_da_log_buf(tp, dead_buf, 0, mp->m_dirblksize - 1); in xfs_da_swap_lastblock()