Lines Matching refs:u
394 } u; in journal_erase_segment() local
402 memset(&u, 0, sizeof(u)); in journal_erase_segment()
403 u.sh.pad = 0; in journal_erase_segment()
404 u.sh.type = SEG_JOURNAL; in journal_erase_segment()
405 u.sh.level = 0; in journal_erase_segment()
406 u.sh.segno = cpu_to_be32(area->a_segno); in journal_erase_segment()
407 u.sh.ec = cpu_to_be32(area->a_erase_count); in journal_erase_segment()
408 u.sh.gec = cpu_to_be64(logfs_super(sb)->s_gec); in journal_erase_segment()
409 u.sh.crc = logfs_crc32(&u.sh, sizeof(u.sh), 4); in journal_erase_segment()
415 area->a_used_bytes = sizeof(u); in journal_erase_segment()
416 logfs_buf_write(area, ofs, &u, sizeof(u)); in journal_erase_segment()