Searched refs:sfp (Results 1 – 7 of 7) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 153 xfs_dir2_sf_hdr_t *sfp; /* shortform directory header */ in xfs_dir2_block_to_sf() local 173 sfp = (xfs_dir2_sf_hdr_t *)dst; in xfs_dir2_block_to_sf() 174 memcpy(sfp, sfhp, xfs_dir2_sf_hdr_size(sfhp->i8count)); in xfs_dir2_block_to_sf() 181 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_block_to_sf() 207 dp->d_ops->sf_get_parent_ino(sfp)); in xfs_dir2_block_to_sf() 217 dp->d_ops->sf_put_ino(sfp, sfep, in xfs_dir2_block_to_sf() 222 sfep = dp->d_ops->sf_nextentry(sfp, sfep); in xfs_dir2_block_to_sf() 226 ASSERT((char *)sfep - (char *)sfp == size); in xfs_dir2_block_to_sf() 272 xfs_dir2_sf_hdr_t *sfp; /* shortform structure */ in xfs_dir2_sf_addname() local 289 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname() [all …]
|
D | xfs_symlink_remote.c | 207 char *sfp; in xfs_symlink_shortform_verify() local 214 sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify() 216 endp = sfp + size; in xfs_symlink_shortform_verify() 230 if (memchr(sfp, 0, size - 1)) in xfs_symlink_shortform_verify()
|
D | xfs_dir2_block.c | 1063 xfs_dir2_sf_hdr_t *sfp; /* shortform header */ in xfs_dir2_sf_to_block() local 1095 sfp = kmem_alloc(ifp->if_bytes, 0); in xfs_dir2_sf_to_block() 1096 memcpy(sfp, oldsfp, ifp->if_bytes); in xfs_dir2_sf_to_block() 1121 (sfp->count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t); in xfs_dir2_sf_to_block() 1137 btp->count = cpu_to_be32(sfp->count + 2); /* ., .. */ in xfs_dir2_sf_to_block() 1167 dep->inumber = cpu_to_be64(dp->d_ops->sf_get_parent_ino(sfp)); in xfs_dir2_sf_to_block() 1182 if (!sfp->count) in xfs_dir2_sf_to_block() 1185 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_to_block() 1218 dep->inumber = cpu_to_be64(dp->d_ops->sf_get_ino(sfp, sfep)); in xfs_dir2_sf_to_block() 1232 if (++i == sfp->count) in xfs_dir2_sf_to_block() [all …]
|
D | xfs_dir2.c | 173 xfs_dir2_sf_hdr_t *sfp; in xfs_dir_isempty() local 180 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty() 181 return !sfp->count; in xfs_dir_isempty()
|
D | xfs_attr_leaf.c | 921 struct xfs_attr_shortform *sfp; in xfs_attr_shortform_verify() local 931 sfp = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_verify() 940 endp = (char *)sfp + size; in xfs_attr_shortform_verify() 943 sfep = &sfp->list[0]; in xfs_attr_shortform_verify() 944 for (i = 0; i < sfp->hdr.count; i++) { in xfs_attr_shortform_verify()
|
/fs/freevxfs/ |
D | vxfs_fshead.c | 111 struct vxfs_fsh *pfp, *sfp; in vxfs_read_fshead() local 132 sfp = vxfs_getfsh(infp->vsi_fship, 0); in vxfs_read_fshead() 133 if (!sfp) { in vxfs_read_fshead() 139 vxfs_dumpfsh(sfp); in vxfs_read_fshead() 153 fs32_to_cpu(infp, sfp->fsh_ilistino[0])); in vxfs_read_fshead() 176 kfree(sfp); in vxfs_read_fshead() 186 kfree(sfp); in vxfs_read_fshead()
|
/fs/xfs/ |
D | xfs_dir2_readdir.c | 52 xfs_dir2_sf_hdr_t *sfp; /* shortform structure */ in xfs_dir2_sf_getdents() local 62 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents() 94 ino = dp->d_ops->sf_get_parent_ino(sfp); in xfs_dir2_sf_getdents() 103 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_getdents() 104 for (i = 0; i < sfp->count; i++) { in xfs_dir2_sf_getdents() 111 sfep = dp->d_ops->sf_nextentry(sfp, sfep); in xfs_dir2_sf_getdents() 115 ino = dp->d_ops->sf_get_ino(sfp, sfep); in xfs_dir2_sf_getdents() 121 sfep = dp->d_ops->sf_nextentry(sfp, sfep); in xfs_dir2_sf_getdents()
|