Searched refs:totsize (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 195 size_t totsize = params_buffer_bytes(params); in sprd_pcm_hw_params() local 208 runtime->dma_bytes = totsize; in sprd_pcm_hw_params() 222 runtime->dma_bytes = totsize; in sprd_pcm_hw_params() 223 sg_num = totsize / period; in sprd_pcm_hw_params() 224 dma_private->dma_addr_offset = totsize / channels; in sprd_pcm_hw_params()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | xdp.c | 449 unsigned int metasize, totsize; in xdp_convert_zc_to_xdp_frame() local 457 totsize = xdp->data_end - xdp->data + metasize; in xdp_convert_zc_to_xdp_frame() 459 if (sizeof(*xdpf) + totsize > PAGE_SIZE) in xdp_convert_zc_to_xdp_frame() 472 memcpy(addr, data_to_copy, totsize); in xdp_convert_zc_to_xdp_frame() 475 xdpf->len = totsize - metasize; in xdp_convert_zc_to_xdp_frame()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | xdp.c | 546 unsigned int metasize, totsize; in xdp_convert_zc_to_xdp_frame() local 554 totsize = xdp->data_end - xdp->data + metasize; in xdp_convert_zc_to_xdp_frame() 556 if (sizeof(*xdpf) + totsize > PAGE_SIZE) in xdp_convert_zc_to_xdp_frame() 569 memcpy(addr, data_to_copy, totsize); in xdp_convert_zc_to_xdp_frame() 572 xdpf->len = totsize - metasize; in xdp_convert_zc_to_xdp_frame()
|
/kernel/linux/linux-6.6/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 195 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()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 664 hdr->totsize = cpu_to_be16(sizeof(*hdr)); in xfs_attr_shortform_create() 753 be16_add_cpu(&sf->hdr.totsize, size); in xfs_attr_shortform_add() 786 int size = 0, end, totsize; in xfs_attr_shortform_remove() local 807 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_remove() 808 if (end != totsize) in xfs_attr_shortform_remove() 809 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end); in xfs_attr_shortform_remove() 811 be16_add_cpu(&sf->hdr.totsize, -size); in xfs_attr_shortform_remove() 816 totsize -= size; in xfs_attr_shortform_remove() 817 if (totsize in xfs_attr_shortform_remove() [all...] |
H A D | xfs_da_format.h | 584 __be16 totsize; /* total bytes in shortform list */ member
|
H A D | xfs_inode_fork.c | 280 return be16_to_cpu(atp->hdr.totsize); in xfs_dfork_attr_shortform_size()
|
H A D | xfs_attr.c | 531 return be16_to_cpu(sf->hdr.totsize); in xfs_attr_sf_totsize()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 696 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() 847 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end); 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 in xfs_attr_sf_removename() [all...] |
H A D | xfs_da_format.h | 585 __be16 totsize; /* total bytes in shortform list */ member
|
H A D | xfs_inode_fork.c | 282 return be16_to_cpu(atp->hdr.totsize); in xfs_dfork_attr_shortform_size()
|
H A D | xfs_attr.c | 1103 return be16_to_cpu(sf->hdr.totsize); in xfs_attr_sf_totsize()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_ondisk.h | 92 XFS_CHECK_OFFSET(struct xfs_attr_shortform, hdr.totsize, 0); in xfs_check_ondisk_structs()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_ondisk.h | 93 XFS_CHECK_OFFSET(struct xfs_attr_shortform, hdr.totsize, 0); in xfs_check_ondisk_structs()
|
Completed in 17 milliseconds