Home
last modified time | relevance | path

Searched refs:GFS2_DIRENT_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/include/uapi/linux/
A Dgfs2_ondisk.h315 #define GFS2_DIRENT_SIZE(name_len) ((sizeof(struct gfs2_dirent) + (name_len) + 7) & ~7) macro
316 #define GFS2_MIN_DIRENT_SIZE (GFS2_DIRENT_SIZE(1))
/linux/fs/gfs2/
A Ddir.c447 unsigned required = GFS2_DIRENT_SIZE(name->len); in gfs2_dirent_find_offset()
448 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_offset()
466 unsigned required = GFS2_DIRENT_SIZE(name->len); in gfs2_dirent_find_space()
467 unsigned actual = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_dirent_find_space()
737 offset = GFS2_DIRENT_SIZE(be16_to_cpu(dent->de_name_len)); in gfs2_init_dirent()
2173 (GFS2_DIRENT_SIZE(name->len) < extra)) in gfs2_diradd_alloc_required()
A Dinode.c416 gfs2_qstr2dirent(&gfs2_qdot, GFS2_DIRENT_SIZE(gfs2_qdot.len), dent); in gfs2_init_dir()
420 dent = (struct gfs2_dirent *)((char*)dent + GFS2_DIRENT_SIZE(1)); in gfs2_init_dir()
421 …gfs2_qstr2dirent(&gfs2_qdotdot, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), d… in gfs2_init_dir()

Completed in 12 milliseconds