Home
last modified time | relevance | path

Searched refs:totsize (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/net/core/
H A Dxdp.c542 unsigned int metasize, totsize; in xdp_convert_zc_to_xdp_frame() local
550 totsize = xdp->data_end - xdp->data + metasize; in xdp_convert_zc_to_xdp_frame()
552 if (sizeof(*xdpf) + totsize > PAGE_SIZE) in xdp_convert_zc_to_xdp_frame()
565 memcpy(addr, data_to_copy, totsize); in xdp_convert_zc_to_xdp_frame()
568 xdpf->len = totsize - metasize; in xdp_convert_zc_to_xdp_frame()
/openbmc/linux/sound/soc/sprd/
H A Dsprd-pcm-dma.c195 size_t totsize = params_buffer_bytes(params); in sprd_pcm_hw_params() local
218 sg_num = totsize / period; in sprd_pcm_hw_params()
219 dma_private->dma_addr_offset = totsize / channels; in sprd_pcm_hw_params()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c696 hdr->totsize = cpu_to_be16(sizeof(*hdr)); in xfs_attr_shortform_create()
785 be16_add_cpu(&sf->hdr.totsize, size); in xfs_attr_shortform_add()
816 int size = 0, end, totsize; in xfs_attr_sf_removename() local
845 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_sf_removename()
846 if (end != totsize) in xfs_attr_sf_removename()
849 be16_add_cpu(&sf->hdr.totsize, -size); in xfs_attr_sf_removename()
854 totsize -= size; in xfs_attr_sf_removename()
855 if (totsize == sizeof(xfs_attr_sf_hdr_t) && xfs_has_attr2(mp) && in xfs_attr_sf_removename()
861 dp->i_forkoff = xfs_attr_shortform_bytesfit(dp, totsize); in xfs_attr_sf_removename()
863 ASSERT(totsize > sizeof(xfs_attr_sf_hdr_t) || in xfs_attr_sf_removename()
[all …]
H A Dxfs_da_format.h585 __be16 totsize; /* total bytes in shortform list */ member
H A Dxfs_inode_fork.c282 return be16_to_cpu(atp->hdr.totsize); in xfs_dfork_attr_shortform_size()
H A Dxfs_attr.c1103 return be16_to_cpu(sf->hdr.totsize); in xfs_attr_sf_totsize()
/openbmc/linux/fs/xfs/
H A Dxfs_ondisk.h93 XFS_CHECK_OFFSET(struct xfs_attr_shortform, hdr.totsize, 0); in xfs_check_ondisk_structs()