Searched refs:d_ops (Results 1 – 13 of 13) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 147 dp->d_ops->sf_put_parent_ino(sfhp, parent); in xfs_dir2_block_sfsize() 200 ptr = (char *)dp->d_ops->data_entry_p(hdr); in xfs_dir2_block_to_sf() 228 dp->d_ops->sf_get_parent_ino(sfp)); in xfs_dir2_block_to_sf() 238 dp->d_ops->sf_put_ino(sfp, sfep, in xfs_dir2_block_to_sf() 240 dp->d_ops->sf_put_ftype(sfep, in xfs_dir2_block_to_sf() 241 dp->d_ops->data_get_ftype(dep)); in xfs_dir2_block_to_sf() 243 sfep = dp->d_ops->sf_nextentry(sfp, sfep); in xfs_dir2_block_to_sf() 245 ptr += dp->d_ops->data_entsize(dep->namelen); in xfs_dir2_block_to_sf() 318 incr_isize = dp->d_ops->sf_entsize(sfp, args->namelen); in xfs_dir2_sf_addname() 405 xfs_idata_realloc(dp, dp->d_ops->sf_entsize(sfp, args->namelen), in xfs_dir2_sf_addname_easy() [all …]
|
D | xfs_dir2_node.c | 71 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leafn_check() 235 dp->d_ops->free_hdr_to_disk(bp->b_addr, &hdr); in xfs_dir3_free_get_buf() 254 bests = args->dp->d_ops->free_bests_p(free); in xfs_dir2_free_log_bests() 279 args->dp->d_ops->free_hdr_size - 1); in xfs_dir2_free_log_header() 328 dp->d_ops->free_hdr_from_disk(&freehdr, free); in xfs_dir2_leaf_to_node() 339 to = dp->d_ops->free_bests_p(free); in xfs_dir2_leaf_to_node() 352 dp->d_ops->free_hdr_to_disk(fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node() 402 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_add() 403 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add() 419 if (leafhdr.count == dp->d_ops->leaf_max_ents(args->geo)) { in xfs_dir2_leafn_add() [all …]
|
D | xfs_da_btree.c | 336 dp->d_ops->node_hdr_to_disk(node, &ichdr); in xfs_da3_node_create() 338 XFS_DA_LOGRANGE(node, &node->hdr, dp->d_ops->node_hdr_size)); in xfs_da3_node_create() 548 dp->d_ops->node_hdr_from_disk(&nodehdr, oldroot); in xfs_da3_root_split() 549 btree = dp->d_ops->node_tree_p(oldroot); in xfs_da3_root_split() 563 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_da3_root_split() 564 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_da3_root_split() 608 dp->d_ops->node_hdr_from_disk(&nodehdr, node); in xfs_da3_root_split() 609 btree = dp->d_ops->node_tree_p(node); in xfs_da3_root_split() 615 dp->d_ops->node_hdr_to_disk(node, &nodehdr); in xfs_da3_root_split() 657 dp->d_ops->node_hdr_from_disk(&nodehdr, node); in xfs_da3_node_split() [all …]
|
D | xfs_dir2_leaf.c | 68 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leaf1_check() 424 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_to_leaf() 425 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_block_to_leaf() 430 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_block_to_leaf() 433 dp->d_ops->leaf_hdr_to_disk(leaf, &leafhdr); in xfs_dir2_block_to_leaf() 661 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_addname() 662 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leaf_addname() 664 length = dp->d_ops->data_entsize(args->namelen); in xfs_dir2_leaf_addname() 827 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname() 843 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname() [all …]
|
D | xfs_dir2_block.c | 189 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_need_space() 374 len = dp->d_ops->data_entsize(args->namelen); in xfs_dir2_block_addname() 554 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_block_addname() 555 tagp = dp->d_ops->data_entry_tag_p(dep); in xfs_dir2_block_addname() 648 args->filetype = dp->d_ops->data_get_ftype(dep); in xfs_dir2_block_lookup() 808 dp->d_ops->data_entsize(dep->namelen), &needlog, &needscan); in xfs_dir2_block_removename() 883 dp->d_ops->data_put_ftype(dep, args->filetype); in xfs_dir2_block_replace() 942 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leaf_to_block() 943 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leaf_to_block() 957 hdrsz = dp->d_ops->data_entry_offset; in xfs_dir2_leaf_to_block() [all …]
|
D | xfs_dir2_data.c | 526 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_data_freescan() 532 p = (char *)dp->d_ops->data_entry_p(hdr); in xfs_dir2_data_freescan() 559 be16_to_cpu(*dp->d_ops->data_entry_tag_p(dep))); in xfs_dir2_data_freescan() 560 p += dp->d_ops->data_entsize(dep->namelen); in xfs_dir2_data_freescan() 615 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir3_data_init() 616 bf[0].offset = cpu_to_be16(dp->d_ops->data_entry_offset); in xfs_dir3_data_init() 625 dup = dp->d_ops->data_unused_p(hdr); in xfs_dir3_data_init() 628 t = args->geo->blksize - (uint)dp->d_ops->data_entry_offset; in xfs_dir3_data_init() 658 (uint)((char *)(args->dp->d_ops->data_entry_tag_p(dep) + 1) - in xfs_dir2_data_log_entry() 680 args->dp->d_ops->data_entry_offset - 1); in xfs_dir2_data_log_header() [all …]
|
D | xfs_da_format.c | 888 return dp->d_ops; in xfs_dir_get_ops() 904 return dp->d_ops; in xfs_nondir_get_ops()
|
D | xfs_attr_leaf.c | 925 dp->d_ops->node_hdr_from_disk(&icnodehdr, node); in xfs_attr3_leaf_to_node() 926 btree = dp->d_ops->node_tree_p(node); in xfs_attr3_leaf_to_node() 936 dp->d_ops->node_hdr_to_disk(node, &icnodehdr); in xfs_attr3_leaf_to_node()
|
/fs/xfs/ |
D | xfs_dir2_readdir.c | 121 dp->d_ops->data_dot_offset); in xfs_dir2_sf_getdents() 123 dp->d_ops->data_dotdot_offset); in xfs_dir2_sf_getdents() 138 ino = dp->d_ops->sf_get_parent_ino(sfp); in xfs_dir2_sf_getdents() 155 sfep = dp->d_ops->sf_nextentry(sfp, sfep); in xfs_dir2_sf_getdents() 159 ino = dp->d_ops->sf_get_ino(sfp, sfep); in xfs_dir2_sf_getdents() 160 filetype = dp->d_ops->sf_get_ftype(sfep); in xfs_dir2_sf_getdents() 165 sfep = dp->d_ops->sf_nextentry(sfp, sfep); in xfs_dir2_sf_getdents() 215 ptr = (char *)dp->d_ops->data_entry_p(hdr); in xfs_dir2_block_getdents() 239 ptr += dp->d_ops->data_entsize(dep->namelen); in xfs_dir2_block_getdents() 250 filetype = dp->d_ops->data_get_ftype(dep); in xfs_dir2_block_getdents() [all …]
|
D | xfs_attr_inactive.c | 234 dp->d_ops->node_hdr_from_disk(&ichdr, node); in xfs_attr3_node_inactive() 240 btree = dp->d_ops->node_tree_p(node); in xfs_attr3_node_inactive()
|
D | xfs_attr_list.c | 316 dp->d_ops->node_hdr_from_disk(&nodehdr, node); in xfs_attr_node_list() 317 btree = dp->d_ops->node_tree_p(node); in xfs_attr_node_list()
|
D | xfs_inode.h | 54 const struct xfs_dir_ops *d_ops; /* directory ops vector */ member
|
D | xfs_iops.c | 1272 ip->d_ops = ip->i_mount->m_nondir_inode_ops; in xfs_setup_inode() 1287 ip->d_ops = ip->i_mount->m_dir_inode_ops; in xfs_setup_inode()
|