|
@@ -91,9 +91,9 @@ enum xfs_dacmp {
|
|
* Structure to ease passing around component names.
|
|
* Structure to ease passing around component names.
|
|
*/
|
|
*/
|
|
typedef struct xfs_da_args {
|
|
typedef struct xfs_da_args {
|
|
- const uchar_t *name; /* string (maybe not NULL terminated) */
|
|
|
|
|
|
+ const __uint8_t *name; /* string (maybe not NULL terminated) */
|
|
int namelen; /* length of string (maybe no NULL) */
|
|
int namelen; /* length of string (maybe no NULL) */
|
|
- uchar_t *value; /* set of bytes (maybe contain NULLs) */
|
|
|
|
|
|
+ __uint8_t *value; /* set of bytes (maybe contain NULLs) */
|
|
int valuelen; /* length of value */
|
|
int valuelen; /* length of value */
|
|
int flags; /* argument flags (eg: ATTR_NOCREATE) */
|
|
int flags; /* argument flags (eg: ATTR_NOCREATE) */
|
|
xfs_dahash_t hashval; /* hash value of name */
|
|
xfs_dahash_t hashval; /* hash value of name */
|
|
@@ -251,7 +251,7 @@ xfs_daddr_t xfs_da_reada_buf(struct xfs_trans *trans, struct xfs_inode *dp,
|
|
int xfs_da_shrink_inode(xfs_da_args_t *args, xfs_dablk_t dead_blkno,
|
|
int xfs_da_shrink_inode(xfs_da_args_t *args, xfs_dablk_t dead_blkno,
|
|
xfs_dabuf_t *dead_buf);
|
|
xfs_dabuf_t *dead_buf);
|
|
|
|
|
|
-uint xfs_da_hashname(const uchar_t *name_string, int name_length);
|
|
|
|
|
|
+uint xfs_da_hashname(const __uint8_t *name_string, int name_length);
|
|
enum xfs_dacmp xfs_da_compname(struct xfs_da_args *args,
|
|
enum xfs_dacmp xfs_da_compname(struct xfs_da_args *args,
|
|
const char *name, int len);
|
|
const char *name, int len);
|
|
|
|
|