Home
last modified time | relevance | path

Searched refs:sfep (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_dir2_sf.c23 xfs_dir2_sf_entry_t *sfep,
60 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sf_nextentry()
62 return (void *)sfep + xfs_dir2_sf_entsize(mp, hdr, sfep->namelen); in xfs_dir2_sf_nextentry()
75 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sf_get_ino()
77 uint8_t *from = sfep->name + sfep->namelen; in xfs_dir2_sf_get_ino()
91 struct xfs_dir2_sf_entry *sfep, in xfs_dir2_sf_put_ino()
94 uint8_t *to = sfep->name + sfep in xfs_dir2_sf_put_ino()
57 xfs_dir2_sf_nextentry( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep) xfs_dir2_sf_nextentry() argument
72 xfs_dir2_sf_get_ino( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep) xfs_dir2_sf_get_ino() argument
88 xfs_dir2_sf_put_ino( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep, xfs_ino_t ino) xfs_dir2_sf_put_ino() argument
134 xfs_dir2_sf_get_ftype( struct xfs_mount *mp, struct xfs_dir2_sf_entry *sfep) xfs_dir2_sf_get_ftype() argument
149 xfs_dir2_sf_put_ftype( struct xfs_mount *mp, struct xfs_dir2_sf_entry *sfep, uint8_t ftype) xfs_dir2_sf_put_ftype() argument
267 struct xfs_dir2_sf_entry *sfep; /* shortform entry */ xfs_dir2_block_to_sf() local
375 xfs_dir2_sf_entry_t *sfep = NULL; /* shortform entry */ xfs_dir2_sf_addname() local
457 xfs_dir2_sf_addname_easy( xfs_da_args_t *args, xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t offset, int new_isize) xfs_dir2_sf_addname_easy() argument
525 xfs_dir2_sf_entry_t *sfep; /* entry in new dir */ xfs_dir2_sf_addname_hard() local
612 xfs_dir2_sf_entry_t *sfep; /* shortform entry */ xfs_dir2_sf_addname_pick() local
680 xfs_dir2_sf_entry_t *sfep; /* shortform dir entry */ xfs_dir2_sf_check() local
715 struct xfs_dir2_sf_entry *sfep; xfs_dir2_sf_verify() local
871 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ xfs_dir2_sf_lookup() local
952 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ xfs_dir2_sf_removename() local
1051 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ xfs_dir2_sf_replace() local
1170 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ xfs_dir2_sf_toino4() local
1243 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ xfs_dir2_sf_toino8() local
[all...]
H A Dxfs_attr_sf.h39 static inline int xfs_attr_sf_entsize(struct xfs_attr_sf_entry *sfep) in xfs_attr_sf_entsize() argument
41 return struct_size(sfep, nameval, sfep->namelen + sfep->valuelen); in xfs_attr_sf_entsize()
46 xfs_attr_sf_nextentry(struct xfs_attr_sf_entry *sfep) in xfs_attr_sf_nextentry() argument
48 return (void *)sfep + xfs_attr_sf_entsize(sfep); in xfs_attr_sf_nextentry()
H A Dxfs_dir2_priv.h161 struct xfs_dir2_sf_entry *sfep);
165 struct xfs_dir2_sf_entry *sfep);
167 struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep);
181 struct xfs_dir2_sf_entry *sfep, xfs_ino_t ino);
183 struct xfs_dir2_sf_entry *sfep, uint8_t ftype);
H A Dxfs_dir2_block.c1091 xfs_dir2_sf_entry_t *sfep; /* sf entry pointer */ in xfs_dir2_sf_to_block() local
1203 sfep = NULL; in xfs_dir2_sf_to_block()
1205 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_to_block()
1213 * sfep is null when we reach the end of the list. in xfs_dir2_sf_to_block()
1215 if (sfep == NULL) in xfs_dir2_sf_to_block()
1218 newoffset = xfs_dir2_sf_get_offset(sfep); in xfs_dir2_sf_to_block()
1238 dep->inumber = cpu_to_be64(xfs_dir2_sf_get_ino(mp, sfp, sfep)); in xfs_dir2_sf_to_block()
1239 dep->namelen = sfep->namelen; in xfs_dir2_sf_to_block()
1241 xfs_dir2_sf_get_ftype(mp, sfep)); in xfs_dir2_sf_to_block()
1242 memcpy(dep->name, sfep in xfs_dir2_sf_to_block()
[all...]
H A Dxfs_da_format.h229 xfs_dir2_sf_get_offset(xfs_dir2_sf_entry_t *sfep) in xfs_dir2_sf_get_offset() argument
231 return get_unaligned_be16(sfep->offset); in xfs_dir2_sf_get_offset()
235 xfs_dir2_sf_put_offset(xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t off) in xfs_dir2_sf_put_offset() argument
237 put_unaligned_be16(off, sfep->offset); in xfs_dir2_sf_put_offset()
H A Dxfs_attr_leaf.c671 * sfep: If not null, pointer will be set to the last attr entry found on
680 struct xfs_attr_sf_entry **sfep, in xfs_attr_sf_findname()
702 if (sfep != NULL) in xfs_attr_sf_findname()
703 *sfep = sfe; in xfs_attr_sf_findname()
1017 struct xfs_attr_sf_entry *sfep; in xfs_attr_shortform_verify() local
1038 sfep = &sfp->list[0]; in xfs_attr_shortform_verify()
1047 if (((char *)sfep + sizeof(*sfep)) >= endp) in xfs_attr_shortform_verify()
1051 if (sfep->namelen == 0) in xfs_attr_shortform_verify()
1059 next_sfep = xfs_attr_sf_nextentry(sfep); in xfs_attr_shortform_verify()
678 xfs_attr_sf_findname( struct xfs_da_args *args, struct xfs_attr_sf_entry **sfep, unsigned int *basep) xfs_attr_sf_findname() argument
[all...]
H A Dxfs_attr_leaf.h56 struct xfs_attr_sf_entry **sfep,
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dir2_sf.c23 xfs_dir2_sf_entry_t *sfep,
60 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sf_nextentry()
62 return (void *)sfep + xfs_dir2_sf_entsize(mp, hdr, sfep->namelen); in xfs_dir2_sf_nextentry()
75 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sf_get_ino()
77 uint8_t *from = sfep->name + sfep->namelen; in xfs_dir2_sf_get_ino()
91 struct xfs_dir2_sf_entry *sfep, in xfs_dir2_sf_put_ino()
94 uint8_t *to = sfep->name + sfep in xfs_dir2_sf_put_ino()
57 xfs_dir2_sf_nextentry( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep) xfs_dir2_sf_nextentry() argument
72 xfs_dir2_sf_get_ino( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep) xfs_dir2_sf_get_ino() argument
88 xfs_dir2_sf_put_ino( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep, xfs_ino_t ino) xfs_dir2_sf_put_ino() argument
134 xfs_dir2_sf_get_ftype( struct xfs_mount *mp, struct xfs_dir2_sf_entry *sfep) xfs_dir2_sf_get_ftype() argument
149 xfs_dir2_sf_put_ftype( struct xfs_mount *mp, struct xfs_dir2_sf_entry *sfep, uint8_t ftype) xfs_dir2_sf_put_ftype() argument
267 struct xfs_dir2_sf_entry *sfep; /* shortform entry */ xfs_dir2_block_to_sf() local
375 xfs_dir2_sf_entry_t *sfep = NULL; /* shortform entry */ xfs_dir2_sf_addname() local
457 xfs_dir2_sf_addname_easy( xfs_da_args_t *args, xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t offset, int new_isize) xfs_dir2_sf_addname_easy() argument
525 xfs_dir2_sf_entry_t *sfep; /* entry in new dir */ xfs_dir2_sf_addname_hard() local
612 xfs_dir2_sf_entry_t *sfep; /* shortform entry */ xfs_dir2_sf_addname_pick() local
680 xfs_dir2_sf_entry_t *sfep; /* shortform dir entry */ xfs_dir2_sf_check() local
715 struct xfs_dir2_sf_entry *sfep; xfs_dir2_sf_verify() local
868 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ xfs_dir2_sf_lookup() local
948 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ xfs_dir2_sf_removename() local
1047 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ xfs_dir2_sf_replace() local
1166 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ xfs_dir2_sf_toino4() local
1239 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ xfs_dir2_sf_toino8() local
[all...]
H A Dxfs_attr_sf.h39 static inline int xfs_attr_sf_entsize(struct xfs_attr_sf_entry *sfep) in xfs_attr_sf_entsize() argument
41 return struct_size(sfep, nameval, sfep->namelen + sfep->valuelen); in xfs_attr_sf_entsize()
46 xfs_attr_sf_nextentry(struct xfs_attr_sf_entry *sfep) in xfs_attr_sf_nextentry() argument
48 return (void *)sfep + xfs_attr_sf_entsize(sfep); in xfs_attr_sf_nextentry()
H A Dxfs_dir2_priv.h162 struct xfs_dir2_sf_entry *sfep);
166 struct xfs_dir2_sf_entry *sfep);
168 struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep);
182 struct xfs_dir2_sf_entry *sfep, xfs_ino_t ino);
184 struct xfs_dir2_sf_entry *sfep, uint8_t ftype);
H A Dxfs_dir2_block.c1091 xfs_dir2_sf_entry_t *sfep; /* sf entry pointer */ in xfs_dir2_sf_to_block() local
1203 sfep = NULL; in xfs_dir2_sf_to_block()
1205 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_to_block()
1213 * sfep is null when we reach the end of the list. in xfs_dir2_sf_to_block()
1215 if (sfep == NULL) in xfs_dir2_sf_to_block()
1218 newoffset = xfs_dir2_sf_get_offset(sfep); in xfs_dir2_sf_to_block()
1238 dep->inumber = cpu_to_be64(xfs_dir2_sf_get_ino(mp, sfp, sfep)); in xfs_dir2_sf_to_block()
1239 dep->namelen = sfep->namelen; in xfs_dir2_sf_to_block()
1241 xfs_dir2_sf_get_ftype(mp, sfep)); in xfs_dir2_sf_to_block()
1242 memcpy(dep->name, sfep in xfs_dir2_sf_to_block()
[all...]
H A Dxfs_da_format.h229 xfs_dir2_sf_get_offset(xfs_dir2_sf_entry_t *sfep) in xfs_dir2_sf_get_offset() argument
231 return get_unaligned_be16(sfep->offset); in xfs_dir2_sf_get_offset()
235 xfs_dir2_sf_put_offset(xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t off) in xfs_dir2_sf_put_offset() argument
237 put_unaligned_be16(off, sfep->offset); in xfs_dir2_sf_put_offset()
H A Dxfs_attr_leaf.c703 * sfep: If not null, pointer will be set to the last attr entry found on
712 struct xfs_attr_sf_entry **sfep, in xfs_attr_sf_findname()
734 if (sfep != NULL) in xfs_attr_sf_findname()
735 *sfep = sfe; in xfs_attr_sf_findname()
1049 struct xfs_attr_sf_entry *sfep; in xfs_attr_shortform_verify() local
1070 sfep = &sfp->list[0]; in xfs_attr_shortform_verify()
1079 if (((char *)sfep + sizeof(*sfep)) >= endp) in xfs_attr_shortform_verify()
1083 if (sfep->namelen == 0) in xfs_attr_shortform_verify()
1091 next_sfep = xfs_attr_sf_nextentry(sfep); in xfs_attr_shortform_verify()
710 xfs_attr_sf_findname( struct xfs_da_args *args, struct xfs_attr_sf_entry **sfep, unsigned int *basep) xfs_attr_sf_findname() argument
[all...]
H A Dxfs_attr_leaf.h55 struct xfs_attr_sf_entry **sfep,
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_dir2_readdir.c53 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ in xfs_dir2_sf_getdents() local
105 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_getdents()
110 xfs_dir2_sf_get_offset(sfep)); in xfs_dir2_sf_getdents()
113 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep); in xfs_dir2_sf_getdents()
117 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep); in xfs_dir2_sf_getdents()
118 filetype = xfs_dir2_sf_get_ftype(mp, sfep); in xfs_dir2_sf_getdents()
121 !xfs_dir2_namecheck(sfep->name, in xfs_dir2_sf_getdents()
122 sfep->namelen))) in xfs_dir2_sf_getdents()
124 if (!dir_emit(ctx, (char *)sfep in xfs_dir2_sf_getdents()
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_dir2_readdir.c53 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ in xfs_dir2_sf_getdents() local
105 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_getdents()
110 xfs_dir2_sf_get_offset(sfep)); in xfs_dir2_sf_getdents()
113 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep); in xfs_dir2_sf_getdents()
117 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep); in xfs_dir2_sf_getdents()
118 filetype = xfs_dir2_sf_get_ftype(mp, sfep); in xfs_dir2_sf_getdents()
121 !xfs_dir2_namecheck(sfep->name, in xfs_dir2_sf_getdents()
122 sfep->namelen))) in xfs_dir2_sf_getdents()
124 if (!dir_emit(ctx, (char *)sfep in xfs_dir2_sf_getdents()
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dreaddir.c38 struct xfs_dir2_sf_entry *sfep; in xchk_dir_walk_sf() local
71 sfep = xfs_dir2_sf_firstentry(sfp); in xchk_dir_walk_sf()
74 xfs_dir2_sf_get_offset(sfep)); in xchk_dir_walk_sf()
75 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep); in xchk_dir_walk_sf()
76 name.name = sfep->name; in xchk_dir_walk_sf()
77 name.len = sfep->namelen; in xchk_dir_walk_sf()
78 name.type = xfs_dir2_sf_get_ftype(mp, sfep); in xchk_dir_walk_sf()
84 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep); in xchk_dir_walk_sf()

Completed in 17 milliseconds