Searched refs:GFS2_DIRENT_SIZE (Results 1 – 3 of 3) sorted by relevance
315 #define GFS2_DIRENT_SIZE(name_len) ((sizeof(struct gfs2_dirent) + (name_len) + 7) & ~7) macro316 #define GFS2_MIN_DIRENT_SIZE (GFS2_DIRENT_SIZE(1))
447 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()2172 (GFS2_DIRENT_SIZE(name->len) < extra)) in gfs2_diradd_alloc_required()
426 gfs2_qstr2dirent(&gfs2_qdot, GFS2_DIRENT_SIZE(gfs2_qdot.len), dent); in gfs2_init_dir()430 dent = (struct gfs2_dirent *)((char*)dent + GFS2_DIRENT_SIZE(1)); in gfs2_init_dir()431 …gfs2_qstr2dirent(&gfs2_qdotdot, dibh->b_size - GFS2_DIRENT_SIZE(1) - sizeof(struct gfs2_dinode), d… in gfs2_init_dir()