gfs2_dirent
struct gfs2_dirent *dent = NULL, *prev = NULL, *next = NULL, *new;
dent = (struct gfs2_dirent *)(obh->b_data + sizeof(struct gfs2_leaf));
const struct gfs2_dirent *dent_a, *dent_b;
dent_a = *(const struct gfs2_dirent **)a;
dent_b = *(const struct gfs2_dirent **)b;
struct gfs2_dirent **darr, u32 entries,
const struct gfs2_dirent *dent, *dent_next;
sizeof(struct gfs2_dirent *), compare_dents, NULL);
unsigned leaf_nr, struct gfs2_dirent **darr,
struct gfs2_dirent **darr, *dent;
darr = (struct gfs2_dirent **)(larr + leaves);
g.pdent = (const struct gfs2_dirent **)darr;
struct gfs2_dirent **darr, *dent;
darr = kmalloc_objs(struct gfs2_dirent *, 96, GFP_NOFS);
g.pdent = (const struct gfs2_dirent **)darr;
struct gfs2_dirent *dent;
struct gfs2_dirent *dent;
struct gfs2_dirent *dent = da->dent;
struct gfs2_dirent *dent, *prev = NULL;
dent = (struct gfs2_dirent *)((char *)dent + be16_to_cpu(prev->de_rec_len));
struct gfs2_dirent *dent;
struct gfs2_dirent *dent;
static inline int gfs2_dirent_sentinel(const struct gfs2_dirent *dent)
static inline int __gfs2_dirent_find(const struct gfs2_dirent *dent,
static int gfs2_dirent_find(const struct gfs2_dirent *dent,
static int gfs2_dirent_prev(const struct gfs2_dirent *dent,
static int gfs2_dirent_last(const struct gfs2_dirent *dent,
static int gfs2_dirent_find_offset(const struct gfs2_dirent *dent,
static int gfs2_dirent_find_space(const struct gfs2_dirent *dent,
const struct gfs2_dirent **pdent;
static int gfs2_dirent_gather(const struct gfs2_dirent *dent,
struct gfs2_dirent *dent, unsigned int offset,
if (unlikely(size < sizeof(struct gfs2_dirent)))
unlikely(sizeof(struct gfs2_dirent)+be16_to_cpu(dent->de_name_len) >
static struct gfs2_dirent *gfs2_dirent_scan(struct inode *inode, void *buf,
struct gfs2_dirent *dent, *prev;
const struct gfs2_dirent *d, const void *end_p)
if (unlikely(rec_len < sizeof(struct gfs2_dirent))) {
struct gfs2_dirent **dent)
struct gfs2_dirent *cur = *dent, *tmp;
struct gfs2_dirent *prev, struct gfs2_dirent *cur)
static struct gfs2_dirent *do_init_dirent(struct inode *inode,
struct gfs2_dirent *dent,
struct gfs2_dirent *ndent;
ndent = (struct gfs2_dirent *)((char *)dent + offset);
static struct gfs2_dirent *gfs2_init_dirent(struct inode *inode,
struct gfs2_dirent *dent,
static struct gfs2_dirent *gfs2_dirent_split_alloc(struct inode *inode,
struct gfs2_dirent *dent;
static struct gfs2_dirent *gfs2_dirent_search(struct inode *inode,
struct gfs2_dirent *dent;
typedef int (*gfs2_dscan_t)(const struct gfs2_dirent *dent,
struct gfs2_dirent *dent;
dent = (struct gfs2_dirent *)(leaf+1);
struct gfs2_dirent *dent;
struct gfs2_dirent;
struct gfs2_dirent *dent;
static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent)
struct gfs2_dirent *dent = (struct gfs2_dirent *)(di+1);
dent = (struct gfs2_dirent *)((char*)dent + GFS2_DIRENT_SIZE(1));
struct gfs2_dirent *dent)
#define GFS2_DIRENT_SIZE(name_len) ((sizeof(struct gfs2_dirent) + (name_len) + 7) & ~7)