Lines Matching +full:ease +full:- +full:of +full:- +full:use
1 /* SPDX-License-Identifier: GPL-2.0 */
14 * Directory/attribute geometry information. There will be one of these for each
21 uint8_t fsblog; /* log2 of _filesystem_ block size */
22 uint8_t blklog; /* log2 of da block size */
24 unsigned int node_ents; /* # of entries in a danode */
25 unsigned int magicpct; /* 37% of block size in bytes */
26 xfs_dablk_t datablk; /* blockno of dir data v2 */
28 unsigned int leaf_max_ents; /* # of entries in dir2 leaf */
29 xfs_dablk_t leafblk; /* blockno of leaf data v2 */
31 unsigned int free_max_bests; /* # of bests entries in dir2 free */
32 xfs_dablk_t freeblk; /* blockno of free data v2 */
53 * Structure to ease passing around component names.
59 void *value; /* set of bytes (maybe contain NULLs) */
67 int valuelen; /* length of value */
68 int new_valuelen; /* length of new_value */
69 uint8_t filetype; /* filetype of inode for directories */
72 short namelen; /* length of string (maybe no NULL) */
73 short new_namelen; /* length of new attr name */
74 xfs_dahash_t hashval; /* hash value of name */
77 xfs_dablk_t blkno; /* blkno of attr leaf of interest */
78 int index; /* index of attr of interest in blk */
82 xfs_dablk_t blkno2; /* blkno of 2nd attr leaf of interest */
83 int index2; /* index of 2nd attr in blk */
99 #define XFS_DA_OP_LOGGED (1u << 6) /* Use intent items to track op */
113 * Only need space for 5 intermediate nodes. With a minimum of 62-way
119 xfs_dablk_t blkno; /* filesystem blkno of buffer */
120 xfs_daddr_t disk_blkno; /* on-disk blkno (in BBs) of buffer */
127 int active; /* number of active levels */
136 unsigned char inleaf; /* insert into 1->lf, 0->splf */
137 unsigned char extravalid; /* T/F: extrablk is in use */
139 xfs_da_state_blk_t extrablk; /* for double-splits on leaves */
144 * In-core version of the node header to abstract the differences in the v2 and
145 * v3 disk format of the headers. Callers need to convert to/from disk format as
156 * Pointer to the on-disk format entries, which are behind the
157 * variable size (v4 vs v5) header in the on-disk block.
165 #define XFS_DA_LOGOFF(BASE, ADDR) ((char *)(ADDR) - (char *)(BASE))
168 (uint)(XFS_DA_LOGOFF(BASE, ADDR)+(SIZE)-1)