Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
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-6.1.9/fs/gfs2/
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()
2172 (GFS2_DIRENT_SIZE(name->len) < extra)) in gfs2_diradd_alloc_required()
Dinode.c426 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()