Searched refs:totsize (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/net/core/ |
| D | xdp.c | 502 unsigned int metasize, totsize; in xdp_convert_zc_to_xdp_frame() local 510 totsize = xdp->data_end - xdp->data + metasize; in xdp_convert_zc_to_xdp_frame() 512 if (sizeof(*xdpf) + totsize > PAGE_SIZE) in xdp_convert_zc_to_xdp_frame() 525 memcpy(addr, data_to_copy, totsize); in xdp_convert_zc_to_xdp_frame() 528 xdpf->len = totsize - metasize; in xdp_convert_zc_to_xdp_frame()
|
| /Linux-v5.4/sound/soc/sprd/ |
| D | sprd-pcm-dma.c | 202 size_t totsize = params_buffer_bytes(params); in sprd_pcm_hw_params() local 215 runtime->dma_bytes = totsize; in sprd_pcm_hw_params() 228 runtime->dma_bytes = totsize; in sprd_pcm_hw_params() 229 sg_num = totsize / period; in sprd_pcm_hw_params() 230 dma_private->dma_addr_offset = totsize / channels; in sprd_pcm_hw_params()
|
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_attr_sf.h | 40 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
|
| D | xfs_attr_leaf.c | 588 hdr->totsize = cpu_to_be16(sizeof(*hdr)); in xfs_attr_shortform_create() 640 be16_add_cpu(&sf->hdr.totsize, size); in xfs_attr_shortform_add() 673 int base, size=0, end, totsize, i; in xfs_attr_shortform_remove() local 703 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_remove() 704 if (end != totsize) in xfs_attr_shortform_remove() 705 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end); in xfs_attr_shortform_remove() 707 be16_add_cpu(&sf->hdr.totsize, -size); in xfs_attr_shortform_remove() 712 totsize -= size; in xfs_attr_shortform_remove() 713 if (totsize == sizeof(xfs_attr_sf_hdr_t) && in xfs_attr_shortform_remove() 720 dp->i_d.di_forkoff = xfs_attr_shortform_bytesfit(dp, totsize); in xfs_attr_shortform_remove() [all …]
|
| D | xfs_da_format.h | 618 __be16 totsize; /* total bytes in shortform list */ member
|
| D | xfs_inode_fork.c | 102 size = be16_to_cpu(atp->hdr.totsize); in xfs_iformat_fork()
|
| /Linux-v5.4/fs/xfs/ |
| D | xfs_ondisk.h | 87 XFS_CHECK_OFFSET(xfs_attr_shortform_t, hdr.totsize, 0); in xfs_check_ondisk_structs()
|