Home
last modified time | relevance | path

Searched refs:sahdr (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/makefs/zfs/
H A Dfs.c362 sa_hdr_phys_t *sahdr; in fs_populate_sattrs() local
476 sahdr = (sa_hdr_phys_t *)DN_BONUS(dnode); in fs_populate_sattrs()
477 sahdr->sa_magic = SA_MAGIC; in fs_populate_sattrs()
478 SA_HDR_LAYOUT_INFO_ENCODE(sahdr->sa_layout_info, layout, hdrsz); in fs_populate_sattrs()
480 bonussz = SA_HDR_SIZE(sahdr); in fs_populate_sattrs()
481 attrbuf = (char *)sahdr + SA_HDR_SIZE(sahdr); in fs_populate_sattrs()
509 sahdr->sa_lengths[0] = sizeof(aces); in fs_populate_sattrs()
516 sahdr->sa_lengths[0], ZPL_SYMLINK, &bonussz); in fs_populate_sattrs()
517 sahdr->sa_lengths[1] = (uint16_t)objsize; in fs_populate_sattrs()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dsa.c665 sa_hdr_phys_t *sahdr; in sa_build_layouts() local
725 sahdr = (sa_hdr_phys_t *)hdl->sa_bonus->db_data; in sa_build_layouts()
746 SA_SET_HDR(sahdr, lot->lot_num, hdrsize); in sa_build_layouts()
753 sahdr = (sa_hdr_phys_t *)hdl->sa_spill->db_data; in sa_build_layouts()
754 sahdr->sa_magic = SA_MAGIC; in sa_build_layouts()
755 data_start = (void *)((uintptr_t)sahdr + in sa_build_layouts()
766 sahdr->sa_lengths[len_idx++] = length; in sa_build_layouts()
783 SA_SET_HDR(sahdr, lot->lot_num, in sa_build_layouts()